Hyperswitch Vault: Pass Through Proxy Payments
Send payments to PSPs using Vault tokens without handling raw card data
Last updated
Was this helpful?
Send payments to PSPs using Vault tokens without handling raw card data
Last updated
Was this helpful?
๐ What is it?
The Proxy Payments Service allows merchants to tokenize cards via Hyperswitch Vault and make API calls to PSPs using those tokens. The Vault intercepts these requests, replaces tokens with raw card data (detokenization), and forwards them securely to the PSP.
No PSP re-integration needed โ Keep your existing PSP connections.
PCI DSS scope reduction โ Raw card data stays within Vault.
Data security โ Detokenization happens only during the request lifecycle.
Centralized token management โ One vault, many PSPs.
Tokenize cards using Vault: Tokenize your customers' cards using the and store the payment_method_id of each card
Send your proxy payment request: Send your PSP payment request to the Vault proxy endpoint including the target PSP's url as the destination url and payment_method_id that was received in Step 1
Detokenize: Vault parses request and replaces token placeholders with actual card data
Forward to PSP: The request is sent to the PSP
Return Response: Vault returns PSP response to the merchant
Include the following details:
Include the Hyperswitch Proxy payments related fields in the headers:
URL: Proxy endpoint (https://sandbox.hyperswitch.io/proxy)
API Key: Your API key for the merchant_id under which the vault service was created on Hyperswitch dashboard
Profile_id: Your profile_id for the merchant_id under which the vault service was created on Hyperswitch dashboard
Include the following details in the body:
request_body
: Include the request body of the PSP payment request
destination_url
, method
, headers
: Pass your PSP url as destination url, PSP endpoint method and headers under the respective fields
Vault tokens:
token_type
: Choose payment_method_id or tokenization_id
token:
Plug the payment_method_id or tokenization_id that you would have received when tokenizing card data or PII data at Hyperswitch vault
Placeholders for token data: In the request_body
, Plug in the dynamic placeholders{{$card_number}}
, {{$card_exp_month}}
,{{$card_exp_year}}
against the PSP request fields where you want the actual values of the tokens from the Vault to be substituted
Sample Proxy payment request (Checkout.com)