orders

Get all fullcover orders for an account.

get/v3/orders/fullcover/

Query parameters

statesstring[]

Order states to filter by. By default all order states are returned

Order states to filter by. By default all order states are returned

[
  "created"
]
limitinteger

Maximum number of orders to be retrieved in one API call

Maximum number of orders to be retrieved in one API call

pagination_last_idstring

Epoch timestamp of the last order from the previous page, so we can fetch the subsequent orders.<br> Pages are sorted by the bet created time descending.

Epoch timestamp of the last order from the previous page, so we can fetch the subsequent orders.<br> Pages are sorted by the bet created time descending.

include_promotion_databoolean

Whether to enrich the response with bet token and promotion data.<br> Set to false to skip the promotion lookup when those fields are not needed, in which case they are returned empty

Whether to enrich the response with bet token and promotion data.<br> Set to false to skip the promotion lookup when those fields are not needed, in which case they are returned empty

Response

Orders success response

Example response

{
  "orders": [
    {
      "buy_reference_id": "123",
      "cashed_out_amount": 7,
      "cashed_out_quantity": 500,
      "created_datetime": "2012-08-14T00:56:45.291688Z",
      "fullcover_type": "doubles",
      "last_modified_datetime": "2012-08-14T00:56:45.291688Z",
      "number_of_bets": 5,
      "original_bets": [
        {
          "contract_id": "123456",
          "market_id": "128939",
          "price": 5000,
          "quantity": 10000,
          "token_used": {
            "bet_token_type": "free_bet",
            "boost_percent": 1,
            "original_price": 5000
          }
        }
      ],
      "original_contracts": [
        {
          "contract_id": "123456"
        }
      ],
      "potential_returns": 7.8,
      "reference_id": "123",
      "returned_amount": 7.8,
      "side": "buy",
      "state": "created"
    }
  ],
  "pagination": {
    "next_page": "?limit=20&pagination_last_id=1747764000123456"
  }
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.