billing

Create Checkout Session

post/v1/orgs/{org_id}/billing/checkout-session

Request

  • Base URL: https://api.sonenta.dev
  • URL: https://api.sonenta.dev/v1/orgs/{org_id}/billing/checkout-session
  • Auth: none declared

Path parameters

org_idstring required

Request body

plan'free' | 'hobby' | 'pro' | 'team' | 'enterprise' required

Target plan to subscribe to (free is not allowed)

cadence'monthly' | 'yearly'
success_urlstring uri required
cancel_urlstring uri required

Response

Successful Response

urlstring required
session_idstring required

Changes

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