Links

Request to refill users' balance

post
http://lk.mysmpp.ru/xml/add_balance.php
Request to refill users' balance
Parameters
Header
Content-type*
String
text/xml; charset=utf-8;
Body
login.value*
String
Your login in the system
password.value*
String
Your password in the system
token.value*
String
You can use a secret key instead of login and password. To obtain it, please contact your manager
client.login_client*
String
Customer login
client.balance*
Int
Amount credited
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
Responses
200: OK
If a valid XML document is received
400: Bad Request
If an error occurs in the sent XML document

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 modified 5mo ago