For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Status PageContact sales
HomePlatform OverviewAPI ReferenceIntegration GuidesUI GuidesChangelog
HomePlatform OverviewAPI ReferenceIntegration GuidesUI GuidesChangelog
  • Using the API
    • API overview
    • API responses
    • Postman collection
  • API reference
        • POSTCreate invoice
        • GETGet invoice
        • PUTUpdate invoice
        • DELDelete invoice
        • GETSend invoice
        • GETGet invoice attachment
        • DELDelete invoice attachment
        • GETGet next invoice number
        • GETList invoices by paypoint
        • GETList invoices by organization
        • GETExport invoices by paypoint
        • GETExport invoices by org
        • GETGet invoice PDF
LogoLogo
Status PageContact sales
API referencePay In endpointsInvoices

Delete invoice

DELETE
/Invoice/:idInvoice
DELETE
/api/Invoice/:idInvoice
$curl -X DELETE https://api-sandbox.payabli.com/api/Invoice/23548884 \
> -H "requestToken: <apiKey>"
1{
2 "isSuccess": true,
3 "responseCode": 1,
4 "responseData": 3625,
5 "responseText": "Success"
6}
Deletes a single invoice from an entrypoint.
Was this page helpful?
Previous

Send invoice

Next

Authentication

requestTokenstring
API Key authentication via header

Path parameters

idInvoiceintegerRequired
Invoice ID

Response

Success
isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

pageidentifierstring
Auxiliary validation used internally by payment pages and components.
responseCodeinteger

Code for the response. Learn more in API Response Codes.

responseDatastring or integer

If isSuccess = true, this contains the identifier of the invoice. If isSuccess = false, this contains the reason for the failure.

responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

Errors

400
Bad Request Error
400
Bad Request Error
401
Unauthorized Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error