Create Subaccount
Creates a new Subaccount.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
If present, a unique identifier that allows you to retry a request multiple times while only performing the action once. See Idempotency for more info.
Body
Name for the subaccount
512
Optional email associated with the subaccount
Optional ID of the default portfolio to use for fulfilling orders placed for this subaccount. If not specified, the parent account's default portfolio will be the default portfolio for the subaccount.
Optional URL for a logo to use for this subaccount. The URL must be public. The logo will be downloaded to CNaught's hosting when creating the account. If not specified, the subaccount will not have a logo.
Response
Identifier that can be used to retrieve the subaccount details
Timestamp of when the subaccount was created (in UTC)
Name of the subaccount
512
Optional email associated with the subaccount.
Optional ID of the default portfolio used to fulfilling orders placed for this subaccount. If not specified, the parent account's default portfolio is the default portfolio for the subaccount.
Optional URL for the logo used for this subaccount, if any. This URL is for the logo as stored on CNaught's hosting.