用户工具

站点工具


en:wallet_trans

Update the amount of free wallet

* Interface address: * Domain name/v1/wallet/trans

* Note: Kaiyuan chess and cards can only be transferred after the game is over

* Please update the amount when depositing and withdrawing money from members. The decimal point is not supported. When requesting the interface, be sure to set the request timeout time for more than 30 seconds.

* Request parameters:

Field name type length Must-choose illustrate
username string 5-11 yesMember name, no prefix required
sign_key string 32 yesEncrypted signature
money int10 yesTransfer amount (negative number means deducted from the wallet, positive number is transferred to the wallet), no decimal number is supported
client_transfer_id string 64 yesThe order number of the conversion quota cannot exceed 64 digits. The merchant platform must ensure uniqueness.
code string 32 yesmd5(sign_key+api_account+username+money+client_transfer_id)

* Response parameters

Field name type illustrate
statusCode string Whether it is successful. 01:Success; Other failures;
message string Information corresponding to code
data string Balance

* Return data content

{

"statusCode": "01",
"data": "100.25",

“message”: “Success” }

en/wallet_trans.txt · 最后更改: 2019/12/15 21:55 由 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki