Billing

List financial statements

Changed on

Returns the auto-generated financial statements for the authenticated account, paginated and ordered by billing period.

get/v1/billing/invoices

Request

  • Base URL
    https://api.wavix.com
  • URL
    https://api.wavix.com/v1/billing/invoices
  • Auth
    HTTP bearer

Query parameters

pageinteger
Example:1

Page number to retrieve. Default 1.

per_pageinteger
Example:25

Number of records to return per page. Default 25.

Response

Returns a paginated list of financial statements.

is_emptyboolean required

Indicates whether the statement list is empty.

Example response

{
  "invoices": [
    {
      "id": 43209,
      "amount": "7.72",
      "from_date": "2023-07-01",
      "to_date": "2023-07-31"
    }
  ],
  "pagination": {
    "current_page": 2,
    "per_page": 25,
    "total": 101,
    "total_pages": 5
  }
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API