API Name getBalance
Notes
  • Retrieve the current balance for a specific player from the Seamless Wallet.
  • Our recommendation is to implement this for performance and to handle low balance conditions.
  • The maximum value that can be displayed from the in-game interface: 21474836.47 (Int 32 maximum value).
Path <WalletUrl>/account/getbalance/membercode/{memberCode}
Method GET
Request Format URL
Return Format JSON
Success Response Example { "code": 0, "message": "success", "balance": 9999.99, "bonusbalance": 999.99, "currency": "USD" }
Error Codes
  • 0: No error
  • 1: Bad request
  • 2: The system is unable to process your request. Please try again.
  • 50: Unauthorized cross merchant
  • 51: Invalid merchant name or code
  • 53: Player does not exist
  • 100: Required field cannot be empty or null
  • -1: Internal Server Error or any other error