Billing

Create Stripe checkout session

Creates a Stripe Checkout session for a credit pack purchase. No API key required — pass org_id in the body. Redirect the user to the returned URL to complete payment. Available packs: $10 = 10,000 credits, $25 = 25,000 credits, $100 = 100,000 credits.

post/api/billing/checkout

Request

  • Base URL: https://plith.ai
  • URL: https://plith.ai/api/billing/checkout
  • Auth: none required

Request body

org_idstring uuid required

The org to credit after payment.

pack10 | 25 | 100 required

Dollar amount of the pack to purchase.

Response

Stripe Checkout session created

urlstring uri

Stripe Checkout URL. Redirect the user here to complete payment.

Changes

No recorded changes to this operation across all 1 revision of this API.