curl --request GET \
--url https://app.thinnest.ai/api/v1/invoices \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "invc_a3f0c8e1-2b7d-4c91-8e5a-6d4f1b2c9e07",
"number": "INV-2026-000184",
"kind": "topup",
"netMinor": 84746,
"taxMinor": 15254,
"grossMinor": 100000,
"currency": "INR",
"tax": {
"kind": "igst",
"rateBp": 1800
},
"gstin": "27AABCS1234F1Z5",
"paymentRef": "pay_Pq7XkL2mN9sT4v",
"issuedAt": "2026-10-05T08:02:11.000Z"
}
],
"nextCursor": null
}List Invoices
One invoice for every payment taken, newest first — the rows under Settings → Billing → History → Invoices. Amounts are integer minor units (paise, cents) of currency, as issued — not micro-units. from/to filter on the issue date. Any key may call this, a read-only key included.
curl --request GET \
--url https://app.thinnest.ai/api/v1/invoices \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.thinnest.ai/api/v1/invoices', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.thinnest.ai/api/v1/invoices"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"items": [
{
"id": "invc_a3f0c8e1-2b7d-4c91-8e5a-6d4f1b2c9e07",
"number": "INV-2026-000184",
"kind": "topup",
"netMinor": 84746,
"taxMinor": 15254,
"grossMinor": 100000,
"currency": "INR",
"tax": {
"kind": "igst",
"rateBp": 1800
},
"gstin": "27AABCS1234F1Z5",
"paymentRef": "pay_Pq7XkL2mN9sT4v",
"issuedAt": "2026-10-05T08:02:11.000Z"
}
],
"nextCursor": null
}Authorizations
Your API key (ta_live_…) from Settings → API keys, sent as Authorization: Bearer <key>. Keep it on a server: it can message every customer you have. A key is full, build or read-only; a request its level does not allow is refused with 403.
Headers
Developers only: the customer workspace this request acts in — its org_… id from POST /customers. Leave it out to act in your own workspace.
"org_3fKq9TzQ1mN8vB2xR7cLpA"
Query Parameters
How many items to return, 1 to 100.
1 <= x <= 100The nextCursor from the previous page. Leave it out for the first page.
First day, YYYY-MM-DD, inclusive, in your workspace's time zone. Optional; either end alone is allowed.
Last day, YYYY-MM-DD, inclusive, in your workspace's time zone. Optional.