Skip to main content
The Paysight Widget SDK lets you embed a PCI-compliant payment form in any web page. Load the script, call PaySightSDK.createWidget, and handle payment events via onMessage or subscribe.

Secure by design

Card data stays inside the Paysight iframe. Your application never touches PAN or CVV.

Vanilla JavaScript

Single script tag — https://payment.paysight.io/widget-sdk.js

Customizable

Theme CSS, custom fields, localization, and wallet-only layouts.

Advanced flows

Saved payment methods, two-page upsell, Shopify cart mode, and external pay buttons.

What you need

1

Product ID

A numeric product ID from your Paysight account (create a product).
2

Session ID

A unique string per checkout attempt (generated on your server or client).
3

HTTPS

The host page must be served over HTTPS in production.

Quick embed

amount is in decimal currency units (e.g. 29.99 for $29.99), not cents. productId is a number.

Documentation map

Open playground

Try every integration pattern in the browser — no setup required.

Playground guide

What each preset demonstrates and how to use the inspector panel.