Skip to content

Remove a risk address

DELETE
/v1/risk/addresses/{address}
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.

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

Any case.

chain_id
string

A chain id, or all for the all-chain entry. Absent — every chain scope.

list
string

A named list instead of the merchant’s list.

The removed entries

Media typeapplication/json
object
deleted
required
integer
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
Example
{
"data": [
{
"source": "manual",
"category": "sanctions",
"level": "block"
}
]
}

invalid_request with params.field: address, chain_id (not an id or all), list.

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; testnet_only: a test key writing an entry not scoped to a testnet chain (params: chain_id, testnets).

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 testnet_only
Example
{
"error": {
"code": "insufficient_scope"
}
}

not_found (params.what: order, subscription, entry): unknown, or another mode’s.

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: not_found
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).

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: entry_not_removable list_is_feed
Example
{
"error": {
"code": "entry_not_removable"
}
}