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

How to modify a token

SOAP

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

Previous
prevHow to delete a token
Next
Fraud preventionnext