---
title: "GET /api/user/billing-history"
method: GET
path: "/api/user/billing-history"
tags: ["secure-user-controller"]
---

# GET /api/user/billing-history

`GET /api/user/billing-history`

## Request

- Base URL: `http://api.lotas.ai`
- URL: `http://api.lotas.ai/api/user/billing-history`
- Auth: none declared

## Query parameters

- `page` integer
- `size` integer

## Response `200`

OK

- BillingHistoryResponse
  - `billing_records` BillingHistoryItem[]
    - `id` string
    - `date` string, date-time
    - `description` string
    - `payment_type` string
    - `amount_dollars` number
    - `status` string
    - `stripe_payment_id` string
    - `billing_period_start` string, date-time
    - `billing_period_end` string, date-time
  - `total_pages` integer
  - `total_elements` integer
  - `current_page` integer
  - `page_size` integer
  - `billing_stats` BillingStats
    - `total_subscription_payments` number
    - `total_usage_based_payments` number
    - `total_pending_charges_payments` number
    - `total_amount_paid` number
    - `subscription_payment_count` integer
    - `usage_based_payment_count` integer
    - `pending_charges_payment_count` integer

---

[API](https://skmtc.dev/lotas/apis/lotas-api.md) - [All operations](https://skmtc.dev/lotas/apis/lotas-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lotas/apis/lotas-api/revisions/be9344411958?raw)
