📘 LEDGERS API Overview
The LEDGERS API is a RESTful web service that enables developers to seamlessly integrate accounting, invoicing, and compliance operations into their applications.
It follows predictable resource-oriented URLs and uses standard HTTP methods, authentication headers, and status codes.
🔐 Authentication
All requests to the LEDGERS API require an API Key for authentication.
You must include your key in the request header using the x-api-key parameter
Each environment has its own credentials:
Sandbox Key – for testing integrations
Production Key – for live business data
⚠️ Keep your API key secure. Never share it publicly or commit it to source control.
🧪 Sandbox Mode
Use sandbox mode for testing your integration without affecting real business data. The sandbox environment mimics the live environment closely for safe and effective development.
📌 The environment (sandbox or production) is determined by the URL Domain used.
| Mode | Domain |
|---|---|
| Sandbox | https://in-api-uat.ledgers.cloud |
| Production | https://in-api.ledgers.cloud |
