Skip to main content
GET
https://finlend.fincode.software
/
api
/
v1
/
services
/
user
/
list-customer-repayments
/
{customer-id}
[https://finlend.fincode.software/api/v1/services/user/list-customer-repayments/{customer-id}](https://finlend.fincode.software/api/v1/services/user/list-customer-repayments/{customer-id})
{
  "status": "<string>",
  "data": [
    {
      "id": "<string>",
      "loanRepaymentMethodEnum": "<string>",
      "accountProductName": "<string>",
      "customerName": "<string>",
      "email": "<string>",
      "repaymentAmount": 123,
      "loanProductName": "<string>",
      "principalBalance": 123,
      "totalBalance": 123,
      "loanAmountPaid": true,
      "creationDate": "<string>",
      "paymentDueDate": "<string>",
      "installmentCount": 123,
      "accountId": "<string>",
      "loanApplicationId": "<string>",
      "totalPayable": 123
    }
  ]
}
Fetches all repayment records associated with a customer, providing details about each repayment including amounts, due dates, installment information, and balances.
[https://finlend.fincode.software/api/v1/services/user/list-customer-repayments/{customer-id}](https://finlend.fincode.software/api/v1/services/user/list-customer-repayments/{customer-id})

Request Headers

X-Auth-Token
string
required
The JWT Access Token obtained from the /login or /refresh-token endpoint.
x-fapi-auth-date
string
required
The date and time at which the request was initiated (ISO 8601 format).
x-fapi-customer-ip-address
string
required
The IP address of the customer making the request.
x-fapi-interaction-id
string
required
Unique identifier for the interaction/session.

Path Parameters

customer-id
string
required
The unique identifier (UUID) of the customer whose repayments to retrieve.

Response

Returns a list of all repayments for the customer.
status
string
default:"SUCCESS"
Overall status of the API request.
data
array
List of repayment records.

Code Examples

curl --location 'https://finlend.fincode.software/api/v1/services/user/list-customer-repayments/123e4567-e89b-12d3-a456-426614174000' \
--header 'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN' \
--header 'x-fapi-auth-date: 2024-01-15T10:30:00Z' \
--header 'x-fapi-customer-ip-address: 192.168.1.1' \
--header 'x-fapi-interaction-id: interaction-12345'