๐Loan Request
The Loan Requests API allows you create and manage loan requests on your integration
Creating a new loan request
create a loan request from your server
Create Loan request
POST
https://configure-abierta-test.herokuapp.com/api/v1/loan_request
Creates a new Loan request
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Request Body
Name | Type | Description |
---|---|---|
amount* | float | The amount requested |
purpose* | string | The purpose of the Loan |
Fetching a loan request
Get the details of a loan request created on your integration
Fetch a Loan Request
GET
https://configure-abierta-test.herokuapp.com/loan_request
Fetches a loan request
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | string | The product id to identify products loan request |
direction | string | Filter loan request by ascending |
cursor | int | Cursor to determine last returned |
limit | String | The amount of loan request to return per request |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer |
Updating a Loan Request
Update the information of a loan request
Update a Loan Request
PUT
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{lrID}
Updates a loan request
Path Parameters
Name | Type | Description |
---|---|---|
lrID* | String | ID for loan request to be updated |
Query Parameters
Name | Type | Description |
---|---|---|
product-id | String | ID of the loanprdutco |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer |
Request Body
Name | Type | Description |
---|---|---|
purpose | String | Purpose for the loan |
Delete Loan Request
Delete a loan request from your server
Delete Loan Request
DELETE
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{lrID}
Deletes Loan Request
Path Parameters
Name | Type | Description |
---|---|---|
lrID* | String | ID of the loan request to delete |
Query Parameters
Name | Type | Description |
---|---|---|
product-id | String | product ID for the specified loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Tokenize Mono
POST
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/tokenize_mono
Path Parameters
Name | Type | Description |
---|---|---|
ID | String | ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization | String | Bearer |
Document Upload
Upload Document
POST
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/upload
Uploads a Document
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Request Body
Name | Type | Description |
---|---|---|
type* | ID type | |
title* | String | Title of the ID |
number* | String | number of the ID type |
document_url* | String | The url to the document image |
Get Loan Request Progress
Get Loan Request Progress
GET
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/progress
Fetches a loan request progress
Path Parameters
Name | Type | Description |
---|---|---|
ID | String | ID of loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | product id for loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Add Business information
Add Business Information
POST
https://configure-abierta-test.herokuapp.com/loan_request/{ID}/bank_details
Add Business Information
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id | String | Product id of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Request Body
Name | Type | Description |
---|---|---|
name* | String | Business name |
org_id* | Int | ID of the organization |
role* | String | Role in the business organization |
industry* | String | Industry |
description* | String | Business description |
registered* | Bool | If the business is registered |
registration_number | String | Business registration number |
established_on | string | Business established date |
physical_location | String | |
number_of_locations | Int | |
location_status | String | |
average_monthly_income | Int | |
last_twelve_months_income | Int | |
primary_payments_collection_method | String | |
number_of_employees | String | |
monthly_salary_cost | Int | |
annual_rent_cost | Int | |
monthly_electricity_cost | Int | |
monthly_ads_cost | Int | |
monthly_marketing_cost | Int |
Add Bank Details
POST
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/bank_details
Adds Bank Details
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of the loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | product id of the loan request |
Request Body
Name | Type | Description |
---|---|---|
code* | String | Bank code |
account_name* | String | Bank account name |
account_number | String | Bank account number |
bank_name | String | Bank name |
Get Bank Details
GET
https://configure-abierta-test.herokuapp.com
Path Parameters
Name | Type | Description |
---|---|---|
ID | String | ID of the loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Submit Loan request
Submit Loan Request
PUT
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/bank_details
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Add Guarantor
Add a guarantor to a loan request
POST
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/guarantor
Adds a guarantor to a loan request
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of the loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Auhorization* | String | Bearer |
Request Body
Name | Type | Description |
---|---|---|
firstname* | String | Guarantor's first name |
gender* | String | Guarantor's gender |
relationship* | String | Borrowers relationship to guarantor |
email* | String | Guarantor's email address |
lastname* | String | Guarantor's last name |
phone* | String | Guarantor's phone number |
Get Guarantor
Get loan request guarantor information
GET
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/guarantor
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of the loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Add Employment Information
Add Employment Information
POST
https://configure-abierta-test.herokuapp.com/api/v1/loan_request/{ID}/employment
Adds employment information to a loan request
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of the loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID for the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Request Body
Name | Type | Description |
---|---|---|
status* | String | Current employment status |
company_name* | String | Name of the company |
company_address* | String | Address of the company |
position* | String | Position held at company |
salary* | Int | |
manager* | String | Borrower's manager name at company |
manager_phone* | String | Manager's phone number |
manager_email* | String | Manager's email address |
Get Employment Information
Gets Employment Information
GET
https://configure-abierta-test.herokuapp.com
Path Parameters
Name | Type | Description |
---|---|---|
ID* | String | ID of the loan request |
Query Parameters
Name | Type | Description |
---|---|---|
product-id* | String | Product ID of the loan request |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer |
Last updated