The Hosted Session SDK is a secure, lightweight JavaScript library that lets you collect and tokenize sensitive payment details — like card numbers and expiry dates — directly from your customers without ever touching raw card data on your servers.
It’s the ideal choice for merchants who want full control over their checkout UI while keeping PCI DSS compliance easy and manageable.
⚓ Why use the Hosted Session SDK?
- Reduce PCI Scope
Sensitive fields are securely hosted by us — drastically lowering your PCI DSS requirements. - Customisable UI
Design your own checkout form and embed secure fields seamlessly. - Secure Tokenisation
Card data is tokenised client-side and never touches your environment. - Wallet Support
Add Apple Pay, Samsung Pay, and more — right into your hosted session. - Simple Integration
Just load the SDK and configure — no heavy backend changes needed.
How it works
-
Request a Session
Your backend requests a session token from our API. -
Load the SDK
Include the SDK in your HTML:<script src="https://paypage.sandbox.ngenius-payments.com/hosted-sessions/sdk.js"></script>
-
Embed Hosted Fields
Inject secure fields like card number and expiry date using the SDK. -
Tokenise and Submit
When your customer submits the form, the SDK tokenises the payment data and sends a secure token back to your backend for payment processing.
Learn more
Explore advanced topics: