Create Check Request

post https://api.cryptomus.com/v2/user-api/aml/check/request Copy

Request

Request parameters

NameParameter typeDefinition
currency_code*stringCurrency code (BTC, ETH, BNB, etc.)
network_code*stringNetwork (btc, bsc, tron)
addressstringWallet address (if checking address)
txidstringTransaction ID (if checking transaction)

Parameter type

string

Definition

Currency code (BTC, ETH, BNB, etc.)

Parameter type

string

Definition

Network (btc, bsc, tron)

Parameter type

string

Definition

Wallet address (if checking address)

Parameter type

string

Definition

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":"..."}'
Copy

Response

Response parameters

NameParameter typeDefinition
idintegerUnique request identifier

Parameter type

integer

Definition

Unique request identifier

Response example


1{
2  "state": 0,
3  "result": {
4      "id": 123
5  }
6}
Copy