API文档
简体中文

接入准备

钱包API模式分为:1、商户余额模式,2、用户余额模式

1、商户余额模式:接入后不会在我方产生用户,充币后,资产在商户账号。

2、用户余额模式:传入用户自定义UID后,会在我方产生对应用户,充币后资产分布在对应用户账号。

接入前请确认好钱包API模式, 如果是用户余额模式,以下所有接口均需传入用户自定义UID字段,如果是商户余额模式,不需传入

参数 取值 必传 类型 备注
m_user_id client_10001 Y string 自定义UID

支持币种

币种 item_id chain_tag
USDT 10007 trc20,erc20,bsc
BTC 10005 omni,bsc
ETH 10003 erc20,bsc

获取币种列表

{
  "status": 200,
  "source": "API",
  "msg": "OK",
  "data": [
    {
      "item_id": 10007,
      "item_name": "usdt",
      "type": 1,
      "status": 1,
      "in_status": 1,
      "out_status": 1,
      "num_precision": 2,
      "chain_list": [
        {
          "chain_tag": "erc20",
          "fee": "1.0000000000",
          "status": 1,
          "in_status": 0,
          "out_status": 0,
          "minout": "0.0000",
          "maxout": 100000,
          "minin": "1.0000",
          "fee_type": 1,
          "fee_rate": "1.00"
        },
        {
          "chain_tag": "trc20",
          "fee": "0.0000000000",
          "status": 1,
          "in_status": 0,
          "out_status": 0,
          "minout": "1.0000",
          "maxout": 1000,
          "minin": "3.0000",
          "fee_type": 2,
          "fee_rate": "0.10"
        },
        {
          "chain_tag": "bsc",
          "fee": "1.0000000000",
          "status": 1,
          "in_status": 0,
          "out_status": 0,
          "minout": "30.0000",
          "maxout": 100000,
          "minin": "3.0000",
          "fee_type": 1,
          "fee_rate": "1.00"
        }
      ]
    }
  ],
  "seconds": 1631812524,
  "microtime": 1631812524703
}

POST /wallet/item/list

返回数据

参数 类型 备注
item_id 整数 币种ID
item_name 字符串 币种名称
in_status 整数 转入状态:1-开启,0-关闭
out_status 整数 转出状态:1-开启,0-关闭
num_precision 数字 数量精度
chain_list 数组 支持的链列表
chain_list -> chain_tag 字符串 链名
chain_list -> in_status 数字 转入状态:1-开启,0-关闭
chain_list -> out_status 数字 转出状态:1-开启,0-关闭
chain_list -> minout 数字 最小转出数量
chain_list -> maxout 数字 最大转出数量
chain_list -> fee_type 数字 费率类型:1-固定金额,2-百分比
chain_list -> fee 数字 手续费数量,fee_type为1时
chain_list -> fee_rate 数字 费率百分比,fee_type为2时

获取商户钱包资产

{
  "status": 200,
  "source": "API",
  "msg": "OK",
  "data": {
    "remain": {
      "list": [{
        "item_id": 10005, 
        "coin_id": 1001,
        "name": "btc",
        "logic_name": "btc",
        "order_by": 7,
        "all": "0.00000000",
        "over": "0.00000000",
        "lock": "0.00000000",
        "valuation": {
          "usd": "0.00",
          "cny": "0.00",
          "usdt": "0.00",
          "aed": "0.00",
          "hkd": "0.00",
          "jpy": "0.00",
          "krw": "0.00"
        },
        "over_valuation": {
          "usd": "0.00",
          "cny": "0.00",
          "usdt": "0.00",
          "aed": "0.00",
          "hkd": "0.00",
          "jpy": "0.00",
          "krw": "0.00"
        }
      }
      ],
      "u_valuation": "0.00", 
      "last_profit": "0.00",
      "all_u_valuation": {
        "usd": "0.00", 
        "cny": "0.00", 
        "usdt": "0.00",
        "aed": "0.00", 
        "hkd": "0.00", 
        "jpy": "0.00", 
        "krw": "0.00"  
      },
      "all_last_valuation": {
        "usd": "0.00",
        "cny": "0.00",
        "usdt": "0.00",
        "aed": "0.00",
        "hkd": "0.00",
        "jpy": "0.00",
        "krw": "0.00"
      }
    }
  },
  "seconds": 1631812524,
  "microtime": 1631812524703
}

POST /wallet/getAssets

请求参数

参数 取值 必传 类型 备注

返回数据

