Billing

Returns paginated invoices for your account. Invoice records are stored locally and do not require a Stripe API call. Use the page and limit query parameters to paginate.

get/api/v1/billing/invoices

Request

Query parameters

pageinteger
Example:1

Page number to retrieve. Starts at 1. Increment until the response's last_page value is reached. Default: 1.

limitinteger
Example:20

Number of invoices to return per page. Default: 20.

Response

Returns paginated invoices for the account.

status'error' | 'success'

The status of the response

Example response

{
  "status": "success",
  "data": {
    "current_page": 1,
    "data": [
      {
        "id": 1,
        "currency": "USD",
        "paid_at": "2026-01-15 00:00:00",
        "created_at": "2026-01-15 00:00:00",
        "total": "4900"
      }
    ],
    "first_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
    "next_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
    "path": "https://app.customgpt.ai/api/v1/users?page=1",
    "per_page": 10,
    "prev_page_url": "https://app.customgpt.ai/api/v1/users?page=1",
    "to": 1,
    "total": 1
  }
}

Changes