Collect Updated Payment Details
Retrieve token update statuses and collect a replacement payment method when required.
When Account Updater is enabled, retrieve token details before authorization. Inspect token-update-status before you charge the stored card.
A CLOSED status means you must not authorize the token. Collect a new payment method from the cardholder.
Retrieve token details
Use the Tokens API to retrieve a token or search by Account Updater status.
Method
GET
Endpoint
https://gateway.clearent.net/rest/v2/tokens
Authentication
api-key header with your secret API key
Content type
application/json
Closed-token filter
?token-update-status=CLOSED
Single-token endpoint
https://gateway.clearent.net/rest/v2/tokens/{token-id}
Search for closed tokens
GET /rest/v2/tokens?token-update-status=CLOSED HTTP/1.1
Host: gateway.clearent.net
api-key: <secret-api-key>
Content-Type: application/jsonUse the returned token-id to locate the customer in your system. Then ask the customer for a replacement payment method.
Replace the payment method
Stop future billing against the unusable token.
Contact the customer using your approved communication channel.
Collect and tokenize the new payment method.
Associate the replacement token with future payments.
Related topics
See Tokens to retrieve and manage payment tokens.
See Tokenization before collecting a replacement payment method.
Last updated
Was this helpful?

