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.
Use the dummy processors: If credentials are unavailable, you can configure the dummy processors, pre-built into the Control Center.
These processors help simulate payment flows during integration and provide a risk-free testing environment.
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).png)
- Initiate Payment on Server:\
Your server creates a payment request with the Hyperswitch server to obtain a
client_secret. - 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.
- Customer Makes Payment:\ The customer selects a payment method, provides additional details (e.g., card information), and clicks the Pay button.
- 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.
- 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.