curl --request GET \
--url https://api.trieve.ai/api/stripe/invoices/{organization_id} \
--header 'Authorization: <api-key>'
[
{
"created_at": "2023-11-07T05:31:56Z",
"hosted_invoice_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"stripe_id": "<string>",
"total": 123
}
]
Get a list of all invoices
curl --request GET \
--url https://api.trieve.ai/api/stripe/invoices/{organization_id} \
--header 'Authorization: <api-key>'
[
{
"created_at": "2023-11-07T05:31:56Z",
"hosted_invoice_url": "<string>",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "<string>",
"stripe_id": "<string>",
"total": 123
}
]
The id of the organization to get invoices for.
List of all invoices
The response is of type object[]
.
Was this page helpful?