Hyperswitch is an Open Source Payment orchestrator intended to simplify payments for the merchants. With Hyperswitch, you can connect to multiple Payment processors, aggregators, banks, wallets, BNPLs and future payment methods with a few clicks on our dashboard.
Hyperswitch authenticates your API requests using your account’s API keys. Hyperswitch raises an invalid request error if you don’t include a key, and an authentication error if the key is incorrect or outdated.
You can use the Hyperswitch Dashboard to reveal, revoke, and create secret API keys. If you’re setting up Hyperswitch through a third-party platform (3PP), reveal your API keys in live mode to begin processing payments.
If you have not created a sandbox account, please create one
If you have already created a sandbox account, your api key could be fetched from settings section.
Configure the payment processor of your choice using Connectors tab on our dashboard. You will need to have the API credentials of the payment processor readily available.
If you do not have access to the API credentials of your payment processor, do not worry. Hyperswitch has a demo payment processor automatically configured to your sandbox account. It will assist you to simulate various payment flows and assist you in completing the integration.
Don’t want to write code? Check out the Hyperswitch Postman Collection for a no-code way to get started with Hyperswitch’s API.
You will be using both a server and a client-side component of Hyperswitch to complete the integration.
The payment flow begins once your user has added products to a shopping cart and now wishes to make a payment.
Step 1: Your server will create a payment with Hyperswitch server, to get a client_secret.
Step 2: Your website loads and initiates the Hyperswitch SDK to render a payment widget to the customer. Depending on the customer’s currency and country, the list of payment methods are displayed to the customer.
Step 3: The customer chooses a payment method, enters additional information (say card details) and hits the pay button.
Step 4: Hyperswitch SDK securely transmits the payment information to Hyperswitch Server. The Hyperswitch server processes the payment with the most suitable payment processor, as per the your smart routing algorithm.
Step 5: Upon successful payment, the customer is automatically redirected to your payment status confirmation page.
The Hyperswitch dashboard provides complete control on your payment operations.
Learn how to enable all payment methods here starting with Cards.