Subaccounts allow a single main (parent) wallet to control multiple trading accounts with isolated balances. Both the main account and the intended subaccount must provide valid signatures when establishing the relationship. Subaccounts share the parent’s fee tier and can have funds transferred between them without going on-chain.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/pacifica-fi/docs-migrate/llms.txt
Use this file to discover all available pages before exploring further.
All endpoints on this page require request signing. See the Authentication guide for details.
POST /api/v1/account/subaccount/create — Create Subaccount
Establishes a subaccount relationship between a main wallet and a new subaccount address. Both parties must sign the request to prevent unauthorized creation. Creation requirements:- Neither the main account nor the subaccount can already be a subaccount of another account.
- The subaccount address must have no prior deposit or trade history.
This endpoint requires dual signing: the main account signs with
type "subaccount_initiate" to produce main_signature, and the subaccount signs with type "subaccount_confirm" to produce sub_signature. See Authentication. Refer to the Pacifica Python SDK for a complete example.Main account wallet address.
Subaccount wallet address.
Current timestamp in milliseconds.
Cryptographic signature from the main account.
Cryptographic signature from the subaccount.
Signature expiry in milliseconds.
POST /api/v1/account/subaccount/list — List Subaccounts
Returns all subaccounts associated with the authenticated main account.This endpoint requires a signed request from the main account. See Authentication.
Main account wallet address.
Main account signature.
Current timestamp in milliseconds.
Signature expiry in milliseconds.
List of subaccount objects.
POST /api/v1/account/subaccount/transfer — Subaccount Fund Transfer
Transfers USDC between a main account and one of its subaccounts, or between subaccounts under the same parent.This endpoint requires a signed request. Set the
type header field to "subaccount_transfer". See Authentication.Refer to the Pacifica Python SDK for a complete example.Sender account address.
Sender account signature.
Current timestamp in milliseconds.
Recipient wallet address.
Transfer amount in USDC, e.g.
"420.69".Signature expiry in milliseconds.
POST /api/v1/account/subaccount/spot_asset/transfer — Subaccount Spot Transfer
Transfers a spot asset between a main account and one of its subaccounts, or from a subaccount to its parent. The destination must be a subaccount of the sender or the sender’s parent account.This endpoint requires a signed request. Set the
type header field to "subaccount_spot_transfer". See Authentication.Sender wallet address.
Cryptographic signature.
Current timestamp in milliseconds.
Destination account address.
Spot asset symbol, e.g.
SOL.Amount to transfer.
Full UUID to prevent duplicate transfers.
Agent wallet address.
Signature expiry in milliseconds.