cURL
curl --request DELETE \ --url http://localhost:3000/api/canary/payment-methods/{id} \ --header 'Authorization: Bearer <token>'
{ "statusCode": 400, "message": [ "Invalid input data" ], "error": "Bad Request" }
Detaches and deletes a saved payment method from a customer
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The unique identifier of the payment method
Payment method successfully deleted