Delete a token for stored payment details

delete/storedPaymentMethods/{storedPaymentMethodId}

Deletes the token identified in the path. The token can no longer be used with payment requests.

Endpoint destination URL
https://checkout-test.adyen.com/v71/storedPaymentMethods/{storedPaymentMethodId}
Click to copy

Query Parameters

merchantAccountstringRequired

Your merchant account.

shopperReferencestringRequired

Your reference to uniquely identify this shopper, for example user ID or account ID. Minimum length: 3 characters.

Your reference must not include personally identifiable information (PII), for example name or email address.

Path Parameters

storedPaymentMethodIdstringRequired

The unique identifier of the token.

Response parameters

After submitting a call, you receive a response message to inform you that your request was received and processed.

Depending on the HTTP status code of the response message, it is helpful to build some logic to handle any errors that a request or the system may return.

HTTP Responses

  • 204 - No Content

    Look at the actual response code for the status of the request.