Confirmation on credit transfer from exchange balance to account balance

Description

No

Request code

OC_EXCHANGEGETTRANSFER

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
QE_WRONG_CODE Wrong code Inavalid confirmation code

Request body

"Action":<OC_EXCHANGEGETTRANSFER>,
"Data":{
 "ID":<ExchangeID>,
 "Key":<RequestKey>,
 "Transfer ID":<TransferID>,
 "Confirmation":<ConfirmationCode>
}

Where:

  • ExchangeID - ExchangeID
  • RequestKey - signature that is generated as follows: RequestKey=SHA1(<ExchangeID>+<APIKEY>+<TransferID>+<ConfirmationCode>)
  • TransferID - transaction number
  • Confirmation - confirmation code

Response body

"Status":"Success",
"Data": {
 "Balance":<ExchangeBalance>,
 "Income":<TrnasferIncome>
}

Where:

  • ExchangeBalance - balance of exchange after transaction
  • TransferIncome - amount of credits received by exchange