---
title: "Luria Credits Checkout"
method: POST
path: "/api/luria/credits/checkout"
---

# Luria Credits Checkout

`POST /api/luria/credits/checkout`

Buy a Luria credits pack. Lives in main (not luria.py) so it can reuse
the billing rails verbatim: payment_orders row + provider pay URL + the
same webhooks. plan_code='luria_credits' makes _finalize_order_paid credit
the ledger instead of activating a subscription; the pack's credit count
rides in discount_meta so finalize never has to re-look-up prices that
may have changed between checkout and payment.

## Headers

- `authorization` string, nullable

## Request body

- LuriaCreditsCheckoutIn
  - `pack` string, required
  - `provider` string

## Response `200`

Successful Response

- object

## Other responses

- `422` — Validation Error

---

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