---
title: "Create Credit Pack Checkout"
method: POST
path: "/stripe/checkout/credits"
tags: ["stripe"]
---

# Create Credit Pack Checkout

`POST /stripe/checkout/credits`

## Request

- Base URL: `https://studio-api.meganova.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://studio-api.meganova.ai/stripe/checkout/credits`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Create a Stripe Checkout session for credit pack purchase.

## Request body

- CreditPackCheckoutRequest: Request to create a credit pack checkout session.
  - `pack_id` string, required: Credit pack identifier

## Response `200`

Successful Response

- CheckoutSessionResponse: Response from checkout session creation.
  - `checkout_url` string, required
  - `session_id` string, required

## Other responses

- `422`: Validation Error

---

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