---
title: "Billing Preview"
method: POST
path: "/v1/organizations/{organization_id}/billing/preview"
tags: ["Billing"]
---

# Billing Preview

`POST /v1/organizations/{organization_id}/billing/preview`

## Request

- Base URL: `https://api.usealmanac.com`
- URL: `https://api.usealmanac.com/v1/organizations/{organization_id}/billing/preview`
- Auth: HTTP bearer

## Path parameters

- `organization_id` string, required

## Request body

- BillingPreviewRequest
  - `plan_id` string, required

## Response `200`

Successful Response

- HostedBillingPreview
  - `checkout_type` string, nullable
  - `currency` string, nullable
  - `line_items` HostedBillingPreviewLine[]
    - `description` string, nullable
    - `name` string, required
    - `quantity` number, nullable
    - `subtotal` number, nullable
    - `total` number, nullable
  - `plan_id` string, required
  - `redirect_to_checkout` boolean
  - `subtotal` number, nullable
  - `total` number, nullable

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/usealmanac/apis/almanac-v1-api.md) - [All operations](https://skmtc.dev/usealmanac/apis/almanac-v1-api/llms.txt) - [OpenAPI document](https://skmtc.dev/usealmanac/apis/almanac-v1-api/revisions/2874ff06ed74?raw)
