Skip to main content

General Information

The Vaayu API provides developer-friendly payment infrastructure for sending and tracking payments through a simple API. This page explains the conventions used across the API.

Base URL

For local development, the API is available at:
Your production base URL will be different.

Authentication

Most protected endpoints require an API key. Send the API key in the X-API-Key header:
Keep API keys private. Do not expose them in browser-side JavaScript or public repositories.

Request Format

For endpoints that accept JSON data, send:
Example:

Response Format

Successful requests return JSON. Example:
The exact response fields depend on the endpoint.

HTTP Methods

Vaayu uses standard HTTP methods:

Common HTTP Status Codes

Transaction IDs

Payment operations return a transaction hash such as:
Use the transaction hash with the transaction-status endpoint to check the payment.

Amounts

Amounts should be provided as numeric values representing the payment amount. Example:
For production integrations, use the exact amount and decimal conventions documented for the payment asset you are using.

Addresses

Blockchain addresses must be supplied in the format expected by the selected network. Example:
Always validate recipient addresses before initiating a payment.

Sandbox

During development, use the Vaayu sandbox environment where available. Sandbox transactions are intended for testing integration flows without using real funds.

API Explorer

If your Vaayu API server is running locally, FastAPI exposes interactive API documentation at:
You can use this interface to inspect endpoints and test requests.

Create API Key

Create and authenticate API keys.

Send Payment

Initiate a payment through the API.

Get Transaction

Retrieve transaction status.

Get Balance

Check a blockchain address balance.