v1

latestOpenAPI 3.0.12026-07-24204977.5 KB
Account Linking

Revoke a linked payment token

Unlinks a payment token for the authenticated merchant channel. Returns 400 if an active pre-auth (AUTHORIZED) is still open for the account.

post/tokenized-payment/v1/tokens/unlink

Request body

paymentTokenstring required

Payment token to revoke. Sent in the request body (not the URL) to prevent the value from appearing in access logs and APM telemetry.

Example request

{
  "paymentToken": "aBcD1234eFgH5678iJkL9012mNoP3456"
}

Response

Payment token successfully unlinked.

paymentTokenstring required

The payment token that was revoked.

status'LINKED' | 'UNLINKED' required

New status of the payment token after revocation.

Example response

{
  "paymentToken": "aBcD1234eFgH5678iJkL9012mNoP3456",
  "status": "UNLINKED"
}