====== Confirmation of the credit transfer from one account to another ======
=== Description ===
Confirms the credit transfer from one account to another
=== Request code ===
OC_CONFIRMSENDCREDITS
=== 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
| QE_INVALID_CODE | Invalid code | Invalid confirmation code
=== Request body ===
"Action":,
{
"Action":,
"Data":{
"Token":,
"Confirm code":
}
}
=== Response body ===
{
"Status":"Success",
"Data":{
"Operation ID":,
"Balance":
"Transfer amount":
}
}
//,where://
* '''' - operation identifier
* '''' - the sender balance after transaction
* ''''- the number of credits accrued to the recipient by transaction
=== 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]]
* The transfer of credits from sender's balance could be confirmed by both sender and recepient.
* Field "Balance" is displayed in the response only if the operation is confirmed by the sender.