Headless SDK
Juspay Hyperswitch is designed to facilitate the integration and management of payment-related functionalities in a decoupled or headless architecture with flexibility to customize your checkout UI.
// Source Hyperloader on your HTML file using the <script /> tag
hyper = Hyper.init("YOUR_PUBLISHABLE_KEY",{
customBackendUrl: "YOUR_BACKEND_URL",
//You can configure this as an endpoint for all the api calls such as session, payments, confirm call.
});paymentSession = hyper.initPaymentSession({
clientSecret: client_secret,
});options (Required)
Description
options (Required)
Description
confirmParams
Description
options (Required)
Description
confirmParams
Description
Last updated
Was this helpful?

