Create Exchange Account
POST/v1.1/customer/account/exchange
To create a new exchange account under a given security account.
Note - New exchange related Market data APIs access for the relevant customer will take some time to be available ~ 1-2hrs.
Request
- application/json
Body
required
accountNumber stringrequired
Account number of the security account.
exchange stringrequired
Exchange
Responses
- 200
- 401
OK
- */*
- Schema
- Example (from schema)
- example
Schema
exchangeAccountId number
Id of the exchange account which was created.
status stringrequired
Possible values: [SUCCESS
, FAILED
]
reason string
rejectCode number
Find error codes here
{
"exchangeAccountId": 0,
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0
}
{
"status": "SUCCESS",
"exchangeAccountId": 696369
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
timestamp string
status string
error string
message string
path string
rejectCode string
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.1/customer/account/exchange",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.1/customer/account/exchange",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?