参数 类型 备注
remain 数组 现货资产
remain -> list 数组 现货资产列表
remain -> list -> item_id 整数 币种ID
remain -> list -> name 字符串 币种名称
remain -> list -> all 数字 总资产
remain -> list -> over 数字 可用资产
remain -> list -> lock 数字 冻结资产
remain -> list -> valuation 数组 折算法币估值
u_valuation 数字 持仓估值USDT
all_u_valuation 数组 持仓估值法币

获取账单


{
  "status": 200,
  "source": [
    50
  ],
  "error_level": 1,
  "msg": "ok",
  "extend": {
    "date": "2025-08-07 20:10:54",
    "unique": "689497cdc976a1203772977",
    "runtime": "523.81 ms"
  },
  "data": {
    "list": [{
      "aor_id": 87245979,
      "complete_status": 2,
      "user_id": "10100016234",
      "to_user_id": 0,
      "channel_id": 100028,
      "child_status": "success",
      "child_primary_key": 632693897,
      "op_direction": 2,
      "item_id": 10007,
      "currency_id": 0,
      "item_number": "11",
      "currency_number": "0.00",
      "base_item_id": 0,
      "base_item_number": "0",
      "assets_type": 2,
      "create_time": 1754560610,
      "update_time": 1754561415,
      "assets_create_time": 1754560771,
      "assets_update_time": 1754561581,
      "alias_assets_type": 200,
      "user_remark": "",
      "show_name": "转账",
      "order_info": {
        "uce_id": 632693897,
        "chain_tag": "trc20",
        "use_type": 1,
        "exchange_type": 1,
        "transfer_type": 1,
        "type": 2,
        "extra_id": 8241489214506020864,
        "item_id": 10007,
        "user_id": 10100016234,
        "from_address": "TWymAFLRdBwQy1SfMfaymKHx979akPukoE",
        "to_user_id": 10100016246,
        "to_address": "TE8mYWDJE4fJhQ2xk1N4uKsSSnxemU8qLJ",
        "txid": "",
        "num": "11",
        "real_num": "0",
        "network_fee": "0",
        "confirm": 0,
        "status": "success",
        "coin_out_status": 1,
        "is_second_audit": 0,
        "second_audit_time": null,
        "audit_type": 0,
        "coin_out_remark": "[{\"type\":1,\"remark\":\"当前USDT累计充币总额:0 ,当前USDT累计提币总额(包含当前提币USDT数量):21 ,差值(累计提币-累计充币):21\"},{\"type\":2,\"remark\":\"用户首充72小时内限制,用户首次充值时间(UTC+8):此用户72小时前,无充值数据\"}]",
        "first_audit_uid": 0,
        "converted_usdt_value": "11.0000000000000000",
        "converted_usdt_rate": "1.0000000000000000",
        "audit_source": 3,
        "remark": "test",
        "audit_remark": "",
        "udid": "",
        "send_status": 1,
        "next_time": 0,
        "callback_num": 0,
        "uce_parent_id": null,
        "usdt_num": "11.0000000000",
        "create_time": 1754560610,
        "update_time": 1754561415,
        "third_user_id": "test_1",
        "channel_id": 100028,
        "channel_product_id": 102586,
        "created_at": "2025-08-07 17:56:50",
        "updated_at": "2025-08-07 18:10:15",
        "user_assets": "1000000.000000000000000000",
        "order_no": "2761997713756737536",
        "aml_type": 2,
        "ip": "",
        "usdt_exchange_rate": "0.0000000000",
        "volume_usdt": "0.0000000000",
        "fee_usdt": "0.0000000000",
        "profit_usdt": "0.0000000000",
        "encrypt_step": 4,
        "total_num": "11"
      },
      "client_remark": "内部地址",
      "item_precision": 2,
      "child_status_name": "已完成",
      "currency_precision": 2,
      "bt_info": [
        "0"
      ]
    }
    ],
    "pageInfo": {
      "pageCurrent": 1,
      "pageCount": 1,
      "pageSize": 12,
      "pageTotal": 2
    }
  },
  "microtime": 1754568654351
}

POST /wallet/getBill

请求参数

参数 取值 必传 类型 备注
item_id_list 10007,10005 N string 币种ID,英文逗号隔开
start_time 1753977600 N int 开始时间戳
end_time 1754495999 N int 截止时间戳

返回数据

参数 类型 备注
aor_id 整数 账单ID
item_id 整数 币种ID
op_direction 整数 操作方向 1加 2减
show_name 字符串 账单类型名称
client_remark 字符串 账单类型名称
create_time 整数 账单时间
complete_status 整数 完成状态 1进行中 2已完成 3已撤销
order_info json字符串 订单详情,不同业务内容不同

设置交易密码

