Pay out and close the round
The RGS calls POST /credit on the casino's wallet. Required even for zero.
/creditMust be accepted with an expired session and for a blocked player.
Authorization
signature Hex HMAC-SHA256 of "timestamp\nMETHOD\npath\nsha256(body)". A response signs "timestamp\nstatus\npath\nsha256(body)".
In: header
Header Parameters
Unix seconds
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/credit" \ -H "X-Key-Id: string" \ -H "X-Timestamp: string" \ -H "Content-Type: application/json" \ -d '{ "transactionId": "string", "roundId": "string", "playerId": "string", "gameId": "string", "gameVersion": "string", "variant": "string", "currency": "string", "amount": 0 }'{ "status": "ok", "balance": 9000000, "operatorTxId": "tx-1", "alreadyProcessed": false}