Partner Accounts
Create partner sub-account
Creates a new sub-account linked to the authenticated partner. Requires HMAC authentication with the account_creation scope.
Server wallet mode (createServerWallet: true): Creates a Privy server wallet and profile. The partner can then submit orders on behalf of this account using delegated signing.
EOA mode (default): Requires wallet ownership verification via x-account, x-signing-message, and x-signature headers. The end user signs their own orders.
post/profiles/partner-accounts
Headers
x-accountstring
EOA mode only. Checksummed Ethereum address of the sub-account wallet.
x-signing-messagestring
EOA mode only. Hex-encoded signing message.
x-signaturestring
EOA mode only. Hex-encoded signature from the sub-account wallet.
Request body
Example request
{
"displayName": "user-alice"
}Response
Sub-account created
Example response
{
"profileId": 789,
"account": "0x5aAeb6053F3E94C9b9A09f33669435E7Ef1BeAed"
}