Skip to main content

5.4 Statuses and Currencies

5.4.1 Bet statuses

The status field of a statement object, and the values accepted by the statuses filter on GET /bets/.

StatusMeaning
acceptedThe bet has been successfully placed and accepted. Not settled yet.
wonThe bet has been won.
lostThe bet has been lost.
voidThe bet has been voided, for a reason that should ideally be provided.
pushA successful bet with profit and loss of zero — draw-no-bet, or an asian handicap that voids on some results.
rejectedThe bet has been rejected, for a reason that should ideally be provided.
dangerThe bet went through your system and is in danger for now. It should transition to a different state within moments.
pendingThe bet went through your system and is queued for now. It should transition to a different state within moments.
failedThe bet went through your system but eventually failed, for a reason that should ideally be provided.

Two rules apply when reporting these:

  • Half outcomes collapse. In the case of half-win, half-lost or half-push, report simply won, lost or push.
  • Give a reason. Whenever a bet is failed, rejected or void, populate the reason field. Send null only if you genuinely have no reason to give.

danger and pending are transitional. Reporting either one causes the single-bet endpoint to be polled until the bet reaches a final state.

5.4.2 Placement statuses

The status field of the response to POST /bets uses a narrower set:

StatusMeaning
acceptedThe bet has been successfully placed.
failedThe bet failed to place.
dangerThe bet is in danger.

5.4.3 Account statuses

The status field of GET /account:

StatusMeaning
activeThe account is usable.
disabledThe account is not usable, and will not be traded against.

5.4.4 Currencies

The ccy_code field, and the currency element of every currency amount, must be one of the following ISO 4217 codes:

AUD, CAD, CNH, DKK, EUR, GBP, HKD, IDR, INR, JPY, MXN, MYR, NZD, RUB, SGD, THB, TWD, USD, VND