post
https://api-ss-sandbox.betprophet.co/parlay/sp/orders/offers
Price Offer Callback
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
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.
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.
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.
