HyperSwitch APIs
Number of APIs: 67
Get started
Hyperswitch Router provides a collection of APIs that enable you to process and manage payments. Our APIs accept and return JSON in the HTTP body, and return standard HTTP response codes.
You can consume the APIs directly using your favorite HTTP/REST library.
We have a testing environment referred to sandbox
, which you can setup to test API calls without affecting production data.
Base URLs
Use the following base URLs when making requests to the APIs:
Environment | Base URL |
---|---|
Sandbox | https://sandbox.hyperswitch.io |
Production | https://live.hyperswitch.io |
Authentication
When you sign up for an account, you are given a secret key (also referred as api-key). You may authenticate all API requests with Juspay server by providing the appropriate key in the request Authorization header.
Never share your secret api keys. Keep them guarded and secure.
Contact Support:
Name: Hyperswitch Support
Email: hyperSwitch@juspay.in
-
PaymentConnectors - Payment Connector - Delete DELETE {{baseUrl}}/account/:account_id/connectors/:connector_id
-
QuickStart - Merchant Account - Create POST {{baseUrl}}/accounts
-
Customers - Create Customer POST {{baseUrl}}/customers
-
PaymentMethods - Delete PaymentMethods DELETE {{baseUrl}}/payment_methods/:id
-
Users - User - Connect account POST {{baseUrl}}/user/connect_account
-
Users - User - Signin POST {{baseUrl}}/user/v2/signin
-
QuickStart - API Key - Create POST {{baseUrl}}/api_keys/:merchant_id
-
QuickStart - Payments - Create POST {{baseUrl}}/payments
-
QuickStart - Payments - Retrieve GET {{baseUrl}}/payments/:id?force_sync=true&expand_captures=true&expand_attempts=true
-
QuickStart - Refunds - Create POST {{baseUrl}}/refunds