Introduction
The Libgram API
The Libgram API is organized around REST. Our API has predictable resource-oriented URLs, returns JSON-encoded responses, and uses standard HTTP response codes, authentication, and verbs.
# Base API Endpoint
https://libgram.com/api/v2
Authentication
All requests must include your API Key in the headers. Authenticate your account by including your API Key in the key parameter.
Keep your API key secure. Do not share it in publicly accessible areas such as GitHub or client-side code.
Authentication Header
curl https://libgram.com/api/v2 \
-d "key=YOUR_API_KEY" \
-d "action=services"
GET / POST
Order Status
Retrieve details and real-time status of a specific order ID.
Parameter
Description
order
The ID of the order.
Response Object
{
"charge": "0.2781",
"start_count": "3572",
"status": "Partial",
"remains": "157",
"currency": "INR"
}