GET /user/subaccountsPOST /user/subaccountsPOST /user/transfer
Authentication
The CLI authenticates these requests with either:Authorization: Bearer <access_token>afterqfex login, or- QFEX HMAC headers when API keys are configured
${nonce}:${unix_ts} with HMAC-SHA256 using your secret key, then hex-encode the result.
Send:
x-qfex-public-keyx-qfex-hmac-signaturex-qfex-noncex-qfex-timestamp
List Subaccounts
Returns the authenticated user’s secondary account IDs.Create Subaccount
Allocates a new subaccount for the authenticated user.Transfer Between Primary Account And Subaccounts
Transfers balance between two accounts owned by the authenticated user.primary to the authenticated user’s primary account ID, then sends:
src_account_idas a query parameterdst_account_idas a query parameter{"amount": <number>}as the JSON body