Skip to main content
PUT
Submit a quote on an active quote request. You hold at most one active quote per request version. Submitting again for the same version replaces it atomically. When the user edits the legs or bet amount, the request’s version and request_hash change. Listen for quote_request:updated on the SSE stream to detect the change and re-price.
A new version needs no withdraw. A quote is scoped to one (request, version) pair. When the request advances, your prior-version quote is invalidated automatically: it leaves the book at once, can no longer be accepted, and never blocks a new submission. PUT again with the new request_version and request_hash from the latest quote_request:updated event. You don’t need to withdraw the old quote first.

Authentication

API key required. Pass your API key in the X-API-Key header.

Path parameters

string
required
The quote request ID (UUID).

Request body

integer
required
The quote request version you priced. Must match the current version from the SSE stream.
string
required
The request_hash from the quote request event. Prevents pricing against stale data.
number
required
Payout multiplier on the net stake (user_stake), never the gross bet_amount; see Fees. Between 1.0001 and 1000. The server derives user_cost, total_payout, and mm_cost from it.
integer
How long this quote is valid, in milliseconds. Range: 5000-60000. Default: 15000.

Response

Returns 201 Created for a new quote or 200 OK when replacing an existing quote.
object

Conflict reasons

A 409 Conflict carries the cause in error.details.reason:

Errors