{
    "status": 200,
    "source": [
        50
    ],
    "error_level": 1,
    "msg": "ok",
    "extend": {
        "date": "2024-10-08 15:11:29",
        "unique": "6704db212da88570662738",
        "runtime": "81.35 ms"
    },
    "data": {
        "account_id": 100000,
        "status": "success"
    },
    "microtime": 1728371489268
}

POST /account/setPaymentPwd

请求参数

参数 取值 必传 类型 备注
new_payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 新交易密码 md5之后的32位字符串
again_new_payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 确认新交易密码 md5之后的32位字符串

返回数据

参数 类型 备注
account_id 整数 账号ID
status 字符串 状态

验证交易密码

{
    "status": 200,
    "source": [
        50
    ],
    "error_level": 1,
    "msg": "ok",
    "extend": {
        "date": "2024-10-08 17:56:08",
        "unique": "670501b8c61292098279627",
        "runtime": "56.62 ms"
    },
    "data": {
        "account_id": 100000,
        "status": "success"
    },
    "microtime": 1728381368868
}

POST /account/checkPaymentPwd

请求参数

参数 取值 必传 类型 备注
payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 新交易密码 md5之后的32位字符串

返回数据

参数 类型 备注
account_id 整数 账号ID
status 字符串 状态

重置交易密码

{
    "status": 200,
    "source": [
        50
    ],
    "error_level": 1,
    "msg": "ok",
    "extend": {
        "date": "2024-10-08 18:01:18",
        "unique": "670502ee95e0e1068865402",
        "runtime": "128.85 ms"
    },
    "data": {
        "account_id": 100000,
        "status": "success"
    },
    "microtime": 1728381678743
}

POST /account/resetPaymentPwd

请求参数

参数 取值 必传 类型 备注
new_payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 新交易密码 md5之后的32位字符串
again_new_payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 确认新交易密码 md5之后的32位字符串

返回数据

参数 类型 备注
account_id 整数 账号ID
status 字符串 状态

修改交易密码

{
    "status": 200,
    "source": [
        50
    ],
    "error_level": 1,
    "msg": "ok",
    "extend": {
        "date": "2024-10-08 18:01:18",
        "unique": "670502ee95e0e1068865402",
        "runtime": "128.85 ms"
    },
    "data": {
        "account_id": 100000,
        "status": "success"
    },
    "microtime": 1728381678743
}

POST /account/updatePaymentPwd

请求参数

参数 取值 必传 类型 备注
payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 原始交易密码 md5之后的32位字符串
new_payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 新交易密码 md5之后的32位字符串
again_new_payment_pwd e10adc3949ba59abbe56e057f20f883e Y string 确认新交易密码 md5之后的32位字符串

返回数据

参数 类型 备注
account_id 整数 账号ID
status 字符串 状态

创建充币地址

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "user_id": 10000007707,
        "item_id": 10007,
        "chain_tag": "erc20",
        "address": "0x669341f730528c6e25a272a2677c05d2b341cc29",
        "status": 1,
        "transactions": 0,
        "create_time": 1634068355,
        "update_time": 1634068355,
        "bak": "测试备注信息5",
        "ua_id": 4228,
        "qrcode_url": "",
        "client_user_id": "123456"
    },
    "seconds": 1634068355,
    "microtime": 1634068355755
}

POST /deposit/address/create

请求参数

参数 取值 必传 类型 备注
item_id 10007 Y int 币种ID 例如:10007
bak Test001 N string 地址备注,不可重复
chain_tag trc20 Y string 链名称 例如 trc20

返回数据

参数 类型 备注
user_id 整数 用户UID
item_id 整数 币种ID
chain_tag 字符串 链名
address 字符串 地址
create_time 整数 创建时间
bak 字符串 地址备注
client_user_id 字符串 客户端账号ID

获取充币地址列表


{
    "status":200,
    "source":"API",
    "msg":"OK",
    "data":[
        {
            "ua_id":123, //标识ID
            "user_id":10000007707, //平台用户ID
            "client_user_id":"123456", //客户端用户ID
            "item_id":10007, //币种ID
            "chain_tag":"erc20", //链名称
            "address":"0x7257a726fe91b44f86cc1dcb3cfd43af435fa8a8", //地址
            "transactions":0, //交易次数
            "create_time":1634056879 //创建时间
        },
        {
            "user_id":10000007707,
            "client_user_id":"123456",
            "item_id":10007,
            "chain_tag":"trc20",
            "address":"TA52vRac2y1Y1WodM557ndnsYXSaZh9ekg",
            "transactions":0,
            "create_time":1634056880
        }
    ],
    "seconds":1634058573,
    "microtime":1634058573839
}

