3.5 Bet Detail URL API
http
GET /api/v1/exchange/report/order-urlRetrieve the detail page link for a bet by its reference number. Data is retained for the most recent 6 months. Requests must include the HMAC authentication headers.
TIP
This API is rate-limited to 60 requests / minute (per api_key); exceeding it returns code:10060.
Request Parameters (Query String)
| Field | Required | Type | Description |
|---|---|---|---|
| order_id | Conditional* | string | Order ID |
| trade_id | Conditional* | string | Matched Order ID |
TIP
Provide at least one of order_id or trade_id.
Response data
json
{
"code": 0,
"message": "success",
"data": {
"url": "https://backoffice.example.com/#/orders?order_id=019e0000-0000-0000-0000-000000000000&key=xxxx&exp=0000000000"
}
}| Field | Type | Description |
|---|---|---|
| url | string | Bet detail page link in the back office, valid for 24 hours |
Error codes
Error codes are consistent with the other query APIs; see the query APIs error reference.