For the complete documentation index, see llms.txt. This page is also available as Markdown.

Vault

Juspay Hyperswitch Vault — secure, modular payment method storage with flexible PCI compliance options

Juspay Hyperswitch Vault is a PCI-compliant service for securely storing customer payment methods (cards, wallets, bank accounts) and generating reusable tokens (payment_method_id). It can be used standalone (vault-only, no orchestration) or alongside the Hyperswitch Payments Orchestrator.

Key Features

  • PCI DSS Compliant Storage — Card data is stored in Juspay's certified vault; your servers never handle raw card numbers.

  • Reusable Tokens — Every stored payment method gets a unique payment_method_id that works across new payments, recurring charges, and MITs.

  • Network Tokenization — When a card is saved, Hyperswitch automatically provisions a Visa or Mastercard network token and manages its lifecycle (renewal, updates).

  • Flexible Deployment — Deploy as a standalone vault service, integrate with Juspay's hosted infrastructure, self-host with your own PCI-compliant environment, or connect third-party vault providers (VGS, TokenEx, etc.).

  • Proxy Payments — Send PSP API calls through the Vault Proxy so raw card data never touches your servers or the PSP directly.

  • Customer Payment Method Management — Customers can view, add, and delete saved cards via an embeddable SDK widget.


Getting Started with Vault


Modular Vaulting Architecture

Modular Vaulting is the foundation of Hyperswitch's payment infrastructure — it gives merchants the flexibility to use Hyperswitch's built-in PCI-compliant vault or connect any third-party vault provider, without re-architecting their payment stack.

Modular Vaulting Architecture in Hyperswitch

Merchants can start with the simplest model and migrate to a more sophisticated one as their compliance posture or infrastructure evolves. All models share the same payment_method_id token standard.


When to Use Vault Standalone vs. with the Payments Orchestrator

Vault Standalone
Vault with Orchestrator

Purpose

Store cards and generate tokens; payments are made separately via your own or a third-party PSP

Store cards and process payments through Hyperswitch routing, retries, and analytics

Typical flow

Vault-Then-Pay using your own payment infrastructure or Proxy API

Pay-Then-Vault (card saved after payment) or Vault-Then-Pay via Hyperswitch Orchestration

PCI scope

Managed entirely by Juspay Vault

Managed by Juspay (SaaS) or shared (self-hosted)

Last updated

Was this helpful?