Verestro Paytool Client SDK

Initialization

To start working with the SDK, add the following script to your website:

<script src="https://paytool.verestro.com/v1/paytool.js"></script>

The script creates a new property named Paytool in the window object, giving a global access to it's API.

Note: Cross-Origin Resource Sharing → Your domain must be whitelisted for the script to load properly on your website. See the full integration guidelines on https://developer.verestro.com for more.

Testing: You can also check your integration on a staging environment to avoid charging payments. To do this, simply replace the script's src with https://paytool.verestro.dev/v1/paytool.js.

Tip: A separate enrollment is required, your production credentials won't work. The staging environment, even though meant to be stable, often changes and temporal issues might occur.

Usage

Refer to one of the available functions to learn how to work with the SDK.

E.g. start with redirect.