Enable Trading
POST/v1.2/customer/account/exchange/trading-enable
Use to enable or disable trading for a given exchange under a given security account.
Request
Header Parameters
Throttle-Key string
- application/json
Body
required
exchangeAccountId number
status integerrequired
Possible values: [0
, 1
]
0 for disable, 1 for enable
Example: 1
Responses
- 200
- 401
OK
- */*
- Schema
- Example (from schema)
- example
Schema
status stringrequired
reason stringrequired
accountNumber string
exchangeAccountId integer
{
"status": "string",
"reason": "string",
"accountNumber": "string",
"exchangeAccountId": 0
}
{
"status": "SUCCESS",
"reason": "trading enabled for 697006",
"accountNumber": "P000294777",
"exchangeAccountId": 697006
}
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.2/trading-enable",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/trading-enable",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?