CheckSellingStatus - Saba-sports/OddsDirectAPI GitHub Wiki
This API is to get the status of selling cashout ticket. After calling /SellBack
, wait 2 seconds before calling /CheckSellingStatus
Request
GET /cashout/{version}/CheckSellingStatus?transId=123456
Accept: application/json
Authorization: Bearer {JWT token}
Parameter |
Format |
Mandatory |
Description |
transId |
long |
Yes |
Specifies the transaction number of saba system. |
Response
{
"transId": long,
"sellingStatus": int,
"soldStake": decimal,
"paid":decimal,
}
Parameter |
Format |
Description |
transId |
long |
Specifies the transaction number of Saba system. |
sellingStatus |
int |
Specifies the status of the selling cashout ticket.1:Waiting2:Accept3:Reject |
soldStake |
decimal |
Specifies the stake of the selling cashout ticket. |
paid |
decimal |
Specifies the paid of the selling cashout. |
ErrorCode Enumeration
Error Code |
Message |
Description |
E001 |
Internal Server Error |
The server encountered an unexpected condition that prevented it from fulfilling the request. |
E002 |
Invalid parameter input |
The parameter input is invalid or not support. |
B019 |
Transaction Id Not Found |
The system can not find the transaction Id. |