DELETE Customer Stored Payment Method
Removes a saved payment method from the customer's wallet and from the payment processor's vault.
If the card you delete was the preselected one, another saved method may take its place as the default. A failure at the processor is logged rather than returned, so a 200 means the method is gone from the wallet, not necessarily from the processor.
Path Parameters
- Type: stringcustomer
_account _id requiredCustomer Account UUID
- Type: stringstored
_payment _method _id requiredStored payment method ID
Headers
- Type: stringAcceptrequired
Accept header
- Type: stringAuthorization
Authorization header
- Type: stringContent
- Type requiredContent-Type header
- Type: stringA
P I - V E R S I O N requiredAPI version
- Type: stringApplicationrequired
Application key
Responses
- application/json
Request Example for delete/customers/{customer_account_id}/stored-payment-methods/{stored_payment_method_id}
curl https://api-public-demo.menu.app/api/customers/4e42c2a6-3f23-11ed-936c-1a67b454859d/stored-payment-methods/b0566189-8b1d-456c-bd0b-fde59b4751aa \
--request DELETE \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'API-VERSION: ' \
--header 'Application: '
{
"status": "OK",
"code": 200
}OK
