---
title: "Billing Subscription"
method: GET
path: "/api/billing/subscription"
---

# Billing Subscription

`GET /api/billing/subscription`

## Request

- Base URL: `https://api.animgen.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.animgen.com/api/billing/subscription`
- Auth: none declared

## Response `200`

Successful Response

- UserSubscriptionOut
  - `planCode` string, nullable
  - `status` string, nullable
  - `currentPeriodStart` string, nullable
  - `currentPeriodEnd` string, nullable
  - `cancelAtPeriodEnd` boolean
  - `provider` string, nullable
  - `source` 'billing' | 'admin', nullable
  - `canChange` boolean
  - `pendingChange` BillingSubscriptionChangeOut
    - `requestId` string, uuid, required
    - `status` string, required
    - `changeType` 'upgrade' | 'downgrade', required
    - `applyMode` 'immediate' | 'next_period', required
    - `currentPlanCode` string, required
    - `targetPlanCode` string, required
    - `requestedAt` string, required
    - `effectiveAt` string, nullable
    - `processedAt` string, nullable
    - `immediateChargeAmountMinor` integer
    - `immediateChargeCurrency` string, nullable
    - `settlementAmountMinor` integer
    - `settlementCurrency` string, nullable
    - `reason` string, nullable
    - `paymentFailed` boolean
    - `paymentFailureCode` string, nullable
    - `submissionUnknown` boolean
  - `billingPlanCode` string, nullable
  - `billingStatus` string, nullable
  - `billingCurrentPeriodStart` string, nullable
  - `billingCurrentPeriodEnd` string, nullable
  - `billingCancelAtPeriodEnd` boolean
  - `billingProvider` string, nullable
  - `billingCanChange` boolean

---

[API](https://skmtc.dev/animgen/apis/aianimgenbackend.md) · [All operations](https://skmtc.dev/animgen/apis/aianimgenbackend/llms.txt) · [OpenAPI document](https://skmtc.dev/animgen/apis/aianimgenbackend/revisions/ac3744fbb14e?raw)
