Billing

Create a secure billing checkout

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.

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

Request body

type'payment_method_setup' | 'package' | 'tally_allowance_pack'
successPathstring
cancelPathstring

Response

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

Changes

No recorded changes to this operation across all 5 revisions of this API.