🚀Using postman
Create your Hyperswitch account and add a payment provider through postman
Account setup using Postman
Create a Hyperswitch account
In Hyperswitch, payments are processed for a merchant. Hyperswitch is multi-tenant, i.e. a single hyperswitch app server can support multiple merchants.
Use the below cURL command to create a new merchant account. Set the admin API key you configured in the application configuration for admin_api_key
variable in the cURL request. You can find the configuration file at config/docker_compose.toml
, search for api_key
to find the admin API key. Trigger the request to create a merchant account. You should obtain a response containing the merchant ID and publishable key.
Create an API key
Use the below cURL command to create an API key. Update URL of the below cURL request with the merchant_id
obtained in the previous step. Once you trigger the request, you will obtain a response containing the plaintext API key. Store the API key returned in the response securely.
Set up a payment processor
Run the below cURL to set up your preferred payment processor an API key. You'll need the API keys of payment processor. In case you don't have an account with a payment provider, you can sign-up on any payment processor (say Stripe, Adyen, etc.) and get the necessary credentials.
In the below cURL update the following details
Under
connector_name
andconnector_account_details
fields.Connector_name
is the name of the Payment provider you want to process payment throughConnector_account_details
are the respective details of the payment provider in order to complete the authentication succesfully. You can find payment provider-specific details to be included in this spreadsheet.Update URL of the below cURL request with the
merchant_id
obtained in the previous step
Resources
To explore more of our APIs, please check the remaining folders in the Postman collection
Next step:
💵Test a paymentLast updated