DebitBalance

Transfer from the user’s balance.

Parameters
NameDescriptionType and LimitRequired?
methodMust be "DebitBalance"String (32)Y
KeySecret keyString (32)Y
TimeCurrent time in "yyyyMMddHHmmss" formatDateTimeY
UsernameUsername
Alphanumeric
String (28)Y
OrderIdOrder ID: OUT+YYYYMMDDHHMMSS+Username
e.g. “OUT20131129130345peter1235”
String (64)Y
DebitAmountDebit amount. Maximum two decimal only.DecimalY
Result
NameDescriptionType and LimitRequired?
UsernameUsernameString (28)Y
BalanceActive Balance, excluding BetAmount & WithholdAmountDecimalY
BetAmountTotal amount withhold by unfinished slot gamesDecimalY
WithholdAmountTotal amount withhold by unfinished fishing gamesDecimalY
DebitAmountDebited amountDecimalY
OrderIdOrder ID String (64)Y
ErrorMsgIdError message:
0: Success
106: Server not ready. Try again later.
108: Username length/format incorrect
116: Username does not exist
120: Amount must be larger than zero
121: Not enough points to credit/debit
122: Order ID already exists
124: Database error
127: Invalid order ID format
142: Error Parameter
145: Parameter decimal point greater than 2
ByteY
ErrorMsgError message detailStringY

Leave a Reply