> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Checkout

> StateSet Voice API operation.

StateSet Voice API operation.

### Response

No response body — stripe checkout session created; json `&#123;checkout_url&#125;` to redirect the customer to.

### Status codes

| Code  | Meaning                                                                                      |
| ----- | -------------------------------------------------------------------------------------------- |
| `200` | Stripe Checkout session created; JSON `&#123;checkout_url&#125;` to redirect the customer to |
| `404` | Billing disabled (Stripe not configured) or customer self-serve plane disabled               |

<RequestExample>
  ```bash cURL theme={null}
  curl --request POST \
    --url 'https://api.voice.stateset.com/api/v1/customer/billing/checkout' \
    --header 'Authorization: Bearer YOUR_API_KEY'
  ```
</RequestExample>
