Skip to main content

Appendix

This page lists all possible Status Codes and their Descriptions that may appear in the Transfer Wallet API, as well as an additional List.

Status Code Overview

CodeResponse MessageDescriptionRelated API
0No errorRequest SuccessAll APIs
2The balance is not enoughInsufficient BalanceTransfer, Withdraw All
3The transaction already existTransaction already existsTransfer, Withdraw All
4The transaction doesn't existTransaction does not existQuery Transaction Details
5Game is not foundGame does not exist or has been removedOpen Game, Query Bet Logs & Reports, Query Bet Details, Query Bet Replay
6The username already existPlayer Account already existsCreate Player
7Internal server errorInternal System ErrorAll APIs
8The User is not existPlayer does not existQuery PlayerBalance, Transfer, Withdraw All, Open Game, Query Bet Details
10Agent code was not found or blockAgent does not exist or is blockedGet Access Token
11Parameters errorParameter ErrorAll APIs
14The BetId is not existBet Logs & Reports not foundQuery Bet Details, Query Bet Replay
19Invalid accountInvalid Player AccountQuery PlayerBalance, Transfer, Withdraw All, Open Game
20Member wallet is temporarily lockedPlayer wallet temporarily lockedTransfer, Withdraw All
35The transaction is pendingTransaction pendingTransfer, Withdraw All, Query Transaction Details
77Too many request, please try again laterToo many requestsQuery Bet Logs & Reports, Query Daily Report, Query player report
81Branch config not foundBranch configuration not foundQuery PlayerBalance, Transfer, Withdraw All, Open Game, Query Bet Logs & Reports, Force Logout, Query Player Session
82Please check Site ID is for this playerSite ID does not match PlayerOpen Game
83Signature verification failedSignature verification failedAll APIs requiring verification
84Encryption failedEncryption failedAll APIs requiring encryption

Error Code Classification

Success Code

CodeDescription
0Request successful, no error

Player Management Errors

CodeDescriptionPossible CauseHandling Suggestion
6Player Account already existsAttempted to Create Player with an already registered Player AccountUse a different Player Account
8Player does not existQuerying or operating on a non-existent PlayerVerify PlayerID or Player Account is correct, call Create Player API first
19Invalid Player AccountPlayer Account format error or abnormal StatusCheck Player Account format and Status
20Player wallet temporarily lockedPlayer wallet is temporarily locked due to some reasonRetry later or Contact Customer Support Team
CodeDescriptionPossible CauseHandling Suggestion
2Insufficient BalanceInsufficient Balance during withdrawal or bettingCheck Player's Balance to ensure sufficiency
3Transaction already existsUsing a duplicate transaction ID (transId)Use a new unique transaction ID
4Transaction does not existQuerying a non-existent transaction recordConfirm transaction ID is correct
35Transaction in progressTransaction is processing, not yet completedWait or query transaction Status

Game Management Errors

CodeDescriptionPossible CauseHandling Suggestion
5Game does not existInvalid game code used or game has been delistedVerify the game code is correct, and check if the game supports the current currency
82Site ID mismatchSite ID does not match PlayerContact Customer Support Team, provide logUUID

Query Bet Logs & Reports Error

CodeDescriptionPossible CauseHandling Suggestion
14Bet Logs & Reports does not existQuerying a non-existent Bet Logs & Reports or incorrect txTimeConfirm betId and txTime parameters are correct

System-level Errors

CodeDescriptionPossible CauseHandling Suggestion
7System internal errorServer internal errorContact Customer Support Team, provide logUUID
10Agent erroragentId or secret incorrect, or Agent is blockedCheck authentication information, contact administrator to confirm Status
11Parameter errorRequest parameter missing, format error, or does not meet requirementsCheck all required parameters and format
77Request too frequentToo many requests sent in a short periodReduce request frequency, retry later
81Branch configuration not foundSystem configuration missingContact Customer Support Team
83Signature verification failedSignature calculation error or incorrect request headerCheck signature generation logic and request header
84Encryption failedEncryption key error or incorrect encryption methodCheck encryption configuration and implementation

10 - Agent Error

Occurs in the /v2/auth API, possible reasons:

  1. agentId does not exist: Used an unregistered Agent ID
  2. secret is incorrect: The secret parameter does not match the agentId after decryption.
  3. Agent is blocked: The Agent ID has been deactivated by the system.

Handling Suggestion:

  • Confirm agentId and secret are correct
  • Contact Customer Support Team to check AgentStatus
  • Check if the x-agentid request header matches the agentId in the body

83 - Signature Verification Failed

This is the most common Authentication error, which may be caused by the following reasons:

Signature String Combination Order Error

  • The correct order should be: agentId + secret + timestamp + nonce + cipherText
  • Use SHA256 (not HMAC-SHA256) for hashing
  1. Timestamp Verification Failed

    • Operator's time difference with the server exceeds the allowed range (typically ±1 minute)
    • Timestamp format error (should be a 13-digit millisecond timestamp)
  2. Nonce Validation Failed

    • Used a duplicate nonce value (must be unique for each request)
  3. Request Header Missing or Incorrect

    • Missing required request headers: x-agentid, x-timestamp, x-nonce, x-signature
    • Request header values do not match the actual values used for signature calculation.

Handling Suggestion:

  • Check signature generation logic by referring to Authentication Overview
  • Ensure server time synchronization (using NTP)
  • Generate a new nonce for each request
  • Confirm all request headers are correctly set

84 - Encryption Failed

Encryption/Decryption Related Errors:

  1. Encryption Method Error: Must use AES-256-GCM
  2. Key Error: Encryption key incorrectly configured
  3. Data Format Error: Data format before encryption is incorrect

Handling Suggestion:

  • Check if the encryption implementation uses AES-256-GCM
  • Confirm the encryption key is correct
  • Refer to the encryption example in Authentication Overview

Game Type Mapping Table

CodeDescription
1Slots

Language

CodeDescription
enEnglish (Default Language. If VP does not support the corresponding Language, this will be the default Language.)
zh-HansSimplified Chinese
thThai
myBurmese
idIndonesian
viVietnamese
jpJapanese
ptPortuguese
koKorean
tlTagalog
hiHindi
msMalay
bnBengali
esSpanish

Currency

CodeDescription
AUDAustralian Dollar
BDTBangladeshi Taka
BRLBrazilian Real
CADCanadian Dollar
CNYChinese Yuan
EGPEgyptian Pound
EUREuro
GBPBritish Pound
HKDHong Kong Dollar
IDRIndonesian Rupiah (1:1000)
IDR1Indonesian Rupiah (1:1)
INRIndian Rupee
JPYJapanese Yen
KHRCambodian Riel
KRWKorean Won (1:1)
KRW1Korean Won (1:1000)
LAKLao Kip (1:1000)
LAK1Lao Kip (1:1)
LKRSri Lankan Rupee
MMKMyanmar Kyat (1:1000)
MMK1Myanmar Kyat (1:1)
MYRMalaysian Ringgit
MYR1Malaysian Ringgit (displayed as 100:1 in-game)
NPRNepalese Rupee
PHPPhilippine Peso
THBThai Baht
USDUS Dollar
USDTTether
VNDVietnamese Dong (1:1000)
VND1Vietnamese Dong (1:1)
ZARSouth African Rand

Transaction Source Code

CodeDescription
1General Bet
2Mission System
3Red Packet Draw
4System Reward
5Open Treasure Chest
6Cash Voucher
7Multi-Reward
8Card
9Operator Card