Credit transfer from exchange balance to account balance
Description
No
Request code
OC_EXCHANGESENDTRANSFER
Request errors
Request code | Code meaning | Explanation |
---|---|---|
OC_EXCHANGESENDTRANSFER | Not match | Invalid request signature |
QE_USER_NOT_FOUND | User not found | User was not found |
QE_LOW_BALANCE | Low balance | Amount of credits on the balance is not enough |
Request body
"Action":<OC_EXCHANGESENDTRANSFER>, "Data":{ "ID":<ExchangeID>, "Key":<RequestKey>, "User":<RecipientLogin>, "Amount":<Amount> }
Where:
- ExchangeID - Exchange ID
- RequestKey - signature that is generated as follows: RequestKey=SHA1(<ExchangeID>+<APIKEY>+<Amount>+<RecipientLogin>)
- RecipientLogin - login of account, on the balance of which credits will be transferred
- Amount - amount of credits to transfer
Response body
"Status":"Success", "Data": { "Transfer ID":<TransferID>, "Balance":<ExchangeBalance> }
Where:
- TransferID -Transaction ID
- Balance - balance of exchange after transaction