curl --request POST \
--url 'https://api.voice.stateset.com/api/v1/customer/billing/checkout' \
--header "Authorization: Bearer $STATESET_VOICE_API_KEY"
{
"ok": true,
"checkout_url": "string"
}
Create Checkout
StateSet Voice API operation.
POST
/
api
/
v1
/
customer
/
billing
/
checkout
curl --request POST \
--url 'https://api.voice.stateset.com/api/v1/customer/billing/checkout' \
--header "Authorization: Bearer $STATESET_VOICE_API_KEY"
{
"ok": true,
"checkout_url": "string"
}
StateSet Voice API operation.
Response
object
boolean
required
string
required
Stripe-hosted Checkout URL to redirect the customer to
Status codes
| Code | Meaning |
|---|---|
200 | Stripe Checkout session created |
404 | Billing disabled (Stripe not configured) or customer self-serve plane disabled |
curl --request POST \
--url 'https://api.voice.stateset.com/api/v1/customer/billing/checkout' \
--header "Authorization: Bearer $STATESET_VOICE_API_KEY"
{
"ok": true,
"checkout_url": "string"
}
Last modified on August 31, 2026