Getting balance of bitcoin and in fiat via API is done by sending an http POST to https://bips.me/api/v1/getbalance
On a successful POST a JSON encoded array will be received in the response. On any invalid API request, an error message will be received in the response of the POST. Your system should account for this.
* API key should never be publicly visible. If compromised, one can generate a new one in BIPS account.
BIPS GetBalance example
{
"btc": {
"amount": "0.36723477",
"rate": "110.48764"
},
"fiat": {
"amount": "40.5749",
"currency": "USD"
}
}