Request on credit transfer from exchange balance to account balance
Description
No
Request code
OC_EXCHANGEGETTRANSFER
Request errors
Request code | Code meaning | Explanation |
---|---|---|
QE_NOT_MATCH | 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_EXCHANGEGETTRANSFER>, "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, from the balance of which credits will be transferred
- Amount - amount of credits to transfer
Response body
"Status":"Success", "Data": { "Transfer ID":<TransferID> }
Where:
- TransferID - Transaction ID