Was this helpful?
/invoices
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/invoices' \ --header 'Authorization: Bearer JWT'
[ { "id": "text", "billing_start": "2025-03-13T15:11:17.417Z", "billing_end": "2025-03-13T15:11:17.417Z", "subscription_id": "text", "total_amount": 1, "status": "text", "created_at": "2025-03-13T15:11:17.417Z" } ]
/invoices/{invoice_id}
curl -L \ --url 'https://beta.data.banyan.computer/api/v1/invoices/{invoice_id}' \ --header 'Authorization: Bearer JWT'
{ "id": "text", "billing_start": "2025-03-13T15:11:17.417Z", "billing_end": "2025-03-13T15:11:17.417Z", "subscription_id": "text", "total_amount": 1, "status": "text", "created_at": "2025-03-13T15:11:17.417Z" }