Creates a new loan application request. Customers or agents can use this endpoint to submit loan applications with required details including loan amount, product selection, and eligibility information.
The JWT Access Token obtained from the /login or /refresh-token endpoint.
Unique idempotency key for the request to prevent duplicate processing.
The date and time at which the request was initiated (ISO 8601 format).
x-fapi-customer-ip-address
The IP address of the customer making the request.
Unique identifier for the interaction/session.
Content-Type
string
default: "application/json"
required
Must be application/json.
Request Body
The currency code for the loan (e.g., “NGN”).
Customer’s date of birth (YYYY-MM-DD).
The numeric value of the duration (e.g., 12).
loanApplicationStatusEnum
string
default: "REQUESTED"
required
Initial status of the application. Must be “REQUESTED”.
Customer’s employment status (e.g., “EMPLOYED”, “SELF_EMPLOYED”).
The requested loan amount.
Bank Verification Number of the customer.
Bank account number for disbursement/repayment.
Code of the bank associated with the account number.
The unique identifier of the loan product.
Method of repayment (e.g., “DIRECT_DEBIT”).
Customer’s monthly income.
Array of answers to eligibility questions. Show eligibilityAnswers array item
eligibilityAnswers[].questionId
Unique identifier of the eligibility question.
eligibilityAnswers[].answer
Answer to the eligibility question.
Code Examples
curl --location --request POST 'https://finlend.fincode.software/api/v6/services/user/request-loan' \
--header 'X-Auth-Token: YOUR_JWT_ACCESS_TOKEN' \
--header 'x-idempotency-key: unique-key-12345' \
--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' \
--header 'Content-Type: application/json' \
--data '{
"currencyCode": "NGN",
"dateOfBirth": "1990-01-01",
"durationCounter": 12,
"loanApplicationStatusEnum": "REQUESTED",
"employmentStatus": "EMPLOYED",
"loanAmount": 50000.00,
"bvn": "12345678901",
"firstName": "John",
"lastName": "Doe",
"accountNumber": "0123456789",
"bankCode": "044",
"phoneNumber": "08012345678",
"loanDuration": 12,
"loanProductId": "product-123",
"loanRepaymentMethodEnum": "DIRECT_DEBIT",
"monthlyIncome": 150000.00,
"eligibilityAnswers": [
{
"questionId": "q1",
"answer": "Yes"
}
]
}'
loanApplicationStatusEnum
Loan application created successfully