Delete a payment method type from customer
DELETE {{baseUrl}}/v1/customers/:customerId/payment_methods/:pmtId
This method triggers the Webhook - Payment Method Canceled webhook. This webhook contains more information than the response.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":{"id":"\u003cstring\u003e","deleted":"\u003cboolean\u003e"},"status":{"error_code":"\u003cstring\u003e","message":"\u003cstring\u003e","operation_id":"\u003cstring\u003e","response_code":"\u003cstring\u003e","status":"\u003cstring\u003e"}}