Token First Model Setup
Best for PCI compliant merchants who wants to store the card during initial checkout phase without charging their customers.
The Payment method SDK allows you to securely collect payment information and give customers the option to save their payment details for future transactions. By vaulting these details during the initial checkout phase.
Key Features
Full Token Management – Create, retrieve, update, and delete payment tokens directly from your server.
PSP and Network Tokenization – Generate both PSP tokens and network tokens through a single API.
Secure Storage – Store tokens safely in Hyperswitch’s Vault.
Reduced Frontend Complexity – Shift tokenization processes to the backend, minimizing frontend dependencies.
Understanding Payment and Vault Flow
Vaulting :
Collect Card Details – Card details are entered by customer and sent to your server.
Send a Tokenization Request – Make a /payment_methods API request with the card details.
Token Creation & Validation – Hyperswitch validates the request and generates a secure token in the vault.
PSP & Network Tokenization (Optional) – If configured through your Hyperswitch dashboard, we also generate PSP and/or network tokens when you pass relevant parameters as mentioned below
Receive Payment Method ID – You get a
payment_method_id, which can be used for future payments.
Payment :
Payment using stored card : To charge the customer you will will have to call the
/payment/createAPI and pass thepayment_method_idalong withconfirmastrue
Integration Documentation -
Last updated
Was this helpful?

