{
"deposit_accounts": [
{
"wallet_id": "clg2rvssg025ny5fmul5m95fn",
"deposit_address": "0xF1ff9379AB5838C42D0E9F1AFe32614211788Aae",
"source": {
"mode": "include",
"values": [
{
"asset": "ousd",
"chain": "tempo"
}
]
},
"destination": {
"asset": "pathusd",
"chain": "tempo"
}
}
]
}Create crypto deposit account
Create a deposit address to send crypto to to convert it into a target asset.
{
"deposit_accounts": [
{
"wallet_id": "clg2rvssg025ny5fmul5m95fn",
"deposit_address": "0xF1ff9379AB5838C42D0E9F1AFe32614211788Aae",
"source": {
"mode": "include",
"values": [
{
"asset": "ousd",
"chain": "tempo"
}
]
},
"destination": {
"asset": "pathusd",
"chain": "tempo"
}
}
]
}Authorizations
Basic Auth header with your app ID as the username and your app secret as the password.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Idempotency keys ensure API requests are executed only once within a 24-hour window.
Path Parameters
ID of the wallet.
Body
- CreateCryptoDepositAccountWithConfigRequestBody
- CreateCryptoDepositAccountWithRouteRequestBody
Creates a crypto deposit account from an existing deposit configuration.
deposit_config 1Controls deposit source selection. dedicated creates or reuses eligible dedicated source wallets, never the destination wallet. This is the default when omitted, including for existing routes. prefer_destination uses the destination wallet when it is eligible and its chain family is requested; otherwise it uses dedicated source wallets. require_destination requires the destination wallet to serve its own chain family when that family is requested and fails without fallback if it cannot; other requested families still use dedicated source wallets. On destination reuse, all strategies remove all existing automation attachments, including matching and disabled ones, then attach the requested automation. Exported wallets cannot serve as deposit sources.
dedicated, prefer_destination, require_destination "dedicated"
Response
The created crypto deposit account.
Response returned after creating a crypto deposit account.
Show child attributes
Show child attributes
Was this page helpful?

