> For the complete documentation index, see [llms.txt](https://docs.aquanow.io/aquanow/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aquanow.io/aquanow/api-endpoints-or-v2.0/funding-api/address-book/manage-crypto-addresses.md). Agents can also search and read this documentation through its [MCP server](https://docs.aquanow.io/aquanow/~gitbook/mcp).

# Manage Crypto Addresses

Add, view and remove withdrawal addresses. If enabled, add, view, and remove source addresses so only funds originating from them are credited to your account.

### Headers

All requests will require the following headers

| Name          | Type   | Description                                       |
| ------------- | ------ | ------------------------------------------------- |
| x-api-key\*   | String | <p><code>{{x-api-key}}</code><br>API Auth Key</p> |
| x-signature\* | String | Signature created using your API secret           |
| x-nonce\*     | String | Timestamp in millisecond                          |

### Add Crypto Address

Add a crypto address to your address book. This endpoint is used for adding the client's withdrawal address.

If enabled for the feature, it can also be used to add a source address (the origin address from where the funds are coming from). When a source address is designated, only funds originating from that specific address will be credited to the client.

Identify the beneficiary either by referencing an existing beneficiary (`kycDetails.beneficiaryId`) or by supplying the beneficiary's KYC details in `kycDetails`.&#x20;

**Adding your own address**

To attach a crypto address to yourself rather than a counterparty, supply your own `beneficiaryId` as `kycDetails.beneficiaryId`. Call `GET users/v1/userSetting` to retrieve your account settings — the value returned as `entityId` in that response is your own beneficiary identifier

**Adding a new beneficiary and address in the same request**

If full KYC fields are supplied instead of `kycDetails.beneficiaryId`, a new beneficiary will be created and the crypto address will be attached to it in the same request

**Adding address post beneficiary creation**

To attach a crypto address to a counterparty, use `beneficiaryId` retrieved from `POST users/v2/beneficiaries` . Supply this as `kycDetails.beneficiaryId` \
See Manage Beneficiaries for creating the beneficiary separately

<mark style="color:blue;">`POST`</mark> `https://api.aquanow.io/users/v2/addressBook`

### Payload

<table><thead><tr><th width="225.9296875">Parameter</th><th width="140.05859375">Type</th><th width="113.1796875">Required</th><th>Description</th></tr></thead><tbody><tr><td>currencyType</td><td>String</td><td>Yes</td><td>Must be "crypto"; specifies that this is a crypto address entry</td></tr><tr><td>currency</td><td>String</td><td>No</td><td>Crypto currency (e.g. "BTC"). If omitted, the address applies to all currencies on the network</td></tr><tr><td>networkSymbol</td><td>String</td><td>Yes</td><td>Network identifier for the address</td></tr><tr><td>address</td><td>String</td><td>Yes</td><td>Destination/source address string</td></tr><tr><td>addressTagMemo</td><td>String</td><td>No</td><td>Tag/memo if supported by the network (e.g., destination tag for XRP, memo for XLM)</td></tr><tr><td>externalReferenceId</td><td>String</td><td>No</td><td>Client-defined reference/alias for the saved address</td></tr><tr><td>addressType</td><td>Array</td><td>Yes</td><td>Array of values: "sourceAddress", "withdrawalAddress"</td></tr><tr><td>walletType</td><td>String</td><td>Yes</td><td>One of: "SELF_HOSTED", "VASP", "OTHER_VASP"</td></tr><tr><td>vaspId</td><td>String</td><td>Conditional</td><td>Required if walletType = "VASP". A valid vaspId can be retrieved from the Wallet Types API</td></tr><tr><td>vaspName</td><td>String</td><td>Conditional</td><td>Required if walletType = "OTHER_VASP"</td></tr><tr><td>vaspWebsite</td><td>String</td><td>Conditional</td><td>Required if walletType = "OTHER_VASP"</td></tr><tr><td>beneficiaryType</td><td>String</td><td>Conditional</td><td>"INDIVIDUAL" or "BUSINESS". Required when supplying KYC field</td></tr><tr><td>kycDetails</td><td>Object</td><td>Yes</td><td>Beneficiary identity. Provide either <code>beneficiaryId</code> or the KYC fields below (not both)</td></tr><tr><td>kycDetails.beneficiaryId</td><td>String</td><td>Conditional</td><td>ID of an existing beneficiary. When provided, KYC fields and <code>beneficiaryType</code> are not required</td></tr><tr><td>kycDetails.firstName</td><td>String</td><td>Conditional</td><td>Individual only. Required for INDIVIDUAL KYC</td></tr><tr><td>kycDetails.lastName</td><td>String</td><td>Conditional</td><td>Individual only. Required for INDIVIDUAL KYC</td></tr><tr><td>kycDetails.dateOfBirth</td><td>String</td><td>Conditional</td><td>Individual only, YYYY-MM-DD. Required for INDIVIDUAL KYC</td></tr><tr><td>kycDetails.occupation</td><td>String</td><td>Conditional</td><td>Individual only. Required for INDIVIDUAL KYC</td></tr><tr><td>kycDetails.companyLegalName</td><td>String</td><td>Conditional</td><td>Business only. Required for BUSINESS KYC</td></tr><tr><td>kycDetails.industry</td><td>String</td><td>Conditional</td><td>Business only. Required for BUSINESS KYC</td></tr><tr><td>kycDetails.registrationNumber</td><td>String</td><td>Conditional</td><td>Business only. Required for BUSINESS KYC</td></tr><tr><td>kycDetails.registrationNumberRegion</td><td>String</td><td>Conditional</td><td>Business only. Required for BUSINESS KYC</td></tr><tr><td>kycDetails.registrationNumberCountry</td><td>String</td><td>Conditional</td><td>Business only. Required for BUSINESS KYC</td></tr><tr><td>kycDetails.telephone</td><td>String</td><td>Conditional</td><td>Required for INDIVIDUAL and BUSINESS KYC</td></tr><tr><td>kycDetails.address</td><td>Object</td><td>Conditional</td><td>Beneficiary physical address (addressLine1/2, city, region, postalCode, country). Required with KYC</td></tr></tbody></table>

**Example - Beneficiary**

```json
{
  "currencyType": "crypto",
  "networkSymbol": "SOL",
  "address": "DqCRL4hv2NRpcFrrGQop75L7Jm8AdVJAggQRiGPzaTWi",
  "addressType": [
    "sourceAddress",
    "withdrawalAddress"
  ],
  "walletType": "VASP",
  "vaspId": "0cadf55b-c1c4-44d9-a6cc-92eaac292d4c",
  "kycDetails": {
    "beneficiaryId": "b1e7c3d2-9f4a-4c8b-a1d2-6e5f7a8b9c0d"
  }
}
```

**Example - Individual KYC**

```json
{
  "currencyType": "crypto",
  "networkSymbol": "ETH",
  "address": "0x00b8FE32107A15189eeFc9979D42B4aD5E2b4B31",
  "addressType": [
    "withdrawalAddress"
  ],
  "walletType": "SELF_HOSTED",
  "beneficiaryType": "INDIVIDUAL",
  "kycDetails": {
    "firstName": "John",
    "lastName": "Doe",
    "dateOfBirth": "1990-05-14",
    "occupation": "Software Engineer",
    "telephone": "+1-202-555-0134",
    "address": {
      "addressLine1": "123 Main Street",
      "city": "New York",
      "region": "NY",
      "postalCode": "10001",
      "country": "US"
    }
  }
}
```

**Response**

{% tabs %}
{% tab title="200: OK" %}

```json
{
  "currency": "ALL",
  "networkSymbol": "SOL",
  "currencyType": "crypto",
  "externalReferenceId": null,
  "addressBookId": "243a527b-bedd-429a-8c24-ab5618ffc137",
  "beneficiaryId": "b1e7c3d2-9f4a-4c8b-a1d2-6e5f7a8b9c0d",
  "addressType": [
    "SOURCE",
    "WITHDRAWAL"
  ],
  "status": "ACTIVE"
}
```

{% endtab %}

{% tab title="400: Bad Request" %}

```json
{
  "message": "Provide either kycDetails.beneficiaryId or KYC fields in kycDetails"
}
```

Or:

```json
{
  "message": "acceptTerms is no longer accepted for crypto address book entries"
}
```

{% endtab %}

{% tab title="401: Unauthorized" %}

```json
{
  "message": "Unauthorized"
}
```

{% endtab %}

{% tab title="404: Not found" %}

```json
{
  "message": "beneficiaryId not found or not owned by sender"
}
```

{% endtab %}
{% endtabs %}

### Delete Crypto Address

Delete a crypto address using the `addressBookId`

<mark style="color:blue;">`DELETE`</mark> `https://api.aquanow.io/users/v2/addressBook/{id}`

**Path Parameters**

| Name | Type   | Description                                       |
| ---- | ------ | ------------------------------------------------- |
| id\* | String | Unique identifier of the crypto address to delete |

**Response**

{% tabs %}
{% tab title="200: OK" %}

```json
{
  "addressBookId": "243a527b-bedd-429a-8c24-ab5618ffc137",
  "beneficiaryId": "b1e7c3d2-9f4a-4c8b-a1d2-6e5f7a8b9c0d",
  "status": "INACTIVE",
  "updatedAt": "2025-11-20T18:46:34.886Z"
}
```

{% endtab %}

{% tab title="401: Unauthorized" %}

```json
{
  "message": "Unauthorized"
}
```

{% endtab %}

{% tab title="404: Not found" %}

```json
{
  "message": "Address with id 243a527b-bedd-429a-8c24-ab5618ffc1378 not found"
}
```

{% endtab %}
{% endtabs %}

### **Get Crypto Addresses**

Fetch a list of addresses matching the query parameters. If `currencyType` is not specified, it fetches both Bank Instructions and Crypto Addresses. Results are **paginated** ; filters are applied **before** pagination.

<mark style="color:blue;">`GET`</mark> `https://api.aquanow.io/users/v2/addressBook`

**Query Parameters**

| Parameter           | Type    | Required | Description                                                                                              |
| ------------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------- |
| currencyType        | String  | optional |                                                                                                          |
| currency            | String  | optional |                                                                                                          |
| networkSymbol       | String  | optional |                                                                                                          |
| address             | String  | optional |                                                                                                          |
| addressTagMemo      | String  | optional |                                                                                                          |
| addressType         | String  | optional |                                                                                                          |
| externalReferenceId | String  | optional |                                                                                                          |
| addressBookId       | String  | optional |                                                                                                          |
| beneficiaryId       | String  | optional |                                                                                                          |
| limit               | Integer | optional | Page size. Default 50, max 150. Must be a positive integer (no decimals or scientific notation).         |
| startsAfter         | String  | optional | Opaque pagination cursor from the previous response's `pagination.startsAfter`. Omit for the first page. |

{% hint style="info" %}
**Pagination**

* `pagination.limit` echoes the applied page size (your requested `limit`, or the default `50`).
* `pagination.startsAfter` is an opaque cursor — pass it back unchanged as `startsAfter` to fetch the next page.
* When there are no more results (including an empty `data`), `pagination.startsAfter` is `""`.
* `pagination.totalCount` is the total number of records matching your query across all pages.
* `pagination.hasNext` is `true` when another page is available (equivalent to a non-empty `startsAfter`).
* `pagination.previousCursor` is an opaque cursor for the previous page — pass it back as `startsAfter`. It is `""` on the first page and on the second page (the previous page is the first page, fetched with an empty `startsAfter`); it becomes a non-empty cursor from the third page onward.
* When more results exist, `data` contains up to `limit` items and `pagination.startsAfter` is non-empty.
* A mixed list (no `currencyType`) returns crypto addresses and fiat instructions paginated as a single collection, sorted deterministically by `addressBookId`.
* A lookup by `addressBookId` returns a list of 0–1 items with `pagination.startsAfter = ""`; `limit`/`startsAfter` are ignored.
  {% endhint %}

**Examples**

Paginated list (first page):

<mark style="color:blue;">`GET`</mark> `https://api.aquanow.io/users/v2/addressBook?currencyType=crypto&limit=50`

{% tabs %}
{% tab title="200: OK" %}

```json
{
  "pagination": {
    "startsAfter": "eyJhZGRyZXNzQm9va0lkIjoiOGI2YTA1NmItOWVkOS00Y2M1LWI4YzUtZWVjNGI5YmVjNjBhIn0=",
    "limit": 50,
    "totalCount": 1854,
    "hasNext": true,
    "previousCursor": ""
  },
  "data": [
    {
      "addressBookId": "243a527b-bedd-429a-8c24-ab5618ffc137",
      "beneficiaryId": "b1e7c3d2-9f4a-4c8b-a1d2-6e5f7a8b9c0d",
      "currency": "ALL",
      "networkSymbol": "SOL",
      "currencyType": "crypto",
      "address": "DqCRL4hv2NRpcFrrGQop75L7Jm8AdVJAggQRiGPzaTWi",
      "addressType": [
        "sourceAddress",
        "withdrawalAddress"
      ],
      "walletType": "VASP",
      "status": "ACTIVE",
      "vaspId": "0cadf55b-c1c4-44d9-a6cc-92eaac292d4c"
    }
  ]
}
```

{% endtab %}

{% tab title="400: Bad Request" %}

```json
{
  "errors": [
    {
      "id": "b3c1e0d2-1111-2222-3333-444455556666",
      "message": "Invalid request parameter: limit must be an integer between 1 and 150"
    }
  ]
}
```

Or:

```json
{
  "errors": [
    {
      "id": "b3c1e0d2-1111-2222-3333-444455556666",
      "message": "Invalid request parameter: startsAfter"
    }
  ]
}
```

{% endtab %}

{% tab title="401: Unauthorized" %}

```json
{
  "message": "Unauthorized"
}
```

{% endtab %}
{% endtabs %}

Next page — pass the previous `pagination.startsAfter` back:

<mark style="color:blue;">`GET`</mark> `https://api.aquanow.io/users/v2/addressBook?currencyType=crypto&limit=50&startsAfter=eyJhZGRyZXNzQm9va0lkIjoiMjQzYTUyN2ItYmVkZC00MjlhLThjMjQtYWI1NjE4ZmZjMTM3In0=`

Filter by the unique identifier `addressBookId` (returns 0–1 items; `startsAfter` is always `""`):

<mark style="color:blue;">`GET`</mark> `https://api.aquanow.io/users/v2/addressBook?addressBookId={addressBookId}`

{% tabs %}
{% tab title="200: OK" %}

```json
{
  "pagination": {
    "startsAfter": "",
    "limit": 50,
    "totalCount": 1,
    "hasNext": false,
    "previousCursor": ""
  },
  "data": [
    {
      "addressBookId": "243a527b-bedd-429a-8c24-ab5618ffc137",
      "beneficiaryId": "b1e7c3d2-9f4a-4c8b-a1d2-6e5f7a8b9c0d",
      "currency": "ALL",
      "networkSymbol": "SOL",
      "currencyType": "crypto",
      "address": "DqCRL4hv2NRpcFrrGQop75L7Jm8AdVJAggQRiGPzaTWi",
      "addressType": [
        "sourceAddress",
        "withdrawalAddress"
      ],
      "walletType": "VASP",
      "status": "ACTIVE",
      "vaspId": "0cadf55b-c1c4-44d9-a6cc-92eaac292d4c"
    }
  ]
}
```

{% endtab %}
{% endtabs %}

Note: When querying by `currency`, addresses that support all currencies in that network are also returned. Some addresses will have `currency: "ALL"`.<br>
