====== Direct transfer of the credits from one account to another ======
=== Description ===
Initializes credit transfer from the balance of one account to another
=== Request code ===
OC_SENDCREDITS
=== Request errors ===
^ Request code ^ Code meaning ^ Explanation ^
| QE_LOW_BALANCE | Low balance | Amount of credits on the balance is not enough |
| QE_INVALID_RECIPIENT | Invalid recipient | Recipient was not found |
=== Request body ===
"Action":,
{
"Action":,
"Data":{
"Token":,
"Amount":,
"Recipient":
}
}
=== Response body ===
{
"Status":"Success"
}
=== Additionally ===
* When transferring credits system debits from the account of the sender ''*(1+TransferPercent/100)'' credits amount.
* TransferPercent - variable, descripted in [[en:api:systemconstants:|system constants]]