Skip to main content
POST
/
payment-method-token
/
delete
cURL
curl --request POST \
  --url https://api.xpaycheckout.com/payment-method-token/delete \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "pmId": "<string>"
}
'
{
  "errorCode": "bad_request",
  "errorDescription": "Failed to read request"
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json

Delete Token Request

pmId
string
required

Payment method token ID to be deleted

Response

Payment method token deleted successfully