Use the hosted session SDK to collect and tokenise customer payment details without handling raw card data on your servers.
You control your checkout user interface (UI) while hosted fields reduce your Payment Card Industry Data Security Standard (PCI DSS) scope.
Why use the hosted session SDK?
The SDK provides these features:
- Reduced PCI DSS scope: Network International hosts the sensitive fields, reducing your PCI DSS scope.
- Customisable UI: Design your checkout form and embed hosted fields.
- Client-side tokenisation: The SDK replaces card data with a token, so your servers do not handle raw card data.
- Wallet support: Add Apple Pay and Samsung Pay to your hosted session.
- Simple integration: Load and configure the SDK to embed hosted fields in your checkout form.
How it works
Integrate hosted fields into your checkout form:
-
Request a session token from the API through your backend.
-
Load the SDK in your HTML:
<script src="https://paypage.sandbox.ngenius-payments.com/hosted-sessions/sdk.js"></script>This script loads the SDK for embedding hosted fields.
-
Embed hosted fields for the card number and expiry date using the SDK.
-
Submit the payment data through the SDK when your customer submits the form. The SDK tokenises the data and returns a token to your backend for payment processing.
Optional: Explore advanced topics
Customise your hosted session integration:

