Billing

Create checkout session

Create a Stripe checkout session for subscribing to a plan.

post/api/v1/billing/checkout

Request

  • Base URL: https://api.proof.holdings
  • URL: https://api.proof.holdings/api/v1/billing/checkout
  • Auth: HTTP bearer

Request body

plan'free' | 'pro' | 'business' | 'enterprise' required

Plan to check out. free adds a card for pay as you go (the metered price past the included proofs); it is offered once billing is live.

success_urlstring uri required
cancel_urlstring uri required

Example request

{
  "plan": "pro",
  "success_url": "https://proof.holdings/dashboard?checkout=success",
  "cancel_url": "https://proof.holdings/dashboard?checkout=cancel"
}

Response

Checkout session created

urlstring uri required

Stripe Checkout URL to redirect user to

Changes

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