Request to refill users' balance
Request to refill users' balance
POST
http://lk.mysmpp.ru/xml/add_balance.php
Headers
Content-type*
String
text/xml; charset=utf-8;
Request Body
login.value*
String
Your login in the system
client.type_transaction*
String
Transaction type:
- webmoney - WebMoney
- manager - Manager
- roboxchange - ROBOXchange
- cashless - Cashless
- cashless_no_score - Cashless without account
- Qiwi - Qiwi
- yandexmoney - Yandex.Money
- BITCOIN - Bitcoin
- trust_payment - Trust payment
- write_off - Write_off
- subscription - Subscription fee
client.balance*
Int
Amount credited
client.login_client*
String
Customer login
token.value*
String
You can use a secret key instead of login and password. To obtain it, please contact your manager
password.value*
String
Your password in the system
<?xml version="1.0" encoding="utf-8" ?>
<response>
<transaction login="test_6_1" id_transaction="366"/>
<transaction login="test_smpp_3" id_transaction="NO_USER"/>
...
<transaction login="test_smpp_8" id_transaction="401"/>
</response>
Deciphering parameters in query responses
transaction.login
String
Customer login
ransaction.Id_transaction
Mixed
Transaction Id for crediting funds
NO_USER - means that this user is not found
error
String
The error text can take the following values:
Incorrect XML document format
Incorrect login or password
POST data is missing
Example XML request
<?xml version="1.0" encoding="utf-8" ?>
<request>
<security>
<login value="login" />
<password value="password" />
</security>
<client login_client="test_6_1" balance="100" type_transaction="webmoney">
<client login_client="test_smpp_3" balance="150" type_transaction="manager">
...
<client login_client="test_smpp_8" balance="200" type_transaction="BITCOIN">
</request>
Last updated