DELETE
/
TokenStorage
/
{methodId}
curl --request DELETE \
  --url https://api-sandbox.payabli.com/api/TokenStorage/{methodId} \
  --header 'requestToken: <api-key>'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseData": {
    "referenceId": "32-8877drt65345632-678",
    "resultCode": 1,
    "resultText": "Removed"
  }
}

Authorizations

requestToken
string
header
required

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

Path Parameters

methodId
string
required

The saved payment method ID.

Response

200
application/json
Success

Response body for payment method deletion.

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

The object containing the response data.

Was this page helpful?