Juspay Hyperswitch
1
2
3
4
1Create Customer
Not started
3Integration Code
Not started

Complete Step 2 to generate the integration code.

How This Works

1

Create Customer

POST/v1/customers

Creates a new customer. Returns customer_id

2

Create PM Session

POST/v1/payment-method-sessions

Scoped to a customer. Returns idsdk_authorization

3

Mount SDK Preview

Review & copy the integration code

Then click Mount SDK to load the live preview.

4

Confirm Tokenization

SDKconfirmTokenization()

Returns a payment_token for future charges.

Repeat Customer (Saved Card)

Same customer_id + new session

After tokenization, create a new PM session with the same customer. The SDK automatically surfaces saved cards — no card re-entry needed.

Start by clicking Create Customer in Step 1 on the left. After tokenization, try the ✦ Repeat Customer flow to see saved cards in action.