Skip to main content

Appendix

This page lists all possible Status Codes and their Description in the Transfer Wallet API, as well as additional Lists.

Status Code Overview

CodeResponse MessageDescriptionRelated API
0No errorRequest SuccessAll APIs
2The balance is not enoughInsufficient BalanceTransfer, Full Withdrawal
3The transaction already existTransaction already existsTransfer, Full Withdrawal
4The transaction doesn't existTransaction does not existQuery Transaction Detail
5Game is not foundGames does not exist or has been removedOpen Game, Query Bet Logs, Query Bet Detail, Query Bet Replay
6The username already existPlayer Account already existsCreate Player
7Internal server errorSystem internal errorAll APIs
8The User is not existPlayer does not existQuery Player Balance, Transfer, Full Withdrawal, Open Game, Query Bet Detail
10Agent code was not found or blockAgent does not exist or is blockedGet Access Token
11Parameters errorParameter errorAll APIs
14The BetId is not existQuery Bet Logs does not existQuery Bet Detail, Query Bet Replay
19Invalid accountInvalid Player AccountQuery Player Balance, Transfer, Full Withdrawal, Open Game
20Member wallet is temporarily lockedPlayer wallet temporarily lockedTransfer, Full Withdrawal
35The transaction is pendingTransaction processingTransfer, Full Withdrawal, Query Transaction Detail
37The Function is not supportedFunction not supportedQuery Bet Detail, Query Bet Replay
38Query not allowed as the betId has expiredTransaction detail/replay has exceeded query timeQuery Bet Detail, Query Bet Replay
77Too many request, please try again laterToo frequent requestsQuery Bet Logs, Query Daily Report, Query Player Report
78Operator card spinId was usedItem ID has been usedSend Operator Card, Send Simple FreeSpin Operator Card
81Branch config not foundBranch configuration not foundQuery Player Balance, Transfer, Full Withdrawal, Open Game, Query Bet Logs, Force Logout, Query Player Session
82Please check siteId is for this playersiteId does not match PlayerOpen Game
83Signature verification failedSignature verification failedAll APIs that require verification
84Encryption failedEncryption failedAll APIs that require encryption
85Key config setting errorEncryption setting read exceptionAll APIs
86Game is restrictedGames rejected due to restrictionsOpen Game, Send Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
87Invalid item parameter valueOperator Card Parameter Combination ErrorSend Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
88Only one item can be active at a time in the same gameItem cannot be Triggered simultaneouslySend Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
89The item has not been used yet, or the spinId does not existItem not yet used, cannot query resultsSend Operator Card, Send Simple FreeSpin Operator Card, Send Simple FeatureGame Operator Card
100The server is busy, please try again laterService is busyOpen Game

Error Code Classification

Success Codes

CodeDescription
0Request Success, no error

Player Management Errors

CodeDescriptionPossible CauseHandling Suggestion
6Player Account already existsCreating Player with an already registered Player AccountUse a different Player Account
8Player does not existQuerying or operating on a non-existent PlayerConfirm 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 temporarily locked for some reasonTry again later or Contact Customer Support Team
CodeDescriptionPossible CauseHandling Suggestion
2Insufficient BalanceInsufficient Balance for withdrawal or BetCheck Player Balance, ensure it is sufficient
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 processingTransaction is being processed, not yet completedWait or query transaction Status
37Function not supportedThe queried transaction does not support this API functionConfirm the transaction is not within the queryable range
38Transaction detail/replay has exceeded query timeTransaction occurred more than 30 days agoContact Customer Support Team
78Item transaction ID duplicatedItem ID has been usedChange spinId parameter

Game Management Errors

