Place a combo (optional)
/api/v1/combos/ordersOptional, and only where Parity has enabled combos for your operator. Until then every combo operation answers 404 not_found. In the sandbox, combos are priced (mode: "demo") but not placed. A combo is placed only for a player whose balance Parity holds; where it cannot be placed yet, POST /api/v1/combos/orders answers 404 not_available with a reason (sandbox, client_wallet or operator_wallet) before anything is held. An integration that ignores combos sees no change.
202 records the combo and returns it at status: "pricing": HOLD stakeMinor in your ledger. The same clientOrderId again returns the same combo as a 200 replay.
The firm price is accepted only if it pays at least minPayoutMinor for the stake. If it pays less, the combo ends price_changed, the hold is released, and offer carries the new price; taking it is a NEW combo with a new clientOrderId, never an automatic acceptance.
Follow the combo with GET /api/v1/combos/orders/{id} or the opt-in combo.* webhooks. combo.filled says what to debit and release, combo.rejected releases the whole hold, and combo.settled says what to credit.
Header parameters
X-Parity-UserstringrequiredThe OPERATOR'S own id for the end user. Parity never authenticates end users; this opaque string is the entire record of one. A user is created on first use by a write path and is never conjured by a read.
X-Request-IdstringoptionalOptional: your own id for this call, 1 to 128 letters, digits,
.,_,:or-. Used when well formed, otherwise Parity mints one; either way the response carries it inx-request-idandparity-request-id, refusals included. On single quotes and orders it is stored with the quote, the order and any refusal.pattern: ^[A-Za-z0-9._:-]{1,128}$
x-parity-operatorstringoptionalFor an aggregator: the operator this request is for, one of your direct child operators, by its id or its slug (
GET /api/v1/operators/childrenlists them). Omit it, or name yourself, to act as yourself. A key may act only for a direct child in the same mode as its own operator; anything else is403 operator_not_permittedor403 mode_mismatch, and an unknown name answers exactly like an operator that is not yours.
Bodyapplication/json
ComboOrderRequest
clientOrderIdstringrequiredYour own id for the combo, unique per player. The idempotency key: the same id with the same legs, stake and
minPayoutMinoris a200replay; the same id with anything different is409 client_order_reused.min length 8 · max length 100 · pattern: ^[A-Za-z0-9_-]+$
legsComboLeg[]required2 to 50 legs, in the order the player picked them.
legIndexon a refusal and oncombo.leg_resolvedcounts from 0 in this order.Show propertiesHide properties
marketIdstringrequiredThe contract, by its public
ctr_id from the catalogue (thecontractIdof the single-trade endpoints).example: "ctr_753564b3291bcd92"
sidestring · enumrequiredPossible values:
yesno
stakeMinorintegerrequiredThe stake in minor units of
currency. Hold this when the order answers202.min 1
minPayoutMinorintegerrequiredThe "To win" the player agreed to: the least the combo must pay if every leg wins, the stake included, in minor units of
currency. Send the quote’stoWinMinor. It must be abovestakeMinorand within your payout cap, or the order answers400 invalid_request. A firm price that pays less is never accepted: the combo endsprice_changed, the hold is released, andoffershows the new price.min 1
currencystringrequiredexample: "USD"
Responses
- 200application/json
A replay of the same
clientOrderId: the combo as it stands now.Show response fieldsHide response fields
orderComboOrderrequiredOne combo. Every id is Parity’s own; no id from a liquidity partner appears. Every amount is an integer in minor units of
currency.Show propertiesHide properties
idstringrequiredParity’s combo id:
comboIdon the combo webhooks.clientOrderIdstringrequiredexternalUserIdstringrequiredYOUR id for the player.
statusstring · enumrequiredpricing: recorded, price being confirmed; hold.confirming: price accepted, fill being confirmed; keep holding, never a failure.placed: filled and open.price_changed: the firm price paid less thanminPayoutMinor, not accepted, hold released.not_filled: no fill, hold released.settled: every leg resolved.Possible values:
pricingconfirmingplacedprice_changednot_filledsettledlegCountintegerrequiredmin 2 · max 50
legsComboLegState[]requiredShow propertiesHide properties
marketIdstringrequiredThe public
ctr_contract id.sidestring · enumrequiredThe side of the contract the leg is on.
Possible values:
yesnotitlestring · nullablerequiredTHE PICK, in the player’s words, as the single trade ticket shows it: "Colts +6.5", "Under 40.5", "Colts". When
namedis false it is a yes or no question andsideis the pick. Null only when no title is known.example: "Colts +6.5"
namedbooleanrequiredtrue:titlenames the pick itself, so show it alone.false:titleis a plain yes or no question andsideis the pick, so showsidebeside it.statestring · enum · nullablerequiredhalf: the leg was voided, or its market settled at 50 percent. It counts as half and halves the payout.Possible values:
openwonlosthalf
currencystringrequiredexample: "USD"
stakeMinorintegerrequiredWhat the player asked to stake, and what is (or was) held for it.
wagerMinorintegerrequiredWhat the combo cost once placed; the stake before.
toWinMinorintegerrequiredThe gross payout if every leg wins, the stake included. Before placement, the floor the player agreed to.
multiplestringrequiredpattern: ^\d+\.\d{2}$ · example: "5.84"
offerobject | anyrequiredprice_changedonly: the firm price that was not accepted. Taking it is a new combo with a newclientOrderId.One of 1 shapesHide properties
Option 1
wagerMinorintegerrequiredtoWinMinorintegerrequiredmultiplestringrequiredpattern: ^\d+\.\d{2}$
reasonobject | anyrequirednot_filledandprice_changedonly.One of 1 shapesHide properties
Option 1
codestring · enumrequiredWhy a combo ended
not_filledorprice_changed. Branch on this, never onmessage. In every case the whole hold is released and no money was taken.no_quotes: no price for this combo right now; fewer legs or other contracts may price.price_changed: the firm price paid less thanminPayoutMinor, so it was not accepted;offercarries it.expired: the price expired before it could be confirmed.busy: the shared budget for firm prices was spent; try again in a moment.refused: this combo cannot be traded right now.failed: not filled for any other reason.Possible values:
no_quotesprice_changedexpiredbusyrefusedfailedmessagestringrequiredA sentence a player can read.
resultobject | anyrequiredsettledonly.One of 1 shapesHide properties
Option 1
outcomestring · enumrequiredPossible values:
wonlostpartialpayoutMinorintegerrequiredWhat the combo paid, rounded down to the cent.
partial: a voided leg, or one settled at 50 percent, halved it; two such legs quarter it.settledAtstringrequiredformat: date-time
legsSettledinteger · nullablerequiredLegs resolved so far; null before any is known.
createdAtstringrequiredformat: date-time
placedAtstring · nullablerequiredformat: date-time
- 202application/json
Recorded. Hold
order.stakeMinor.Show response fieldsHide response fields
orderComboOrderrequiredOne combo. Every id is Parity’s own; no id from a liquidity partner appears. Every amount is an integer in minor units of
currency.Show propertiesHide properties
idstringrequiredParity’s combo id:
comboIdon the combo webhooks.clientOrderIdstringrequiredexternalUserIdstringrequiredYOUR id for the player.
statusstring · enumrequiredpricing: recorded, price being confirmed; hold.confirming: price accepted, fill being confirmed; keep holding, never a failure.placed: filled and open.price_changed: the firm price paid less thanminPayoutMinor, not accepted, hold released.not_filled: no fill, hold released.settled: every leg resolved.Possible values:
pricingconfirmingplacedprice_changednot_filledsettledlegCountintegerrequiredmin 2 · max 50
legsComboLegState[]requiredShow propertiesHide properties
marketIdstringrequiredThe public
ctr_contract id.sidestring · enumrequiredThe side of the contract the leg is on.
Possible values:
yesnotitlestring · nullablerequiredTHE PICK, in the player’s words, as the single trade ticket shows it: "Colts +6.5", "Under 40.5", "Colts". When
namedis false it is a yes or no question andsideis the pick. Null only when no title is known.example: "Colts +6.5"
namedbooleanrequiredtrue:titlenames the pick itself, so show it alone.false:titleis a plain yes or no question andsideis the pick, so showsidebeside it.statestring · enum · nullablerequiredhalf: the leg was voided, or its market settled at 50 percent. It counts as half and halves the payout.Possible values:
openwonlosthalf
currencystringrequiredexample: "USD"
stakeMinorintegerrequiredWhat the player asked to stake, and what is (or was) held for it.
wagerMinorintegerrequiredWhat the combo cost once placed; the stake before.
toWinMinorintegerrequiredThe gross payout if every leg wins, the stake included. Before placement, the floor the player agreed to.
multiplestringrequiredpattern: ^\d+\.\d{2}$ · example: "5.84"
offerobject | anyrequiredprice_changedonly: the firm price that was not accepted. Taking it is a new combo with a newclientOrderId.One of 1 shapesHide properties
Option 1
wagerMinorintegerrequiredtoWinMinorintegerrequiredmultiplestringrequiredpattern: ^\d+\.\d{2}$
reasonobject | anyrequirednot_filledandprice_changedonly.One of 1 shapesHide properties
Option 1
codestring · enumrequiredWhy a combo ended
not_filledorprice_changed. Branch on this, never onmessage. In every case the whole hold is released and no money was taken.no_quotes: no price for this combo right now; fewer legs or other contracts may price.price_changed: the firm price paid less thanminPayoutMinor, so it was not accepted;offercarries it.expired: the price expired before it could be confirmed.busy: the shared budget for firm prices was spent; try again in a moment.refused: this combo cannot be traded right now.failed: not filled for any other reason.Possible values:
no_quotesprice_changedexpiredbusyrefusedfailedmessagestringrequiredA sentence a player can read.
resultobject | anyrequiredsettledonly.One of 1 shapesHide properties
Option 1
outcomestring · enumrequiredPossible values:
wonlostpartialpayoutMinorintegerrequiredWhat the combo paid, rounded down to the cent.
partial: a voided leg, or one settled at 50 percent, halved it; two such legs quarter it.settledAtstringrequiredformat: date-time
legsSettledinteger · nullablerequiredLegs resolved so far; null before any is known.
createdAtstringrequiredformat: date-time
placedAtstring · nullablerequiredformat: date-time
- 400application/json · Error
Malformed body, no
X-Parity-User, fewer than 2 legs or more than 50, aclientOrderIdthat is not 8 to 100 letters, digits, dashes or underscores, or aminPayoutMinorthat is not abovestakeMinorand within your payout cap. Nothing is held.Codes:
invalid_json,invalid_request,missing_user.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.
- 401application/json · Error
The key is absent, unrecognised or revoked. Waiting does not help.
Codes:
missing_credentials,invalid_key,revoked_key.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.
- 402application/json · ComboInsufficientFunds
The player’s balance does not cover the stake. Nothing is held. Raised only where Parity holds the player’s wallet: if you hold your players’ balances yourself you never see it, and the hold is yours to make from
combo.intent_recorded.Codes:
insufficient_funds.Show response fieldsHide response fields
errorstringrequiredmessagestringrequiredavailableMinorintegerrequiredWhat the player has available, in minor units of the combo’s
currency.requiredMinorintegerrequiredWhat the combo needs held: the stake.
- 403application/json · Error
You suspended this customer (
PUT /api/v1/users/{id}/status): no new combo. Nothing is held. Or a gate refusal, as on every endpoint.Codes:
user_suspended,insufficient_scope,operator_suspended,operator_archived,operator_not_permitted,mode_mismatch.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.
- 404application/json · Error
not_found: combos are off for your operator, or for this player.not_available: combos are on but cannot be placed here yet, andreasonsays why:sandbox(a sandbox tenant prices combos but does not place them),client_wallet(your operator trades from its own wallet),operator_wallet(you hold this player’s balance, and a combo is placed only from a balance Parity holds). Nothing is held either way.Codes:
not_found,not_available.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.
- 409application/json · Error
Nothing is held.
combos_paused: a kill switch is on.combos_busy: the shared budget for firm prices is spent for the moment; try again shortly.client_order_reused: thisclientOrderIdwas already used for a different combo (different legs, stake orminPayoutMinor).Codes:
combos_paused,combos_busy,client_order_reused.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.
- 422application/json · ComboRefused
A cap or a leg rule refused the combo before anything was held.
refusalsnames each one, by a code fromComboRefusalCode.Codes:
refused.Show response fieldsHide response fields
errorstringrequiredmessagestringrequiredrefusalsComboRefusal[]requiredEvery cap or leg rule the combo broke. Empty when the account itself cannot trade combos.
Show propertiesHide properties
codestring · enumrequiredWhy a cap or a leg rule refused a combo before anything was held. Branch on this, never on
message. Combos off for this operator or player:operator_disabled,player_disabled. Leg count outside your minimum and maximum:too_few_legs,too_many_legs. Stake not a positive whole amount, or outside your stake caps:stake_invalid,stake_below_min,stake_above_max. Two legs on one contract, or on one event, which cannot sit together:duplicate_market,same_event. Two picks of one game that cannot both win (a club to win and the other club to cover, an over and an under that do not overlap):contradictory_legs. A leg’s contract unknown, closed, paused or not in your offering:leg_unknown_market,leg_market_closed,leg_market_paused,leg_not_offered. A leg that cannot be a combo leg:leg_not_combo_eligible,leg_category_not_allowed,leg_in_play,leg_past_cutoff. A leg with no price, or a price outside your range:leg_price_unavailable,leg_price_below_min,leg_price_above_max. The combo unpriced, or its price or multiple outside your caps:combo_unpriced,combo_price_above_max,combo_price_below_min,odds_above_max. The payout over your cap, or not above the stake:payout_above_max,payout_not_above_stake. The player’s open combos, your open combo liability, or the player’s daily limit:open_combos_limit,exposure_limit,daily_limit. A kill switch turned on:combos_paused.Possible values:
operator_disabledplayer_disabledtoo_few_legstoo_many_legsstake_invalidstake_below_minstake_above_maxduplicate_marketsame_eventcontradictory_legsleg_unknown_marketleg_market_closedleg_market_pausedleg_not_offeredleg_not_combo_eligibleleg_category_not_allowedleg_in_playleg_past_cutoffleg_price_unavailableleg_price_below_minleg_price_above_maxcombo_unpricedcombo_price_above_maxcombo_price_below_minodds_above_maxpayout_above_maxpayout_not_above_stakeopen_combos_limitexposure_limitdaily_limitcombos_pausedmessagestringrequiredA sentence a player can read, in the player’s language where known.
legintegeroptionalFor a refusal about one leg: its index in
legs, from 0.min 0
marketIdstringoptionalFor a refusal about one leg: that leg’s
marketId, as you sent it.limitintegeroptionalThe cap that refused it, in that cap’s own unit: minor units for money, hundredths for a multiple (10000 is 100x), seconds for a cutoff, a count for legs and open combos.
actualintegeroptionalThe combo’s own figure, in the same unit as
limit.
- 429application/json · Error
Over the per-key limit, or over the ceiling shared by every key the operator holds (
messagesays which).Retry-AfterandretryAfterSecondscarry the wait; theRateLimit-*headers always describe the key.Codes:
rate_limited.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.
- 500application/json · Error
Unexpected server failure. Safe to retry a read.
Codes:
internal_error.Show response fieldsHide response fields
errorstringrequiredMachine-readable code.
messagestringoptionaldetailanyoptionalPresent on validation failures and some refusals.
requiredstring | arrayoptionalOn
insufficient_scope: the scope this key needs. A single scope from the key gate; an array of every scope the call needs fromPOST /embed-sessionsandDELETE /embed-sessions/{id}.acceptedScopesstring[]optionalOn
insufficient_scopefrom a route that accepts any one of several scopes (the player limit, status, statement and audit routes): every scope that would pass.requiredis still the first of them.missingstring[]optionalOn
insufficient_scopefromPOST /embed-sessionsorDELETE /embed-sessions/{id}: the required scopes this key does not carry.supportedanyoptionalThe values that would have been accepted. On
invalid_typefromGET /reconciliation/feedand from both player activity feeds: the known item types, as an array of strings. Onstake_exceeds_available_depththe figure issupportedStakeinstead.statestring · nullableoptionalOn the refusals of
POST /orders/{id}/cancelandPOST /orders/{id}/confirm-reserve: the order's execution state when it was refused, or null for an unknown order.transmissionStatestring · enumoptionalOn the refusals of
POST /orders/{id}/cancel.unknownmeans keep holding the authorization;resolvedmeans the order's ownoperatorMoneyalready says what to apply.Possible values:
not_transmittedunknownresolvedearlieststringoptionalOn
updated_since_too_oldfrom the player activity feeds: the earliest instant the feed can answer from.format: date-time
noOrderForKeybooleanoptionalOn
quote_not_found,quote_expiredanduser_suspendedfromPOST /api/v1/orders: proof that no earlier request under thisclientOrderIdplaced an order.queuedbooleanoptionalOn
503 order_in_progress: this request was never run, because Parity was too busy to start it. Resend it unchanged.retryAfterSecondsnumberoptionalOn every
rate_limited: seconds until the window resets.Retry-Aftercarries the same figure.retryAfterMsnumberoptionalOn
over_tenant_exposure: milliseconds until the exposure window rolls over.maxStakenumberoptionalOn
over_wager_limitandstake_exceeds_stale_limit: the largest stake, in major units, that would be accepted.maxCentsnumberoptionalOn
line_not_available: the executable price, in cents, that put the line outside the wagerable band. A price, not an amount of money.requestedStakenumberoptionalOn
stake_exceeds_available_depth: the stake you asked for.supportedStakenumberoptionalOn
stake_exceeds_available_depth: the largest stake the book can fill at these terms. Re-quote at it to accept.orderIdstringoptionalOn
quote_already_usedandidempotency_conflictfromPOST /api/v1/orders: seeOrderConflict.executionRefstringoptionalOn a
POST /api/v1/ordersrefusal that closed an order Parity had already recorded (rejected,reconciliation_required,insufficient_collateral,insufficient_position): that order’s Parity execution reference. Quote it to Parity support.detailnever quotes a venue order id; this reference stands in for one.sellableContractsnumberoptionalOn
insufficient_positionandbelow_venue_minimumfrom a live cash out quote: the most contracts this customer could sell now, on the hundredth-of-a-contract grid.minimumContractsnumberoptionalOn the same two refusals: the smallest sale, in contracts, this market accepts.