Balance
This method is called by THNDR to initialise or refresh the balance of a player in a game.
Endpoint
GET {operatorURL}/thndr/users/{userId}/balancePath Parameters
operatorURL- Base URL of the Operator’s API.userId- Player identifier on the Operator’s platform.
Query Parameters
sessionId- The session ID provided by the operator during user authentication.currency- Player's wallet currency (read more in Currencies).
Expected Response
{
"balance": 12050
}balance- Balance in the smallest unit of the currency (e.g., cents for USD, pence for GBP)
Signature Verification
Verify the request signature using userId as the request payload. More in the Request Signing section.
Last updated