Create, Join and Pay
Create a game room, join players, and process payments in a single operation
Combines creating a game room, joining players, and processing payments into a single atomic operation.
Endpoint: /game/createJoinPay
Method: POST
The arrays `sessionJwts`, `tokens`, and `amounts` must have corresponding lengths. The operation is atomic - if any step (create, join, or pay) fails, the entire operation is rolled back.
Example Usage
The arrays `sessionJwts`, `tokens`, and `amounts` must have corresponding lengths. The operation is atomic - if any step (create, join, or pay) fails, the entire operation is rolled back.
Last updated