cURL
curl --request GET \ --url https://sandbox-api.billingrails.com/v1/invoices \ --header 'Authorization: Bearer <token>'
{ "invoices": [ { "object": "invoice", "id": "inv_IhMUl3rrZ3", "created_at": "2025-02-14T17:33:40.843Z", "account_id": "acc_IhMUl3rrZ3", "subscription_id": "sub_IhMUl3rrZ3", "meter_id": "meter_IhMUl3rrZ3", "plan_id": "plan_IhMUl3rrZ3", "status": "draft", "currency": "NGN", "amount": 1000, "due_date": "2025-02-14T17:33:40.843Z", "billing_start": "2025-02-14T17:33:40.843Z", "billing_end": "2025-02-14T17:33:40.843Z", "metadata": null } ] }
Retrieves a list of invoices.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Invoice response
The response is of type object.
object