Skip to main content
Get from your first API key to a completed sandbox payment using the Vaayu API.
Sandbox environment: Payments currently use testnet funds through a Vaayu test wallet. Do not use real funds or production credentials.

What you’ll build

In this guide you will:
  1. Create an API key
  2. Register a webhook
  3. Send a sandbox payment
  4. Check the transaction status
1

Create an API key

Start by creating a merchant account and generating an API key.Endpoint
Request
Response
cURL
Store the API key securely. Do not put it in frontend code or commit it to GitHub.
2

Register a webhook

Register the URL where your application should receive payment notifications.Endpoint
Header
Request
Response
cURL
3

Send a payment

Submit a payment to a recipient wallet.Endpoint
Header
Request
Response
cURL
4

Check transaction status

Use the transaction hash returned by the payment request to retrieve the latest status.Endpoint
Header
Response
cURL

What happens next?

Once the payment is submitted, Vaayu tracks the transaction and can notify your application through the registered webhook.

Authentication

Learn how API keys work and how to keep them secure.

API Reference

Explore individual endpoints and request and response formats.
You can run the cURL examples from Command Prompt or PowerShell on Windows, or Terminal on macOS and Linux.