Add payment widget library

  1. Contact your Account Manager to get access to the library.
  2. Add a link to the library to the site of your platform. In the request, pass the authorization token obtained in the previous integration step.

Copy
Full screen
Small screen
    <script>
        const token = /<your token>/;
        var s = document.createElement('script');
        s.type = "text/javascript";
        s.async = true;
        s.src = "_bundles/santorelli.js";
        s.addEventListener('load', function () {
            const widget = new XPayoutsWidget.Widget(token);
            widget.show();
        }, false);
        var head = document.getElementsByTagName('head')[0];
        head.appendChild(s);
    </script>

    Your progress
    Thank you for your feedback!
    Last updated: July 20, 2022

    Found a typo or other text error? Select the text and press Ctrl+Enter.

    Report a problem
    We always review our content. Your feedback helps us improve it.
    Provide an email so we can follow up
    Thank you for your feedback!