Get Order Detail by Order UUID
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Get Order Detail
This endpoint retrieves detailed information about a specific order using its unique identifier, the Order UUID. It is part of the Parlay API and requires authentication via a token.
Endpoint
GET /orders/{order_uuid}
Headers
Authorization: Bearer token required.
Include the
Bearerprefix before your access token in the Authorization header. For example:Bearer YOUR_ACCESS_TOKEN. Retrieve your access token from the/auth/loginendpoint response.
Description
Fetch detailed information about an order by providing the Order UUID. This endpoint is useful for obtaining comprehensive details about a specific order, including its status, confirmed odds, stake, and any associated bet legs.
Security
- Token: A valid token is required to access this endpoint.
Parameters
- order_uuid (path parameter, required): The unique identifier for the order you wish to retrieve.
- Type:
string
- Type:
Responses
-
200 OK: The request was successful, and the order details are returned in the response.
- Content-Type:
application/json - Schema: Includes order details such as confirmed odds, stake, profit, and bet legs.
- Content-Type:
-
Default: An error response with details about the failure.
- Content-Type:
application/json - Schema: Error details including error code and message.
- Content-Type:
Tags
- parlay
Example Request
GET /orders/123e4567-e89b-12d3-a456-426614174000
Authorization: Bearer YOUR_ACCESS_TOKENExample Response
{
"success": true,
"data": {
"order_uuid": "123e4567-e89b-12d3-a456-426614174000",
"confirmed_odds": 1.5,
"confirmed_stake": 100,
"profit": 50,
"legs": [
{
"line": 1.5,
"market_id": 123,
"outcome_id": 456
}
]
}
}