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

# Applied from Spala Step Script.

`POST /api/billing/project-quota/checkout`

## Request

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

## Request body

- object
  - `organizationId` string, required
  - `quantity` number
  - `idempotencyKey` string, required

## Response `200`

Successful response

- BillingCheckoutIntents
  - `id` integer
  - `assigned_capacity` number
  - `billing_product_id` string, required: Foreign key referencing billing_products
  - `created_at` string, date-time, required
  - `expires_at` string, date-time
  - `failure_code` string
  - `intent_key` string, required
  - `organization_id` string, required: Foreign key referencing organizations
  - `placement_mode` string
  - `project_id` string: Foreign key referencing projects
  - `resident_capacity` number
  - `status` string, required
  - `target_key` string
  - `updated_at` string, date-time

## 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)
