billing

Create hosted AI credit pack checkout session

Returns { url } for a one-time Stripe Hosted Checkout payment (mode: payment) that adds purchased USD to the workspace bonusCreditUsd pool after checkout.session.completed. Sessions set allow_promotion_codes: true. Owner or admin only.

post/api/v1/billing/credits-checkout

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/billing/credits-checkout
  • Auth: HTTP bearer

Request body

packUsd10 | 25 | 50 required

One-time pack size in USD

Response

Stripe Checkout session URL

urlstring uri required

Changes

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