Create a LOC application
Create a LOC application
POST https://sandbox-api.naol.com/v1/users/{user_id}/loc/applications
Returns the loc application object if successful. Returns an error if create parameters are invalid (e.g. omitting amount).
Path Parameters
user_id*
string
The uuid of the user
Request Body
decision
enum
The decision of the LOC application. If using Onbo's decisioning engine, omit this field. Possible values: approved, rejected
reasons
String
A list of reasons for rejecting a LOC application, which is required when decision is set to rejected.
A reason is an enum. See Reject Reasons for a list of possible values.
amount*
float
The principal amount of the LOC application, in XAF
offers
array
A list of objects, where each object represents the terms of a LOC offer. An offer is structured as follows:
{ "apr": float, "amount": float, "term": int, "term_frequency": string, "interest_rate": float, "origination_fee": float }
If using Mansar's decisioning engine, omit this.
{
"uuid": "05e7e541-95b0-4294-8374-9f341f1ae857",
"product": "BUILD_CREDIT",
"amount": 25000.0,
"term": null,
"purpose": null,
"details": null,
"credit_score_consent": false,
"created_at": "2024-05-19 11:28:45 WAT",
"credit_report_id": 570,
"offers": [
{
"uuid": "b94bc34a-add6-4756-839e-322e357ef307",
"product": "BUILD_CREDIT",
"apr": 0.0,
"amount": 25000.0,
"term": null,
"term_frequency": "MONTHLY",
"interest_rate": 0.0,
"origination_fee": 0.0,
"interest_only_period": null,
"interest_only_installment": null,
"interest_amount": null,
"installment": null,
"start_date": "2024-05-19",
"explanation": null,
"maturity_date": null
}
],
"status": {
"decision": "APPROVED",
"details": null
}
}Last updated