Skip to main content
DELETE
/
api
/
v1
/
customers
/
{customer_id}
/
payment_methods
/
{id}
Delete a payment method
curl --request DELETE \
  --url https://payments.oaknetwork.org/api/v1/customers/{customer_id}/payment_methods/{id} \
  --header 'Authorization: Bearer <token>'
{
  "msg": "<string>",
  "data": "<unknown>"
}

Authorizations

Authorization
string
header
required

Merchant authentication token. Obtained via POST /api/v1/merchant/token/grant. Pass as: Authorization: Bearer

Path Parameters

customer_id
string<uuid>
required
id
string<uuid>
required

Response

Payment method deleted

msg
string
required

Human-readable message describing the result

data
any
required

Response payload (null on error)