---
title: "Create a secure billing checkout"
method: POST
path: "/billing/checkout"
tags: ["Billing"]
---

# Create a secure billing checkout

`POST /billing/checkout`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/billing/checkout`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Creates a short-lived Stripe Checkout setup link. Payment credentials are entered only on Stripe; this saves a card but does not create a package subscription until the first active company exists. Sponsored demo workspaces are refused because no payment method is required.

## Request body

- object
  - `type` 'payment_method_setup' | 'package' | 'tally_allowance_pack'
  - `successPath` string
  - `cancelPath` string

## Response `200`

Stripe Checkout URL (card setup, or one-time $26 Tally usage pack for $25 credit + $1 card fee)

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
