consumer
Create Report Checkout
Create a Stripe one-time checkout session for a $29 property profile PDF.
Flow:
- Insert a pending ci_reports row (status='pending', paid=False)
- Create Stripe Checkout Session with price = STRIPE_PRICE_PROPERTY_PROFILE
- Return the checkout URL — frontend redirects user to Stripe
- On Stripe webhook (checkout.session.completed), update ci_reports.paid=True and trigger PDF generation (background task)
- User is redirected back to /report/{report_id} which polls for ready
post/api/v1/consumer/report-checkout
Request
- Base URL: https://api.casaintelligence.com.au (the document declares no server; this is the origin it was published from)
- URL: https://api.casaintelligence.com.au/api/v1/consumer/report-checkout
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.