Create a Content Studio checkout
curl --request POST \
--url https://useorgx.com/api/v1/studio/checkout \
--header 'Content-Type: application/json' \
--cookie __session= \
--data '
{
"estimateId": "18437eec-cd8d-453a-83e8-a2a8d8d3b4cf"
}
'const options = {
method: 'POST',
headers: {cookie: '__session=', 'Content-Type': 'application/json'},
body: JSON.stringify({estimateId: '18437eec-cd8d-453a-83e8-a2a8d8d3b4cf'})
};
fetch('https://useorgx.com/api/v1/studio/checkout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/studio/checkout"
payload = { "estimateId": "18437eec-cd8d-453a-83e8-a2a8d8d3b4cf" }
headers = {
"cookie": "__session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"checkoutUrl": "https://checkout.stripe.com/c/pay/cs_test_a1b2c3",
"sessionId": "cs_test_a1b2c3",
"amount": 1000
}{
"requiresAuth": true,
"redirectUrl": "<string>"
}Content Studio
Create a Content Studio checkout
Create a secure checkout session for an accepted Content Studio estimate.
POST
/
studio
/
checkout
Create a Content Studio checkout
curl --request POST \
--url https://useorgx.com/api/v1/studio/checkout \
--header 'Content-Type: application/json' \
--cookie __session= \
--data '
{
"estimateId": "18437eec-cd8d-453a-83e8-a2a8d8d3b4cf"
}
'const options = {
method: 'POST',
headers: {cookie: '__session=', 'Content-Type': 'application/json'},
body: JSON.stringify({estimateId: '18437eec-cd8d-453a-83e8-a2a8d8d3b4cf'})
};
fetch('https://useorgx.com/api/v1/studio/checkout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://useorgx.com/api/v1/studio/checkout"
payload = { "estimateId": "18437eec-cd8d-453a-83e8-a2a8d8d3b4cf" }
headers = {
"cookie": "__session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"checkoutUrl": "https://checkout.stripe.com/c/pay/cs_test_a1b2c3",
"sessionId": "cs_test_a1b2c3",
"amount": 1000
}{
"requiresAuth": true,
"redirectUrl": "<string>"
}