Skip to main content
The payload field sent to POST /prepare is a JSON string. The same exact string must be hashed before POST /prepare-auth and then reused in multipart form-data.

Common Fields

Binary Event

Use marketMode: "binary" for one Yes/No market.

Multi-Market Event

Use multi_multiple when multiple options can resolve true independently. Use multi_unique when exactly one option should resolve true; this uses the negative-risk contracts. Non-sports multi-market payloads need at least two options with unique normalized slugs. Each option must include question and shortName. title defaults to the question, slug defaults to the title, and id defaults to option-1, option-2, and so on. Set an explicit id when attaching an optionImage:<optionId>.

Sports Event

Sports payloads accept mainCategorySlug: "sports" or "esports" and currently require marketMode: "multi_multiple". The recommended flow is to select a match from an independent sports data provider and send sourceProvider plus sourceEventId or sourceGameId. With explicit sports.markets and a provider ID, league, date, teams, and logos may be omitted. Generated templates require sportSlug, leagueSlug, eventDate, startTime, and both teams. For manually supplied teams, send exactly one home team and one away team. If a team does not include a logo, upload teamLogo:home or teamLogo:away in POST /prepare.

Image Fields

Images are normalized by the worker according to imagePolicy from GET /market-config.