This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-11-12 05:58 UTC.
If the matched SPM record carries a `PaymentTokenId`, the bound payment token is revoked server-side AFTER the SPM delete has been persisted.
The two effects are ordered: the stored payment method is persisted as deleted first, and
the bound payment token is revoked only after that succeeds. A list of the customer's
payment methods taken immediately afterwards therefore never shows the deleted one, whether
or not the revocation has finished.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Every block below sends the same request. Replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a . See the Request body section below for its fields.
Parameters
Name
In
Type
Description
storedPaymentMethodIdrequired
query
string (uuid)
The identifier of the stored payment method to delete.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
customerIdrequired
query
string (uuid)
The identifier of the customer who owns the payment method.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
paymentTokenIdrequired
query
string (uuid)
Ignored. Retained so that existing callers keep compiling. The token to revoke is resolved
from the matched stored payment method itself, which is the authoritative binding between
the customer, the merchant, the payment method and the token.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
suppressNullsrequired
query
boolean
If true, omit properties with null values.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Request body
application/json, required
Field
Type
Description
This request body has no documented fields.
Responses
Errors
A failed request returns the platform error envelope. The
error reference lists every value
error.code can carry and shows the four response shapes.