Skip to main content

Get Loan Request by Tenant

GET /api/v1/loans/requests/{requestId}/tenants/{tenantId}

Description

Retrieve loan request details by tenant ID.

Path Parameters

NameTypeDescription
requestIdstringThe ID of the loan request (path)
tenantIdstringThe ID of the tenant (path)

Request Headers

NameTypeDescription
service-api-keystringAPI key for authentication (header)
service-api-codestringAPI 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

AUTHORIZATION

Bearer

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!