Skip to main content

Billing API

The Billing API lets you fetch invoices and payment status for your organization. It provides a paginated list of subscription invoices with their payment details.
Prerequisites: Make sure you have your API Token and Org-Handle ready. See Authentication for details.

What You Can Do

EndpointDescription
GET /api/v2/platform/organisation/billing/Retrieve invoices and billing data for the organization

Base URL

https://unpod.dev/api/v2/platform/

Authentication

All Billing API requests require a valid JWT token and Org-Handle in the headers:
Authorization: jwt <token>
Org-Handle: your-org-handle
For call analytics data, use the separate Analytics endpoint.

Common Error Codes

Status CodeDescription
200Success - Billing data fetched successfully
400Bad Request - Missing required headers
401Unauthorized - Invalid or missing token
404Not Found - Organization not found