Deletes a card saved for a customer. HQ asks the gateway to delete it too. With most gateways the card is removed from HQ even if that call fails, but when the gateway raises an error the card is kept and the response is 500.The card must belong to the customer given by contact_type and contact_id, otherwise the response is 404.
Request
Authorization
Path Params
Query Params
Header Params
Responses
🟢200OK
application/json
The card was deleted. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorUnauthorized (status_code 401 or 403).