Billing
Create a one-time donation Checkout session
Changed onAnonymous 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
Request
- Base URLhttps://openmercantil.es
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring
Request body
Response
Checkout URL and Stripe session id
Changes
- info
endpoint added
- info