How to get an API key 

To send an API request to TurnKey Lender, an API key is required. You can generate as many keys as you need with different access permissions in your Back-Office. 

How to create your own Front-Office

TurnKey Lender offers the full stack of API methods which can be used by clients to create their own Front-Offices. This can be a website or a mobile application where your borrowers register, apply for loans, track their loan application statuses, sign contracts, pay with a single click, and more.

Let's go through the TurnKey Lender's Front-Office and clarify which API endpoints need to be used to enable this functionality.

Welcome page

To create this web page, the following methods are used:

Calculates the corresponding loan offer terms:  

If a customer provides a promo code, it should is checked and verified.

Once a customer submits selecting loan term, these data should be saved in some way because these data points are needed on the next step to create a loan application.  On TurnKey Lender Front-Office, for example, the next Create an account page opens and all specified parameters are sent in the URL.  

Create an account page

Once a customer submits their login (email format is mandatory) and password, the following methods are used:

We recommend that you add a captcha to your web page(s) that create new user accounts and loans.

Application form

To save the provided customer's details, the following method can be used:

To add a document to the customer's details, the following steps need to be done:

To unlink the document from the customer's profile, it is enough not to send the corresponding  'Id' and 'DocumentId' in the PUT /Customer​/Details request.

Verify bank account

This step is available if the 'Bank account verification' integration (Paid, Flinks, etc.) is enabled on the Back-Office and all credentials are correctly set there. 

At the same time, integration with the selected service should be implemented on the side of the custom Front-Office.

The diagram below shows how to use the API methods and this algorithm works for any built-in provider (see Integrations By Country):

Login page

Only one endpoint is needed to authorize a customer: 

Restore password page


If a customer forgot their password, they have to provide their email  (the following method should be sent to the server): 

Customer's Dashboard

Personal details

To show and manage customer's details, two methods can be used:

The following endpoints are needed to manage customer's documents:

The authorized customer can change their password with the next method:

Bank Details

The following methods are designed for managing customer's payment options: 

Active loans 

The list of all customer's loans, which are not sent to Archive, can be retrieved with the following method: 

Customers can pay directly from their dashboard if the following methods are used:

New loan

Creating a repeated loan (another loan taken out by the same customer) is much easier than creating the first one. Here are the required steps: