---
title: "Get Billing Access"
method: GET
path: "/v1/billing/access"
tags: ["billing"]
---

# Get Billing Access

`GET /v1/billing/access`

## Query parameters

- `workspace_id` string, uuid, required
- `refresh_subscription` boolean

## Response `200`

Successful Response

- BillingAccessOut
  - `workspace_id` string, uuid, required
  - `has_access` boolean, required
  - `source` string, required
  - `enforcement_enabled` boolean, required
  - `billing_mode` 'pending_setup' | 'stripe_checkout' | 'manual', required
  - `is_ontora_staff` boolean
  - `subscription_status` string, nullable
  - `subscription_id` string, nullable
  - `plan_key` string, nullable
  - `subscription_amount_cents` integer, nullable
  - `subscription_base_amount_cents` integer, nullable
  - `subscription_currency` string, nullable
  - `subscription_interval` string, nullable
  - `subscription_interval_count` integer, nullable
  - `subscription_discount_applied` boolean
  - `subscription_cancel_at_period_end` boolean
  - `trial_ends_at` string, date-time, nullable
  - `current_period_end` string, date-time, nullable
  - `access_ends_at` string, date-time, nullable
  - `is_tester` boolean

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