POST /deposit/address/list

请求参数

参数 取值 必传 类型 备注
item_id 10007 Y int 币种ID 例如:10007
chain_tag_list erc20,trc20 Y string 链名称 例如 erc20,trc20

返回数据

参数 类型 备注
ua_id 整数 地址ID
user_id 整数 用户UID
client_user_id 字符串 客户端账号ID
item_id 整数 币种ID
chain_tag 字符串 链名
address 字符串 地址
create_time 整数 创建时间

获取单个充币地址

{
    "status": 200,
    "source": [
        50
    ],
    "error_level": 1,
    "msg": "ok",
    "extend": {
        "date": "2024-10-08 18:29:46",
        "unique": "6705099a770512043519697",
        "runtime": "81.34 ms"
    },
    "data": {
        "address": "TXA9zifgJwLjAMzVUNs5fkWn5bWyuaVbHG",
        "qrcode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmwAAAJsAQMAAAB6W21mAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAACFklEQVR4nO3ZQZKjMAwFUG7A/W/JDejqFI5kYdKzHeX9Rcpg64mdCrJtIiIif2Y/a173XnvX5Vid5/G7Op7KcDgcDteX21L2iwt4tVqX4XA4HK4zV86OjSLF1Hkuw+FwONyXcWW1MnE4HA73pdy4vL5hFeTjU+BwOByuKxfZ8+aFjNVV+liGw+FwuL5cSTY//dzKcDgcDteUW2UqyKttnj//GBwOh8P959zq7MO9x4GTWuBwOByuITfMuPhwtvQ5bvdwOBwO15S7ru+bt78/4uehAofD4XBNufXoKdKrIN5VQjpyWxwOh8M15crZgmRue5fuc8czPQ8Oh8PhunFRf75PxCS6r8pMKmMLh8PhcB25cfY2a2LCjKwGztMj4nA4HK4Rtxop5w2JztEsc/nBcDgcDtecm4ZQ6HmjzKQjPwoOh8PhOnJ3Kd+buPLWsirD4XA4XEeunBjHckGY220j+uBwOByuLbflgks65o24N3rHwCmHcTgcDteRixPDXLeIjYd3FRwOh8O15VaJN48997nMfYY/jDMcDofD9eDKIDnf9cd6N5uDW0wyHA6Hw/XitpR9Pns+reJRcDgcDvcd3FSwzbm2jvkyMn/wwuFwONz3cKU+nxvfsHKfv0YPDofD4bpxU1XouXSfe584HA6H685FJi6k2C1w3sXhcDhcX66kjJSr/ny3ncxSgcPhcLiOnIiIyMf8ACZ7zA3cqan5AAAAAElFTkSuQmCC",
        "transactions": 0
    },
    "microtime": 1728383386569
}

POST /deposit/address/get

请求参数

参数 取值 必传 类型 备注
item_id 10007 Y int 币种ID 例如:10007
chain_tag trc20 Y string 链名称 例如 trc20

返回数据

参数 类型 备注
address 字符串 地址
transactions 整数 收款次数

设置充币地址信息

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "ua_id": 943469,
        "item_id": 10007,
        "chain_tag": "erc20",
        "address": "0x6a895cb6dafa01b1ad0a4e68cc6b3fc4ad24f724",
        "transactions": 0,
        "status": 0,
        "bak": "测试备注信息"
    },
    "seconds": 1634067206,
    "microtime": 1634067206765
}

POST /deposit/address/set

请求参数

参数 取值 必传 类型 备注
ua_id 943469 Y int 地址标识ID
bak test002 Y string 备注信息,不可重复

返回数据

参数 类型 备注
ua_id 整数 地址ID
item_id 整数 币种ID
chain_tag 字符串 链名
address 字符串 地址
transactions 整数 收款次数
status 整数 状态 1-使用中 2-未使用 3-已封停
bak 字符串 地址备注

删除充币地址


{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "ua_id": 943469 //地址标识ID
    },
    "seconds": 1634062719,
    "microtime": 1634062719484
}

POST /deposit/address/del

请求参数

参数 取值 必传 类型 备注
ua_id 943469 Y int 地址标识ID
timestamp 1724329246 Y int 请求时间戳

返回数据

参数 类型 备注
ua_id 整数 地址ID

获取提币地址列表


