latestSwagger 2.02026-08-101561322.2 MB

3e4029d19684

Billing

Get all invoices

<a class="try-sandbox-link" href="https://sandbox.textmagic.com/#/Invoices/getInvoices" target="_blank">Try in sandbox</a><br>With the TextMagic API, you can check the invoices and transactions for your account.

get/api/v2/invoices

Query parameters

pageinteger

Fetch specified results page.

limitinteger

The number of results per page.

Response

Returned when successful.

pageinteger required
pageCountinteger required

The total number of pages.

limitinteger required

The number of results per page.

Example response

{
  "page": 1,
  "pageCount": 10,
  "limit": 10,
  "resources": [
    {
      "id": 1099,
      "bundle": 200,
      "currency": "USD",
      "vat": 2,
      "paymentMethod": "MasterCard ending in 1234"
    }
  ]
}