Skip to main content
POST
Update Address Book

Authorizations

x-auth-token
string
header
required

The API token for login provided by UQPay.

Headers

x-on-behalf-of
string

Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.

x-idempotency-key
string<uuid>

A unique identifier (UUID) used to maintain operation idempotency, ensuring that repeated executions of the same operation do not result in unintended effects or duplication. It helps preserve data consistency in the face of network errors, retries, or failures.

Body

application/json
address_id
string<uuid>
required

Address entry ID to update

Example:

"72612f65-6026-4cd0-b184-6c48f4850590"

is_whitelist
integer

Whether the address is whitelisted (0: No, 1: Yes)

Example:

1

address_label
string

Address label/name

Example:

"My USDT Wallet"

meta_data
object

Travel Rule data to add or edit for this address. Stored as the address's travel_rule_data.

Response

200 - application/json

Address book entry updated successfully

code
integer
required
Example:

200

message
string
required
Example:

"success"

data
object
required