---
title: "Create a one-time donation Checkout session"
method: POST
path: "/api/v1/donation"
tags: ["Billing"]
---

# Create a one-time donation Checkout session

`POST /api/v1/donation`

Anonymous or authenticated. Body is capped at 16 KiB; Stripe work is fail-closed, budgeted by trusted client IP and idempotent within a 15-minute retry window. A supplied idempotency key is hashed and namespaced before Stripe.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `amount_cents` integer, required
  - `message` string
  - `idempotency_key` string

## Response `200`

Checkout URL and Stripe session id

- StripeSessionResponse
  - `url` string, uri, required
  - `session_id` string, required

## Other responses

- `400` — Invalid request
- `413` — Request body too large
- `429` — Rate limit exceeded
- `503` — Action budget or Stripe unavailable

---

[API](https://skmtc.net/openmercantil/apis/openmercantil-public-api.md) · [All operations](https://skmtc.net/openmercantil/apis/openmercantil-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openmercantil/openmercantil-public-api/versions/996f96a11758/schema)
