Skip to main content
GET
Loan History
Fetches a comprehensive, paginated history of all loans associated with a customer, providing detailed information about each loan’s status, amounts, and timeline.

Request Headers

string
required
The JWT Access Token obtained from the /login or /refresh-token endpoint.
string
required
Unique idempotency key for the request to prevent duplicate processing.
string
required
The date and time at which the request was initiated (ISO 8601 format).
string
required
The IP address of the customer making the request.
string
required
Unique identifier for the interaction/session.

Path Parameters

string
required
The unique identifier (UUID) of the customer whose loan history to retrieve.

Query Parameters

number
default:"1"
Page number for pagination (starts from 1).
number
default:"10"
Number of items per page (maximum recommended: 50).

Code Examples

Path Parameters

customerId
string
required

Query Parameters

page
integer
default:1
size
integer
default:10

Response

200

Loan history retrieved successfully