Skip to main content

Check transfer

Performs a manual AML/KYT check of a single blockchain transfer identified by transaction hash and direction.

Use this endpoint when you already know the on-chain transaction hash and want to evaluate the transfer for AML risk.


HTTP Request​

POST /v1/manual-checks/check-transfer/


Request body​

The request must specify the network, transaction hash, analysed side of the transfer, and optional token / risk model.

{
"network": "string",
"token_id": "string | null",
"tx_hash": "string",
"output_address": "string",
"direction": "string",
"risk_model": "string | null"
}

Field descriptions​

FieldTypeRequiredDescription
networkstringYesBlockchain network code (e.g. ETH, BTC, TRX).
token_idstring or nullNoToken contract address, or "native" for the chain’s native asset.
tx_hashstringYesTransaction hash of the transfer to check.
output_addressstringYesAddress considered as the client side of this transfer (recipient for incoming, sender for outgoing).
directionstringYesDirection of the transfer relative to output_address: incoming or outgoing.
risk_modelstring or nullNoCustom risk model ID to apply. If omitted, the default model is used.

Example request​

{
"network": "ETH",
"token_id": "native",
"tx_hash": "0xd74f7e2a5081eb82c1d0a4fbd1859f23bed5fab8280f0aaf9e987019acc973a1",
"output_address": "0x2A6Ced4B10769147824A36e3D646eDA222E50f2A",
"direction": "incoming"
}

Response​

Returns a manual check object with current status and risk data for the transfer.

Manual check object​

FieldTypeDescription
idstringID of the manual check.
created_atstring (ISO8601)When the check was created.
check_typestringType of check (e.g. deposit, withdrawal).
check_statusstringStatus of the check: checking, checked.
checked_atstring or nullWhen the check was finished (if completed).
transferobject or nullTransfer details (network, token, tx hash, addresses, amount, fiat value). Present for transfer checks.
addressobject or nullAddress details (used for address-only checks). null for transfer checks.
risk_levelstringAML risk level: severe, high, medium, low, none, undefined.
risk_scorenumber or nullNumerical risk score.
fiat_currencystringFiat currency code used in risk calculations (USD).

Example response​

{
"id": "dda28996-5aac-4e6c-9844-e4e658b466ca",
"created_at": "2025-11-27T16:46:56.687761+03:00",
"check_type": "deposit",
"check_status": "checking",
"checked_at": null,
"transfer": {
"network": "ETH",
"token_id": "native",
"token_symbol": "ETH",
"tx_status": "bound",
"tx_hash": "0xd74f7e2a5081eb82c1d0a4fbd1859f23bed5fab8280f0aaf9e987019acc973a1",
"occurred_at": "2024-02-29T19:24:59+03:00",
"input_address": "0x98f79674d5f2f777d44e253bfaf905d7491e8cef",
"output_address": "0x2a6ced4b10769147824a36e3d646eda222e50f2a",
"direction": "incoming",
"amount": 7.2181350653139,
"value_in_fiat": 24403.099580450544
},
"address": null,
"risk_level": "undefined",
"risk_score": null,
"fiat_currency": "USD"
}

Status codes​

CodeDescription
200 OKManual transfer check created successfully. The check object is returned.
400 Bad RequestRequest body validation failed, the transaction could not be located on-chain, or no checks are available on the current tariff plan. See Errors below.
401 UnauthorizedAuthentication failed: one or more of the API-KEY-ID, API-TIMESTAMP, or API-SIGNATURE headers are missing or invalid, the request signature could not be verified, or the client IP is not in the allow-list configured for the API key.

Errors​

When the request is invalid the API returns HTTP 400 with a JSON object whose keys are the affected field names (or detail for plan-level errors).

FieldError messageWhen it occurs
networkThis field is required.network is missing.
networkNetwork not supportedThe provided network code is not supported by BitOK KYT.
tx_hashThis field is required.tx_hash is missing.
tx_hashTransaction not found.The transaction with the given hash could not be located on the network.
output_addressThis field is required.output_address is missing.
output_addressTransfer not found.A matching transfer was not found inside the transaction for the given output_address / direction.
directionThis field is required.direction is missing. Must be incoming or outgoing.
token_idToken not foundThe token with the given token_id is not known for the network.
token_idAsset not supported.The asset transferred in the transaction is not supported for KYT checks.
tokenNetwork not supported.The asset's network is not supported by the AML provider configured for the account (raised at the service layer after the transaction was located on-chain).
risk_modelRisk model not foundThe provided risk_model ID does not exist for the account.
detailNo checks availableThe account has no remaining checks on the current tariff plan.

Example error response:

{
"tx_hash": "Transaction not found"
}

Try it​

POST/v1/manual-checks/check-transfer/
API KEY ID
API KEY SECRET
Body (JSON)
HTTP Request
Press "Send Request" to generate HTTP request.
HTTP …
{
// Response will be shown here after the request.
}