DELETE
/
PaymentLink
/
{payLinkId}
curl --request DELETE \
  --url https://api-sandbox.payabli.com/api/PaymentLink/{payLinkId} \
  --header 'requestToken: <api-key>'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": "2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"
}

Authorizations

requestToken
string
header
required

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

Path Parameters

ID for the payment link.

Response

200
application/json
Success
responseText
string | null

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

Example:

"Success"

isSuccess
boolean

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

Example:

true

responseData
string

If isSuccess = true, this contains the payment link identifier. If isSuccess = false, this contains the reason of the error.

Example:

"2325-XXXXXXX-90b1-4598-b6c7-44cdcbf495d7-1234"

Was this page helpful?