GetBalance - Saba-sports/OddsDirectAPI GitHub Wiki
This API is used to check user balance.
Request
GET /betting/{version}/GetBalance
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Response
{
"currency": int,
"balance": decimal,
"outstanding": decimal
}
| Parameter | Format | Description |
|---|---|---|
| currency | int | Specifies the Currency.Please refer to Currency Table. |
| balance | decimal | Specifies the user balance. |
| outstanding | decimal | Specifies the withholding amount. |