Perform an action on a loan request. This endpoint allows you to accept, cancel, or reject counter-offers on loan requests.
HMAC signature authentication. The Authorization header must contain your public key
and HMAC signature in the format: public_key:signature
Format: Authorization: public_key:signature
Example: Authorization: pub_abc123xyz:abc123def456ghi789...
The signature is generated by creating an HMAC hash of the request body (JSON stringified) using your secret key for POST/PUT requests. For GET requests, the signature is generated using the query parameters (JSON stringified) instead of the request body. Contact your account manager to obtain your public key and secret key for generating signatures.
Unique identifier of the loan
Action performed successfully
Loan details including status, user information, and repayment terms
Unique identifier of the loan
"660e8400-e29b-41d4-a716-446655440000"
Human-readable loan reference number
"LOAN-2024-001234"
Loan amount
50000
Total interest amount for the loan
15000
Total amount to be repaid
65000
Total amount paid towards the loan
0
Loan tenure in months
6
Processing fee charged for the loan
2500
Total amount receivable by the lender (principal amount)
50000
Loan description or purpose
"Business expansion loan"
Array of document URLs supporting the loan request
[
"https://example.com/docs/business-plan.pdf",
"https://example.com/docs/financial-statement.pdf"
]Monthly income of the loan applicant
150000
Ghana Card number of the loan applicant
"GHA-123456789-1"
Current status of the loan
PROCESSING, PENDING_APPROVAL, REJECTED, DISBURSED, ACTIVE, COMPLETED, DEFAULTED "PENDING_APPROVAL"
User information of the loan applicant
Loan product information
Next repayment date
"2024-07-20T00:00:00Z"
Date and time when the loan was created
"2024-01-20T14:45:00Z"