> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AsyncWithRawResponseDepositDestinationsClient

> AsyncWithRawResponseDepositDestinationsClient API reference.

Package: [`com.coinbase.cdp.resources.depositdestinations`](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/index)

```java theme={null}
public class AsyncWithRawResponseDepositDestinationsClient extends Object
```

## Method Details

### `listDepositDestinations`

**Overload 1**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<ListDepositDestinationsResponse>> listDepositDestinations()
```

List deposit destinations. You can optionally filter the results by type, account ID, network, or cryptocurrency address. Results are sorted by creation date in descending order (newest first).

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[ListDepositDestinationsResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/types/ListDepositDestinationsResponse)>>

**Overload 2**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<ListDepositDestinationsResponse>> listDepositDestinations(ListDepositDestinationsRequest request)
```

List deposit destinations. You can optionally filter the results by type, account ID, network, or cryptocurrency address. Results are sorted by creation date in descending order (newest first).

**Parameters:**

`request` - [ListDepositDestinationsRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/requests/ListDepositDestinationsRequest)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[ListDepositDestinationsResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/types/ListDepositDestinationsResponse)>>

**Overload 3**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<ListDepositDestinationsResponse>> listDepositDestinations(RequestOptions requestOptions)
```

List deposit destinations. You can optionally filter the results by type, account ID, network, or cryptocurrency address. Results are sorted by creation date in descending order (newest first).

**Parameters:**

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[ListDepositDestinationsResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/types/ListDepositDestinationsResponse)>>

**Overload 4**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<ListDepositDestinationsResponse>> listDepositDestinations(ListDepositDestinationsRequest request, RequestOptions requestOptions)
```

List deposit destinations. You can optionally filter the results by type, account ID, network, or cryptocurrency address. Results are sorted by creation date in descending order (newest first).

**Parameters:**

`request` - [ListDepositDestinationsRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/requests/ListDepositDestinationsRequest)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[ListDepositDestinationsResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/types/ListDepositDestinationsResponse)>>

### `createDepositDestination`

**Overload 1**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> createDepositDestination(CreateDepositDestinationBody request)
```

Create a new deposit destination for an account. Two types are supported:

`crypto` (public): provisions a cryptocurrency address on the requested network. The returned `crypto.address` is the deposit address; funds sent to it are credited to the `target` account in the specified asset. For Customer-owned accounts, the Customer must have the `custodyCrypto` and `custodyStablecoin` capabilities enabled.

`fiat` (private-beta): provisions a bank account at a CDP banking partner. The server picks the account type (e.g. `us_bank`) and supported payment rails based on the account's eligibility; pass `fiat.paymentRail` to influence partner selection. The returned `fiat` object contains the bank account details the depositor needs to send funds. For Customer-owned accounts, the Customer must have the `custodyFiat` capability enabled. Requires account enablement — contact your Coinbase representative for access. Fields and behavior may change before general availability.

For Customer-owned accounts not authorized for the required capabilities, the request is rejected with `customer_not_authorized` (HTTP 403).

The created destination's `status` starts as `pending` for fiat (it becomes `active` once the partner provisioning callback completes) and `active` for crypto.

**Parameters:**

`request` - [CreateDepositDestinationBody](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/requests/CreateDepositDestinationBody)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

**Overload 2**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> createDepositDestination(CreateDepositDestinationRequest body)
```

Create a new deposit destination for an account. Two types are supported:

`crypto` (public): provisions a cryptocurrency address on the requested network. The returned `crypto.address` is the deposit address; funds sent to it are credited to the `target` account in the specified asset. For Customer-owned accounts, the Customer must have the `custodyCrypto` and `custodyStablecoin` capabilities enabled.

`fiat` (private-beta): provisions a bank account at a CDP banking partner. The server picks the account type (e.g. `us_bank`) and supported payment rails based on the account's eligibility; pass `fiat.paymentRail` to influence partner selection. The returned `fiat` object contains the bank account details the depositor needs to send funds. For Customer-owned accounts, the Customer must have the `custodyFiat` capability enabled. Requires account enablement — contact your Coinbase representative for access. Fields and behavior may change before general availability.

For Customer-owned accounts not authorized for the required capabilities, the request is rejected with `customer_not_authorized` (HTTP 403).

