tokenToPan
To search in the page use Ctrl+F on your keyboard
This function makes it possible to transform a token to a pan.
Recommended interfaceVersion: TR_WS_2.55
Endpoints
-
- PROD
-
https://office-server.sips-services.com/rs-services/v2/token/tokenToPan
- method
- POST
-
- TEST
-
https://office-server.test.sips-services.com/rs-services/v2/token/tokenToPan
- method
- POST
-
- PROD
-
https://office-server.sips-services.com/services/v2/token?wsdl
- method
- POST
-
- TEST
-
https://office-server.test.sips-services.com/services/v2/token?wsdl
- method
- POST
Request
Required
-
interfaceVersion
- presence
- Required
- Interface version
- 2.0
Version of the interface used. It is composed of a prefix that varies according to the function used and a version number (e.g. IR_WS_2.47).
Please refer to the function page for the value to use. Use the latest interface version number.
List of values
TR_WS_2.
- Sips Office (SOAP) interface for Token functions.
-
keyVersion
- presence
- Required
- Interface version
- 2.0
Version of the merchant’s secret key used to calculate the imprint of the message (key stored by the merchant to verify the imprint of the automatic and manual notifications).
-
merchantId
- presence
- Required
- Interface version
- 2.0
Identifier of the shop, this value is provided to the merchant by Worldline Sips during the shop registration.
-
seal
- presence
- Required
- Interface version
- 2.0
Message seal used to ensure the integrity of the request and the authentication of sender / receiver of the message.
Optional
-
intermediateServiceProviderId
- presence
- Optional
- Interface version
- 2.12
Identifier of the Service used by the merchant for the exchanges with the Worldline Sips platform.
-
sealAlgorithm
- presence
- Optional
- Interface version
- 2.12
Algorithm applied to calculate the seal encryption.
List of values
HMAC-SHA-256
- The encryption algorithm applied is HMAC-SHA-256
HMAC-SHA-512
- The encryption algorithm applied is HMAC-SHA-512
SHA-256
- The encryption algorithm applied is SHA-256
-
tokenPanDataList
- presence
- Optional
- Interface version
- 2.0
List of token PAN to be converted into PAN.
Contains
-
tokenPanData
- presence
- Optional
- Interface version
- 2.0
Token PAN to be converted into PAN.
Contains
-
tokenPan
- presence
- Optional
- Interface version
- 2.0
Unique identifier for a PAN returned by the Worldline Sips server via the AWL token server in a merchant-oriented format (the format is a parameter in the merchant’s configuration).
-
tokenPanId
- presence
- Optional
- Interface version
- 2.0
Sequence number of PAN in the list. It is the same sequence number as the one in panDataList request.
Request sample
Response
Required
-
seal
- presence
- Required
- Interface version
- 2.0
Message seal used to ensure the integrity of the request and the authentication of sender / receiver of the message.
Optional
-
errorFieldName
- presence
- Optional
- Interface version
- 2.21
Error field name of the incoming request. Present when responseCode = 12 or 30.
-
responseCode
- presence
- Optional
- Interface version
- 2.0
Worldline Sips server response code.
List of values
00
- Operation accepted
01
- For panToToken and tokenToPan methods, partial success
02
- Request of authorized on via telephone with the issuer because of exceeding the card authorization threshold
03
- Invalid merchant contract
05
- Refused authorization
11
- Used for differed check. The PAN is blocked
12
- Invalid transaction. Please check the request parameters
14
- Invalid PAN or payment mean data check is failed (e.g. card number or the visual cryptogram of the card or AVS address)
17
- Customer cancellation
24
- In response to a cash management operation: operation not authorized. The operation you wish to perform is not compliant with the transaction status or another operation is in progress at the same time
- In response to a payment creation: operation rejected, request already carried out with the same data and the same parameters
25
- Transaction unknown by Worldline Sips
30
- Format error
34
- Fraud suspicion (seal erroneous)
40
- Function not supported: the operation that you wish to perform is not part of the operation type for which you are authorized
51
- Amount too high
54
- Payment mean expiry date is past
55
- Merchant doesn’t accept prepaid cards
57
- Refund operation refused because the original transaction was subject of an unpaid
60
- Transaction pending
62
- Waiting the confirmation for the transaction (used by PayPal 1.0)
63
- Security rules not observed, transaction stopped
75
- Number of attempts to enter the data of the payment mean from Sips Paypage is exceeded
90
- Service temporarily not available
94
- Duplicated transaction: the transactionReference has been used previously
97
- Session expired (no action from the user during 15 minutes), transaction refused
99
- Temporarily problem with the payment server
-
responsePanDataList
- presence
- Optional
- Interface version
- 2.0
List of responses returned during the PAN conversion response.
Contains
-
responsePanData
- presence
- Optional
- Interface version
- 2.0
Response returned during the PAN conversion.
Contains
-
pan
- presence
- Optional
- Interface version
- 2.0
PAN (Primary Account Number).May contain a converted Token PAN (from PAN) in the container responsePanData (in which case, its format will ANS35)
-
tokenPanId
- presence
- Optional
- Interface version
- 2.0
Sequence number of PAN in the list. It is the same sequence number as the one in panDataList request.
-
tokenResponseCode
- presence
- Optional
- Interface version
- 2.0
Response code of each PAN to token conversion.
List of values
00
- Successful operations
01
- At least one operation is not successful
03
- Invalid merchant contract
40
- merchantId not allowed to access this token service
90
- Technical error with tokenizer
99
- Technical error with the request
Response sample
Changelog
Interface version | Data | Attendance | Container |
---|---|---|---|
2.12 |
intermediateServiceProviderId
|
Request | |
2.12 |
sealAlgorithm
|
Request | |
2.0 |
tokenPanDataList
|
Request | |
2.0 |
tokenPanData
|
Container |
tokenPanDataList
|
2.0 |
tokenPan
|
Container |
tokenPanData
|
2.0 |
tokenPanId
|
Container |
tokenPanData
responsePanData
|
2.0 |
interfaceVersion
|
Request | |
2.0 |
keyVersion
|
Request | |
2.0 |
merchantId
|
Request | |
2.0 |
seal
|
Request/Response | |
2.21 |
errorFieldName
|
Response | |
2.0 |
responseCode
|
Response | |
2.0 |
responsePanDataList
|
Response | |
2.0 |
responsePanData
|
Container |
responsePanDataList
|
2.0 |
pan
|
Container |
responsePanData
|
2.0 |
tokenResponseCode
|
Container |
responsePanData
|