Skip to main content
POST
Create 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_label
string
required

Address label/name

Example:

"My USDT Wallet"

network
string
required

Network code

Example:

"ETH"

currency
string
required

Currency code

Example:

"USDT"

address_type
integer
required

Address type (1000: Exchange, 2000: Personal Wallet)

Example:

2000

wallet_address
string
required

Wallet address

Example:

"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb"

address_type=1000: I_CERTIFY_BENEFICIAL_OWNERSHIP_OF_EXCHANGE_ACCOUNT; address_type=2000: I_CERTIFY_THIS_ADDRESS_IS_MINE

Available options:
I_CERTIFY_BENEFICIAL_OWNERSHIP_OF_EXCHANGE_ACCOUNT,
I_CERTIFY_THIS_ADDRESS_IS_MINE
address_source
string

Address source (required if address_type=1000)

Example:

"manual"

is_whitelist
integer

Whether to add this address to the whitelist (0: No, 1: Yes)

Example:

0

meta_data
object

Travel Rule data for the destination address. Provide it when the address belongs to a third party, is a hosted (exchange) wallet, or will be used as a Binance withdrawal destination. Once provided, the fields below are validated and stored.

Response

200 - application/json

Address book entry created successfully

code
integer
required
Example:

200

message
string
required
Example:

"success"

data
object
required