Skip to main content
POST
/
api
/
subscription
/
lemon
/
checkout_url
Get LemonSqueezy checkout URL
curl --request POST \
  --url https://api.example.com/api/subscription/lemon/checkout_url \
  --header 'Content-Type: application/json' \
  --data '
{
  "variantId": "<string>"
}
'

Body

application/json
variantId
string
required

The variant ID for the subscription plan

Response

200

Checkout URL retrieved successfully