session as it represents a session between your web application and the Hellgate®.
Create Session
Create a session for tokenization using the session API.The response includes the
Example: Create session
session_id of the created session.Example: Session response
Use the SDK
Send the The headless client keeps a secure connection to the Hellgate® backend. Connect it with your application to proceed.
session_id to your web application in the customer’s browser. The session_id is safe to share with the client.After the session_id is handed over to the client, initialise the headless SDK.Load the SDK
The SDK is distributed via our CDN or from NPM.- NPM
- CDN
Example: Install via NPM
Initialise the SDK
With thesession_id and the loaded SDK, initialise a headless client for your browser session.Example: Initialise client
Tokenize Card Data
Hellgate’s Headless SDK enables secure card payment data entry, yet is fully embedded in your web application. The secure communication channel between the SDK and the Hellgate® allows the sensitive card data to be exchanged for so-called tokens. These are made available to you as a payment method.
CARD handler to tokenize cardholder data.Example: Get card handler
One-Line Card Form
A compact way to collect card details: separate entry fields rendered as one unit.Example: One-line card form integration
Separated Card-Data Fields
For more flexibility in layout, create individual elements and mount them separately.Example: Separated card fields
Separated expiration month and year
UseexpiryDateElement: 'separate' to get distinct month and year fields.Example: Separate month and year fields