One customer's statement for a period, live or sandbox
/api/v1/users/{id}/statementEvery money instruction Parity issued for this customer in [from, to), oldest first: trade (a buy: debit actualDebit), sale (a cash out: credit sellProceeds), settlement (credit settlementCredit, 0.00 on a loss) and void (credit voidCredit), each with its fees, the instrument (contractId and descriptor) and the ids to reconcile on. totals sums them, and net is credits less debits.
It is NOT a wallet balance: your customer’s cash is yours, so there is no opening or closing balance Parity could state truthfully. Add net to your own opening balance. Orders that traded nothing move no money and are not lines. A part fill the venue has not closed is in no total: it is listed apart under pending, and becomes a line of the period the venue closes it in, so each order counts in exactly one period and a period already closed never gains a line. A trade is dated by the later of its last fill and that close. Times are ISO 8601 UTC (timeZone).
?format=csv returns the same lines as CSV, with the currency on every money column. A period is at most 366 days and 5,000 lines; a longer one is refused, never cut short.
Header parameters
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.
Path parameters
idstringrequiredYour own id for the customer.
Query parameters
fromstringoptionalInclusive, ISO 8601. Default: the start of the current UTC month.
format: date-time
tostringoptionalExclusive, ISO 8601. Default: now.
format: date-time
formatstring · enumoptionalDefault
json.Possible values:
jsoncsv
Responses
- 200application/json · PlayerStatement
The statement (JSON), or the same lines as
text/csv.Show response fieldsHide response fields
externalUserIdstringrequiredfromstringrequiredformat: date-time
tostringrequiredformat: date-time
timeZonestringrequiredcurrencystringrequiredexample: "USD"
linesStatementLine[]requiredFinal lines only. The totals are these.
Show propertiesHide properties
atstringrequiredUTC. A trade or sale is dated by when its money became final (the later of its last fill and the venue closing it), a settlement by its settlement.
format: date-time
typestring · enumrequiredPossible values:
tradesalesettlementvoidexternalUserIdstringrequiredorderIdstring · nullablerequiredpositionIdstring · nullablerequiredsettlementIdstring · nullablerequiredThe settlement’s idempotency key, as on
GET /settlements(id).executionRefstring · nullablerequiredcontractIdstringrequiredsidestringrequireddescriptorBookedPartnerDescriptor | anyrequiredOne of 1 shapesHide properties
BookedPartnerDescriptor
eventIdstring · nullablerequiredThe event this contract is listed on in
GET /api/v1/events.eventTitlestring · nullablerequiredfixtureIdstring · nullablerequiredTHE GAME: the fixture’s own event id, equal to
eventIdon the fixture itself and the fixture’s id on a contract listed under one of its extra books (exact score, player props). Null outside a game. Group a game’s markets by this.categorystring · nullablerequiredsportobject | anyrequiredNull outside sport.
One of 1 shapesHide properties
Option 1
codestringrequiredexample: "nfl"
namestring · nullablerequired
leagueobject | anyrequiredNull outside sport, and where no competition owns the question.
One of 1 shapesHide properties
Option 1
codestringrequiredexample: "epl"
namestring · nullablerequired
startsAtstring · nullablerequiredThe scheduled start of the game (its kickoff), not the contract’s close. Null outside a game, and where no start was published.
format: date-time
participantsPartnerParticipant[] | anyrequiredThe two sides of the game, in the order its title names them. The order is NOT a statement of home or away. Null outside a game.
marketTypestring · enumrequiredA closed list.
moneyline: who wins the game or a period of it, or one club’s contract in a three way result (and its draw).spread: a handicap on the margin.total: the game’s combined count over or underline.team_total: one club’s count over or underline.player_prop: about one person, named inplayer.team_prop: any other market about one club.game_prop: any other market on a game.outright: one of several exclusive answers outside a game.binary: a single yes or no question outside a game.Possible values:
moneylinespreadtotalteam_totalplayer_propteam_propgame_propoutrightbinarymarketLabelstring · nullablerequiredThe contract’s own short label:
1H Spread -1.5,Ipswich Town FC,Draw.sportsMarketTypestring · nullablerequiredThe source’s raw market type, as on the outcome. Null outside sport.
periodPartnerPeriod | anyrequiredWhich part of the game settles it. Null outside a game.
One of 1 shapesHide properties
PartnerPeriod
codestringrequiredFG(full game),1H,2H,Q1toQ4,P1and on,I1and on,F5(first five innings),S1and on,G1and on,M1and on,R1and on.example: "1H"
namestringrequiredexample: "1st Half"
linenumber · nullablerequiredThe number of a spread (the YES side’s), a total or an over and under prop. Null elsewhere.
playerobject | anyrequiredOn a
player_proponly.One of 1 shapesHide properties
Option 1
idany · nullablerequiredAlways null: no stable player id is held.
namestringrequired
selectionsobjectrequiredShow propertiesHide properties
yesPartnerSelectionrequiredShow propertiesHide properties
selectionIdstringrequired<contractId>:yesor<contractId>:no. Stable for the life of the contract.sidestring · enumrequiredPossible values:
yesnolabelstringrequiredWhat a ticket prints:
Patriots -1.5,Over 47.5,Bears,Yes.
noPartnerSelectionrequiredShow propertiesHide properties
selectionIdstringrequired<contractId>:yesor<contractId>:no. Stable for the life of the contract.sidestring · enumrequiredPossible values:
yesnolabelstringrequiredWhat a ticket prints:
Patriots -1.5,Over 47.5,Bears,Yes.
selectionPartnerSelectionrequiredShow propertiesHide properties
selectionIdstringrequired<contractId>:yesor<contractId>:no. Stable for the life of the contract.sidestring · enumrequiredPossible values:
yesnolabelstringrequiredWhat a ticket prints:
Patriots -1.5,Over 47.5,Bears,Yes.
quantitynumberrequiredContracts traded, sold or settled.
pricenumber · nullablerequiredThe average price of a trade or sale. Null on a settlement.
debitstringrequiredWhat the customer’s account is debited.
0.00on a credit line.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
creditstringrequiredWhat the customer’s account is credited.
0.00on a debit line and on a lost settlement.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeestringrequiredParity’s fee inside the line. Already inside
debit, or already taken fromcredit.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeestringrequiredThe venue fee inside the line, likewise.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
finalbooleanrequiredTrue on every line; false only under
pending.
pendingStatementLine[]requiredPart fills the venue has not closed: in no total, with
final: false. Each becomes a line of the period the venue closes it in.Show propertiesHide properties
atstringrequiredUTC. A trade or sale is dated by when its money became final (the later of its last fill and the venue closing it), a settlement by its settlement.
format: date-time
typestring · enumrequiredPossible values:
tradesalesettlementvoidexternalUserIdstringrequiredorderIdstring · nullablerequiredpositionIdstring · nullablerequiredsettlementIdstring · nullablerequiredThe settlement’s idempotency key, as on
GET /settlements(id).executionRefstring · nullablerequiredcontractIdstringrequiredsidestringrequireddescriptorBookedPartnerDescriptor | anyrequiredOne of 1 shapesHide properties
BookedPartnerDescriptor
eventIdstring · nullablerequiredThe event this contract is listed on in
GET /api/v1/events.eventTitlestring · nullablerequiredfixtureIdstring · nullablerequiredTHE GAME: the fixture’s own event id, equal to
eventIdon the fixture itself and the fixture’s id on a contract listed under one of its extra books (exact score, player props). Null outside a game. Group a game’s markets by this.categorystring · nullablerequiredsportobject | anyrequiredNull outside sport.
One of 1 shapesHide properties
Option 1
codestringrequiredexample: "nfl"
namestring · nullablerequired
leagueobject | anyrequiredNull outside sport, and where no competition owns the question.
One of 1 shapesHide properties
Option 1
codestringrequiredexample: "epl"
namestring · nullablerequired
startsAtstring · nullablerequiredThe scheduled start of the game (its kickoff), not the contract’s close. Null outside a game, and where no start was published.
format: date-time
participantsPartnerParticipant[] | anyrequiredThe two sides of the game, in the order its title names them. The order is NOT a statement of home or away. Null outside a game.
marketTypestring · enumrequiredA closed list.
moneyline: who wins the game or a period of it, or one club’s contract in a three way result (and its draw).spread: a handicap on the margin.total: the game’s combined count over or underline.team_total: one club’s count over or underline.player_prop: about one person, named inplayer.team_prop: any other market about one club.game_prop: any other market on a game.outright: one of several exclusive answers outside a game.binary: a single yes or no question outside a game.Possible values:
moneylinespreadtotalteam_totalplayer_propteam_propgame_propoutrightbinarymarketLabelstring · nullablerequiredThe contract’s own short label:
1H Spread -1.5,Ipswich Town FC,Draw.sportsMarketTypestring · nullablerequiredThe source’s raw market type, as on the outcome. Null outside sport.
periodPartnerPeriod | anyrequiredWhich part of the game settles it. Null outside a game.
One of 1 shapesHide properties
PartnerPeriod
codestringrequiredFG(full game),1H,2H,Q1toQ4,P1and on,I1and on,F5(first five innings),S1and on,G1and on,M1and on,R1and on.example: "1H"
namestringrequiredexample: "1st Half"
linenumber · nullablerequiredThe number of a spread (the YES side’s), a total or an over and under prop. Null elsewhere.
playerobject | anyrequiredOn a
player_proponly.One of 1 shapesHide properties
Option 1
idany · nullablerequiredAlways null: no stable player id is held.
namestringrequired
selectionsobjectrequiredShow propertiesHide properties
yesPartnerSelectionrequiredShow propertiesHide properties
selectionIdstringrequired<contractId>:yesor<contractId>:no. Stable for the life of the contract.sidestring · enumrequiredPossible values:
yesnolabelstringrequiredWhat a ticket prints:
Patriots -1.5,Over 47.5,Bears,Yes.
noPartnerSelectionrequiredShow propertiesHide properties
selectionIdstringrequired<contractId>:yesor<contractId>:no. Stable for the life of the contract.sidestring · enumrequiredPossible values:
yesnolabelstringrequiredWhat a ticket prints:
Patriots -1.5,Over 47.5,Bears,Yes.
selectionPartnerSelectionrequiredShow propertiesHide properties
selectionIdstringrequired<contractId>:yesor<contractId>:no. Stable for the life of the contract.sidestring · enumrequiredPossible values:
yesnolabelstringrequiredWhat a ticket prints:
Patriots -1.5,Over 47.5,Bears,Yes.
quantitynumberrequiredContracts traded, sold or settled.
pricenumber · nullablerequiredThe average price of a trade or sale. Null on a settlement.
debitstringrequiredWhat the customer’s account is debited.
0.00on a credit line.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
creditstringrequiredWhat the customer’s account is credited.
0.00on a debit line and on a lost settlement.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeestringrequiredParity’s fee inside the line. Already inside
debit, or already taken fromcredit.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeestringrequiredThe venue fee inside the line, likewise.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
finalbooleanrequiredTrue on every line; false only under
pending.
totalsobjectrequiredShow propertiesHide properties
debitsstringrequiredEvery debit in the period.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
creditsstringrequiredEvery credit in the period.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
platformFeesstringrequiredParity’s fees inside them.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
venueFeesstringrequiredVenue fees inside them.
pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
netstringrequiredcredits - debits. Add it to your own opening balance.pattern: ^-?\d+(\.\d+)?$ · example: "25.00"
countsobjectrequiredShow propertiesHide properties
tradeintegeroptionalsaleintegeroptionalsettlementintegeroptionalvoidintegeroptional
generatedAtstringrequiredformat: date-time
- 400application/json · Error
An unreadable date,
fromnot beforeto, a period over 366 days, or an unknown format.Codes:
invalid_date,invalid_period,invalid_format.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 key is real and may not do this.
insufficient_scopenames the scope to add;operator_suspendedmeans the operator is not active (any status other than active);operator_archivedmeans Parity archived the operator, and every request with its keys is refused;operator_not_permittedmeansx-parity-operatornames an operator this key may not act for;mode_mismatchmeansx-parity-operatornames an operator in the other mode than the key (a sandbox key for a live operator, or a live key for a sandbox one), which is never allowed;sandbox_onlymeans the endpoint models a Parity-held balance and exists for sandbox integration only.Codes:
insufficient_scope,operator_suspended,operator_archived,operator_not_permitted,mode_mismatch,sandbox_only.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
This operator has never seen that customer.
Codes:
unknown_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.
- 422application/json · Error
The period holds more than 5,000 lines. Ask for a shorter one.
Codes:
statement_too_large.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.