Update Security Account
PATCH/v1.2/customer/account/security
Update the already created security account.
Request
Header Parameters
Throttle-Key string
- application/json
Body
required
accountNumber stringrequired
Account number of the security account which wants to amend.
securityAccountType stringrequired
Possible values: [1
, 2
, 8
]
1 (equity) | 2 (option) | 8 (bond)
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- success
Schema
status stringrequired
Possible values: non-empty
, [SUCCESS
, FAILED
]
reason string
rejectCode number
Find error codes here
securityAccount object
type string
secApprovalStatus number
accountNumber string
customerNumber string
cashAccountNumber string
institutionCode string
autoNo string
createdDate string
securityAccountType number
statusId string
{
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0,
"securityAccount": {
"type": "string",
"secApprovalStatus": 0,
"accountNumber": "string",
"customerNumber": "string",
"cashAccountNumber": "string",
"institutionCode": "string",
"autoNo": "string",
"createdDate": "string",
"securityAccountType": 0,
"statusId": "string"
}
}
{
"status": "SUCCESS",
"securityAccount": {
"type": "0",
"secApprovalStatus": 0,
"accountNumber": "P000294728",
"customerNumber": "ASI519740316",
"cashAccountNumber": "C003313266",
"institutionCode": "TRADE_API_INST_ONE",
"autoNo": "1",
"createdDate": "2024/01/11",
"securityAccountType": 2,
"statusId": "2"
}
}
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/customer/account/security",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/customer/account/security",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?