---
title: "Get a hosted checkout URL for a paid plan"
method: POST
path: "/v1/billing/checkout"
tags: ["Billing"]
---

# Get a hosted checkout URL for a paid plan

`POST /v1/billing/checkout`

## Request

- Base URL: `https://api.quirepdf.dev`
- URL: `https://api.quirepdf.dev/v1/billing/checkout`
- Auth: HTTP bearer

## Request body

- object
  - `plan` 'starter' | 'pro' | 'scale', required

## Response `200`

Checkout URL

- object
  - `url` string

## Other responses

- `400`: Error
- `401`: Error
- `409`: Error
- `501`: Error
- `502`: Error

---

[API](https://skmtc.dev/quirepdf/apis/quire-api.md) · [All operations](https://skmtc.dev/quirepdf/apis/quire-api/llms.txt) · [OpenAPI document](https://skmtc.dev/quirepdf/apis/quire-api/revisions/47b98388c395?raw)
