---
title: "Applied from Spala Step Script."
method: POST
path: "/api/billing/checkout"
tags: ["billing"]
---

# Applied from Spala Step Script.

`POST /api/billing/checkout`

## Request

- Base URL: `https://api.spala.ai/api`
- URL: `https://api.spala.ai/api/api/billing/checkout`
- Auth: HTTP bearer

## Request body

- object
  - `sku` string, required
  - `organizationId` string, required
  - `projectId` string
  - `idempotencyKey` string, required

## Response `200`

Successful response

- object
  - `url` object
  - `sessionId` object
  - `state` string
  - `sku` string
  - `scope` string
  - `projectId` string

## Other responses

- `401`: Unauthorized - authentication required

---

[API](https://skmtc.dev/spala/apis/admin.md) · [All operations](https://skmtc.dev/spala/apis/admin/llms.txt) · [OpenAPI document](https://skmtc.dev/spala/apis/admin/revisions/723cc50571ee?raw)
