---
title: "Current Subscription"
method: GET
path: "/workspaces/{wid}/billing/payment-subscription"
tags: ["payments"]
---

# Current Subscription

`GET /workspaces/{wid}/billing/payment-subscription`

## Request

- Base URL: `https://app.linerecon.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.linerecon.com/workspaces/{wid}/billing/payment-subscription`
- Auth: none declared

## Path parameters

- `wid` string, uuid, required

## Response `200`

Successful Response

- PaymentSession
  - `id` string, uuid, required
  - `workspace_id` string, uuid, required
  - `provider` 'pancake' | 'stripe', required
  - `mode` 'simulation' | 'sandbox' | 'live', required
  - `status` 'pending' | 'paid' | 'failed' | 'cancelled', required
  - `offer` PaymentOffer, required
    - `id` string, required
    - `name` string, required
    - `kind` 'pack' | 'subscription', required
    - `cadence` 'pack' | 'monthly' | 'annual', required
    - `currency` 'USD' | 'GBP' | 'EUR', required
    - `amount_minor` integer, required
    - `credits` string, required
    - `storage_quota_bytes` integer, nullable
  - `checkout_url` string, nullable, required
  - `credits_granted` string, required
  - `created_at` string, date-time, required
  - `subscription` PaymentSubscription
    - `status` string, required
    - `renewal_cancelled` boolean, required
    - `paid_through` string, date-time, nullable, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `413`: Content Too Large
- `422`: Unprocessable Content
- `429`: Too Many Requests
- `503`: Service Unavailable

---

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