Create Sub Account Request

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
ctaUserIdlongRequired
pOAFormDocIdlongRequired
governmentDocIdlongRequired
addressDocIdlongRequired
marginTypeenumRequired
Hedger, Speculator
Allowed values:
transferAmountdoubleRequired
authorizedIndividualbooleanRequired
riskCategoryIdlongRequired
firstNamestringRequired<=64 characters
lastNamestringRequired1-64 characters
countrystringRequired=2 characters
statestringRequired2-64 characters
streetAddress1stringRequired3-61 characters
citystringRequired2-35 characters
zipCodestringRequired4-11 characters
phonestringRequired<=21 characters
citizenshipstringRequired=2 characters
birthDateobjectRequired
streetAddress2stringOptional<=61 characters
taxIdentifierstringOptional<=64 characters
nationalIdstringOptional<=64 characters

Response

SubAccountRequestResponse
errorTextstring or null<=8192 characters

Non-empty if the request failed

adminOrgEmailstring or null<=64 characters