Secure Payments API – DELETE Customers Card


Deleting customer cards is one of the customer options available through the Secure Payments API.

How To

To to remove a customer's card, send a DELETE request to the endpoint:

The customer ID is specific to the customer you're trying to edit. If you don't know the customer ID, see our GET Customers article.

This is an example payload:

"credit-card": {
"token": "CARD TOKEN"

And a sample cURL payload:

curl -X DELETE --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'authorization: YOUR AUTH' --header 'secret: YOUR SECRET' -d '{ \
"credit-card": { \
"token": "CARD TOKEN" \
} \
}' ''

How did we do?

Powered by HelpDocs (opens in a new tab)