The request used for activating a binding that has been deactivated earlier is bindCard
.
Use the following URL to connect to the Test Service (WSDL):
https://3dsec.sberbank.ru/payment/webservices/merchant-ws?wsdl.
In this document, the following data type conventions are used when describing request and response parameters:
Name | Type | Mandatory | Description |
---|---|---|---|
|
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: |
Name | Type | Mandatory | Description |
---|---|---|---|
|
ANS..3 | Yes |
Error code. |
|
|
(on an error) |
|
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. |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="http://engine.paymentgate.ru/webservices/merchant"> <soapenv:Header/> <soapenv:Body> <mer:bindCard> <bindingId>fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc</bindingId> </mer:bindCard> </soapenv:Body> </soapenv:Envelope>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns1:bindCardResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant"> <return errorCode="5" errorMessage="The user must change their password"/> </ns1:bindCardResponse> </soap:Body> </soap:Envelope>