billing
Start a Stripe Checkout Session for a credit top-up
Creates a Stripe Checkout Session crediting the organization identified by the path (:org) and returns the hosted checkout URL to redirect the customer to. The body carries only the top-up amount_cents (a positive integer within supported bounds). The credit itself is posted asynchronously when Stripe fires the matching webhook.
post/api/v0/billing/checkout/{org}
Request
- Base URL: https://api.harmont.dev
- URL: https://api.harmont.dev/api/v0/billing/checkout/{org}
- Auth: HTTP bearer
Path parameters
orgstring required
The organization slug.
Request body
Response
The hosted Stripe Checkout URL
Changes
No recorded changes to this operation across all 1 revision of this API.