Lemon Squeezy webhook receiver
curl --request POST \
--url https://api.sitespy.app/api/v1/billing/webhook \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.sitespy.app/api/v1/billing/webhook"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.sitespy.app/api/v1/billing/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Billing
Lemon Squeezy webhook receiver
Receives subscription lifecycle events from Lemon Squeezy. Called by Lemon Squeezy, not clients.
POST
/
billing
/
webhook
Lemon Squeezy webhook receiver
curl --request POST \
--url https://api.sitespy.app/api/v1/billing/webhook \
--header 'Content-Type: application/json' \
--data '{}'import requests
url = "https://api.sitespy.app/api/v1/billing/webhook"
payload = {}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({})
};
fetch('https://api.sitespy.app/api/v1/billing/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));Body
application/json
The body is of type object.
Response
Webhook processed

