Skip to main content
DELETE
/
payment-method
/
{id}
Revoke a payment method
curl --request DELETE \
  --url https://demo.api.harmony.compago.com/api/payment-method/{id} \
  --header 'x-api-key: <api-key>'
{
  "success": true
}

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

The unique identifier of the payment method to revoke

Response

Payment method revoked successfully

Response after revoking a payment method

success
boolean
required

Whether the payment method was successfully revoked