Skip to content
myela

Permanently deletes a stored payment method. This destructive entitlement is disabled by default.

Delete payment method

DELETE/v1/payment_methods/{payment_method_id}Link

Permanently deletes a stored payment method. This destructive entitlement is disabled by default.

SandboxSecret keypaymentMethods.delete

Request fields

Edit a field and the generated request updates immediately.

Path parameters
stringrequired

The reusable identifier of a stored payment method.

Response contract

The successful wire shape and errors an integration should branch on.

204
Empty response

A successful delete returns 204 No Content.

Error responses
401authentication_failed

The key is missing, malformed, revoked, or invalid for this environment.

403permission_denied

The key does not have paymentMethods.delete.

404not_found

The resource does not exist for this merchant.

422invalid_request

One or more request fields are invalid.

409conflict

The resource is not in a state where this operation is valid.