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 | yes | Member name, no prefix required |
| sign_key | string | 32 | yes | Encrypted signature |
| money | int | 10 | yes | Transfer 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 | yes | The order number of the conversion quota cannot exceed 64 digits. The merchant platform must ensure uniqueness. |
| code | string | 32 | yes | md5(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