The created destination's `status` starts as `pending` for fiat (it becomes `active` once the partner provisioning callback completes) and `active` for crypto.

**Parameters:**

`body` - [CreateDepositDestinationRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/CreateDepositDestinationRequest)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

**Overload 3**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> createDepositDestination(CreateDepositDestinationBody request, RequestOptions requestOptions)
```

Create a new deposit destination for an account. Two types are supported:

`crypto` (public): provisions a cryptocurrency address on the requested network. The returned `crypto.address` is the deposit address; funds sent to it are credited to the `target` account in the specified asset. For Customer-owned accounts, the Customer must have the `custodyCrypto` and `custodyStablecoin` capabilities enabled.

`fiat` (private-beta): provisions a bank account at a CDP banking partner. The server picks the account type (e.g. `us_bank`) and supported payment rails based on the account's eligibility; pass `fiat.paymentRail` to influence partner selection. The returned `fiat` object contains the bank account details the depositor needs to send funds. For Customer-owned accounts, the Customer must have the `custodyFiat` capability enabled. Requires account enablement — contact your Coinbase representative for access. Fields and behavior may change before general availability.

For Customer-owned accounts not authorized for the required capabilities, the request is rejected with `customer_not_authorized` (HTTP 403).

The created destination's `status` starts as `pending` for fiat (it becomes `active` once the partner provisioning callback completes) and `active` for crypto.

**Parameters:**

`request` - [CreateDepositDestinationBody](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/requests/CreateDepositDestinationBody)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

**Overload 4**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> createDepositDestination(CreateDepositDestinationRequest body, RequestOptions requestOptions)
```

Create a new deposit destination for an account. Two types are supported:

`crypto` (public): provisions a cryptocurrency address on the requested network. The returned `crypto.address` is the deposit address; funds sent to it are credited to the `target` account in the specified asset. For Customer-owned accounts, the Customer must have the `custodyCrypto` and `custodyStablecoin` capabilities enabled.

`fiat` (private-beta): provisions a bank account at a CDP banking partner. The server picks the account type (e.g. `us_bank`) and supported payment rails based on the account's eligibility; pass `fiat.paymentRail` to influence partner selection. The returned `fiat` object contains the bank account details the depositor needs to send funds. For Customer-owned accounts, the Customer must have the `custodyFiat` capability enabled. Requires account enablement — contact your Coinbase representative for access. Fields and behavior may change before general availability.

For Customer-owned accounts not authorized for the required capabilities, the request is rejected with `customer_not_authorized` (HTTP 403).

The created destination's `status` starts as `pending` for fiat (it becomes `active` once the partner provisioning callback completes) and `active` for crypto.

**Parameters:**

`body` - [CreateDepositDestinationRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/CreateDepositDestinationRequest)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

### `getDepositDestinationById`

**Overload 1**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> getDepositDestinationById(DepositDestinationId depositDestinationId)
```

Get a specific deposit destination by its ID.

**Parameters:**

`depositDestinationId` - [DepositDestinationId](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestinationId)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

**Overload 2**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> getDepositDestinationById(DepositDestinationId depositDestinationId, GetDepositDestinationByIdRequest request)
```

Get a specific deposit destination by its ID.

**Parameters:**

`depositDestinationId` - [DepositDestinationId](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestinationId)

`request` - [GetDepositDestinationByIdRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/requests/GetDepositDestinationByIdRequest)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

**Overload 3**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> getDepositDestinationById(DepositDestinationId depositDestinationId, RequestOptions requestOptions)
```

Get a specific deposit destination by its ID.

**Parameters:**

`depositDestinationId` - [DepositDestinationId](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestinationId)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>

**Overload 4**

```java theme={null}
public CompletableFuture<CdpClientHttpResponse<DepositDestination>> getDepositDestinationById(DepositDestinationId depositDestinationId, GetDepositDestinationByIdRequest request, RequestOptions requestOptions)
```

Get a specific deposit destination by its ID.

**Parameters:**

`depositDestinationId` - [DepositDestinationId](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestinationId)

`request` - [GetDepositDestinationByIdRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/depositdestinations/requests/GetDepositDestinationByIdRequest)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

`CompletableFuture`\<[CdpClientHttpResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/CdpClientHttpResponse)\<[DepositDestination](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/DepositDestination)>>
