Unregister a credit card
If you have registered a credit card to pay for your orders, you may remove the stored credit card from your account by unregistering it. Once a credit card is unregistered, it can no longer be used to fund an account until it's registered again. See how you can Register a new credit card with Tango API.
In some rare instances, Tango may choose to unregister credit cards at its own discretion. If this occurs Tango will make a best effort to notify the business contact on the account.
To unregister a credit card on your account, use the following endpoint:
Endpoint | Description |
---|---|
POST {URI}/creditCardUnregisters | unregister a credit card. |
The following parameters are used with this endpoint to unregister a credit card. The credit card token provided in the call is specially useful when you intend to apply access restrictions.
Body Params | Data type | Description |
---|---|---|
customerIdentifier | string | Specify the customer associated with the credit card. It must be the customer the accountIdentifier is associated with. The string must have 5-100 characters. |
accountIdentifier | string | Specify the Account this credit card is associated with. |
creditCardToken | string | Specify the credit card token to unregister. The string must have 40 characters. |
Here's a payload example:
{
"token": "string",
"message": "string",
"createdDate": "2025-02-04T01:42:51.326Z"
}
Here's an example payload for when you receive an error:
{
"timestamp": "2025-02-21T23:23:13.930Z",
"requestId": "string",
"path": "string",
"httpCode": 0,
"httpPhrase": "string",
"i18nKey": "string",
"message": "The error message will show here for error codes ",
"errors": [
{}
]
}
The possible response codes for this endpoint are:
- 200 OK
- 400 Bad Request
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 500 Internal Server Error
- 503 Service Unavailable
Updated 20 days ago