{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": [{
        "ua_id": 569, //地址标识ID
        "user_id": 10000007707, //平台用户ID
        "client_user_id": "123456", //客户端用户ID
        "item_id": 10007, //币种ID
        "address": "0x1071fdff6aa32e2cfe9fbb3ce68ff4013abc9bc3",//地址
        "qrcode_url": "",//不再进行维护
        "chain_tag": "erc20", //链名称
        "remark": "三方用户提币地址" //地址备注 
    },
      {
        "ua_id": 568,
        "user_id": 10000007707,
        "client_user_id": "123456",
        "item_id": 10007,
        "address": "0x1071fdff6aa32e2cfe9fbb3ce68ff4013abc9bc3",
        "qrcode_url": "",//不再进行维护
        "chain_tag": "erc20",
        "remark": "三方用户提币地址"
      }
    ],
    "seconds": 1634061549,
    "microtime": 1634061549422
}

POST /withdraw/address/list

请求参数

参数 取值 必传 类型 备注
item_id 10007 N int 币种ID 例如:10007
chain_tag trc20 N string 链名称 例如 trc20

返回数据

参数 类型 备注
ua_id 整数 地址ID
user_id 整数 用户UID
client_user_id 字符串 客户端用户ID
item_id 整数 币种ID
address 字符串 地址
chain_tag 字符串 链名
remark 字符串 地址备注

添加提币地址列表

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "user_id": 10000007707,//平台用户ID
        "client_user_id": "123456", //客户端用户ID
        "item_id": 10007, //币种ID
        "address": "0x1071fdff6aa32e2cfe9fbb3ce68ff4013abc9bc3", //地址
        "chain_tag": "erc20", //链名称
        "remark": "三方用户提币地址", //地址备注
        "status": 1, //状态 1正常
        "create_ip": "127.0.0.1", //创建IP
        "create_time": 1634060727, //创建时间
        "ua_id": 567 //标识ID
    },
    "seconds": 1634060727,
    "microtime": 1634060727414
}

POST /withdraw/address/create

请求参数

参数 取值 必传 类型 备注
item_id 10007 Y int 币种ID 例如:10007
chain_tag trc20 N string 链名称 例如 trc20
address Xxxxxxxx Y string 用户提币地址
remark xxx Y string 用户提币地址备注, 不可重复

返回数据

参数 类型 备注
ua_id 整数 地址ID
user_id 整数 用户UID
client_user_id 字符串 客户端用户ID
item_id 整数 币种ID
address 字符串 地址
chain_tag 字符串 链名
remark 字符串 地址备注
status 整数 状态, 1-正常
create_time 整数 创建时间

删除提币地址列表

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "ua_id": 568 //所删除地址ID
    },
    "seconds": 1634061126,
    "microtime": 1634061126854
}

POST /withdraw/address/del

请求参数

参数 取值 必传 类型 备注
ua_id 1111 Y int 地址标识ID

返回数据

参数 类型 备注
ua_id 整数 所删除地址ID

验证地址


{
  "status": 200,
  "source": "API",
  "msg": "OK",
  "data": {
    "type": 0 //0 为外部地址, 1 为内部地址
  },
  "seconds": 1636980796,
  "microtime": 1636980796181
}

POST /withdraw/address/check

请求参数

参数 取值 必传 类型 备注
address Xxxxxxxx Y int 检测地址地址
timestamp 1724329246 Y int 请求时间戳

返回数据

参数 类型 备注
type 整数 0 为外部地址, 1 为内部地址

提币


{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "client_user_id": "117690", //客户端用户ID
        "user_id": 1008800, //平台用户ID
        "item_id": 10007, //币种ID
        "type": 2,//类型 1充值 2提币
        "exchange_type": 2, //地址类型 1内部地址 2外部地址
        "chain_tag": "trc20",// 链名称
        "to_address": "TWnHbvx8aUjpKBKPAU3VMb31TnkZiJxSNs", //目标地址
        "from_address": "TEUXymWdKdPoEm1qemPeCDvtp2z3nkPevt", //来源地址
        "txid": "", //交易hash
        "num": "47.00", //数量
        "network_fee": "1.00", //网络费用
        "status": "waiting", //状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成  faild失败 in_review充币到V1地址待入账
        "coin_out_status": 1, //提币审核 0待审核中 1可提币 2审核失败
        "remark": "测试转账", //转账备注
        "create_time": 1634110315, //创建时间
        "update_time": 1634110315, //状态变更时间
        "uce_id": 119648
    },
    "seconds": 1634110315,
    "microtime": 1634110315448
}

POST /wallet/withdraw

请求参数

参数 取值 必传 类型 备注
address Xxxxxxxx Y string 提币地址
item_id 10007 N int 币种ID 例如:10007
amount 100 Y float 提币金额
trade_pwd e10adc3949ba59abbe56e057f20f883e Y string 交易密码 md5之后的32位密钥串
chain_tag trc20 Y string 链名称 例如 trc20

