cURL
curl --request POST \ --url https://staging-api.capa.fi/api/partner/v2/user/{userId}/wallets \ --header 'Content-Type: application/json' \ --header 'partner-api-key: <partner-api-key>' \ --data ' { "vmType": "EVM", "walletAddress": "0x71C7656EC7ab88b098defB751B7401B5f6d8976F", "alias": "<string>" } '
{ "success": true, "data": { "id": "8374f327-38bd-4b0b-b8a7-2524599eb903", "userId": "8374f327-38bd-4b0b-b8a7-2524599eb903", "walletAddress": "0x4d2f3d8f83b6f2f8e0f3f4f3f3f3f3f3f3f3f3f3", "alias": "My Polygon Wallet", "vmType": "EVM", "enabled": true, "createdAt": "2025-05-08T18:00:00Z" } }
Api key for the affiliated partner that is performing the request
The userId of the user
"8374f327-38bd-4b0b-b8a7-2524599eb903"
The virtual machine type for the wallet
EVM
SVM
STK
"EVM"
The wallet address
"0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
The alias name for the wallet
Creates a new wallet for a user
true
Show child attributes