cURL
curl --request POST \ --url https://api.example.com/billing/checkout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "plan": "starter" } '
{ "url": "<string>" }
Create a Stripe Checkout session for the requested plan.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response