🙏
Loan Request
The Loan Requests API allows you create and manage loan requests on your integration
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);
});
Get the details of a loan request created on your integration
get
https://configure-abierta-test.herokuapp.com
/loan_request
Fetch 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 a loan request from your server
delete
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{lrID}
Delete Loan Request
post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/tokenize_mono
post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/upload
Upload Document
get
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/progress
Get Loan Request Progress
post
https://configure-abierta-test.herokuapp.com
/loan_request/{ID}/bank_details
Add Business Information
post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/bank_details
get
https://configure-abierta-test.herokuapp.com
put
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/bank_details
Submit Loan Request
post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/guarantor
Add a guarantor to a loan request
get
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/guarantor
Get loan request guarantor information
post
https://configure-abierta-test.herokuapp.com
/api/v1/loan_request/{ID}/employment
Add Employment Information
get
https://configure-abierta-test.herokuapp.com
Gets Employment Information
Last modified 7mo ago