Wallets
Create crypto deposit account
Changed onCreates deposit source wallets that sweep into the path wallet.
post/v1/wallets/{wallet_id}/deposit_accounts/crypto
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/wallets/{wallet_id}/deposit_accounts/crypto
- AuthHTTP basic
Path parameters
wallet_idstring required
ID of the wallet.
Headers
privy-app-idstring required
ID of your Privy app.
privy-authorization-signaturestring
Request authorization signature. If multiple signatures are required, they should be comma separated.
privy-request-expirystring
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
privy-idempotency-keystring
Idempotency keys ensure API requests are executed only once within a 24-hour window.
Request body
Example request
{
"deposit_address_strategy": "dedicated"
}Response
The created crypto deposit account.
Example response
{
"deposit_accounts": [
{
"source": {
"values": [
{
"asset": "usdc",
"chain": "tempo"
}
]
},
"destination": {
"asset": "usdc",
"chain": "tempo"
}
}
]
}Changes
- info
endpoint added
- info