Loan Payment Notification
Loan Payment Notification
POST /https://gcpdfa.rahisi.co/api2/api/v1/partner/loan/payment/create?shortCode=677817
The Loan Payment Notification endpoint is used for recording a loan payment and notifying the partner system.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <accessToken>
Body
Name
Type
Description
reference_number
string
The unique reference number for the payment transaction
receipt_no
string
The receipt/invoice number for the payment transaction
amount_paid
number
The amount of money paid towards the loan
loan_amount
number
The total loan amount
loan_balance
number
The remaining balance of the loan after the payment
loan_reference_id
string
A unique identifier for the loan reference
paid_datetime
string
The date and time when the payment was made
Body Request
{
"reference_number": "23-268-921960-152219",
"receipt_no": "23-268-921960-152219",
"amount_paid": 5000,
"loan_amount": 6000,
"loan_balance": 6000,
"loan_reference_id": "LMS 23-268-6509-172806",
"paid_datetime": "2024-05-08 21:37:50.9670000 +03:00"
}Response
{
"status_code": 0,
"status_description": "success",
"status_details": "Loan Payment Created Successfully"
}{
"status_code": 1,
"status_description": "error",
"status_details": "Reference number '23-268-921960-152217' exist"
}{
"message": "Unauthorized!"
}Last updated