DELETE
/
Invoice
/
{idInvoice}
curl --request DELETE \
  --url https://api-sandbox.payabli.com/api/Invoice/{idInvoice} \
  --header 'requestToken: <api-key>'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseCode": 1,
  "responseData": 3625,
  "pageidentifier": null
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

idInvoice
integer
required

Invoice ID

Example:

23548884

Response

200
application/json
Success

Response schema for invoice operations.

isSuccess
boolean

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

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

responseCode
integer | null

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

Example:

1

responseData

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

pageidentifier
string | null

Auxiliary validation used internally by payment pages and components.

Example:

null

Was this page helpful?