API flow
Step-by-step instructions
- Konduit will share a referral code for accessing API
- Implement API specs below using the referral code
- Provide the IP addresses that need to be whitelisted for the test and production environment
- Send test leads and confirm with Konduit that all fields are successfully received
Request API
Example API Header
| Method | POST |
|---|---|
| URL – Test | https://<QA-BASE-URL>/v1/affiliate/monetization/leads |
| URL – Prod | https://<PROD-BASE-URL>/v1/affiliate/monetization/leads |
Headers - Test
Accept: application/json Authorization: To be issued by Konduit Channel: API Content-Type: application/json; charset=utf-8 Institution-Id: LGR Partner-Id: xxxxxxx
Partner-Id: Please use the referral code issued by Konduit.
Headers - Prod
Accept: application/json Authorization: To be issued Konduit Channel: API Content-Type: application/json; charset=utf-8 Institution-Id: LGR Partner-Id: xxxxxxx
Partner-Id: Please use the referral code issued by Konduit.
Example API Request body
{
"applicants": [
{
"address": {
"streetAddress": "5416 Brewer Rd",
"zipCode": "35071",
"city": "Gardendale",
"state": "AL"
},
"employers": [
{
"schedule": "MONTHLY",
"salary": 3000
}
],
"firstName": "Clark",
"lastName": "Kent",
"primaryPhone": "7042931679",
"email": "ckent@konduitworks.com",
"dob": "mm/dd/yyyy"
}
],
"collateral": {
"loanAmount": "6000.00"
},
"leadId": "ed4c570e::69ac2cf07234479aad987d550127bb59",
"creditTier": "fair",
"subAffiliateId": "f5hht0jst5",
"referralCode": "XXXXXXX",
"loanPurpose": "PP",
"leadFlow": "OFFLINE",
"ip": "<ip>",
"category": "<category>",
"dateOfVisit": "mm/dd/yyyy",
"openDate": "mm/dd/yyyy",
"clickDate": "mm/dd/yyyy"
}Body Parameters
applicantsarray7 fields
The applicants associated with the lead. Each entry contains an applicant's contact, address, and employment information.
addressobject4 fields
The applicant's residential address.
streetAddressstringThe street address, including the house or building number.
zipCodestringThe ZIP code for the applicant's address.
citystringThe city where the applicant lives.
statestringThe two-letter state abbreviation for the applicant's address, such as AL.
employersarray5 fields
Employment and income information for the applicant.
schedulestringrequiredThe period used to report salary: MONTHLY or ANNUALLY.
salarynumberrequiredGross salary for the period given in schedule.
empStatusstringrequiredThe applicant's employment or income-source status. Values: Job Income, Self Employed, Benefits, Pensions, Social Security, Disability Income, Military, or Other.
jobTitlestringoptionalThe applicant's job title or occupation, such as Manager.
selfEmployedbooleanoptionalIndicates whether the applicant is self-employed. Send this only if Self Employed is not already the value of empStatus.
firstNamestringThe applicant's first name.
lastNamestringThe applicant's last name.
primaryPhonestringThe applicant's primary contact phone number.
emailstringThe applicant's email address.
dobstringThe applicant's date of birth. Format: mm/dd/yyyy.
collateralobject1 fields
Contains the requested loan amount.
loanAmountstringThe amount the applicant wants to borrow, expressed as a decimal string, such as 6000.00.
leadIdstringThe sender's identifier for the lead, used to reference the submission.
creditTierstringThe applicant's credit-tier classification, such as fair.
subAffiliateIdstringrequiredYour sub-affiliate code. Helps Konduit optimise your traffic.
referralCodestringrequiredThe referral code issued to you by Konduit.
loanPurposestringrequiredThe code describing the purpose of the loan. Always send RTL.
leadFlowstringrequiredIdentifies the lead flow. Always send OFFLINE.
ipstringoptionalThe applicant's IP address associated with the lead submission.
categorystringoptionalThe category associated with the lead.
dateOfVisitstringoptionalThe date of the visit associated with the lead. Format: mm/dd/yyyy.
openDatestringoptionalThe date of the open event associated with the lead. Format: mm/dd/yyyy.
clickDatestringoptionalThe date of the click event associated with the lead. Format: mm/dd/yyyy.
Response
Accepted leads return the status OFFER_GENERATED_OFFLINE. All leads are accepted except:
DUPLICATE_LEAD: the lead was already sent.NO_OFFER_PRE_FAIL: the lead does not match the filter for state or credit tier.INVALID_EMAIL: the email address syntax is not correct.
Make sure your integration handles every status.
Accepted lead OFFER_GENERATED_OFFLINE
{
"accessToken": null,
"losStatus": null,
"id": null,
"message": null,
"clientApplicationNumber": null,
"bureauData": null,
"applicationId": 4000248,
"applicationStatus": "OFFER_GENERATED_OFFLINE",
"code": 200,
"details": "Successfully Request is processed.",
"appOfferStatus": "OFFER_GENERATED_OFFLINE",
"offers": [],
"offerRecommendations": [],
"loanAmount": "6000.00"
}
Duplicate lead, not accepted DUPLICATE_LEAD
{
"accessToken": null,
"losStatus": null,
"id": null,
"message": null,
"clientApplicationNumber": null,
"bureauData": null,
"applicationId": 4000190,
"applicationStatus": "DUPLICATE_LEAD",
"code": 200,
"details": "Duplicate lead found",
"appOfferStatus": "DUPLICATE_LEAD",
"offers": [],
"offerRecommendations": [],
"loanAmount": "5998.00"
}
Lead not meeting state or credit tier filters, not accepted NO_OFFER_PRE_FAIL
{
"accessToken": null,
"losStatus": null,
"id": null,
"message": null,
"clientApplicationNumber": null,
"bureauData": null,
"applicationId": 4002680,
"applicationStatus": "NO_OFFER_PRE_FAIL",
"code": 200,
"details": "No offer found",
"appOfferStatus": "NO_OFFER_PRE_FAIL",
"offers": [],
"offerRecommendations": [],
"loanAmount": "6000.0"
}
Invalid email, not accepted INVALID_EMAIL
{
"accessToken": null,
"losStatus": null,
"id": null,
"message": null,
"clientApplicationNumber": null,
"bureauData": null,
"applicationId": 4002678,
"applicationStatus": "INVALID_EMAIL",
"code": 200,
"details": "Email address is not valid",
"appOfferStatus": "INVALID_EMAIL",
"offers": [],
"offerRecommendations": [],
"loanAmount": "6000.0"
}