Price Offer Callback Documentation

Price Offer Callback

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Price Offer Callback

The Price Offer Callback endpoint allows service providers to submit price offers for a parlay. This is part of the process where users request quotes for parlays, and service providers respond with their offers.

Endpoint

POST /orders/offers

Headers

  • Authorization: Bearer token required.
key

Include the Bearer prefix before your access token in the Authorization header. For example: Bearer YOUR_ACCESS_TOKEN. Retrieve your access token from the /auth/login endpoint response.

Request Body

  • parlay_id (string): Unique identifier for the parlay offer.
  • offers (array): List of offer objects containing:
    • estimated_price: Array of estimated price objects with line IDs and odds.
    • max_risk: Maximum risk amount for the offer.
    • odds: Offered odds for the parlay.
    • valid_until: Expiration time for the offer in Unix timestamp.
  • signature (string): Digital signature to verify the authenticity of the request.

Response

  • 200 OK: Successfully processed the offer.
  • Default Error: Returns an error response with details.

Example

{
  "parlay_id": "123e4567-e89b-12d3-a456-426614174000",
  "offers": [
    {
      "estimated_price": [{"line_id": "line_1", "odds": 1.5}],
      "max_risk": 1000,
      "odds": 1.8,
      "valid_until": 1679011200
    }
  ],
  "signature": "abc123signature"
}

This endpoint is crucial for integrating service providers into the parlay quoting process, allowing them to submit competitive offers that users can choose from.

Body Params
offers
array of objects
length ≥ 1
offers
string
required

UUID string json:"uuid" binding:"required"

string
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json