Stock Deposit
POST/v1.2/stock/deposit
This is used to deposit stocks into a customer's portfolio account.
Request
Header Parameters
Throttle-Key string
- application/json
Body
accountNumber stringrequired
The Security account number
exchange stringrequired
The exchange
symbol stringrequired
The symbol
quantity numberrequired
averagePrice numberrequired
narration stringrequired
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- example
Schema
status stringrequired
Possible values: [SUCCESS
, FAILED
]
reason string
rejectCode number
Find error codes here
requestId string
{
"status": "SUCCESS",
"reason": "string",
"rejectCode": 0,
"requestId": "string"
}
{
"status": "SUCCESS",
"reason": "stock deposit success",
"rejectCode": 0,
"requestId": "11a860167de1"
}
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/finance/withdraw",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/finance/withdraw",
"rejectCode": "1007"
}
Loading...
Is this page helpful for you?