---
title: "Create a checkout link to upgrade"
method: POST
path: "/checkout"
---

# Create a checkout link to upgrade

`POST /checkout`

## Request

- Base URL: `https://api.lazybird.app/v1`
- URL: `https://api.lazybird.app/v1/checkout`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`

Returns a checkout URL for a paid plan. Open it in a browser to pay; the plan applies as soon as payment completes and the same API key keeps working.

## Request body

- object
  - `plan` 'creator' | 'pro' | 'max', required
  - `interval` 'monthly' | 'yearly', required

## Response `200`

Checkout link

- object
  - `checkoutUrl` string, uri

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid API key
- `422`: Plan limit reached (credits, voice slots or plan feature)
- `429`: Too many requests; retry after `Retry-After` seconds
- `500`: Server error

---

[API](https://skmtc.dev/lazybird/apis/lazybird-speech-api.md) · [All operations](https://skmtc.dev/lazybird/apis/lazybird-speech-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lazybird/apis/lazybird-speech-api/revisions/aaa34f32852f?raw)
