Billing

Create a one-time donation Checkout session

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.

post/api/v1/donation

Headers

Idempotency-Keystring

Request body

amount_centsinteger required
messagestring
idempotency_keystring

Response

Checkout URL and Stripe session id

urlstring uri required
session_idstring required

Changes

Changed in 1 of the 3 revisions of this API.1