Getting Started with the Web SDK

The Abowire Web SDK is a frontend library you can add to your Website to easily integrate Abowire to your business. The Web SDK includes:

  • Checkout SDK

  • Customer Portal SDK

Getting Started

Before you get started, you will need to create a frontend API Key.

Installation

To install the Abowire Web SDK into your Website, copy & paste the SDK's script into the <head> section of the page.

<script src="https://sdk.abowire.com/abowire.min.js"></script>
<script>
abowire.config({
clientId: '<your client id>',
environment: 'sandbox'
});
</script>

Parameter

Description

Is required

clientId

Your Abowire OAuth2 Client ID

Required

environment

Abowire environment (sandbox or production)

Required

sessionToken

A customer-bound Session Token

Optional

currency

Currency ISO code (eg. EUR)

Optional

language

Language ISO code (eg. en_UK)

Optional

Using the SDK

After the SDK is loaded, a variable named abowire will be globally available (window.abowire).

Please note that all actions in the SDK must be treated as "fire & forget".