This sub-resource allows the user to retrieve a BUY order that has been previously placed.
Operation: GET
URL: https://api.lendingclub.com/api/lcx/v1/secondary/investors/{investor-id}/orders/buy-order/{id}
Path Parameters:
Name | Type | Required | Description |
---|---|---|---|
Id | Integer | Yes | ID number of the order |
Investor-id | Integer | Yes | Investor’s Actor ID |
Query Parameters: None
Supported formats: JSON
Request Payload: JSON request for submit order
Response Parameters:
Name | Type | Description |
---|---|---|
orderId | Integer | Unique ID of a successfully listed order |
StatusDate | String | Date when the status of the BUY order was created or last changed |
bidPricePercent | BigDecimal | Bid price percentage vs par 1.0 is 100% or par |
failReason | String | If the buy order has failed, the reason for the failure will be displayed in the response. |
noteId | Integer | Unique LC assigned ID for the Note |
Id | Integer | Basket identifier |
loanId | Integer | Unique LC assigned id for the loan. This is the same as the id loan attribute returned in the loan Listing result operation. |
roomName | String | Room Name |
status | String | Status of the order – values can be: PENDING, LISTED, CONFIRMED EXECUTED, EXECUTION_FAILED, CANCELED, REJECTED |
Sample Response:
{
"orderType":"LIMIT",
“roomName” : “ROOM-123”,
"items": [
{
"loanId": "166532572",
"noteId": "208111951",
"bidPricePercent": "1.0"
"failReason": null
}
],
"baskets":[
{
"id": 300005,
"items":[
{
"loanId": "112742294",
"noteId": "162023013",
"bidPricePercent": "1.0"
},
{
"loanId": "112908063",
"noteId": "162023019",
"bidPricePercent": "1.0"
},
{
"loanId": "112750256",
"noteId": "162023015",
"bidPricePercent": "1.0"
}
]
}
]
}
HTTP status summary:
Code | Description |
---|---|
200 | Success |
400 | Validation or business error |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
452 | Market closed |
500 | Unexpected failure |