Create Check Request
post https://api.cryptomus.com/v2/user-api/aml/check/request Copy
Request
Request parameters
| Name | Parameter type | Definition |
|---|---|---|
| currency_code* | string | Currency code (BTC, ETH, BNB, etc.) |
| network_code* | string | Network (btc, bsc, tron) |
| address | string | Wallet address (if checking address) |
| txid | string | Transaction ID (if checking transaction) |
Parameter type
stringDefinition
Currency code (BTC, ETH, BNB, etc.)Parameter type
stringDefinition
Network (btc, bsc, tron)Parameter type
stringDefinition
Wallet address (if checking address)Parameter type
stringDefinition
Transaction ID (if checking transaction)
* - mandatory parameter
* - Pass either address or txid. At least one is required.
Request example
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":"..."}'
CopyResponse
Response parameters
| Name | Parameter type | Definition |
|---|---|---|
| id | integer | Unique request identifier |
Parameter type
integerDefinition
Unique request identifier
Response example
1{
2 "state": 0,
3 "result": {
4 "id": 123
5 }
6}Copy