cURL
curl --request POST \ --url https://macrobymark.com/api/billing/checkout \ --header 'Content-Type: application/json' \ --cookie next-auth.session-token= \ --data ' { "priceId": "<string>" } '
{ "url": "<string>" }
Create a Stripe checkout session for subscription.
Documentation IndexFetch the complete documentation index at: https://docs.macrobymark.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt
Use this file to discover all available pages before exploring further.
NextAuth.js session cookie
Checkout URL