repayments
Repayments
POST {BASE_URL}/open/op/loans/repayments/
This endpoint requires you to have a fund with Lipalater that you want to access loan data about. The response contains information about loan repayments and should be paginated. The default page size is 25 and you can retreive a maximum of 100 repayments per request.
Curl Request
curl -i -X POST 'POST {BASE_URL}/open/op/loans/repayments/' \
-H 'Authorization: Bearer <access_token>' \
-H 'Content-Type: application/json' \
-H 'Noncestr: <none>' \
-H 'Sign: <sign>' \
-H 'Timestamp: <timestamp>' \
-d '{"fundId": <your_fund_id>, "pageNumber": 1, "pageSize": 10}'
JSON Request Object
{
"fundId": <your_fund_id>,
"pageNumber": 1,
"pageSize": 10
}
JSON Response
{
"pageNo": 1,
"pageSize": 20,
"totalRow": 4136,
"totalPage": 207,
"list": [
{
"orderNumber": "LRO10010000000088",
"loanId": 123,
"amount": 1.00,
"customerName": "John Doe",
"customerNo": "1100100001680",
"paymentStatus": 2,
"paymentDate": "2024-02-23 09:55:45.0",
"rePaymentType": 3
},
{
"orderNumber": "LRO10010000000088",
"loanId": 123,
"amount": 1.00,
"customerName": "John Doe",
"customerNo": "1100100001680",
"paymentStatus": 1,
"paymentDate": "2024-02-23 09:55:45.0",
"rePaymentType": 2
},
.... // more data
]
}
On Error
{
"code": 500,
"msg": "Data does not exist",
"data": null,
"success": false
}