cURL
curl --request POST \ --url https://api.example.com/v1/billing/checkout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "plan": "<string>" } '
{ "checkout_url": "<string>" }
Create a Stripe Checkout Session with a 30-day free trial. Returns a checkout URL. Card is required upfront. plan must be one of: starter, pro, agency.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response