A pending bonus is a reward that will be credited to the user account immediately when issued but will require user action before activated. Pending bonuses are great to use when you want to award an achievement badge, and once you click on it, it will activate the given bonus.

Pending Deposit Bonuses works in the same way, but this bonus will instead offer the user a code to be used when making the next deposit.

✔ Authentication

In order to make this work, you need to have an endpoint at your side which purpose is to validate the user session id (sid). This sid will be provided when the integration is begun.

Read more here about the auth endpoint/sid validation

👩‍🔬 Basic Installation of CRM

Insert the following code snippet before the end of </body> replace {brand} with supplied brand name from Fast Track.

var sid = 'xx-xx-xx-xx';
//Global Variable
window.fasttrackbrand = '{brand}';
//Script Setup
var fastTrackCrmScript = document.createElement('script');
fastTrackCrmScript.async = true;
fastTrackCrmScript.onload = function () {
new window.FastTrackLoader();
fastTrackCrmScript.src = "https://crm-lib.fasttrack-solutions.com/loader/fasttrack-crm.js";

The sid variable should contain an authentication token or other unique token for the user.