Are you looking for test card numbers?

Would you like to contact support?

No momento, esta página não está disponível em português
Classic-integration icon

Update stored details

This page is for our Classic API (/authorise) integration. If you are integrating using our Checkout APIs, refer to the Manage tokens documentation instead.

For credit cards, you can update the previously stored payment details. This may be required, for example, when the card expiry date or the billing/delivery address changes.


You can update stored payment details when you initiate a new recurring payment. For this, pass new payment details along with an /authorise call and specify the selectedRecurringDetailReference value of the details that you want to update.

The details will only update if the /authorise request is successful.

For information on all available fields, see PaymentRequest.

The following example demonstrates how to update the expiry month and year for the previously stored card details with an /authorise call:

<soap:Envelope xmlns:soap=""
xmlns:xsd="" xmlns:xsi="">
     <ns1:authorise xmlns:ns1="">
         <amount xmlns="">
           <currency xmlns="">EUR</currency>
           <value xmlns="">100</value>
curl \
 -d amount.value=10 \
 -d amount.currency=EUR \
 -d card.expiryMonth=11 \
 -d card.expiryYear=2018 \
 -d merchantAccount=TestMerchant \
 -d recurring.contract=RECURRING \
 -d reference=RecurringPayment-0001 \
 -d \
 -d shopperIP= \
 -d shopperInteraction=ContAuth \
 -d shopperReference=YOUR_UNIQUE_SHOPPER_ID_IOfW3k9G2PvXFu2j \
 -d selectedRecurringDetailReference=RecurringDetailReference1


If a recurring payment is successfully authorised, payment details are also updated during this call. In this case, the old recurringDetailReference becomes invalid, and a new reference is created.

A new recurringDetailReference value isn't returned in the /authorisation response. To learn how to obtain a new recurringDetailReference value, refer to this document.

For information on all available fields, refer to the PaymentResult topic.

The following example shows the response in case of successful authorisation:

<soap:Envelope xmlns:soap="" 

Next steps