Was this helpful?
/invoices
List of all invoices
Internal server error
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/invoices' \ --header 'Authorization: Bearer JWT'
[ { "id": "text", "billing_start": "2025-02-06T11:54:28.190Z", "billing_end": "2025-02-06T11:54:28.190Z", "subscription_id": "text", "total_amount": 1, "status": "text", "created_at": "2025-02-06T11:54:28.190Z" } ]
/invoices/{invoice_id}
Details of the specified invoice
Invoice not found or not owned by the user
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/invoices/{invoice_id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "billing_start": "2025-02-06T11:54:28.190Z", "billing_end": "2025-02-06T11:54:28.190Z", "subscription_id": "text", "total_amount": 1, "status": "text", "created_at": "2025-02-06T11:54:28.190Z" }