返回数据

参数 类型 备注
client_user_id 整数 客户端用户ID
user_id 整数 用户UID
item_id 整数 币种ID
type 整数 类型 1充值 2提币
exchange_type 整数 地址类型 1内部地址 2外部地址
chain_tag 字符串 链名称
to_address 字符串 收款地址
from_address 字符串 发送地址
txid 字符串 交易hash
num 浮点数 数量
network_fee 浮点数 手续费
status 整数 状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成 faild失败 in_review充币到V1地址待入账
coin_out_status 整数 提币审核状态 0待审核中 1可提币 2审核失败
remark 字符串 转账备注
create_time 整数 创建时间
update_time 整数 更新时间
uce_id 整数 提币订单ID

获取充提币记录列表

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": [{
        "chain_tag": "",//链名称
        "from_address": "0xe2de2ae4aa64bcc85ef159356ead8aad87f8c28b", //来源地址
        "to_address": "0x044eefb0d6d97a87a381b60800e084c712c6ea11", //转出地址
        "confirm": 0, //确认数
        "coin_out_status": 0, //审核状态 0 未审核 1已审核
        "num": "55.0000000000", //数量
        "txid": "", //交易hash
        "status": "success", //状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成  faild失败 in_review充币到V1地址待入账
        "item_id": 10007, //币种ID
        "type": 1, // 1充值 2提币
        "user_id": 10000007707, //平台用户ID
        "create_time": 1575130609, //创建时间
        "exchange_type": 1, //类型1内部地址2外部地址
        "remark": "", //备注
        "network_fee": "0.0000000000", //网络费用
        "risk_coin_status": 1,  //冻结状态:1未冻结 2冻结中
        "risk_level": 1  //风控等级 1 2 3 4严重
    }],
    "seconds": 1634068932,
    "microtime": 1634068932808
}

POST /depositwithdraw/list

请求参数

参数 取值 必传 类型 备注
type 1 N int 1 充币 2提币
item_id 10007 N int 币种ID 例如:10007
limit 100 N int 查询条数,默认返回200条
start_time 1724329246 N int 查询起始10位时间戳
end_time 1728086640 N int 查询结束10位时间戳

返回数据

参数 类型 备注
chain_tag 字符串 链名称
from_address 字符串 发送地址
to_address 字符串 收款地址
confirm 整数 确认数
coin_out_status 整数 审核状态 0 未审核 1已审核
num 浮点数 数量
txid 字符串 交易hash
status 整数 状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成 faild失败 in_review充币到V1地址待入账
item_id 整数 币种ID
type 整数 类型 1充值 2提币
user_id 整数 平台用户UID
create_time 整数 创建时间
exchange_type 整数 类型1内部地址2外部地址
remark 字符串 转账备注
network_fee 浮点数 手续费
risk_coin_status 整数 冻结状态:1未冻结 2冻结中
risk_level 整数 风控等级 1低 2中 3高 4严重
exchange_id 整数 充提币订单ID

获取充提详情

{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "chain_tag": "",//链名称
        "from_address": "0xe2de2ae4aa64bcc85ef159356ead8aad87f8c28b", //来源地址
        "to_address": "0x044eefb0d6d97a87a381b60800e084c712c6ea11", //转出地址
        "confirm": 0, //确认数
        "coin_out_status": 0, //审核状态 0 未审核 1已审核
        "num": "55.0000000000", //数量
        "txid": "", //交易hash
        "status": "success", //状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成  faild失败 in_review充币到V1地址待入账
        "item_id": 10007, //币种ID
        "type": 1, // 1充值 2提币
        "user_id": 10000007707, //平台用户ID
        "create_time": 1575130609, //创建时间
        "exchange_type": 1, //类型1内部地址2外部地址
        "remark": "", //备注
        "network_fee": "0.0000000000", //网络费用
        "risk_coin_status": 1,  //冻结状态:1未冻结 2冻结中
        "risk_level": 1  //风控等级 1 2 3 4严重
    },
    "seconds": 1634068932,
    "microtime": 1634068932808
}

POST /depositwithdraw/info

请求参数

参数 取值 必传 类型 备注
exchange_id 389404 N int 平台提币订单ID 与remark参数必须选传一个
remark Xxxxx N int 提币备注 与exchange_id参数必须选传一个

返回数据

