Инструменты страницы
Request for a binding activation (bindCard.do)
The request used for activating a binding that has been deactivated earlier is bindCard.do
.
In this document, the following data type conventions are used when describing request and response parameters:
- A<n> – a sequence of Latin letters of length <n>;
- A..<n> – a sequence of Latin letters with a length not exceeding <n>;
- N<n> – a sequence of digits of length <n>;
- N..<n> – a sequence of digits with a length not exceeding <n>;
- AN<n> – a sequence of Latin letters and numbers of fixed length <n>;
- AN.. <n> – a sequence of Latin letters and numbers with a length not exceeding <n>;
- ANS<n> – a sequence of Latin letters, numbers and characters of fixed length <n>
- ANS.. <n> – a sequence of Latin letters, numbers and characters with a length not exceeding <n>;
- UTC – date and time, in this case: the date must be passed without specifying the time zone, Moscow time, for the SOAP protocol, the standard encoding xs: dateTime is used.
Request parameters
Name | Type | Mandatory | Description |
---|---|---|---|
|
AN..30 | Yes |
Login of the service account of the merchant. |
|
AN..30 | Yes |
Merchant's service account password. |
|
AN..255 | Yes |
The identifier of the previously created binding. Can only be used if the merchant has permission to work with bindings. If this parameter is passed in the given request, it means that: |
Response parameters
Name | Type | Mandatory | Description |
---|---|---|---|
|
ANS..3 | Yes |
Error code. Can be missing if the result has not caused an error. |
|
|
(on an error) |
|
Error codes
Error code | Error text |
---|---|
0 |
The request has been processed without system errors. |
2 |
Wrong binding state. (On an attempt to activate an active binding.) |
2 |
The binding is not found. |
5 |
Access denied. |
5 |
The user must change the password. |
7 |
System error. |
Examples
POST request example
bindingId=fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc
Response example
{"errorCode":"2","errorMessage":"Binding is active"}