EZloan APIs
  • Overview
  • authentication
    • API Key
  • SERVICE APIS
    • v1
      • Credit Decisioning Flow
        • User Setup
          • Sign up
          • Update
          • User access
        • Get Borrower Info
        • Upload Borrower Data
        • Check Data Collected
        • Link Extracted Data
        • Remove Linked Data
        • View Summary Variables
        • Get SMS Variables
        • Get Credit Score
        • Get Top Locations
      • Scoring Formula
      • Scoring Weights
      • Business Rules
      • Payments
        • Get Due Payments
      • Credit Products
      • Credit Applications
      • Financial Providers
      • Issue CSV [WIP]
      • Report Borrower
      • Template Extender
  • Error codes
    • HTTP Codes
Powered by GitBook
On this page
  • Create Credit Applications
  • Approve Credit Application
  • Reject Credit Application
  • Get Early Pay Price
  • Get Credit Application Status

Was this helpful?

  1. SERVICE APIS
  2. v1

Credit Applications

Create Credit Applications

POST https://ezloan.genify.ai/credit_application/create_credit_application

This endpoint allows you to create a credit application.

Request Body

Name
Type
Description

repayment_months*

integer

Number of months the loan is to be divided on.

borrower_uuid*

string

UUID of the borrower.

financial_provider_id*

string

ID of financial provider.

credit_product_id*

string

ID of credit product

amount*

number

Amount to be borrowed.

    "message": "well received",
    "request_body": {
        "amount": xxx,
        "borrower_id": xxx,
        "credit_product_id": xx,
        "financial_provider_id": x,
        "repayment_months": x
    }
}
{    "message": "{parameter name} is missing"}

Approve Credit Application

POST https://ezloan.genify.ai/credit_application/approve_credit_application/

Path Parameters

Name
Type
Description

application_id*

string

ID of the requested credit

application.

{
    "credit_application": {
        "Amount": 600,
        "Reason": "",
        "Repayment_Months": 13,
        "Status": "approved",
        "Submission_time": "Thu, 12 May 2022 07:44:00 GMT"
    },
    "message": "well received",
    "request_form": {}
}
"message": "exception in approve"

Reject Credit Application

POST https://ezloan.genify.ai/credit_application/reject_credit_application/{credit_application_id}

Path Parameters

Name
Type
Description

credit_applicaiton_id

string

 {
    "message": "well received",
    "request_args": xxx,
    "application_id": xxxx,
    "request_form": xxx,
    "credit_application": xxx

    ),
            }
"message": "exception in reject"

Get Early Pay Price

GET https://ezloan.genify.ai/credit_application/early_pay_price

Returns the due amount in case the user wants to settle his credit before the due date.

Path Parameters

Name
Type
Description

nationalId*

string

borrower national ID

{ [credit_application: { due_principal, due_interest, total_due } ] }
{"message": "No ongoing due payments found for this borrower"}
{
    // Response
}

Get Credit Application Status

GET https://ezloan.genify.ai/credit_application/{borrower_id}/get_credit_application_status

Returns status of current borrower credit applications

Path Parameters

Name
Type
Description

borrower_id

string

[{"credit_application_status": xx, "application_id": xx}]
PreviousCredit ProductsNextFinancial Providers

Last updated 2 years ago

Was this helpful?