参数 类型 备注
chain_tag 字符串 链名称
from_address 字符串 发送地址
to_address 字符串 收款地址
confirm 整数 确认数
coin_out_status 整数 审核状态 0 未审核 1已审核
num 浮点数 数量
txid 字符串 交易hash
status 整数 状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成 faild失败 in_review充币到V1地址待入账
item_id 整数 币种ID
type 整数 类型 1充值 2提币
user_id 整数 平台用户UID
create_time 整数 创建时间
exchange_type 整数 类型1内部地址2外部地址
remark 字符串 转账备注
network_fee 浮点数 手续费
risk_coin_status 整数 冻结状态:1未冻结 2冻结中
risk_level 整数 风控等级 1低 2中 3高 4严重
exchange_id 整数 充提币订单ID

获取风控记录

{
  "status": 200,
  "source": "API",
  "msg": "OK",
  "data": {
    "list": [{
      "user_id": 10000007849, //用户UID
      "item_id": 10007, //币种ID
      "chain_tag": "trc20", //链名
      "from_address": "TFK3DFMVicJiExnFJ1143akmA92zz7uWYN", //from地址
      "address": "TVqLBRdk3mDEusMXrrUCbNRMNhKDBRQt8B",  //接收地址
      "txid": "6418778544c290e61b8919c6baad283838087655de43b96003bd1ca0ae2cf4ef", //txid
      "num": "13.4500000000", //数量
      "risk_level": 4,  //风控等级,1 2 3 4严重
      "create_time": 1683615961,  //创建时间
      "exchange_id": 494832 //记录ID
    }],
    "pageInfo": {
      "pageCurrent": 1,
      "pageCount": 1,
      "pageSize": 200,
      "pageTotal": 1
    }
  },
  "seconds": 1695867527,
  "microtime": 1695867527384,
  "unique_id": "6514e28744a41536559859",
  "host": "localhost"
}

POST /aml/list

请求参数

参数 取值 必传 类型 备注
address Xxxxxxxx Y string from地址
limit 100 N int 查询记录数
start_time 1728080640 N int 查询起始10位时间戳
end_time 1728086640 N int 查询结束10位时间戳

返回数据

参数 类型 备注
user_id 整数 用户UID
item_id 整数 币种ID
chain_tag 字符串 链名
from_address 字符串 发送地址
address 字符串 收款地址
txid 字符串 交易hash
num 浮点数 数量
risk_level 整数 风控等级,1低 2中 3高 4严重
create_time 整数 创建时间
exchange_id 整数 风控订单ID

风控记录资产同链转出


{
    "status": 200,
    "source": "API",
    "msg": "OK",
    "data": {
        "client_user_id": "117690", //客户端用户ID
        "user_id": 1008800, //平台用户ID
        "item_id": 10007, //币种ID
        "type": 2,//类型 1充值 2提币
        "exchange_type": 2, //地址类型 1内部地址 2外部地址
        "chain_tag": "trc20",// 链名称
        "to_address": "TWnHbvx8aUjpKBKPAU3VMb31TnkZiJxSNs", //目标地址
        "from_address": "TEUXymWdKdPoEm1qemPeCDvtp2z3nkPevt", //来源地址
        "txid": "", //交易hash
        "num": "47.00", //数量
        "network_fee": "1.00", //网络费用
        "status": "waiting", //状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成  faild失败 in_review充币到V1地址待入账
        "coin_out_status": 1, //提币审核 0待审核中 1可提币 2审核失败
        "remark": "测试转账", //转账备注
        "create_time": 1634110315, //创建时间
        "update_time": 1634110315, //状态变更时间
        "exchange_id": 119648
    },
    "seconds": 1634110315,
    "microtime": 1634110315448
}

POST /wallet/withdrawAml

请求参数

参数 取值 必传 类型 备注
exchange_id 389404 Y Int 风控记录ID,getAmlExchangeList接口返回的exchange_id
address Xxxxxxxx Y String 提币目标地址
trade_pwd e10adc3949ba59abbe56e057f20f883e Y string 交易密码 md5之后的32位密钥串
remark Xxx N string 提币备注

返回数据

参数 类型 备注
client_user_id 整数 客户端用户ID
user_id 整数 平台用户ID
item_id 字符串 币种ID
type 字符串 类型 1充值 2提币
exchange_type 字符串 地址类型 1内部地址 2外部地址
chain_tag 字符串 链名称
to_address 浮点数 收款地址
from_address 整数 发送地址
txid 整数 交易hash
num 整数 数量
network_fee 整数 手续费
status 整数 状态 waiting打包中 pending发送中 confirming确认中 cantrade可交易 success已完成 faild失败 in_review充币到V1地址待入账
coin_out_status 整数 提币审核 0待审核中 1可提币 2审核失败
remark 整数 转账备注
create_time 整数 创建时间
update_time 整数 更新时间
exchange_id 整数 提币订单ID

