The method of
WSs2s web service that merchants must use in order to update a token in GestPay is
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 for a token and set it greater than the expiry date of the credit card; if
Y, the service will update the expiry date only if it is less than the credit card expiry date; If
N, the expiry date will change without doing any checks. The system will still check the availability of the corresponding credit card everytime 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 make a transaction request or not
CallUpdateTokenS2S method sends to GestPay a token to update.
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
TransactionResultmethod which will return the string
OKif the check has been performed or the string
ErrorCodeReturns error code
ErrorDescriptionReturns error description