GetCashoutInfoByCustomer - Saba-sports/OddsDirectAPI GitHub Wiki
This API is to get all cashout information by customer.
Request
GET /cashout/{version}/GetCashoutInfoByCustomer
Accept: application/json
X-Forwarded-For: client ip (If using API via proxy)
Authorization: Bearer {JWT token}
Response
{
"priceInfo": PriceInfo[]
}
Parameter |
Format |
Description |
priceInfo |
PriceInfo array |
Specifies the cashout information. |
PriceInfo
[
{
"key": string,
"transId": long,
"cashoutEnabled": bool,
"minStake": int,
"maxStake": int,
"cashoutRate": decimal
}
]
Parameter |
Format |
Description |
key |
string |
Specifies the key of the cashout information. |
transId |
long |
Specifies the transaction number of saba system |
cashoutEnabled |
bool |
Specifies whether the cashout is currently enabled or not. |
minStake |
int |
Specifies the minimum stake that might be partially cashed out. |
maxStake |
int |
Specifies the maximum stake that might be partially cashed out. |
cashoutRate |
decimal |
Specifies the rate of cashout. |
ErrorCode Enumeration
Error Code |
Message |
Description |
E001 |
Internal Server Error |
The server encountered an unexpected condition that prevented it from fulfilling the request. |