v3

OpenAPI 3.0.02026-07-31103181312.8 KB
portfolio

Transfer Between Subaccounts

Transfers funds between the authenticated user's subaccounts. Use 0 for the primary account, or 1-63 for numbered subaccounts. Set exchange_index to apply the transfer on a specific exchange shard (defaults to 0).

post/portfolio/subaccounts/transfer

Request body

client_transfer_idstring uuid required

Unique client-provided transfer ID for idempotency.

from_subaccountinteger required

Source subaccount number (0 for primary, 1-63 for numbered subaccounts).

to_subaccountinteger required

Destination subaccount number (0 for primary, 1-63 for numbered subaccounts).

amount_centsinteger required

Amount to transfer in cents.

exchange_indexinteger

Identifier for an exchange shard. Defaults to 0 if unspecified.

Response

Transfer completed successfully

ApplySubaccountTransferResponse required

Empty response indicating successful transfer.