Loan Confirmation Notification
Loan Confirmation Notification
POST /https://gcpdfa.rahisi.co/api2/api/v1/partner/loan/create?shortCode=677817
The Loan Confirmation Notification endpoint is used for creating a loan.
Headers
Name
Value
Content-Type
application/json
Authorization
Bearer <accessToken>
Body
Name
Type
Description
receipt_no
string
The receipt/invoice number for the loan transaction
loaned_amount
integer
The amount of money loaned
delivery_amount
integer
The total amount invoiced to the customer
loan_reference_id
string
A unique identifier for the loan reference
customer_id
string
The unique identifier of the customer receiving the loan
Body Request
{
"receipt_no": "23-268-921960-152219",
"loaned_amount": 5000,
"delivery_amount": 6000,
"loan_reference_id": "LMS 23-268-6509-172806",
"customer_id": "3a688f12-df8f-4703-9fa0-99a3f9372aef"
}Response
{
"status_code": 0,
"status_description": "success",
"status_details": "Loan Created Successfully"
}{
"status_code": 1,
"status_description": "error",
"status_details": "Customer has an existing loan: 'LMS 23-268-6509-172806'"
}{
"message": "Unauthorized!"
}Last updated