DELETE
/
payment_methods
/
{payment_method}
curl --request DELETE \
  --url https://api.chargeapi.co/v1/payment_methods/{payment_method} \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "object": "payment_method",
  "deleted": true
}

Path Parameters

payment_method
string
required

ID of the payment method to delete.

Body

application/json · object

Response

200
application/json

Returns the deleted Payment Method object, including a deleted property set to true.

The response is of type object.