Skip to main content
POST
Create a Lemon Squeezy checkout session

Authorizations

x-api-key
string
header
required

API key for authentication. You can find your API key in the Site Spy dashboard under Settings → API.

Body

application/json
plan
enum<string>
required
Available options:
starter,
pro,
business
Example:

"starter"

billing_period
enum<string>
default:monthly
Available options:
monthly,
yearly
success_url
string

URL to redirect to after successful checkout

Example:

"https://sitespy.app/dashboard/billing?checkout=success"

Response

Checkout URL

checkout_url
string
Example:

"https://checkout.lemonsqueezy.com/..."