Create checkout session for workspace billing
curl --request POST \
--url https://api.plansync.dev/api/stripe/checkout \
--header 'x-api-key: <api-key>'const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.plansync.dev/api/stripe/checkout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/stripe/checkout"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"url": "<string>"
}Billing
Create checkout session for workspace billing
POST
/
api
/
stripe
/
checkout
Create checkout session for workspace billing
curl --request POST \
--url https://api.plansync.dev/api/stripe/checkout \
--header 'x-api-key: <api-key>'const options = {method: 'POST', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.plansync.dev/api/stripe/checkout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.plansync.dev/api/stripe/checkout"
headers = {"x-api-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"url": "<string>"
}Authorizations
apiKeyAuthcookieAuth
Project API key (psk_…) from Project Settings → API keys.
Required scopes depend on the route (e.g. issues:read for listing issues).
Only works on project-scoped /api/v1/projects/{projectId}/… routes.
Response
200 - application/json
Checkout session payload