CodeDescriptionPossible CauseHandling Suggestion
5Games does not existUsing an invalid Game Code or Games has been removedConfirm Game Code is correct
82siteId mismatchsiteId does not correspond to PlayerContact Customer Support Team, provide logUUID
86Games rejected due to restrictionsGames cannot be opened due to currency, line, etc.First confirm Game List document Description, Contact Customer Support Team, provide logUUID
100Service is busy, cannot generate new Games linkService has reached the maximum number of users, refusing more Players to ensure qualityTry again later

Query Bet Log Errors

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

System Level Errors

CodeDescriptionPossible CauseHandling Suggestion
7Internal server errorServer internal errorContact Customer Support Team, provide logUUID
10Agent erroragentId or secret is incorrect, or Agent is blockedCheck Authentication information, contact administrator to confirm Status
11Parameter errorRequest parameters are missing, format is incorrect, or do not meet requirementsCheck all Required parameters and format
77Too many requestsToo many requests sent in a short periodReduce request frequency, try again later
81Branch config 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
85Encryption setting read exceptionSystem unable to read valid Key informationContact Customer Support Team
87Operator Card Parameter Combination ErrorPlease check the Operator Card sending rules for the corresponding APIReconfirm parameter rules or Contact Customer Support Team
88Item cannot be Triggered simultaneouslyPlayer has another active card in the Games that has not been usedPlease ask the Player to re-enter the corresponding Games and use it before sending
89Item not yet used, cannot query resultsItem not yet fully usedReconfirm if Item has been used or if Item has expired and does not exist

10 - Agent Error

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

  1. agentId does not exist: Using an unregistered Agent ID
  2. Incorrect secret: The secret parameter after decryption does not match agentId
  3. Agent is blocked: Agent ID is disabled by the system

Handling Suggestion:

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

83 - Signature verification failed

This is the most common Authentication error, possibly caused by the following reasons:

  1. Incorrect signature string concatenation order

    • The correct order should be: agentId + timestamp + nonce + cipherText
    • Use SHA256 (not HMAC-SHA256) for hashing
  2. Timestamp verification failed

    • Operator and server time difference exceeds the allowed range (usually ±1 minute)
    • Incorrect timestamp format (should be 13-digit millisecond timestamp)
  3. Nonce verification failed

    • Used a duplicate nonce value (must be unique for each request)
  4. Missing or incorrect request headers

    • Missing required headers: x-agentid, x-timestamp, x-nonce, x-signature
    • Request header values are inconsistent with the values actually used for signature calculation

Handling Suggestion:

  • Refer to Authentication Overview to check the signature generation logic
  • 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. Incorrect encryption method: Must use AES-256-GCM
  2. Incorrect key: Encryption key configuration is incorrect
  3. Incorrect data format: 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 Kind Mapping Table

CodeDescription
1SLOT

Language

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

Currency

info

The "Games display 100:1" for MYR1 and THB1 only affects the amount display ratio within Games. API value transmission does not require ratio conversion, just send 1:1.

CodeDescription
AUDAustralian Dollar
BDTBangladeshi Taka
BRLBrazilian Real
CADCanadian Dollar
CNYChinese Yuan
COPColombian Peso
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)
MXNMexican Peso
MYRMalaysian Ringgit
MYR1Malaysian Ringgit (Games display 100:1)
NGNNigerian Naira
NPRNepalese Rupee
NZDNew Zealand Dollar
PHPPhilippine Peso
PKRPakistani Rupee
SGDSingapore Dollar
THBThai Baht
THB1Thai Baht (Games display 100:1)
USDUS Dollar
USDTTether
VNDVietnamese Dong (1:1000)
VND1Vietnamese Dong (1:1)
ZARSouth African Rand

Transaction Source Code

CodeDescription
1Normal Bet
2Task System
3Prize
4System Reward
5Treasure Chest
6Cash Ticket
7Multi Quest
8Card
9Operator Card

Feature Mode

Used to indicate the additional Games mode Triggered or used when Normal Bet (betSourceId = 1).

CodeDescription
0baseGame
1freeGame
2buyBonus
3buyBonusWithGem
4extraBet