Betting API / Betting
Place betsPOST
Place one or more bets in a single request.
POST
https://api.3et.com/betting/v3/api/bets Requires
apiTokenOpen in Swagger Multiple end-user integrations
Use externalCustomerId to submit a unique id identifying your end customer. It must be included when you're setting up a multiple end-user integration — discuss this with your Account Manager.
Bet statuses while processing
| Status | Meaning |
|---|---|
PENDING | The system is trying to place the bet and hasn't finished. |
FINISHED | The bet was placed successfully — fully or partially matched. |
FAILED | The bet couldn't be placed, e.g. the price changed or a sub-system didn't respond in time. |
Request
curl -X POST "https://api.3et.com/betting/v3/api/bets" \
-H "apiToken: $(printenv 3ET_API_TOKEN)" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"externalCustomerId": "customer-001", "bets": [ ... ]}'Reference
The full request and response schema for this operation is generated from the live API and published in Swagger.
