Get the balance of exchange

Description

No

Request code

OC_EXCHANGEGETBALANCE

Request errors

Request code Code meaning Explanation
QE_NOT_MATCH Not match Invalid request signature

Request body

"Action":<OC_EXCHANGEGETBALANCE>,
"Data":{
 "ID":<ExchangeID>,
 "Key":<RequestKey>
}

Where:

  • ExchangeID - ExchangeID
  • RequestKey - signature that is generated as follows: RequestKey=SHA1(<ExchangeID>+<APIKEY>)

Response body

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

Where:

  • ExchangeBalance - exchange balance