Skip to content

3.5 Bet Detail URL API

http
GET /api/v1/exchange/report/order-url

Retrieve 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)

FieldRequiredTypeDescription
order_idConditional*stringOrder ID
trade_idConditional*stringMatched 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"
  }
}
FieldTypeDescription
urlstringBet 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.

BFX EXCHANGE · BE THE GAME CHANGER