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.

Sports Event

Sports payloads require mainCategorySlug: "sports" 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. That single provider ID is enough for later score/status lookup; league, date, teams, and logos can be derived and remain optional overrides. Generated sports templates still need full game details because they create multiple standard markets. 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.