POST endpoint that handles all operation types, identified by the type field in the request body.
Endpoint contract
Supported operation types
Common request fields
Every call from PlayStarters to your endpoint includes the following fields:string
Your unique identifier for the player (the same value you passed as
playerId to POST /operator/launch).string
Operation type. One of
BALANCE, BET, WIN, VOID.number
Transaction amount in the player’s currency.
0 for BALANCE operations.string
ISO 4217 currency code (e.g.
EUR).string
Unique identifier for this request. Use it for idempotency.
string
UUID of the game the transaction belongs to. Not sent for
BALANCE operations.string
Identifier for the game round. Groups related BET/WIN/VOID transactions together. Not sent for
BALANCE operations.string
Present only on
WIN and VOID. Correlates the transaction with the original BET’s requestId.Successful response
Always return HTTP200 OK with the player’s updated balance:
Error response
The only error response PlayStarters expects is insufficient funds on aBET. See Transactions for the exact format.

