Create a new deposit destination for an account. A deposit destination is either a cryptocurrency address or a fiat bank account that can be used to receive funds.
For crypto destinations, the address will be generated for the specified network. For fiat destinations, the server provisions a bank account based on the account’s eligibility and returns the account details along with supported payment rails.
A JWT signed using your CDP API Key Secret, encoded in base64. Refer to the Generate Bearer Token section of our Authentication docs for information on how to generate your Bearer Token.
An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our Idempotency docs for more information on using idempotency keys.
1 - 128Request to create a new cryptocurrency deposit destination.
The ID of the Account, which is a UUID prefixed by the string account_, that owns the deposit destination.
^account_[a-f0-9\-]{36}$"account_af2937b0-9846-4fe7-bfe9-ccc22d935114"
The type of deposit destination. Only crypto destinations can be created via the API.
crypto "crypto"
Crypto-specific details.
{ "network": "base" }The intended target for deposited funds.
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"asset": "usd"
}Optional metadata as key-value pairs. Use this to store additional structured information on a resource, such as customer IDs, order references, or any application-specific data. Up to 10 key/value pairs may be provided. Keys and values are both strings. Keys must be ≤ 40 characters; values must be ≤ 500 characters.
{
"customer_id": "cust_12345",
"order_reference": "order-67890"
}Successfully created deposit destination.
A deposit destination for receiving funds to an account. Can be either a cryptocurrency address or fiat bank account instructions.
The ID of the Deposit Destination, which is a UUID prefixed by the string depositDestination_.
^depositDestination_[a-f0-9\-]{36}$"depositDestination_af2937b0-9846-4fe7-bfe9-ccc22d935114"
The ID of the Account, which is a UUID prefixed by the string account_.
^account_[a-f0-9\-]{36}$"account_af2937b0-9846-4fe7-bfe9-ccc22d935114"
The type of deposit destination.
crypto "crypto"
Crypto-specific details for this deposit destination. Always populated in responses. Contains the network and address.
{
"network": "base",
"address": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e"
}The status of the deposit destination.
active, inactive, pending "active"
The timestamp when the deposit destination was created.
"2023-10-08T14:30:00Z"
The timestamp when the deposit destination was last updated.
"2023-10-08T14:30:00Z"
The intended target for deposited funds.
{
"accountId": "account_af2937b0-9846-4fe7-bfe9-ccc22d935114",
"asset": "usd"
}Optional metadata as key-value pairs. Use this to store additional structured information on a resource, such as customer IDs, order references, or any application-specific data. Up to 10 key/value pairs may be provided. Keys and values are both strings. Keys must be ≤ 40 characters; values must be ≤ 500 characters.
{
"customer_id": "cust_12345",
"order_reference": "order-67890"
}