Changes from v1.0
Everything v1.1 removed or changed, what v1.0 did, and what you must do about it.
v1.1, 2026-MM-DD (pending product-owner review).
Removed
| Change | v1.0 | v1.1 | You must |
|---|---|---|---|
providerId | Sent and signed on every call, always pragmatic-play. | Not sent on any call. | Stop sending it and stop expecting it. |
/endRound | Sent once per player when a market resolved or was cancelled; it moved no money. | Not sent. The money still arrives as /result and /refund. | Not wait for it. You may keep the route. |
/roundDetails, /adjustment | Listed, never called. | Not part of the protocol. | Not build them. |
Changed
| Change | v1.0 | v1.1 | You must |
|---|---|---|---|
gameId, roundId | The old market id. | The market slug, which never changes. /authenticate’s gameId stays prediction. | Store and group by the slug. |
Launch marketId | The old market id. | The market slug. | Send the slug. |
/authenticate operatorId | The old platform’s document id. | Your operator’s lifetime id, a UUID. | Match the new value, if you check it. |
amount | A number such as 12.5. | Text at the currency’s precision: 12.50 in TRY. | Parse it as a decimal. |
| Launch currency | Any currency the platform supported was taken, yours or not; any other was refused with 21. | Refused with 21. | Launch only in your operator currencies. |
| Launch field rules | A field it could not store answered 500. A lobbyUrl or cashierUrl was not checked. | Refused 400 with 7, Invalid parameters: <field>. | Handle 7. Send lobbyUrl and cashierUrl as absolute http(s) addresses. |
/bet token | Carried the session’s token, and could go out empty. | Always the open session’s launch token, inside the signature. A /bet is never sent without one. | Verify the hash over it, as over every field. You may check it is the player’s session. |
Refusing a /bet | A refused /bet was followed by a /refund under its reference. | Nothing follows a refused /bet. Only a /bet that got no readable answer is followed by a /refund. A /refund of a stake you never charged moves nothing and answers 0. | Make /refund safe for a reference you never charged. Not wait for a /refund after a refusal. |
| Payouts | The player claimed a payout. The /result came under claim:<market>:<operator>:<player>. | The platform pays each player when the market’s payout falls due, with no claim, under payout:<marketId>:<operatorId>:<playerId>. roundDetails is CLAIM with status only. | Expect a payout without a player action, under the new reference. |
| Cancelled market | Paid back on a claim. | Paid back by /result, roundDetails CLAIM CANCELLED, never by /refund. | Credit that /result. Not wait for a /refund. |
| IP allowlist | Exact addresses only, or *. | Addresses and CIDR ranges. * is refused. | Give us addresses or ranges. |
Unchanged
These are as in v1.0, now written down:
- The signing rule: empty fields left out, fields sorted, the secret key appended, MD5 as hex.
- The field order of each call:
hashfirst, except on/authenticate, where it is last. - A cancelled order’s give-back is a
/refundunder the order’s stakereferenceplus:cancel-refund(/refund). - The base URL of each environment.