创建检查请求
post https://api.cryptomus.com/v2/user-api/aml/check/request 复制
要求
请求参数
| 姓名 | 参数类型 | 定义 |
|---|---|---|
| currency_code* | string | 货币代码(BTC、ETH、BNB等) |
| network_code* | string | 网络(btc、bsc、tron) |
| address | string | 钱包地址(如果检查地址) |
| txid | string | 交易 ID(如果检查交易) |
参数类型
string定义
货币代码(BTC、ETH、BNB等)参数类型
string定义
网络(btc、bsc、tron)参数类型
string定义
钱包地址(如果检查地址)参数类型
string定义
交易 ID(如果检查交易)
* - 强制性参数
* - 传递地址或交易号 (txid)。至少需要一个。
请求示例
curl https://api.cryptomus.com/v2/user-api/aml/check/request \
-X POST \
-H 'userId: 8b03432e-385b-4670-8d06-064591096795' \
-H 'sign: fe99035f86fa436181717b302b95bacff1' \
-H 'Content-Type: application/json' \
-d '{"network_code":"tron","currency_code":"USDT","address":"..."}'
复制回复
响应参数
| 姓名 | 参数类型 | 定义 |
|---|---|---|
| id | integer | 唯一请求标识符 |
参数类型
integer定义
唯一请求标识符
响应示例
1{
2 "state": 0,
3 "result": {
4 "id": 123
5 }
6}复制