DELETE
/
Subscription
/
{subId}
curl --request DELETE \
  --url https://api-sandbox.payabli.com/api/Subscription/{subId} \
  --header 'requestToken: <api-key>'
{
  "responseText": "Success",
  "isSuccess": true,
  "responseData": "396"
}

Authorizations

requestToken
string
header
required

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

Path Parameters

subId
integer
required

The subscription ID.

Example:

231

Response

200
application/json
Success

Success response

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"

responseData
object | null

If isSuccess = true, this contains the identifier of the subscription.

If isSuccess = false, this contains the reason for the failure.

Example:

"396"