This guide will help you identify the steps required to implement the Flexiti Online Credit Application.
The Flexiti API uses API keys to authenticate requests. Your keys consist of a Client ID and a Client Secret. You can view and manage your API keys in our Developer Portal.
Every account is provided with two sets of keys. One for testing in our MERCHANT INTEGRATION environment and one for running live transactions in our PRODUCTION environment. You will first implement in the MI environment and will then transition to Prod once you have passed successful testing with the Implementation Team.
Obtaining your Merchant Integration Flexiti API Keys
· Go to our Developer Portal
· Create a Developer Portal Account
Step 1: Click Sign in
Step 2: Click Create one
· Upon setting up your account you will be provided with a set of API keys (Client Secret and Client ID) for our MI environment. You will use these keys during your implementation, and any applications generated using these keys will be for testing purposes only.
o Be sure to keep them secure!
· Next, enter the URL of your development/staging environment in the Trust URL field.
For this implementation, make sure your Trust URL does not contain a forward slash. (ie. https://example.com not https://example.com/ )
· Next you want to set up the redirection URLS.
· This is where the application form will redirect once the applicant is completed.
o they will be redirected to the Success redirection URL once they complete the form
o they will be redirected to the Error redirection URL if the customer cancels the application (most Merchants set these URLs back to their cart)
Implementation Process
Follow these steps to implement the Online API on the site:
The Online API contains a number of endpoints which will allow you to implement the Online API in a manner that fis your business needs. You do have some flexibility in adding some endpoints, however you are required to setup the following endpoints:
· Authentication (Authorization Token)
· Integration (System Init)
· Retrieve Information (Order ID)
These endpoints will allow you to call the API to allow the customer to either apply or use an existing account to checkout using Flexiti
The System Init screen will look like this:
The Order Information Endpoint will be used once the order has been successfully placed to determine the AVS values for the billing and shipping addresses for the order. This endpoint is necessary to determine liability on the order as Flexiti will only take on the liability for orders in which the shipping address matches the Flexiti billing address.