地址检测

{
  "status": 200,
  "source": [
    13
  ],
  "error_level": 1,
  "extend": "",
  "msg": "ok",
  "data": true,
  "microtime": 1748600244269,
  "unique_id": "683985b440bb31555249765",
  "host": "172.1.0.1"
}

请求参数

参数 取值 必传 类型 备注
item_id 10007 整数 币种ID
chain_tag trc20 字符串 trc20
address 具体地址 字符串 address

返回结构

获取地址检测结果

{
    "status": 200,
    "source": [
        13
    ],
    "error_level": 1,
    "extend": "",
    "msg": "ok",
    "data": {
        "company_id": 2,
        "risk_level": "Low",
        "aml_check_type": 2,
        "score": 0,
        "detail_list": "",
        "score_detail_list": "{\"score\":0,\"risk_level\":\"Low\",\"label_list\":\"\",\"hacking_event\":\"\",\"detail_list\":\"\"}",
        "hacking_event": "",
        "payment_total": "0.0000000000",
        "address_create_time": 0,
        "old_risk_level": "",
        "old_score": 0,
        "company_list": [
            {
                "company_id": 2, 
                "risk_level": "Low",
                "aml_check_type": 2,
                "score": 0,
                "detail_list": "",
                "score_detail_list": "{\"score\":0,\"risk_level\":\"Low\",\"label_list\":\"\",\"hacking_event\":\"\",\"detail_list\":\"\"}",
                "hacking_event": "",
                "payment_total": "0.0000000000",
                "address_create_time": 0,
                "old_risk_level": "",
                "old_score": 0,
                "company_name": "chainalysis"
            },
            {
                "company_id": 4,
                "risk_level": "Low",
                "aml_check_type": 2,
                "score": 0,
                "detail_list": "",
                "score_detail_list": "",
                "hacking_event": "",
                "payment_total": "0.0000000000",
                "address_create_time": 0,
                "old_risk_level": "",
                "old_score": 0,
                "company_name": "elliptic"
            }
        ],
        "address_info": []
    },
    "microtime": 1748600536176,
    "unique_id": "683986d827d8778868130",
    "host": "172.31.0.12"
}

请求参数

参数 取值 必传 类型 备注
item_id 10007 整数 币种ID
chain_tag trc20 字符串 trc20
address 具体地址 字符串 address

返回结构

参数 示例值 说明/备注
company_list 厂商信息
risk_level Low 风险等级: Low 低 Moderate 中 High 高 Severe 严重
aml_check_type 1 1 交易检测 2地址检测
score 0-100 风险评分
detail_list 管控原因
score_detail_list 评分详细
address_create_time 0 地址创建时间
company_id 1 AML厂商
risk_level Low 风险等级
company_name elliptic 厂商名称

充提回调

{
    "exchange_id": 632693949,
    "status": "success",
    "item_id": 10007,
    "chain_tag": "trc20",
    "num": "5.00000000",
    "exchange_type": 1,
    "type": 2,
    "from_address": "TT9HZBpLqqXE9VKbLCA8A8CVLKmoehrLBi",
    "to_address": "TDjziKSo1Z7vY3m4Hymz3GoBy2yTh2CKWD",
    "txid": "",
    "user_id": 10100016246,
    "m_user_id": "test_5",
    "risk_level": 1,
    "remark": "teeeee",
    "notify_time": 1756448454,
    "api_key": "qu684051fadf3e4-SSSScNDEDkxcDxRJNJD-MX684051fadf3f7-4K684051fadf3f8",
    "timestamp": 1756448454,
    "sign": "9dc1308eb48137a2cd545d4949c074efc1f53cb287dcdbae26cd553b77195f3c9b0541e3a960dea7aab7c9b709ffdb5cec3a81362831e1324f4fab31521b5211"
}

提供充提回调通知地址给运营人员后台配置。 回调请求方式为postjson

通知请求参数

参数 取值 类型 备注
exchange_id 1111 int 订单ID
status success string 状态:success-成功,faild-失败
item_id 10007 int 币种ID
chain_tag trc20 string 链名
num 5.00 number 数量
exchange_type 1 int 类型:1内部地址,2外部地址
type 2 int 类型:1充币,2提币
from_address xxxx string 发送地址
to_address xxxx string 收款地址
txid xxxx string 交易hash
user_id 1111 int 用户UID
m_user_id test_5 string 三方用户ID
risk_level 1 int 风控等级 1低 2中 3高 4严重
remark test string 订单备注

返回内容

回调成功,需返回状态码200

{ "status":200 }