Spend a quote. Idempotent on clientOrderId
/api/v1/orders201 when this call created the order; 200 with idempotentReplay: true when it replayed one that already existed. A quote can be spent once.
On a BUY the response carries operatorMoney: debit actualDebit, release releaseAmount. On a partial fill the release is non-zero and an operator that debits the whole stake instead is keeping money that is not theirs.
On a SELL operatorMoney is null and operatorExitMoney is populated: credit sellProceeds, which is ALREADY NET of the fees reported beside it. Subtracting them again is the double-charge that shape exists to prevent.
409 reconciliation_required is not a rejection. See the order-lifecycle note in the API description. Hold the authorization, re-read the order by your own clientOrderId, and resolve from settlementState.
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
OrderRequest
quoteIdstringrequiredSpendable once.
min length 1 · max length 100
clientOrderIdstringrequiredYOUR id for this order, and the idempotency key. Reuse it on every retry of the same intent.
min length 1 · max length 200
executionIntentstring · enumoptionalRECORD THE ORDER, OR SIMULATE A FILL. Optional; the default depends on your tenant.
record_intentrecords a real order durably and reserves against it. The response carries no fill and anactualDebitof0.00, because nothing is spent at the moment an order is recorded. It is the DEFAULT for a live tenant, and the order becomes executable when you confirm the reserve.simulatefills the order against the simulated venue and produces a position and a debit. It is the DEFAULT for a sandbox tenant, because a sandbox exists so that a fill can be made to happen. A tenant whose execution mode is abovesimulatedis refused it with422 simulation_not_permitted.Possible values:
record_intentsimulatemaxSlippagenumberoptionalHOW MUCH WORSE THAN THE QUOTED PRICE YOU WILL STILL ACCEPT, in price units. Optional. Omitted is
0, and0is the guarantee: the price on the quote is the price your customer gets, or the order does not fill.ONE SIDED. It widens the adverse direction only: above the quoted price on a buy, below it on a sell. Price improvement is always passed straight through and is never clawed back, so there is nothing to allow for in that direction.
Send it when you would rather own the contract than re-quote: on a five-minute market the book can move a tick between the quote and the match. It is CLAMPED to the platform maximum (0.05) rather than refused, it can never take a buy past the 95c wagerable ceiling, and the allowance actually granted is what the order is filled and judged against.
min 0 · less than 1
reserveReferencestringoptionalYOUR id for a hold you have ALREADY placed on the customer’s funds. Present, the reserve is confirmed in this call and the order comes back
pending_venue_execution(in the sandbox,filled: the confirmation fills it). Absent, the order isreserve_pendingand CANNOT execute untilPOST /api/v1/orders/{id}/confirm-reserve: silence is not a confirmation that somebody’s money is held.max length 200
Responses
- 200application/json · OrderPostResponse
A replay: this
clientOrderIdalready had an order.idempotentReplayistrue.Show response fieldsHide response fields
orderIdstringrequiredclientOrderIdstringrequiredexecutionRefstringrequiredTHE PARITY EXECUTION REFERENCE:
Parity_Best_followed by 14 characters of Crockford base32. Stable for the life of the order. Quote it to Parity support when you report a problem with this order; support finds the order from it in any letter case, with or without the prefix. No venue order id, trade id or transaction hash is ever published, here or in any reason text: where one would appear, this reference stands in for it.example: "Parity_Best_7K2M9QH4TR8DXZ"
statusstring · enumrequiredsubmittedis the UNRESOLVED state: the venue was asked and has not answered. It is not a failure.reserve_pendingandpending_venue_executionare the two states of an order that has been RECORDED and transmitted nowhere. They differ in one thing: whether you have confirmed the customer’s funds are held. Only the second can ever execute.Possible values:
pendingreserve_pendingpending_venue_executionsubmittedpartially_filledfilledcancelledrejectedcontractIdstringrequiredsidestring · enumrequiredPossible values:
YESNOactionstring · enumrequiredDecides which money object is populated.
Possible values:
buysellfilledQuantitynumberrequiredWhat the customer actually holds. May be less than the quote’s
contractson a partial fill.averagePricenumber · nullablerequiredplatformFeenumberrequiredDisplay. Parity’s fee on this trade.
platformFeeBpsnumberrequirednotionalnumberrequiredstakenumberrequiredrejectReasonstring · nullablerequiredWhy the order was refused, in words. Where the refusal text would have quoted a venue order id or transaction hash, it quotes
executionRefinstead, and no venue is named. An order Parity staff close by hand because the venue shows no fill for it reads exactly “Closed unfilled: the venue shows no fill for this order.”, never the staff member’s own note.simulatedbooleanrequiredWhether THIS order was filled by the simulation rather than by a venue. Per order, derived from the venue that answered it. One Parity platform serves sandbox and live accounts at the same time, so read this field on the order in front of you and do not infer it from the host name, the key prefix or another order.
createdAtstringrequiredformat: date-time
routingobjectoptionalShow propertiesHide properties
reasonstringoptionalconsideredVenuesintegeroptional
idempotentReplaybooleanrequiredTrue when this response replayed an order that already existed.
operatorMoneyOperatorEntryMoney | anyrequiredNon-null on a BUY. NULL ON A SELL, deliberately: an exit carrying an
authorizationAmountwould have a wallet debit a customer for selling their own position.One of 1 shapesHide properties
OperatorEntryMoney
currencystringrequiredexample: "USD"
authorizationAmountstringrequiredReserve this before the order. The gross cash the customer commits. The fee is already inside it.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
actualDebitstringrequiredTake this once the fill is known. Zero on a rejection or an unresolved order.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
releaseAmountstringrequiredGive this back. Non-zero whenever less filled than was authorized.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
tradeAmountstringrequiredThe part of the debit that bought contracts.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeestringrequiredParity’s fee, taken off the top of the stake.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
operatorFeestringrequiredYour own fee, taken off the top of the stake beside Parity’s and kept by you, less any share your terms give your aggregator or Parity. Zero unless your terms set one. On an order, what the fills earned of it: the whole fee on a full fill, in proportion on a partial one.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeestringrequiredZero where no venue publishes one. Check
venueFeeKnownbefore reporting it as a fact. On an order it is the venue fee CHARGED TO THE CUSTOMER: what the venue charged, capped at the room the authorization has left once the trade is paid for. Parity absorbs anything above it, taking less of its ownplatformFeefirst where it has to, soactualDebitnever exceedsauthorizationAmount. On a live account it also carries Parity’s execution fee, which the market takes in the same fee as its own; the quote’sallIn.chargesitemises it asbuilder_fee.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeeKnownbooleanrequiredFalse means
venueFeeis a placeholder zero, kept distinguishable from a known zero.
operatorExitMoneyOperatorExitMoney | anyrequiredNon-null on a SELL.
One of 1 shapesHide properties
OperatorExitMoney
currencystringrequiredsellProceedsstringrequiredCredit this.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeestringrequiredParity’s fee on the exit. A round trip is two transactions.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeestringrequiredSee
venueFeeKnown.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeeKnownbooleanrequired
settlementStatestring · enumrequiredTHE FIELD A RECOVERING INTEGRATION READS FIRST, and it is on EVERY order this API returns: the create response, both single-order reads, the cancel response and the paged list.
pendingmeans HOLD the authorization and poll. Do not release. An order awaiting execution is pending for the same reason an unresolved one is: it may still execute, and so may a part fill the venue can still add to. To tell those two apart, readtransmissionState.settledmeans the money is final. ApplyoperatorMoneyand move on.Possible values:
settledpendingtransmissionStatestring · enumrequiredHAS ANYTHING BEEN SENT TO A VENUE? It does not replace
settlementState: that field answers “may I apply the money yet”, this one answers “may I take it back”.not_transmitted: provably nothing was sent. A cancellation here is safe and returns a release instruction.unknown: it may or may not be at a venue, OR it is a part fill the venue can still add to. NEVER release, NEVER cancel. Hold the authorization and poll.resolved: the venue is FINISHED with this order: it filled, refused, or closed what was left. ApplyoperatorMoney.A PART FILL IS
unknown, NOTresolved, WHILE THE VENUE IS STILL WORKING IT.partially_filledmeans some quantity is done and the remainder is still committed. Reading that asresolvedwould have an operator release the untraded remainder, and the next fill would then spend collateral against money the customer already has back: irrecoverable, because the position is real and the cash is gone. The state flips toresolvedwhen the venue closes the order, and only then.Possible values:
not_transmittedunknownresolvedintentOrderIntent | anyoptionalPresent on the create response, the two single-order reads, the cancel and confirm-reserve responses, and a
clientOrderIdlookup on the list. ABSENT (not null) on the rows of the paged list.One of 1 shapesHide properties
OrderIntent
reserveStatestring · enumoptionalawaiting_reserveuntil you confirm the hold;reservedafterwards;releasedonce the order is cancelled.Possible values:
awaiting_reservereservedreleasedreserveConfirmedAtstring · nullableoptionalformat: date-time
reserveReferencestring · nullableoptionalYOUR id for the hold. Stored, never interpreted. The FIRST confirmation’s reference is the one kept.
executablebooleanoptionalWhether this order is cleared to execute. FALSE for an unconfirmed reserve: Parity cannot execute before your reserve succeeded, and this is that guarantee as a field you can assert on.
cancellationReleaseInstruction | anyoptionalOne of 1 shapesHide properties
ReleaseInstruction
cancellationIdstringrequiredStable across every replay. Two ids for one cancellation is how a customer gets credited twice.
currencystringrequiredexample: "USD"
authorizationAmountstringrequiredWhat you were asked to reserve.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
actualDebitstringrequiredAlways
0.00: nothing was transmitted, so nothing was spent.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
releaseAmountstringrequiredHand this back.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
reasonstringrequiredissuedAtstringrequiredformat: date-time
idempotentReplaybooleanrequiredTrue when this replays an instruction already issued for this order.
spentnumberoptionalWhat the order cost:
operatorMoney.actualDebit.feesnumberoptionalEvery fee on what traded,
platformFeeplusvenueFee, summed in cents by Parity.venueFeenumberoptionaloperatorMoney.venueFee. A reported figure only whenvenueFeeKnownistrue.venueFeeKnownbooleanoptionaloperatorMoney.venueFeeKnown.releasednumberoptionaloperatorMoney.releaseAmountonce the order is final (filled,rejected,cancelled);0before that, because what has not been spent is still held.
- 201application/json · OrderPostResponse
The order was created.
Show response fieldsHide response fields
orderIdstringrequiredclientOrderIdstringrequiredexecutionRefstringrequiredTHE PARITY EXECUTION REFERENCE:
Parity_Best_followed by 14 characters of Crockford base32. Stable for the life of the order. Quote it to Parity support when you report a problem with this order; support finds the order from it in any letter case, with or without the prefix. No venue order id, trade id or transaction hash is ever published, here or in any reason text: where one would appear, this reference stands in for it.example: "Parity_Best_7K2M9QH4TR8DXZ"
statusstring · enumrequiredsubmittedis the UNRESOLVED state: the venue was asked and has not answered. It is not a failure.reserve_pendingandpending_venue_executionare the two states of an order that has been RECORDED and transmitted nowhere. They differ in one thing: whether you have confirmed the customer’s funds are held. Only the second can ever execute.Possible values:
pendingreserve_pendingpending_venue_executionsubmittedpartially_filledfilledcancelledrejectedcontractIdstringrequiredsidestring · enumrequiredPossible values:
YESNOactionstring · enumrequiredDecides which money object is populated.
Possible values:
buysellfilledQuantitynumberrequiredWhat the customer actually holds. May be less than the quote’s
contractson a partial fill.averagePricenumber · nullablerequiredplatformFeenumberrequiredDisplay. Parity’s fee on this trade.
platformFeeBpsnumberrequirednotionalnumberrequiredstakenumberrequiredrejectReasonstring · nullablerequiredWhy the order was refused, in words. Where the refusal text would have quoted a venue order id or transaction hash, it quotes
executionRefinstead, and no venue is named. An order Parity staff close by hand because the venue shows no fill for it reads exactly “Closed unfilled: the venue shows no fill for this order.”, never the staff member’s own note.simulatedbooleanrequiredWhether THIS order was filled by the simulation rather than by a venue. Per order, derived from the venue that answered it. One Parity platform serves sandbox and live accounts at the same time, so read this field on the order in front of you and do not infer it from the host name, the key prefix or another order.
createdAtstringrequiredformat: date-time
routingobjectoptionalShow propertiesHide properties
reasonstringoptionalconsideredVenuesintegeroptional
idempotentReplaybooleanrequiredTrue when this response replayed an order that already existed.
operatorMoneyOperatorEntryMoney | anyrequiredNon-null on a BUY. NULL ON A SELL, deliberately: an exit carrying an
authorizationAmountwould have a wallet debit a customer for selling their own position.One of 1 shapesHide properties
OperatorEntryMoney
currencystringrequiredexample: "USD"
authorizationAmountstringrequiredReserve this before the order. The gross cash the customer commits. The fee is already inside it.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
actualDebitstringrequiredTake this once the fill is known. Zero on a rejection or an unresolved order.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
releaseAmountstringrequiredGive this back. Non-zero whenever less filled than was authorized.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
tradeAmountstringrequiredThe part of the debit that bought contracts.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeestringrequiredParity’s fee, taken off the top of the stake.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
operatorFeestringrequiredYour own fee, taken off the top of the stake beside Parity’s and kept by you, less any share your terms give your aggregator or Parity. Zero unless your terms set one. On an order, what the fills earned of it: the whole fee on a full fill, in proportion on a partial one.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeestringrequiredZero where no venue publishes one. Check
venueFeeKnownbefore reporting it as a fact. On an order it is the venue fee CHARGED TO THE CUSTOMER: what the venue charged, capped at the room the authorization has left once the trade is paid for. Parity absorbs anything above it, taking less of its ownplatformFeefirst where it has to, soactualDebitnever exceedsauthorizationAmount. On a live account it also carries Parity’s execution fee, which the market takes in the same fee as its own; the quote’sallIn.chargesitemises it asbuilder_fee.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeeKnownbooleanrequiredFalse means
venueFeeis a placeholder zero, kept distinguishable from a known zero.
operatorExitMoneyOperatorExitMoney | anyrequiredNon-null on a SELL.
One of 1 shapesHide properties
OperatorExitMoney
currencystringrequiredsellProceedsstringrequiredCredit this.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeestringrequiredParity’s fee on the exit. A round trip is two transactions.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeestringrequiredSee
venueFeeKnown.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeeKnownbooleanrequired
settlementStatestring · enumrequiredTHE FIELD A RECOVERING INTEGRATION READS FIRST, and it is on EVERY order this API returns: the create response, both single-order reads, the cancel response and the paged list.
pendingmeans HOLD the authorization and poll. Do not release. An order awaiting execution is pending for the same reason an unresolved one is: it may still execute, and so may a part fill the venue can still add to. To tell those two apart, readtransmissionState.settledmeans the money is final. ApplyoperatorMoneyand move on.Possible values:
settledpendingtransmissionStatestring · enumrequiredHAS ANYTHING BEEN SENT TO A VENUE? It does not replace
settlementState: that field answers “may I apply the money yet”, this one answers “may I take it back”.not_transmitted: provably nothing was sent. A cancellation here is safe and returns a release instruction.unknown: it may or may not be at a venue, OR it is a part fill the venue can still add to. NEVER release, NEVER cancel. Hold the authorization and poll.resolved: the venue is FINISHED with this order: it filled, refused, or closed what was left. ApplyoperatorMoney.A PART FILL IS
unknown, NOTresolved, WHILE THE VENUE IS STILL WORKING IT.partially_filledmeans some quantity is done and the remainder is still committed. Reading that asresolvedwould have an operator release the untraded remainder, and the next fill would then spend collateral against money the customer already has back: irrecoverable, because the position is real and the cash is gone. The state flips toresolvedwhen the venue closes the order, and only then.Possible values:
not_transmittedunknownresolvedintentOrderIntent | anyoptionalPresent on the create response, the two single-order reads, the cancel and confirm-reserve responses, and a
clientOrderIdlookup on the list. ABSENT (not null) on the rows of the paged list.One of 1 shapesHide properties
OrderIntent
reserveStatestring · enumoptionalawaiting_reserveuntil you confirm the hold;reservedafterwards;releasedonce the order is cancelled.Possible values:
awaiting_reservereservedreleasedreserveConfirmedAtstring · nullableoptionalformat: date-time
reserveReferencestring · nullableoptionalYOUR id for the hold. Stored, never interpreted. The FIRST confirmation’s reference is the one kept.
executablebooleanoptionalWhether this order is cleared to execute. FALSE for an unconfirmed reserve: Parity cannot execute before your reserve succeeded, and this is that guarantee as a field you can assert on.
cancellationReleaseInstruction | anyoptionalOne of 1 shapesHide properties
ReleaseInstruction
cancellationIdstringrequiredStable across every replay. Two ids for one cancellation is how a customer gets credited twice.
currencystringrequiredexample: "USD"
authorizationAmountstringrequiredWhat you were asked to reserve.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
actualDebitstringrequiredAlways
0.00: nothing was transmitted, so nothing was spent.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
releaseAmountstringrequiredHand this back.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
reasonstringrequiredissuedAtstringrequiredformat: date-time
idempotentReplaybooleanrequiredTrue when this replays an instruction already issued for this order.
spentnumberoptionalWhat the order cost:
operatorMoney.actualDebit.feesnumberoptionalEvery fee on what traded,
platformFeeplusvenueFee, summed in cents by Parity.venueFeenumberoptionaloperatorMoney.venueFee. A reported figure only whenvenueFeeKnownistrue.venueFeeKnownbooleanoptionaloperatorMoney.venueFeeKnown.releasednumberoptionaloperatorMoney.releaseAmountonce the order is final (filled,rejected,cancelled);0before that, because what has not been spent is still held.
- 400application/json · Error
Malformed body, or no
X-Parity-User.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.
- 403application/json · Error
The quote belongs to another user, or something the operator configured refuses the order.
market_not_offered. Policy has disowned the market since the quote was issued. Withreason: "translation_pending"when its translation is not approved by the operator.over_wager_limitandover_period_limit: the account’s wager limits, RE-CHECKED HERE and not trusted from quote time. A quote stands for up to thirty seconds and a limit written inside that window binds on the next order, not thirty seconds later, so a quote issued before a limit existed is refused when it is spent. The two mean what they mean onPOST /api/v1/quotes: the first is fixed by sending less, the second by waiting.These are a separate pair from
over_order_limit, which is the operator’s tenant-wide ceiling on one order’s notional and covers sells as well. Keeping them apart is deliberate: "your account’s ceiling" and "this player’s limit" are changed on different screens, and an operator answering their own customer needs to know which one spoke.sell_not_available: a sell on a live account while cashing out before settlement is turned off, re-checked here because a quote stands for up to thirty seconds.cash_out_paused: a sell while cash outs are paused, re-checked here. A sell accepted before the pause and still waiting to be sent is withdrawn; the position stays open until the market settles.Codes:
quote_not_yours,market_not_offered,user_suspended,over_order_limit,over_wager_limit,over_period_limit,sell_not_available,cash_out_paused,insufficient_scope.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
No such quote.
Codes:
quote_not_found.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 · OrderConflict
The payload was correct and the state moved, or the venue’s answer never arrived.
quote_already_used: this quote was spent by an order that is not the one you are sending now. It CANNOT be the sameclientOrderId: a resend of that id replays as a200and never reaches this branch. So the body names the collision instead:orderIdis the order that spent the quote, readable withGET /api/v1/orders/{id}. That is the deterministic recovery: your ownclientOrderIdlooks up an empty page here, because the order was opened under a different one. Then quote again for the intent that is still unfilled; never resend a spent quote.quote_expired/price_stale: re-quote and let the player confirm the new number. Never silently re-price on their behalf.reconciliation_requiredis an UNKNOWN, not a failure. Collateral stays committed and the authorization stays held. Re-read the order by your ownclientOrderIdand resolve fromsettlementState; releasing here strands a live position with no cash behind it.line_not_available: the line is not wagerable for a buy. On a fast up-or-down contract (the 5 minute, 15 minute and 4 hour series) the outcome being bought is executable above 95c, and the other outcome is still quoted on its own price; on any contract, after every fee the wager could not return more than it costs even if it wins. It is not a suspension: the verdict is recomputed from the book on every request, and the line accepts orders again as soon as the book moves back inside the band. Re-quote rather than retrying the spent one.price_moved: the market has moved off the quoted price.priceMovecarries the old and new figures in cents; re-quote and show the customer the new number.price_unverified: the current price could not be confirmed, so nothing was accepted. Retrying in a moment is safe.idempotency_conflict: thisclientOrderIdalready names a different order;orderIdon the body names it.over_tenant_exposure: your tenant has taken as much stake as its per-window exposure budget allows; wait for the window to roll and submit a fresh quote.Codes:
quote_expired,quote_already_used,price_stale,reconciliation_required,line_not_available,price_moved,price_unverified,idempotency_conflict,over_tenant_exposure.Show response fieldsHide response fields
errorstring · enumrequiredPossible values:
quote_expiredquote_already_usedprice_stalereconciliation_requiredline_not_availableprice_movedprice_unverifiedidempotency_conflictover_tenant_exposuremessagestringoptionaldetailanyoptionalPresent on some refusals.
priceMoveobjectoptionalON
price_movedONLY. What the price did between the quote and the submit, in cents, so the customer can be shown the new number without a blind re-quote.Show propertiesHide properties
fromCentsnumberrequiredtoCentsnumberrequiredadverseCentsnumberrequiredHow far it moved against the customer. Positive on an adverse move. Negative only on a BUY on a fast up-or-down window (5 minute, 15 minute, 1 hour, 4 hour), refused because the price moved in the customer's favour by more than the fast window band: the larger of 5 cents and 10% of the quoted price.
toPricenumberrequiredThe live executable price exactly, in price units (0.59, not 59), off the read that refused the order.
toCentsis the same figure rounded for display.liveBookLiveBookrequiredTop of book on both outcomes as the venue offered it when Parity read it, each side the price a trade would execute at:
askto buy,bidto sell. A NO side the venue keeps no book for is the mirror of the YES book. Null where nothing rests on that side.readAtis when Parity read it.Show propertiesHide properties
yesobjectrequiredShow propertiesHide properties
bidnumber · nullableoptionalasknumber · nullableoptional
noobjectrequiredShow propertiesHide properties
bidnumber · nullableoptionalasknumber · nullableoptional
readAtstringrequiredformat: date-time
orderIdstringoptionalOn
quote_already_used: the order that spent this quote. Onidempotency_conflict: the order that already holds thisclientOrderId. Read it withGET /api/v1/orders/{id}. It is your own order, so this names nothing you could not already page out ofGET /api/v1/orders.example: "3dd27f36-7780-4aa7-8af2-1a6854fbf8cb"
executionRefstringoptionalOn
reconciliation_required: the Parity execution reference of the order this refusal closed. Quote it to Parity support.noOrderForKeybooleanoptionalOn
quote_expired: proof that no earlier request under thisclientOrderIdplaced an order.
- 422application/json · Error
The order cannot be placed as asked.
market_unavailable: the contract closed or resolved between the quote and the order, or settles on a protocol Parity does not trade (detail: “This market is not available to trade yet.”), or it is a buy on a postponed match whose stated start has passed (buysPausedon the event payload), or the venue stopped taking orders on it.insufficient_position: the sell is larger than the position held free to sell.insufficient_fundsis THE CUSTOMER’s balance andinsufficient_collateralis YOUR float at the venue. Do not collapse them: one is your customer’s money and the other is yours, and the remedies are opposite. Nothing was sent to a venue and no collateral was committed in either case.A live account with no trading wallet of its own connected, and no arrangement that funds it, cannot buy: Parity never pays for your orders from its own wallet. The quote and the order are refused
503 live_execution_unavailablebefore anything is reserved; should the wallet go away between the two, the order is refusedinsufficient_collateralanddetailsays so. Connect your trading wallet and trading starts.trading_authorisation_expired: you trade from your own wallet under a trading authorisation (a session key) and it has expired, so no trade can be signed, a buy or a cash out. It is neverinsufficient_collateral: topping up does not help. Renew it with your wallet’s key and trading resumes.GET /api/v1/statuscarries the expiry, and the optionalwallet.authorisation_expiringwebhook warns 14, 7 and 1 days ahead.insufficient_fundsis raised only for a tenant whose customer wallets Parity holds, and for those tenants it IS A RESERVE. A placed order holds its stake against the balance until the order fills, is rejected or is cancelled, so a customer with $120 who has $60 working may place $60 more and no more. Cumulative exposure across a customer’s open orders never exceeds their balance, whether the orders arrive together or hours apart, and the reserve is taken in the same transaction as the order so a refused order holds nothing. A rejection, a cancellation and the unfilled remainder of a partial fill all return it; a fill spends it.If you hold your customers’ balances yourself you will never see this code, because Parity keeps no balance for you to be short of. The check is then yours: debit or reserve on your side, and do not read the absence of this error as a reservation Parity is keeping for you.
Codes:
market_unavailable,no_eligible_venue,insufficient_position,insufficient_funds,insufficient_collateral,trading_authorisation_expired,rejected,simulation_not_permitted.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.
- 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.
- 503application/json · Error
Refused before anything is reserved; the payload is fine.
trading_paused: the trading pause on your account is on.live_execution_unavailable: live execution is unavailable for this account right now. Both are re-checked here because a quote stands for up to thirty seconds. Nothing was recorded; release your hold.order_in_progressis different: another request with thisclientOrderIdis still being placed, or, withqueued: true, Parity was too busy to start this one.Retry-Afteris set. Resend the identical request (samequoteIdandclientOrderId); do not re-quote, change the key or release the hold.Codes:
trading_paused,live_execution_unavailable,order_in_progress.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.