Skip to main content
DELETE
/
payment-methods
/
{id}
Delete a payment method
curl --request DELETE \
  --url http://localhost:3156/payment-methods/{id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-merchant-id: <api-key>'
{
  "message": "Invalid api key"
}

Authorizations

x-api-key
string
header
required

API key for authentication (required)

x-merchant-id
string
header
required

Merchant ID for identifying the merchant (required)

Path Parameters

id
string
required

Payment method ID

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

Payment method deleted successfully