beta CheckSellingStatus - Saba-sports/OddsDirectAPI GitHub Wiki
This API is to get status of selling cashout ticket.
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 key of the cashout information. |
sellingStatus |
int |
Specifies the status of the selling cashout ticket.0:Waiting, 1:Accept, 2:Reject, 3:Void |
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. |
B026 |
Selling Ticket Not Found |
The cashout ticket not found. |