PartnerAccountService creates sub-account profiles linked to the authenticated partner. Requires HMAC authentication with the account_creation scope.
Access
Server wallet mode
Creates a managed Privy wallet for the sub-account. Enables delegated signing — the partner submits unsigned orders and the server signs them.New server wallets need the backend allowance provisioning to complete before the first delegated trade. A short delay (a few seconds) is typical.
EOA mode
Creates a profile for an externally-owned address. The end user manages their own keys and signs orders themselves. EOA mode requires wallet ownership verification headers:| Header | Description |
|---|---|
account | Checksummed Ethereum address (EIP-55) |
signingMessage | Hex-encoded signing message |
signature | Hex-encoded signature from the wallet |
Validation
displayNameis optional, max 44 characters. Defaults to the wallet address if omitted.- Returns
409 Conflictif a profile already exists for the target address. - Cannot create a sub-account for the partner’s own address.
- The SDK validates
displayNamelength locally before sending the request.