en:withdraw
Players withdraw money
(Only for “Central Wallet [Platform Request Merchant]” merchants)
* Domain name/v1/free/withdraw
* This interface is generally used to call players when they withdraw money from the merchant website or when the merchant deducts the player. This interface will deduct the balance of the game platform and the central wallet balance.
* Note: Kaiyuan chess and cards can only be transferred after the game is over
* Please update the amount when players withdraw money. 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-16 | yes | Member name, no prefix required |
| sign_key | string | 32 | yes | Encrypted signature |
| money | int | 10 | yes | Transfer amount (only positive integers are supported, not decimals are supported) |
| client_transfer_id | string | 64 | yes | The order number of conversion quota cannot exceed 64 digits |
| 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/withdraw.txt · 最后更改: 2020/02/15 01:30 由 127.0.0.1