Инструменты страницы
Request for a binding deactivation (unBindCard)
The request used for making an existing binding inactive is unBindCard
.
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:
- 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..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 | No |
Error code. |
|
|
No |
|
Error codes
Error code | Error text |
---|---|
0 |
The request has been processed without system errors. |
2 |
Wrong binding state. |
2 |
The binding is not found. |
5 |
Access denied. |
5 |
The user must change the password. |
7 |
System error. |
Examples
Request example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:mer="http://engine.paymentgate.ru/webservices/merchant"> <soapenv:Header/> <soapenv:Body> <mer:unBindCard> <bindingId>fd3afc57-c6d0-4e08-aaef-1b7cfeb093dc</bindingId> </mer:unBindCard> </soapenv:Body> </soapenv:Envelope>
Response example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns1:unBindCardResponse xmlns:ns1="http://engine.paymentgate.ru/webservices/merchant"> <return errorCode="0" errorMessage="Successful"/> </ns1:unBindCardResponse> </soap:Body> </soap:Envelope>