Create Security Account
POST/security-account
This is used to create a new security account of a given asset type under a given cash account.
Request
- application/json
Body
cashAccountNumber stringrequired
Cash account number of the cash account.
securityAccountType integerrequired
Possible values: [1
, 2
, 9
]
1 ; Equity, 2 ; Option, 3 ; Futures, 4 ; Forex, 5 ; CFD, 6 ; Spot, 7 ; Auto Trade, 8 ; Investment, 9 ; Fixed Income
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
accountNumber stringrequired
Account number of the security account which was created.
status stringrequired
Possible values: [SUCCESS
, FAILED
]
reason string
rejectCode number
Find error codes here)
{
"accountNumber": "string",
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0
}
{
"accountNumber": "P000128441",
"status": "SUCCESS",
"reason": "security account creation successful",
"rejectCode": 0
}
Loading...
Is this page helpful for you?