The request used for verifying card enrollment in 3-D Secure is verifyEnrollment.do
.
In this document, the following data type conventions are used when describing request and response parameters:
The request parameters are given in table below.
Name | Type | Mandatory | Description |
---|---|---|---|
|
AN..30 | Yes |
Login of the service account of the merchant. |
|
AN..30 | Yes |
Merchant's service account password. |
|
N12…19 | Yes |
Masked number of the card that has been used for the payment. This parameter is to be specified only after the order has been paid. In the case of payment via Apple Pay, DPAN is used as the card number: a number associated with the buyer's mobile device and acting as a payment card number in the Apple Pay system. |
The response parameters are given in table below.
Name | Type | Mandatory | Description |
---|---|---|---|
| N3 | No |
Error code. Can be missing if the result has not caused an error. |
|
|
No |
|
|
A1 | No |
Sign of the card's enrollment in 3-D Secure. The possible values are:
|
|
AN..160 | No |
Name of the issuing bank. |
|
AN..4 | No |
Country codes of the issuing bank. |
Error code | Error text |
---|---|
0 |
The request has been processed without system errors. |
1 |
The card number is not specified. |
1 |
The card number must be a number containing 13 to 19 digits. |
5 |
The user must change the password. |
5 |
Access denied. |
6 |
Information is not found for the card number specified. |
7 |
System error. |
pan=4111111111111111
{"errorCode":"0","errorMessage":"Success","emitterName":"TEST CARD","emitterCountryCode":"RU","enrolled":"Y"}