Get Security Account
GET/security-account
This is used to manage customers' security accounts and obtain information in association.
Request
Query Parameters
accountNumber stringrequired
Default value: P000128310
Account number of the security account which wants to get details.
Responses
- 200
OK
- */*
- Schema
- Example (from schema)
- example
Schema
status stringrequired
reason string
rejectCode integer
Find error codes here)
securityAccount object
type string
Possible values: [1
]
1 (equity)
secApprovalStatus integer
accountNumber string
Security Account Number
customerNumber string
Customer number of the customer who owns the security account.
cashAccountNumber string
Cash account number of the cash account which belongs the security account.
institutionCode string
Institutioin code of the institution.
autoNo string
createdDate string
securityAccountType string
Possible values: [1
, 2
, 9
]
1 ; Equity, 2 ; Option, 9 ; Fixed Income
externalReference string
statusId stringdeprecated
Possible values: [2
, 5
]
2 (APPROVED) | 5 (DELETE)
status string
Possible values: [2
, 5
]
2 (APPROVED) | 5 (DELETE)
lastUpdated string
ip string
mrgTrdEnabled integer
Possible values: [1
, 0
]
0 (false) | 1 (true)
mrgDayTrdEnabled string
Possible values: [1 (true)
, 0 (false)
]
accountName string
pendingOrderValue string
currency string
exchangeAccounts object[]
{
"status": "string",
"reason": "string",
"rejectCode": 0,
"securityAccount": {
"type": "1",
"secApprovalStatus": 0,
"accountNumber": "string",
"customerNumber": "string",
"cashAccountNumber": "string",
"institutionCode": "string",
"autoNo": "string",
"createdDate": "string",
"securityAccountType": "1",
"externalReference": "string",
"status": "2",
"lastUpdated": "string",
"ip": "string",
"mrgTrdEnabled": 1,
"mrgDayTrdEnabled": "1 (true)",
"accountName": "string",
"pendingOrderValue": "string",
"currency": "string",
"exchangeAccounts": [
{}
]
}
}
{
"status": "SUCCESS",
"securityAccount": {
"type": "1",
"secApprovalStatus": 0,
"accountNumber": "P000189029",
"customerNumber": "ASI622430535",
"cashAccountNumber": "C000204444",
"institutionCode": "OPEN_API_TEST",
"autoNo": "1",
"createdDate": "2023/07/17",
"securityAccountType": 1,
"status": "2",
"statusId": "2",
"accountName": "P000189029-USD"
}
}
Loading...
Is this page helpful for you?