> ## Documentation Index
> Fetch the complete documentation index at: https://www.carstoragesoftware.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List subscriptions

> Requires `read:billing`. Customers' recurring storage subscriptions. Filter with `customerId` or `status` (e.g. `active`, `past_due`, `canceled`).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/billing/subscriptions
openapi: 3.0.0
info:
  title: Car Storage Software API
  version: 1.2.0
  description: >-
    Team-scoped REST API for Car Storage Software. Authenticate with a team API
    key (`Authorization: Bearer <key>` or `x-api-key: <key>`) created under
    Settings → Integrations → API. Keys carry granular `read:*` / `write:*`
    scopes; read never implies write.
servers:
  - url: https://www.carstoragesoftware.com
security: []
paths:
  /api/v1/billing/subscriptions:
    get:
      tags:
        - Billing
      summary: List subscriptions
      description: >-
        Requires `read:billing`. Customers' recurring storage subscriptions.
        Filter with `customerId` or `status` (e.g. `active`, `past_due`,
        `canceled`).
      parameters:
        - schema:
            type: integer
            minimum: 1
            default: 1
          required: false
          name: page
          in: query
        - schema:
            type: integer
            minimum: 1
            maximum: 200
            default: 50
          required: false
          name: limit
          in: query
        - schema:
            type: string
            format: date-time
          required: false
          name: updatedAfter
          in: query
        - schema:
            type: string
          required: false
          name: ids
          in: query
        - schema:
            type: string
            format: uuid
          required: false
          name: customerId
          in: query
        - schema:
            type: string
            description: Filter by status, e.g. `active`.
          required: false
          description: Filter by status, e.g. `active`.
          name: status
          in: query
      responses:
        '200':
          description: Subscriptions.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1BillingSubscriptionsResponse'
        '401':
          description: Missing, invalid, revoked, or expired API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '403':
          description: API key missing required scope, or API disabled for team.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '404':
          description: Resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '422':
          description: Request validation failed.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
      security:
        - ApiKeyAuth: []
components:
  schemas:
    V1BillingSubscriptionsResponse:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/V1BillingSubscription'
        page:
          type: integer
        limit:
          type: integer
        total:
          type: integer
      required:
        - data
        - page
        - limit
        - total
    ApiError:
      type: object
      properties:
        error:
          type: string
        code:
          type: string
        details:
          nullable: true
      required:
        - error
    V1BillingSubscription:
      type: object
      properties:
        id:
          type: string
          format: uuid
        customerId:
          type: string
          format: uuid
        productId:
          type: string
          format: uuid
        productName:
          type: string
          nullable: true
        carId:
          type: string
          nullable: true
          format: uuid
        status:
          type: string
          description: '`active`, `paused`, `past_due`, `unpaid`, `canceled`, …'
        currentPriceCents:
          type: integer
          nullable: true
        currentPeriodStart:
          type: string
          nullable: true
          format: date-time
        currentPeriodEnd:
          type: string
          nullable: true
          format: date-time
        cancelAtPeriodEnd:
          type: boolean
        canceledAt:
          type: string
          nullable: true
          format: date-time
        stripeSubscriptionId:
          type: string
          nullable: true
        items:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
              productId:
                type: string
                format: uuid
              productName:
                type: string
                nullable: true
              carId:
                type: string
                nullable: true
                format: uuid
              quantity:
                type: integer
              netAmountCents:
                type: integer
                nullable: true
              currency:
                type: string
            required:
              - id
              - productId
              - productName
              - carId
              - quantity
              - netAmountCents
              - currency
        createdAt:
          type: string
          nullable: true
          format: date-time
        updatedAt:
          type: string
          nullable: true
          format: date-time
      required:
        - id
        - customerId
        - productId
        - productName
        - carId
        - status
        - currentPriceCents
        - currentPeriodStart
        - currentPeriodEnd
        - cancelAtPeriodEnd
        - canceledAt
        - stripeSubscriptionId
        - items
        - createdAt
        - updatedAt
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        Team API key from Settings → Integrations. Use `Authorization: Bearer
        <key>` or `x-api-key`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.