Delete Payment Data
The Delete Payment Data endpoint enables you to delete a specific payment instrument (a single card) linked to a cardholder, leaving the cardholder profile and any other linked cards intact on the Click to Pay service. This endpoint should be used when a cardholder decides to delete a specific card on file but keep their account active.
NoteMastercard Lifecycle requests are performed synchronously and if a successful status code is returned then this indicates the action was successful. Visa only indicates its accepted to be processed later, but may not be successful.
You can delete a payment instrument by making a DELETE request to the Delete Payment Data endpoint. For example:
https://uat-api.thredd.com/ctp/api/v1/paymentinstrument/{customerReferenceId}/{publicToken}If successful, a 202 response is returned with a unique requestTraceId when the card network is VISA, and a unique srcCorrelationId when the card network is Mastercard.
{
"requestTraceId": "351562ba-83cf-11ee-b962-0242ac120002"
}{
"srcCorrelationId": "b17b686c-4759-4ade-a3b1-6b29c61b6774"
}
InformationTo view this endpoint in the API Explorer, see Delete Payment Data.
Updated 1 day ago
