Skip to content
VAS HUB
Wallet API

Result codes

Return the code as both the HTTP status and the code field, with a short message. Refusals' messages are shown to the player.

CodeMeaningWhat the game does
200OKAccepted. For money calls: moved, or already moved by the same request earlier.
400Bad requestRefused; nothing moved. The message is shown to the player.
401Invalid signature, unknown client, or invalid/expired tokenRefused. On /auth the player is asked to reopen the game.
402Insufficient fundsBet refused; the player sees your message.
403Account blocked or not allowedRefused; the player sees your message.
404Unknown playerRefused.
5xxServer errorUnclear: money may have moved. Withdraws are held for reconciliation; deposits are retried.