v1

latestOpenAPI 3.0.12026-07-2662118182.1 KB
Card Tokenization

Update Payment Token Status - Legacy

put/api/v1/cards/{publicToken}/payment-tokens/{tokenId}/status

Path parameters

tokenIdinteger required

The ID of the payment token to update

publicTokenstring required

Request body

tokenIdinteger

Payment token identifier for the Mastercard Digital Enablement Services (MDES) or Visa Digital Enablement Program (VDEP) card to be updated. (Note: You can use the Get Card Payment Tokens endpoint to retrieve the Id of the token associated with card).

statusstring nullable

New status code you want to change to. This can be either Active, Suspended or Deactivated.

notifyProcessorboolean

Indicates whether to notify VDEP or MDES about the payment status change.

descriptionstring nullable

Description.

updatedBystring nullable

User who updated the status.

Response

Success

status'Active' | 'Suspended' | 'Deactivated'

Gps Status

commentstring nullable

Comment