Remove a risk address
const url = 'https://pay.example.com/v1/risk/addresses/example';const options = {method: 'DELETE', 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 DELETE \ --url https://pay.example.com/v1/risk/addresses/example \ --header 'Authorization: Bearer <token>'Removes the address’s entries from the merchant’s list (or the named list list): every chain scope, or
the one chain_id names (all: the entry for all chains). Imported sources (OFAC, URL feeds) are not
removable here: their next import refreshes them. A test key removes only entries on testnet chains (a
chain_id other than a testnet answers 403 testnet_only). Audited as api:<key name>. Requires
risk:write.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Any case.
Query Parameters
Section titled “Query Parameters”A chain id, or all for the all-chain entry. Absent — every chain scope.
A named list instead of the merchant’s list.
Responses
Section titled “Responses”The removed 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.
Example
{ "data": [ { "source": "manual", "category": "sanctions", "level": "block" } ]}invalid_request with params.field: address, chain_id (not an id or all), list.
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; testnet_only: a test key writing an entry not scoped to a testnet chain
(params: chain_id, testnets).
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" }}not_found (params.what: order, subscription, entry): unknown, or another mode’s.
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": "not_found" }}entry_not_removable: the address is listed only by imported sources (params.sources, e.g.
["ofac"]). list_is_feed (params.list).
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": "entry_not_removable" }}