INTERFACE WMC1. Preliminary request on payment possibilities and Preliminary request on payment possibilities (WebMoney.Check)¶
We recommend sending this request before you receive funds from the RECIPIENT. With this request you can check the condition of the technical equipment (connectivity, operability, etc.) and funds availability. You can also check the possibility of issuing WebMoney.Check.
The signatory WMID should have the Agency Agreement signed with Leadant Solutions Ltd.
<w3s.request>
<wmid></wmid>
<sign type=""></sign>
<payment currency="">
<purse></purse>
<phone></phone>
<price></price>
</payment>
</w3s.request>
title |
purpose |
note |
wmid |
WMID of the signatory |
Used for the authorization via WM Keeper WinPro keys or X.509 WM Keeper WebPro certificate |
sign |
The request signature |
Formed by the parameters: wmid+ pspname+ pspcode+ pspnumber+ pspdate+ purse+ price |
sign/@type |
Type of the request signature |
1 – the signature is formed by the special authentication module for WM Keeper WinPro keys, 2 – the signature is formed by X.509 WM Keeper WebPro certificate, encoding base64 |
payment/@currency |
Payment currency |
Specifies the payment currency, "USD"- payment in US dollars, "EUR" – payment in Euro. |
payment/purse |
Payment details of the RECIPIENT |
13 symbols, the first symbol is the Latin letter Z or E and 12 digits; no gaps |
payment/phone |
Mobile phone number of the RECIPIENT Optional parameter |
Country code, operator code, phone number; no gaps and “+” sign |
payment/price |
The amount in Euro or USD received from the payer Specified in the attribute @currency |
Floating-point number (delimiter - .(point)) for ten and a half should look like: 10.5; nonsignificant zeroes at the end and after the point are not required for the whole number, e.g., 10.50 - wrong, 10.5 - correct, 9. - wrong, 9 - correct) |
<w3s.response>
<retval></retval>
<retdesc></retdesc>
<payment currency="">
<purse></purse>
<phone></phone>
<price></price>
<limit></limit>
</payment>
</w3s.response>
title |
purpose |
note |
retval |
Error code or status code |
0 – request is successfully completed |
retdesc |
Text description of the error/empty |
Random line from 0 to 255 symbols; encoding win-1251 |
payment/@currency |
Payment currency |
Specifies the payment currency, "USD"- payment in US dollars, "EUR" – payment in Euro. |
payment/purse |
Payment details of the RECIPIENT |
13 symbols, the first symbol is the Latin letter Z or E and 12 digits; no gaps |
payment/phone |
Mobile phone number of the RECIPIENT Optional parameter |
Country code, operator code, phone number; no gaps and “+” sign |
payment/price |
The amount in Euro or USD received from the payer Specified in the attribute @currency |
Floating-point number (delimiter - .(point)) for ten and a half should look like: 10.5; nonsignificant zeroes at the end and after the point are not required for the whole number, e.g., 10.50 - wrong, 10.5 - correct, 9. - wrong, 9 - correct) |
payment/limit |
Maximum amount for transferring to the Recipient |
Floating-point number (delimiter - .(point)) |
See also:
XML-interfaces to top-up WMZ and WME
XML-interfaces