Get customer billing portal URL
curl --request GET \
--url https://api.sitespy.app/api/v1/billing/portal \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/billing/portal"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/billing/portal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"portal_url": "<string>"
}Billing
Get customer billing portal URL
Returns the Lemon Squeezy customer portal URL for managing the subscription.
GET
/
billing
/
portal
Get customer billing portal URL
curl --request GET \
--url https://api.sitespy.app/api/v1/billing/portal \
--header 'x-api-key: <api-key>'import requests
url = "https://api.sitespy.app/api/v1/billing/portal"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.sitespy.app/api/v1/billing/portal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"portal_url": "<string>"
}
