Are you looking for test card numbers?

Would you like to contact support?

Online-payment icon

Managing tokens

Learn how to manage tokens you stored with Adyen.

Sometimes your users need to update the payment methods they saved with you or request you to remove a previously saved payment detail. We additionally provide a lookup mechanism to list what tokens exist under a shopper, as well as list which shoppers have a given payment detail.

Managing tokens entails:

List tokens by shopper

To list all tokens contained within a shopper, use our /listRecurringDetails call.

Provide your merchant account and the shopperReference of the shopper you want to list the tokens of.


The response will contain an array of the saved details, which includes the recurringDetailReference that can be used with the shopperReference of the request to make a payment.

Refer to our API Explorer for the full reference.

Update token details

Occasionally, a shopper's card information will get updated, such as a new expiration date, and you will want to be able to update the token to represent this new information.

Perform a /payments request to update the token. Instead of providing the full card information, provide the shopperReference, paymentMethod.recurringDetailReference, and the updated expiration information.

  "paymentMethod" : {
    "expiryMonth" : "03",
    "expiryYear" : "2030"
  "amount": {
    "value": 0,
    "currency": "USD"
  "reference": "Your Reference Here",
  "merchantAccount": "YOUR_MERCHANT_ACCOUNT",
  "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",

An Authorised response means the card information will be updated. The token will stay the same and you can continue to use it for transactions.

Updated card from Account Updater

When using Real Time Account Updater to refresh card information, the card details will be updated but the token will always stay the same. This means you don't need to build any additional logic to take advantage of Real Time Account Updater with tokens.

Disable stored details

Shoppers sometimes request to remove a given saved payment detail or leave your platform, and you want to remove all details they have saved with you. Remove these saved details with the /disable call.

To disable a single token, provide your merchantAccount, the shopperReference, the recurringDetailReference you want to remove.

  "merchantAccount": "YOUR_MERCHANT_ACCOUNT",
  "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j",
  "recurringDetailReference": "8313147988756818"

To disable a shopper and all their saved details, provide your merchantAccount and the shopperReference you want to remove.

  "merchantAccount": "YOUR_MERCHANT_ACCOUNT",
  "shopperReference": "YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j"

After disabling the details you stored with Adyen, make sure that you also delete the remaining shopper details, if any, from your servers.

See also