cURL
curl --request POST \ --url https://api.rivermarkets.com/v1/subaccounts \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "name": "<string>", "description": "<string>" } '
{ "subaccount_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "is_active": true, "inserted_at": "2023-11-07T05:31:56Z", "description": "<string>" }
Create a new trading subaccount for the authenticated user.
API key for programmatic access. Generate one at app.rivermarkets.com under Settings → API Keys.
Schema for creating a new subaccount.
100
500
Successful Response
Schema for subaccount response.