Updates beneficiary information for an address in the address book. This method allows you to add or modify beneficiary details required for compliance purposes when making withdrawals to certain addresses.
Coinbase wallet type
For Coinbase wallet type accounts the method behaves differently:
- Required parameters are currency (portfolio currencies or "all") and type, plus one of address or id (the entry identifier returned by private/get_address_book). Use network and tag together with address to disambiguate entries sharing the same address.
- type accepts only withdrawal and transfer.
- label is optional.
- Travel rule data is provided with the fields name, country, address, financial_institution, account, account_location, entity_type (organization or individual), wallet_type (exchange or self_hosted) and is_self instead of the legacy beneficiary_*, agreed and personal fields.
- The response contains the updated Coinbase address book entry object instead of "ok".
📖 Related Article: Managing Withdrawals
Scope: wallet:read_write
Request
- Base URLhttps://test.deribit.com/api/v2
- URLhttps://test.deribit.com/api/v2/private/update_in_address_book
- Authnone declared
Query parameters
Currency, i.e "BTC", "ETH", "USDC"
The currency symbol. Legacy wallet type: wallet currencies only. Coinbase wallet type: any portfolio currency or "all".
Address book type
Address book type. Legacy wallet type: withdrawal, transfer or deposit_source. Coinbase wallet type: withdrawal or transfer only.
Address in proper format for currency
Address in currency format, it must be in address book. Required for legacy wallet type. Coinbase wallet type: required when id is not provided; use network and tag to disambiguate entries sharing the same address. For Coinbase wallet type the same value is also stored as the beneficiary address travel rule field.
Blockchain network for the wallet operation, given as a network resource name (e.g. "networks/ethereum-mainnet"). Coinbase wallet type only. The networks available for each currency are returned by public/get_currencies in the coinbase_networks field. Required for operations that target an on-chain address or a deposit address; also used to disambiguate address book entries when the same address exists on multiple networks.
Destination tag / memo for networks that support one. Coinbase wallet type only. Used together with address and network; also serves to disambiguate address book entries that share the same address.
Unique identifier (UUID7) of the address book entry, as returned in the id field of private/get_address_book results. Coinbase wallet type only. Can be used instead of address (with network and tag) to identify the entry.
Label of the address book entry
Label of the address book entry. Required for legacy wallet type; optional for Coinbase wallet type.
Name of beneficiary VASP
Name of beneficiary VASP. Legacy wallet type only.
DID of beneficiary VASP
DID of beneficiary VASP. Legacy wallet type only.
Website of the beneficiary VASP
Website of the beneficiary VASP. Required if the address book entry is associated with a VASP that is not included in the list of known VASPs
First name of the beneficiary (if beneficiary is a person)
First name of beneficiary (if beneficiary is a person)
Last name of the beneficiary (if beneficiary is a person)
First name of beneficiary (if beneficiary is a person)
Company name of the beneficiary (if beneficiary is a company)
Beneficiary company name (if beneficiary is a company)
Geographical address of the beneficiary
Geographical address of the beneficiary. Legacy wallet type only.
Indicates that the user agreed to shared provided information with 3rd parties
Indicates that the user agreed to shared provided information with 3rd parties. Legacy wallet type only.
The user confirms that he provided address belongs to him and he has access to it via an un-hosted wallet software
The user confirms that he provided address belongs to him and he has access to it via an un-hosted wallet software. Legacy wallet type only.
Full name of the beneficiary (person or organization). Coinbase wallet type only — travel rule data.
Country code of the beneficiary (ISO 3166-1 alpha-2). Coinbase wallet type only — travel rule data.
Name of the financial institution holding the beneficiary account. Coinbase wallet type only — travel rule data.
Account identifier of the beneficiary at the financial institution. Coinbase wallet type only — travel rule data.
Location of the beneficiary account. Coinbase wallet type only — travel rule data.
Type of the beneficiary entity. Coinbase wallet type only — travel rule data.
Type of the beneficiary wallet. Coinbase wallet type only — travel rule data.
Indicates that the beneficiary is the account owner. Coinbase wallet type only — travel rule data.
Response
Success response
Example response
{
"result": "ok"
}Changes
- breaking
removed the enum value
BNBfrom thequeryrequest parametercurrency - breaking
removed the enum value
ETHWfrom thequeryrequest parametercurrency - breaking
removed the enum value
PAXGfrom thequeryrequest parametercurrency - breaking
removed the enum value
SOLfrom thequeryrequest parametercurrency - breaking
removed the enum value
STETHfrom thequeryrequest parametercurrency - breaking
removed the enum value
USDEfrom thequeryrequest parametercurrency - breaking
removed the enum value
USYCfrom thequeryrequest parametercurrency - breaking
removed the enum value
XRPfrom thequeryrequest parametercurrency - breaking
added
subschema #1to theresponse propertyoneOflist for the response status - breaking
the
response's property type changed fromstringto no type for status - info
added the new optional
queryrequest parameteraccount - info
added the new optional
queryrequest parameteraccount_location - info
added the new optional
queryrequest parametercountry - info
added the new optional
queryrequest parameterentity_type - info
added the new optional
queryrequest parameterfinancial_institution - info
added the new optional
queryrequest parameterid - info
added the new optional
queryrequest parameteris_self - info
added the new optional
queryrequest parametername - info
added the new optional
queryrequest parameternetwork - info
added the new optional
queryrequest parametertag - info
added the new optional
queryrequest parameterwallet_type - info
the
queryrequest parameteraddressbecame optional - info
the
queryrequest parameteragreedbecame optional - info
the
queryrequest parameterbeneficiary_addressbecame optional - info
the
queryrequest parameterbeneficiary_vasp_didbecame optional - info
the
queryrequest parameterbeneficiary_vasp_namebecame optional - info
the
queryrequest parameterlabelbecame optional - info
the
queryrequest parameterpersonalbecame optional
- breaking