Accept Payments

We at Hyperswitch simplify accepting one-time payments by offering a seamless integration process that empowers businesses to start accepting payments in just a few minutes.

Get Started

1. Get your Hyperswitch API key

  • Sign up on Hyperswitch Control Centre: If you haven’t already, create an account on the Hyperswitch Control Centre.

  • Locate API key: Access your API key from the Settings > Developers section in the Control Center.

2. Configure your payment processor

  • Set up payment processor: Navigate to the Connectors tab in the Control Center to configure your preferred payment processor. You’ll need API credentials for the processor.

3. Integrate Hyperswitch

You will use both a server-side and a client-side component of Hyperswitch to complete the integration. The payment flow begins once your user adds products to a shopping cart and wishes to make a payment.

Steps to Integrate Hyperswitch

  1. Initiate Payment on Server: Your server creates a payment request with the Hyperswitch server to obtain a client_secret.

  2. Render Payment Widget: Your website or app initiates the Hyperswitch SDK, which renders a payment widget for the customer. The widget dynamically displays payment methods based on the customer’s currency and country.

  3. Customer Makes Payment: The customer selects a payment method, provides additional details (e.g., card information), and clicks the Pay button.

  4. Secure Payment Processing: The Hyperswitch SDK securely transmits the payment information to the Hyperswitch server, which processes the payment using the most suitable processor as determined by your smart routing algorithm.

  5. Payment Confirmation: Upon successful payment, the customer is automatically redirected to your payment status confirmation page.

Don’t want to write code? Check out the Hyperswitch Postman Collection for a no-code way to get started with Hyperswitch's API.

Have Questions? Join our Slack Community to ask questions, share feedback, and collaborate. Prefer direct support? Use our Contact Us page to reach out.

FAQs

What is a connector?

Hyperswitch refers to payment processors, fraud / risk engines and other payment integrations as connectors. Hyperswitch currently supports 50+ global payment processors that you can use to process payments on your application

How can I decide the best payment methods for my business?

Hyperswitch supports 100+ payment methods across various payment processors. There is no one size fits all payment methods but you can learn more about how you can decide the best payment methods for you business here.

What will the completed integration look like?

Hyperswitch offers various customization options but you can try out our demo store here to test the checkout experience

Are there any sample integrations for reference?

Here are a few demo integrations for various tech stacks:

Last updated

Was this helpful?