Loan Booking API Parameters Table
Parameter Name | Required | Format | Comment |
---|---|---|---|
mobile_number | Yes | The 10-digit mobile number, should start with 6/7/8/9. | OTP verified mobile number of the customer. |
full_name | Yes | Ascii string. Regex check: r^[a-zA-Z\s]{5,200}$ | Full name of the customer. |
Yes | Valid email format | Email of the customer. | |
gender | Yes | 1: Male 2: Female Note that integer codes should be passed in the API request. | Gender of the customer. |
date_of_birth | Yes | Date format: DD-MMM-YYYY For e.g 1 Jan 209 should be passed as "01-Jan-2019" | Date of birth of the customer. |
fathers_name | Yes | Ascii string. Regex check: r^[a-zA-Z\s]{5,200}$ | Father's name of the customer. If you don't have it pass : "Father Name Not Present" |
mothers_name | Yes | Ascii string Regex check: r^[a-zA-Z\s]{5,200}$ | Mothers's name of the customer. If you don't have it pass : "Mother Name Not Present" |
address | Yes | Ascii string | Address of the customer. |
pincode | Yes | Valid 6-digit Pincode | Pincode where the customer currently resides. |
monthly_income | Yes | Integer | Monthly income of the customer. Pass any estimate of monthly income you have. If you don't have it, pass 0. |
loan_tenure | Yes | Integer | Number of EMIs Monthly. |
monthly_emi | Yes | Integer | Monthly EMI of the customer. Pass any estimate of monthly emi you have. If you don't have it, pass 0. |
credit_score | Yes | Integer Range: [300,900] or [-1,10] | Credit Score of the customer. In case customer is NTC, NTC score should be returned, which ranges from 0-10.If no score is returned from the burau pass -1. If you don't have credit score, pass 300. |
employment_type | Yes | 0: Unemployed 1: Salaried 2: Self-employed 3: Self-employed professional 4: Agriculture Note that integer codes should be passed. | Employment type of the customer. If you don’t have it pass 1. |
company_name | Yes | Ascii string | Company name of the customer. If you don’t have it, pass “Company Name Not Present” |
loan_application_date | Yes | Date format: DD-MMM-YYYY For e.g 1 Jan 209 should be passed as "01-Jan-2019" | Loan application date, when the application was done. |
agreement_date | Yes | Date format: DD-MMM-YYYY For e.g 1 Jan 209 should be passed as "01-Jan-2019" | Agreement date, when the agreement was signed with the customer. Date format: YYYYMMDD It can be same as loan application date. |
loan_amount | Yes | Integer | The loan amount for which is approved for the customer. |
repayment_count | Yes | Integer | Repayment count, the number of payments which the customer will do. This should match the number of entries in the repayment schedule. |
retention_amount | No | Decimal | Amount kept on hold |
interest_rate | Yes | Decimal Max 2 digits after decimal. | Interest rate which is charged to the customer, this is in annualised IRR space. This is the IRR corresponding to the interest paid by the customer. For e.g. If it is 0% EMI to the customer this should be passed as ‘0.00’. If the annualized IRR is 24.32%, then it should be passed as ‘24.32’. |
annual_percentage_rate | No | Decimal Max 2 digits after decimal | Annual percentage rate calculated as per RBI guidelines, and shared with customer. |
payment_frequency | Yes | 1: Weekly 2: Bi-weekly 3: Monthly 8: Daily Note that integer codes should be passed. | Payment frequency at which the payment is to be done. |
loan_type | Yes | 0 : Unclassified 1 : Personal loan 2: Education loan 3: Medical loan 4 : Vehicle loan 5 : Bussiness loan 6.Unsecured Business Loan Note that integer codes should be passed. | Loan product type. You can pass 1 as the default value. |
bank_account | Yes | JSON. Detail here | Bank account details of the customer. |
kyc | Yes | An array of JSON. Detail here | KYC documents which are collected and verified for the customer. |
disbursal_detail | No | JSON. Detail here | Disbursal detail and breakdown. |
repayment_scheule | No | An array of JSON. Detail here | Repayment Schedule. |
agreement_signature_type | Yes | 1: Physical 2: Aadhaar e-signature 3: Click wrap Note that integer codes should be passed. | How the agreement is signed by the customer. |
partner_loan_id | Yes | Upto 200 chars. | This is a Unique Loan ID that is sent by the Lender/Fintech for every loan that is created. |
disbursal_txn | No | Upto 100 chars | This is a UTR ( Unique Transaction Reference) number also known as disbursal transaction id. This is generated after the loan gets disbursed. This is needed for migrations of old loans. For new loans, where disbursal is by OneFin this field can be omitted. |
agreement_id | No | Upto 200 chars. | Usually Lender's Loan Account Number is used, if migrating for old loans, you can send the Loan ID at your end, or we will auto generate it. |
product | No | Lender's or Fintechs might have different suites or products, each one of them having different repayment calculations. Product at OneFin's side is a unique combination of a lender plus the product, which gives us a lot of flexibility to cater to varied combination of inputs and flows. | |
co_applicant_details | No | An array of JSON Details | Details of the Co-Applicant such as Full Name, Gender, DOB, Email, Mobile Number, Address, Pin code , Aadhar , PAN , Relationship with Customer. |
co_relation | No | 1. co_applicant 2. guarantor | Co-Applicant's relation |
co_dob | No | Date format: DD-MMM-YYYY | Co-Applicant's Date of Birth |
co_gender | Yes | "male": 1, "female": 2 | Co-Applicant's Gender |
co_email | Yes | Valid email format | Co-Applicant's Valid Email |
co_aadhaar | Yes | Aadhar Number | Co-Applicant's Aadhar Details |
co_phone | Yes | The 10-digit mobile number, should start with 6/7/8/9 | Co-Applicant's Mobile Number |
co_pancard | Yes | ||
co_full_name | yes | Ascii string. Regex check: r^[a-zA-Z\s]{5,200}$ | Full Name of Co-Applicant |
co_father_name | No | Ascii string. Regex check: r^[a-zA-Z\s]{5,200}$ | Father's name of the Co-Applicant. If you don't have it pass : "Father Name Not Present" |
co_address_proof | Yes | ||
co_employment_status | Yes | ||
co_current_address | Yes | Ascii string | Co-Applicant Address |