Skip to content

CheckSellingStatus

Saba-sports edited this page Aug 1, 2022 · 7 revisions

该API用于获取兑现票据的状态。 呼叫/SellBack后,需等待2秒再呼叫/CheckSellingStatus

Request

GET  /cashout/{version}/CheckSellingStatus?transId=123456
Accept: application/json
Authorization: Bearer {JWT token}
Parameter Format Mandatory Description
transId long Yes 注单号码

Response

{    
    "transId": long,
    "sellingStatus": int,
    "soldStake": decimal,
    "paid":decimal,
} 
Parameter Format Description
transId long 注单号码
sellingStatus int 兑现票据的状态
1:Waiting, 2:Accept, 3:Reject
soldStake decimal 兑现的注额
paid decimal 兑现的金额

ErrorCode Enumeration

Error Code Message Description
E001 Internal Server Error 服务器发生非预期错误
E002 Invalid parameter input 参数输入无效或不支援
B019 Transaction Id Not Found 找不到对应注单编号

Home

General Information

Setup and Authentication

API Usage

Odata Query

Exception

System

SportsBook

v1
beta

Betting _Flow

v1
beta

Cashout _Flow

v1

Statement

v1
beta

Result

v1

UserInfo

v2
v1
beta

Reference

Clone this wiki locally