Blockchain Wallets
Blockchain wallets hold or receive stablecoins and crypto for an account, on POLYGON, ETHEREUM, SOLANA, TRON or BITCOIN.
- Deposit wallets (
kind: deposits) are addresses Depa generates for the account. Funds sent to them are credited to the account's ledger. Don't send anaddress. - Source wallets (
kind: source) are external addresses you whitelist as payout destinations.addressis required.
Some networks need a memo or tag on transfers; it's returned in memo when it applies.
/accounts/{account_id}/blockchain_walletsReturns the blockchain wallets of an account. Filter with filter[kind]=deposits or filter[kind]=source.
Authorization
BearerAuth Token from POST /sign_in, sent as Authorization: Bearer <token>.
In: header
Path Parameters
ID of the account.
uuidQuery Parameters
Return only deposits or source wallets.
Value in
- "deposits"
- "source"
Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/blockchain_wallets?filter%5Bkind%5D=deposits"{ "data": [ { "id": "9a7b3c2d-1e4f-4a6b-8c9d-0e1f2a3b4c5d", "name": "USDC on Polygon", "memo": null, "address": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed", "network": "POLYGON", "kind": "deposits", "balance": [ [ "USDC", "3000.0" ] ], "created_at": 1772813114 } ]}/accounts/{account_id}/blockchain_walletsAdds a wallet to the account:
kind: depositsgenerates a deposit address for the account. Leaveaddressout.kind: sourcewhitelists an external address you'll send payouts to.addressis required.
Authorization
BearerAuth Token from POST /sign_in, sent as Authorization: Bearer <token>.
In: header
Path Parameters
ID of the account.
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
address is required for source wallets and must be left out for deposits wallets.
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/blockchain_wallets" \ -H "Content-Type: application/json" \ -d '{ "name": "USDC on Polygon", "currency": "USDC", "network": "POLYGON", "kind": "deposits" }'{ "data": { "id": "9a7b3c2d-1e4f-4a6b-8c9d-0e1f2a3b4c5d", "name": "USDC on Polygon", "memo": null, "address": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed", "network": "POLYGON", "kind": "deposits", "balance": [ [ "USDC", "3000.0" ] ], "created_at": 1772813114 }}/accounts/{account_id}/blockchain_wallets/{id}Returns a wallet with its address, network and balance.
Authorization
BearerAuth Token from POST /sign_in, sent as Authorization: Bearer <token>.
In: header
Path Parameters
ID of the account.
uuidID of the wallet.
uuidResponse Body
application/json
application/json
application/json
curl -X GET "https://example.com/accounts/8f3a2c1e-5b7d-4e9a-9c21-7d4b6e0f1a23/blockchain_wallets/9a7b3c2d-1e4f-4a6b-8c9d-0e1f2a3b4c5d"{ "data": { "id": "9a7b3c2d-1e4f-4a6b-8c9d-0e1f2a3b4c5d", "name": "USDC on Polygon", "memo": null, "address": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed", "network": "POLYGON", "kind": "deposits", "balance": [ [ "USDC", "3000.0" ] ], "created_at": 1772813114 }}