open menu
axerve docs
Tokenization/Functionalities/How to modify a token

How to modify a token


The method of WSs2s web service that merchants must use in order to update a token in Axerve Ecommerce Solutions is CallUpdateTokenS2Sapi link.

Merchants belonging to a group are allowed to update also tokens created by other merchants of the same group.

You can change the expiry date of a token and set it after the expiry date of the credit card; if withAut is Y, the service will update the expiry date only if it is earlier than the credit card expiry date; If withAut is N, the expiry date will change without doing any checks. The system will still check the availability of the corresponding credit card every time you use the token.

Before using this method, merchants must assign to WSs2s all of the required information, through the following parameters:

  • shopLogin - merchant code

  • TokenValue - Token associated to a Credit Card

  • expiryMonth - card expiration month

  • expiryYear - card expiration Year

  • withAut - flag that indicates if a transaction request can be made or not

The CallUpdateTokenS2S method sends to Axerve Ecommerce Solutions a token to update. After CallUpdateTokenS2S has been performed, it is possible to know the outcome of the operation by using the values in the relevant XML return:

  • First, it is possible to use the TransactionResult method, which will return the string OK if the check has been performed, or the string KO if not.

  • ErrorCode Returns error code

  • ErrorDescription Returns error description

prevHow to delete a token
Fraud preventionnext

Create your test account to try the service!

© 2007-2024 Axerve S.p.A. Company with Single Shareholder belonging to the Maurizio Sella S.a.a. VAT Group with VAT no. 02675650028 – Tax Code 02686620028 – Biella Court registration no. 71524 – Piazza Gaudenzio Sella 1, 13900 Biella – Share Capital € 4,000,000.00 fully paid-in – Registered in the Reg. Impr. C.C.I.A.A. Monte Rosa Laghi Alto Piemonte – Registered in the Register of Payment Institutions.