Get player balance
Direction: Wuzzlo → Operator
Returns the player’s current wallet balance without mutation.
Processing order
- Verify the Wuzzlo
Signatureagainst the exact UTF-8 request body. - Validate the operator and user.
- Read and return the balance using decimal-safe arithmetic.
Response contract
Security: An invalid signature must not change the user’s actual wallet balance.
Authentication
Signaturestring
Wuzzlo-to-Operator: Base64 RSA-SHA256 PKCS#1 v1.5 signature of the exact UTF-8 JSON body, verified with the Wuzzlo public key.
Request
This endpoint expects an object.
operatorId
token
Operator session token validated through /auth/login.
userId
Response
HTTP 200 wallet response. The body status MUST match exactly one documented scenario requirement; statuses are not interchangeable.
balance
Balance returned for this response scenario. Successful mutations return the calculated post-transaction balance; duplicate and rejected scenarios return the unchanged balance.
status
Exact business status required by the matched endpoint scenario. A different status is a contract failure even when the returned balance is correct.
Allowed values: