Skip to main content
POST
/
v0
/
exchange
/
order
/
scan
Scan Order
curl --request POST \
  --url https://api.blockaid.io/v0/exchange/order/scan \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "order_id": "<string>",
  "onchain_transaction": {
    "amount": 123,
    "asset": "<string>",
    "chain": "ethereum",
    "to_address": "<string>"
  },
  "merchant": {
    "merchant_id": "<string>",
    "referrer_url": "<string>",
    "merchant_name": "<string>"
  },
  "payment": {
    "payment_method": "credit_card",
    "currency": "<string>"
  },
  "account": {
    "account_id": "<string>",
    "account_creation_timestamp": "2023-11-07T05:31:56Z",
    "user_age": 123,
    "user_country_code": "US"
  },
  "event_time": "2023-11-07T05:31:56Z",
  "connection_metadata": {
    "user_agent": "<string>",
    "customer_ip": "<string>"
  }
}
'
{
  "risk_level": "low",
  "description": "<string>",
  "reason": "<string>",
  "labels": []
}

Authorizations

X-API-Key
string
header
required

Body

application/json
order_id
string
required
onchain_transaction
object
required
merchant
object
required
account
object
required
event_time
string<date-time>
required
payment
object
connection_metadata
object

Response

Successful Response

risk_level
enum<string>
required

An enumeration.

Available options:
low,
medium,
high,
severe
description
string
reason
string
labels
Label · object[]