Skip to main content
POST
/
billing
/
checkout
Create Stripe checkout session
curl --request POST \
  --url https://api.mnemom.ai/v1/billing/checkout \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "plan_id": "<string>",
  "annual": false,
  "promo_code": "<string>"
}
'
{
  "url": "<string>",
  "session_id": "<string>"
}

Authorizations

Authorization
string
header
required

Supabase JWT token in Authorization: Bearer header

Body

application/json
plan_id
string
required
annual
boolean
default:false
promo_code
string

Response

Checkout session URL

url
string
session_id
string