用户提现

请求URL:

  • /withdraw

请求方式:

  • POST

参数:

参数名 必选 类型 说明
amount 是 uint 提现金额(单位:美分)
type 是 uint 提现类型(1-PayPal;2-USDT;3-Gift Card)
fullName 是 string 全名
email 是 string 联系邮箱
country 是 string 居住国家
paypalAccountEmail 否 string paypal账户邮箱
recipientEmail 否 string paypal账户邮箱
giftCardBrand 否 string 如:Steam、Amazon、Google Pay
network 否 string 如:TRC20、ERC20
walletAddress 否 string 钱包地址

返回示例

{
    "code": 200,
    "msg": "SUCCESS",
    "data": {
        "userId": 1,
        "balance": 500,
        "frozenBalance": 500,
        "withdrawals": 1,
        "withdrawId": 1,
        "CreatedAt": 1789640048,
        "UpdatedAt": 1789646613
    }
}

返回参数说明

参数名 类型 说明
code int 状态码
msg string 提示信息
data struct 数据体
-userId int 用户自增ID
-balance int 用户可提现余额
-frozenBalance int 用户冻结余额
-withdrawals int 提现次数
-withdrawId int 提现记录ID

备注

错误码 510 系统错误 640 邮箱已注册

2021 © Live all right reserved,powered by Gitbook该文件修订时间: 2026-10-20 15:39:52

results matching ""

    No results matching ""