Secure Payments API – DELETE Customers Card

General

Deleting customer cards is one of the customer options available through the Secure Payments (PCI Wallet) API.

How To

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

DELETE https://pciwallet.simnang.com/api/customers/{id}/card
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" \
} \
}' 'https://pciwallet.simnang.com/api/customers/1/card'

See also our ReadMe page: Delete Credit Card


How did we do?


Powered by HelpDocs (opens in a new tab)