Skip to main content

Create API Key

Create an API key for a merchant or application that will integrate with Vaayu. API keys authenticate requests to protected Vaayu endpoints.

Endpoint

Request Body

Example Request

Example Response

Store the API key securely after it is created.

Using the API Key

Send the API key with subsequent authenticated requests using the X-API-Key header.

Security

Treat API keys like passwords.
  • Do not commit API keys to GitHub.
  • Do not put API keys in frontend JavaScript.
  • Do not share API keys publicly.
  • Do not include API keys in screenshots or documentation examples.
For production integrations, store API keys in a secure environment or secrets manager.

Invalid API Key

If an invalid or missing API key is supplied to a protected endpoint:
The HTTP status is:

Next Steps

Authentication

Learn how to authenticate requests using your API key.

Send Payment

Use your API key to initiate a payment.