Skip to content

List risk address entries

GET
/v1/risk/addresses
curl --request GET \
--url 'https://pay.example.com/v1/risk/addresses?level=block&limit=100' \
--header 'Authorization: Bearer <token>'

Entries of every source, newest first: the merchant’s list (manual), the imported OFAC SDN addresses (ofac), URL feeds (feed:<name>) and named lists (list:<name>). Screening merges them: an allow from any source wins, then block, then review. Pass the previous page’s next_after as after to continue. Test keys read the whole list (it is shared by both modes). Requires risk:read.

source
string

Exact source: manual, ofac, feed:<name> or list:<name>.

address
string
/^0[xX][0-9a-fA-F]{40}$/

Entries of this address (any case; 400 invalid_request, params.field: address, if not one).

level
string
Allowed values: block review allow
chain_id
integer

Entries scoped to this chain (entries for all chains are left out).

limit
integer
default: 100 >= 1 <= 500

Entries per page; values outside 1-500 are clamped.

after
string format: uuid

The id of the last entry of the previous page (next_after).

A page of entries

Media typeapplication/json
object
data
required
Array<object>
object
id
required
string format: uuid
address
required
Any of:

In the entry’s chain family’s form (EVM: EIP-55 checksummed; an all-chain entry by its length: 20 bytes EIP-55, 32 bytes Base58).

string
/^0x[0-9a-fA-F]{40}$/
chain_id
required

The chain it applies to; null for all chains.

integer | null
source
required

manual (the merchant’s list), ofac, feed:<name> (a URL feed), list:<name> (a named list).

string
category
required
string | null
Allowed values: sanctions scam hack mixer false_positive other
level
required

block refuses the quote; review lets the payment through and flags the order; allow overrides every other source.

string
Allowed values: block review allow
reason
required

Internal note (at most 200 characters); never shown to payers.

string | null
expires_at
required
string | null format: date-time
created_at
required
string format: date-time
updated_at
required
string format: date-time
has_more
required
boolean
next_after
required

after for the next page; null on the last one.

string | null format: uuid
Example
{
"data": [
{
"source": "manual",
"category": "sanctions",
"level": "block"
}
]
}

invalid_request: a malformed path parameter (params.field) or query string, or an invalid filter value (params.field).

Media typeapplication/json
object
error
required
object
code
required
string
message
required

English, for logs; may change.

string
params

Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.

object
key
additional properties
any
error
required
object
code
Allowed values: invalid_request
Example
{
"error": {
"code": "invalid_request"
}
}

unauthorized: no Authorization: Bearer header, or an unknown or revoked key.

Media typeapplication/json
object
error
required
object
code
required
string
message
required

English, for logs; may change.

string
params

Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.

object
key
additional properties
any
error
required
object
code
Allowed values: unauthorized
Example
{
"error": {
"code": "unauthorized"
}
}

insufficient_scope: the key lacks the operation’s scope.

Media typeapplication/json
object
error
required
object
code
required
string
message
required

English, for logs; may change.

string
params

Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.

object
key
additional properties
any
error
required
object
code
Allowed values: insufficient_scope
Example
{
"error": {
"code": "insufficient_scope"
}
}