List risk address entries
const url = 'https://pay.example.com/v1/risk/addresses?level=block&limit=100';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Exact source: manual, ofac, feed:<name> or list:<name>.
Entries of this address (any case; 400 invalid_request, params.field: address, if not one).
Entries scoped to this chain (entries for all chains are left out).
Entries per page; values outside 1-500 are clamped.
The id of the last entry of the previous page (next_after).
Responses
Section titled “Responses”A page of entries
object
object
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).
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).
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).
The chain it applies to; null for all chains.
manual (the merchant’s list), ofac, feed:<name> (a URL feed), list:<name> (a named list).
block refuses the quote; review lets the payment through and flags the order; allow overrides every other source.
Internal note (at most 200 characters); never shown to payers.
after for the next page; null on the last one.
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).
object
object
English, for logs; may change.
Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.
object
object
Example
{ "error": { "code": "invalid_request" }}unauthorized: no Authorization: Bearer header, or an unknown or revoked key.
object
object
English, for logs; may change.
Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.
object
object
Example
{ "error": { "code": "unauthorized" }}insufficient_scope: the key lacks the operation’s scope.
object
object
English, for logs; may change.
Values for a localized message, e.g. {"field": "expires_in", "min": 60, "max": 604800}. Absent when the error has none.
object
object
Example
{ "error": { "code": "insufficient_scope" }}