🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
##### 简要描述 * 申请提币接口 ##### 请求URL * http://154.221.25.18:1000/api/withdraw`` ##### 请求方式 * POST “Content-Type”:”application/json” ##### 参数 | 参数名 | 必选 | 类型 | 说明 | | --- | --- | --- | --- | | app\_name | 是 | string | 应用接口名 | | out\_serial | 是 | string | 订单号 | | address | 是 | string | 提币地址 | | symbol | 是 | string | 提币币种(举例:eth、erc20\_usdt、erc20\_ht等) | | balance | 是 | string | 提币金额 | | nonce | 是 | string | 随机码 | | sign | 是 | string | 签名 | ##### 请求示例 ~~~ { "app_name": "test", "out_serial": "20200609010111", "address": "0xb28eb3ce3602dfe71004326f57eae69e973b6e61", "symbol": "erc20_usdt", "balance": "10", "nonce": "dbuaiVcddpAxkhHb", "sign": "8127FB1BFD07A3DE24E65AB31FD97C96" } ~~~ ##### 返回示例 ~~~ { "out_serial": "xxxx", "in_serial": "xxxx", "error": 0, "error_msg": "success" } ~~~ ##### 返回参数说明 | 参数名 | 类型 | 说明 | | --- | --- | --- | | out\_serial | string | 商户提币流水号 | | in\_serial | string | 平台提币流水号 | | error | int | 错误码 | | error\_msg | string | 错误文字说明 | ##### 备注 * 更多返回错误代码请看首页的错误代码描述 * 1.对参数按照key=value的格式,并按照参数名ASCII字典序排序生成字符串: address=0xb28eb3ce3602dfe71004326f57eae69e973b6e61&app\_name=test&balance=10&nonce=dbuaiVcddpAxkhHb&out\_serial=20200609010111&symbol=erc20\_usdt * 2.连接商户key: address=0xb28eb3ce3602dfe71004326f57eae69e973b6e61&app\_name=test&balance=10&nonce=dbuaiVcddpAxkhHb&out\_serial=20200609010111&symbol=erc20\_usdt&key=test123 * 3.生成sign并转成大写: sign=8127FB1BFD07A3DE24E65AB31FD97C96