Create a contribution checkout link
Write — starts a purchase; treat as sensitive and confirm the product and amount with the person first. Creates a secure Stripe-hosted checkout page for a contribution toward testing one product and returns its URL. This call charges nothing and takes no card details: the person must open checkout_url and pay. Success and cancel pages are fixed to laboratory.love. Side effects: creates a Stripe Checkout session (expires after about 24 hours if unused). Use an Idempotency-Key when retrying.
Request
- Base URL: https://www.laboratory.love/api/v1
- URL: https://www.laboratory.love/api/v1/crowdfund/{id}/checkout
- Auth: none required
Path parameters
Crowdfunding product id.
Headers
Optional. Retrying with the same key and the same body returns the original checkout instead of creating another one. Reusing a key with a different body returns 409.
Request body
Response
Checkout created; awaiting the person’s payment.
Changes
No recorded changes to this operation across all 1 revision of this API.