Billing Checkout
curl --request POST \
--url https://api.veridical.dev/api/v1/billing/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"cancel_url": "<string>",
"price_key": "<string>",
"success_url": "<string>",
"workspace_id": "<string>"
}
'import requests
url = "https://api.veridical.dev/api/v1/billing/checkout"
payload = {
"cancel_url": "<string>",
"price_key": "<string>",
"success_url": "<string>",
"workspace_id": "<string>"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
cancel_url: '<string>',
price_key: '<string>',
success_url: '<string>',
workspace_id: '<string>'
})
};
fetch('https://api.veridical.dev/api/v1/billing/checkout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}control
Billing Checkout
POST
/
api
/
v1
/
billing
/
checkout
Billing Checkout
curl --request POST \
--url https://api.veridical.dev/api/v1/billing/checkout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"cancel_url": "<string>",
"price_key": "<string>",
"success_url": "<string>",
"workspace_id": "<string>"
}
'import requests
url = "https://api.veridical.dev/api/v1/billing/checkout"
payload = {
"cancel_url": "<string>",
"price_key": "<string>",
"success_url": "<string>",
"workspace_id": "<string>"
}
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
cancel_url: '<string>',
price_key: '<string>',
success_url: '<string>',
workspace_id: '<string>'
})
};
fetch('https://api.veridical.dev/api/v1/billing/checkout', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"ctx": {},
"input": "<unknown>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Successful Response
The response is of type Response Billing Checkout Api V1 Billing Checkout Post · object.
Last modified on July 28, 2026
⌘I

