Cancel Card Token

post/api/card-tokens/{cardTokenId}/cancel

Cancels a card token with any status except creating, so it can't be used for payments again.

Cancellation is asynchronous. The token moves to canceling, and the final status arrives with the Card Token Updated webhook.

Request

Path Parameters

  • cardTokenIdstringrequired

Response

Successful operation.

Body application/json

  • idstringrequired

    Card token identifier.

  • statusstringrequired

    Token status after the call. The final status arrives with the Card Token Updated webhook.