Client
Click here for a complete list of operations.
Request
Запрос на проверку реквизитов платежа.
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /api/client.asmx HTTP/1.1 Host: telepay-ws.wmtransfer.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://telepay.webmoney.ru/Request" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <AuthHeader xmlns="http://telepay.webmoney.ru/"> <ID>int</ID> <Password>string</Password> </AuthHeader> </soap:Header> <soap:Body> <Request xmlns="http://telepay.webmoney.ru/"> <Account> <Contractor>int</Contractor> <Account>string</Account> <Parameters> <Parameter> <Name>string</Name> <Value>string</Value> </Parameter> <Parameter> <Name>string</Name> <Value>string</Value> </Parameter> </Parameters> </Account> <Amount> <Currency>int</Currency> <Amount>decimal</Amount> </Amount> <Payment> <Partner>int</Partner> <User>string</User> <Currency>int</Currency> </Payment> </Request> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <RequestResponse xmlns="http://telepay.webmoney.ru/"> <RequestResult> <Order> <ID>long</ID> <Status> <Code>int</Code> <Error>int</Error> <Message>string</Message> </Status> <Receipt> <ID>string</ID> <Stamp>dateTime</Stamp> <Data>string</Data> </Receipt> <Partner>int</Partner> <Contractor>int</Contractor> <Account>string</Account> <Parameters> <Parameter xsi:nil="true" /> <Parameter xsi:nil="true" /> </Parameters> <Amount>decimal</Amount> <Fee>decimal</Fee> <Currency>int</Currency> <payAmount>decimal</payAmount> <payFee>decimal</payFee> <payCurrency>int</payCurrency> <payPurse>string</payPurse> <verifyAccount>boolean</verifyAccount> <payTranID>long</payTranID> <Created>dateTime</Created> <Revise> <Stamp>dateTime</Stamp> <Completed>dateTime</Completed> </Revise> <Purpose>string</Purpose> <PayeeShopID>string</PayeeShopID> <ForceDmsTransaction>boolean</ForceDmsTransaction> </Order> <Error>int</Error> <Message>string</Message> <DisplayMessage>string</DisplayMessage> </RequestResult> </RequestResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /api/client.asmx HTTP/1.1 Host: telepay-ws.wmtransfer.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Header> <AuthHeader xmlns="http://telepay.webmoney.ru/"> <ID>int</ID> <Password>string</Password> </AuthHeader> </soap12:Header> <soap12:Body> <Request xmlns="http://telepay.webmoney.ru/"> <Account> <Contractor>int</Contractor> <Account>string</Account> <Parameters> <Parameter> <Name>string</Name> <Value>string</Value> </Parameter> <Parameter> <Name>string</Name> <Value>string</Value> </Parameter> </Parameters> </Account> <Amount> <Currency>int</Currency> <Amount>decimal</Amount> </Amount> <Payment> <Partner>int</Partner> <User>string</User> <Currency>int</Currency> </Payment> </Request> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <RequestResponse xmlns="http://telepay.webmoney.ru/"> <RequestResult> <Order> <ID>long</ID> <Status> <Code>int</Code> <Error>int</Error> <Message>string</Message> </Status> <Receipt> <ID>string</ID> <Stamp>dateTime</Stamp> <Data>string</Data> </Receipt> <Partner>int</Partner> <Contractor>int</Contractor> <Account>string</Account> <Parameters> <Parameter xsi:nil="true" /> <Parameter xsi:nil="true" /> </Parameters> <Amount>decimal</Amount> <Fee>decimal</Fee> <Currency>int</Currency> <payAmount>decimal</payAmount> <payFee>decimal</payFee> <payCurrency>int</payCurrency> <payPurse>string</payPurse> <verifyAccount>boolean</verifyAccount> <payTranID>long</payTranID> <Created>dateTime</Created> <Revise> <Stamp>dateTime</Stamp> <Completed>dateTime</Completed> </Revise> <Purpose>string</Purpose> <PayeeShopID>string</PayeeShopID> <ForceDmsTransaction>boolean</ForceDmsTransaction> </Order> <Error>int</Error> <Message>string</Message> <DisplayMessage>string</DisplayMessage> </RequestResult> </RequestResponse> </soap12:Body> </soap12:Envelope>