Payment Method Management SDK
Securely store and manage customer payment details without handling sensitive data.
The Hyperswitch Payment Methods Management SDK allows you to embed a pre-built, secure user interface directly into your website or application. This feature enables your customers to save, view, and manage their payment methods (credit cards, digital wallets) while Hyperswitch handles the complex security, encryption, and compliance requirements in the background.
Why use Payment Methods Management?
1. Minimal Compliance Burden
Handling raw credit card numbers typically requires strict PCI DSS compliance. By using this SDK, all sensitive data is captured within a secure iframe hosted by Hyperswitch. Your servers never see, touch, or store the raw card numbers.
2. Increase Conversion with "One-Click" Payments
Stored payment methods allow returning customers to check out instantly, significantly reducing cart abandonment. The SDK provides a centralized view where users can manage their cards, ensuring their payment data is up-to-date and ready for their next purchase.
3. Processor Independence
Hyperswitch stores card data in a neutral Vault. Unlike processor-specific storage (which locks your data to one vendor), Hyperswitch tokens can be routed to any supported processor (e.g., Stripe, Adyen, Worldpay). This gives you the flexibility to switch providers or route transactions dynamically without asking customers to re-enter their details.
How it Works
The solution connects your application to the Hyperswitch Vault through a secure handshake.
Session Creation: When a user visits their "Saved Cards" page, your server requests a secure session from Hyperswitch linked to that specific
customer_id.Tokenization: When a customer adds a card, Hyperswitch encrypts the raw data and returns a secure "Token" (e.g.,
pm_token_123) to your system.Visual Management: The SDK automatically retrieves these tokens and renders them as visual cards (showing the Brand, Last 4 Digits, and Expiry). The customer can delete old cards or add new ones entirely within the UI.
Key Features
Pre-built UI Components: A polished, ready-to-use interface that handles input validation, error messages, and loading states automatically.
Fully Customizable: The SDK is themeable, you can adjust fonts, colors, border radius, and spacing to ensure the payment form matches your brand identity perfectly.
Native Card Recognition: Automatically detects and displays logos for major card networks (Visa, Mastercard, Amex, Discover, etc.).
Secure Tokens: All operations result in a secure
payment_method_idthat you can use to charge the customer later, without ever handling raw PANs (Primary Account Numbers).
Integration Documentation :
Last updated
Was this helpful?

