Versatile Logo
IntroductionIntroductionHow It WorksRequirementsGetting StartedConfigurationFlowsAPI Reference

Version: 0.9.1

Document Version: 5

Introduction

The Versatile Storefront SDK is a JavaScript library that provides secure launch points to credit applications and checkout from an Ecommerce site.

How It Works

The Storefront SDK uses the concept of short-lived session tokens to launch credit application and checkout forms. These session tokens cannot be used to authorize payments or lookup sensitive account information. That is done through separate credentials.

For example, a typical workflow for launching a credit application via the SDK involves the following steps:

  1. Include the SDK using script tag on your site
  2. Configure and initialize the SDK with a url to your backend to request a frontend session token
  3. Your backend retrieves a session from the Versatile Ecommerce API
  4. You backend passes the token to the Storefront SDK
  5. The SDK launches the credit application
  6. The SDK is notified when the credit application is finished.

Requirements

In order to use the SDK, you will need to access to Versatile Credit's ECommerce API. Versatile Credit will supply you with the proper credentials.