Subscription History
Returns every subscription record for the org — useful for audit logs and customer-success workflows.
GET/v2.0/billing/subscriptions
Query Parameters
Query
| Parameter | Type | Description |
|---|---|---|
| status | string | active | cancelled | expired | pending |
| page | number | 1-based page indexDefault: 1 |
| limit | number | Page size (1–100)Default: 20 |
Example
cURL
curl -X GET "https://api.sendiee.com/v2.0/billing/subscriptions?limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"Response
{
"success": true,
"data": [
{
"subscriptionId": "664a...",
"plan": {
"id": "65c1...",
"name": "Growth"
},
"billingCycle": "monthly",
"status": "active",
"paymentStatus": "paid",
"startDate": "2026-04-01T00:00:00.000Z",
"endDate": "2026-05-01T00:00:00.000Z",
"amountPaid": 2999,
"currency": "INR",
"createdAt": "2026-04-01T00:00:00.000Z"
}
],
"pagination": {
"total": 5,
"page": 1,
"limit": 10,
"totalPages": 1,
"hasMore": false
}
}