Simulation — simulation: true
POST{base}/transactionOne boolean field lets the whole integration be proven against your live wallet before a single real stake arrives. It is sent by the back-office Test connection button, and by nothing else.
What we may send
A test exercises every call the platform makes in production — same addresses, same headers, same signature:
| Call | What arrives |
|---|---|
Balance — GET{base}/balance | A real read. Reads move nothing, so it carries no marker. |
Debit — bet | A simulated stake: simulation: true right under type, amount 1, a fresh check- reference — and the full bet ticket, filled with visibly fake data. |
Credit — win | A simulated payout of that bet — parentReference names it, and its ticket arrives WON, id and settledAt set. |
Rollback — rollback | A simulated reversal of the same bet, its ticket arriving as a REFUND. |
Prize — prize | A simulated prize: simulation: true, a fresh check- reference and a prize object filled with visibly fake data. Answer success, move nothing. |
Identity — GET{base}/profile | A real read. No marker. |
The ticket's data is fake — an example fixture, an all-zeros id — but every
field a real movement carries is present and typed the same, so whatever
parsing you do on the real bet object runs against the test too.
The rule
A movement carrying simulation: true, whatever its type:
- Ignore it. Credit nothing, debit nothing, record nothing.
- Answer it exactly like the real movement:
200withok, the currentbalanceand thecurrency. Refusing it fails the connection test — the amount is positive precisely so your validation passes.
The rule is the field's, not the type's: any movement we may test in the future
carries the same marker and takes the same answer. A movement without the field
is real. We never send simulation: false.
POST {base}/transaction
Authorization: Bearer <your service key>
Content-Type: application/json
{
"type": "bet",
"simulation": true,
"amount": 1,
"currency": "USD",
"reference": "check-14263ef5-d147-4761-a002-65892831996c",
"playerId": "27",
"bet": {
"id": null,
"kind": "SINGLE",
"status": "PENDING",
"stake": 1,
"totalStake": 1,
"totalOdds": 2,
"potentialPayout": 2,
"payout": null,
"system": null,
"placedAt": "2026-08-16T15:04:05.000Z",
"settledAt": null,
"selections": [
{
"fixture": {
"id": "11223344",
"name": "Example FC vs Sample United",
"startDate": "2026-08-16T15:04:05.000Z"
},
"sport": { "id": "6046", "name": "Football" },
"league": { "id": "38", "name": "Example League" },
"market": { "id": "1", "name": "1X2" },
"selection": { "id": "271", "name": "Example FC", "line": null },
"price": 2,
"status": "PENDING"
}
]
}
}
200Answered like the real one — nothing moved{ "ok": true, "balance": 90.50, "currency": "USD" }