πŸ™
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
post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request
Create Loan request
cURL
Go
NodeJS
curl --location --request POST 'http://localhost:6000/api/v1/user/1/loan_request?product-id=1' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 20000,
"purpose": "House Rent"
}'
package main
​
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
​
func main() {
​
url := "http://localhost:6000/api/v1/user/1/loan_request?product-id=1"
method := "POST"
​
payload := strings.NewReader(`{
"amount": 20000,
"purpose": "House Rent"
}`)
​
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
​
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer ")
req.Header.Add("Content-Type", "application/json")
​
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
​
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
var request = require('request');
var options = {
'method': 'POST',
'url': 'http://localhost:6000/api/v1/user/1/loan_request?product-id=1',
'headers': {
'Authorization': 'Bearer ',
'Content-Type': 'application/json'
},
body: JSON.stringify({"amount":20000,"purpose":"House Rent"})
​
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});

Fetching a loan request

Get the details of a loan request created on your integration
get
https://configure-abierta-test.herokuapp.com
/loan_request
Fetch a Loan Request

Updating a Loan Request

Update the information of a loan request
put
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{lrID}
Update a Loan Request
​

Delete Loan Request

Delete a loan request from your server
delete
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{lrID}
Delete Loan Request

Tokenize Mono

post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/tokenize_mono

Document Upload

post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/upload
Upload Document

Get Loan Request Progress

get
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/progress
Get Loan Request Progress

Add Business information

post
https://configure-abierta-test.herokuapp.com
/loan_request/{ID}/bank_details
Add Business Information

Add Bank Details

post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/bank_details

Get Bank Details

get
https://configure-abierta-test.herokuapp.com

Submit Loan request

put
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/bank_details
Submit Loan Request

Add Guarantor

post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/guarantor
Add a guarantor to a loan request

Get Guarantor

get
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/guarantor
Get loan request guarantor information

Add Employment Information

post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/employment
Add Employment Information

Get Employment Information

get
https://configure-abierta-test.herokuapp.com
Gets Employment Information
Copy link
Outline
Creating a new loan request
post
Create Loan request
Fetching a loan request
get
Fetch a Loan Request
Updating a Loan Request
put
Update a Loan Request
Delete Loan Request
delete
Delete Loan Request
Tokenize Mono
post
Document Upload
post
Upload Document
Get Loan Request Progress
get
Get Loan Request Progress
Add Business information
post
Add Business Information
Add Bank Details
post
Get Bank Details
get
Submit Loan request
put
Submit Loan Request
Add Guarantor
post
Add a guarantor to a loan request
Get Guarantor
get
Get loan request guarantor information
Add Employment Information
post
Add Employment Information
Get Employment Information
get
Gets Employment Information