---
title: "Checkout"
method: POST
path: "/api/billing/checkout"
tags: ["Billing"]
---

# Checkout

`POST /api/billing/checkout`

## Cookies

- `ex_access` string, nullable
- `ex_org` string, nullable

## Request body

- CheckoutPayload
  - `credits` integer, required
  - `success_url` string
  - `cancel_url` string
  - `redirect_url` string, nullable
  - `metadata` object, nullable
  - `bypass_plan_restriction` boolean
  - `idempotency_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/explee/apis/explee-api.md) · [All operations](https://skmtc.dev/explee/apis/explee-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/explee/explee-api/revisions/f169bc6e9447/schema)
