
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:
- Include the SDK using script tag on your site
- Configure and initialize the SDK with a url to your backend to request a frontend session token
- Your backend retrieves a session from the Versatile Ecommerce API
- You backend passes the token to the Storefront SDK
- The SDK launches the credit application
- 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.