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":<OC_GETWHOLEFOLDER>, { "Action":<OC_SENDCREDITS>, "Data":{ "Token":<MyToken>, "Amount":<MyAmount>, "Recipient":<RepicientMail> } }
Response body
{ "Status":"Success" }
Additionally
- When transferring credits system debits from the account of the sender
<MyAmount>*(1+TransferPercent/100)
credits amount. - TransferPercent - variable, descripted in system constants