Get Loan Request by Tenant
GET /api/v1/loans/requests/{requestId}/tenants/{tenantId}
Description
Retrieve loan request details by tenant ID.
Path Parameters
| Name | Type | Description |
|---|---|---|
requestId | string | The ID of the loan request (path) |
tenantId | string | The ID of the tenant (path) |
Request Headers
| Name | Type | Description |
|---|---|---|
service-api-key | string | API key for authentication (header) |
service-api-code | string | API code for authentication (header) |
Example
GET /api/v1/loans/requests/12345/tenants/67890
service-api-key: your-api-key
service-api-code: your-api-code
Response Code: 200 - OK
Description
Successful retrieval of loan request details.
Example Response
{
"data": {
"requestId": "12345",
"tenantId": "67890",
"amount": 10000,
"status": "approved",
"createdAt": "2024-07-16T12:00:00Z",
"updatedAt": "2024-07-16T12:30:00Z"
}
}
Headers
| service-api-key | {{apiKey}} |
|---|---|
| service-api-code | {{apiCode}} |
LANGUAGE
CURL REQUEST
curl --request GET \
--url /api/v1/loans/requests/{requestId}/tenants/{tenantId} \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!