Auth
Email/password or OAuth. Generated flows are ready to use.
Payments
Stripe integration for checkout, subscriptions, and webhooks.
Analytics
Instrumented events to understand funnels and retention.
Code Samples
Auth: Email/Password Login (curl)
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"email":"user@example.com","password":"••••••"}' \
https://api.yourdomain.com/v1/auth/loginPayments: Stripe Webhook (Node)
import Stripe from 'stripe'
const stripe = new Stripe(process.env.STRIPE_SECRET!)
export default async function handler(req, res) {
const sig = req.headers['stripe-signature']
let event
try {
event = stripe.webhooks.constructEvent(req.rawBody, sig, process.env.STRIPE_WEBHOOK_SECRET!)
} catch (err) {
return res.status(400).send('Webhook Error: ' + err.message)
}
// handle event.type (checkout.session.completed, etc.)
res.json({ received: true })
}Analytics: Track Event (curl)
curl -X POST \
-H 'Authorization: Bearer <YOUR_TOKEN>' \
-H 'Content-Type: application/json' \
-d '{"event":"signup","user_id":"u_123"}' \
https://api.yourdomain.com/v1/analytics/eventsScreenshot placeholders (setup pages) — add later for each integration.
Setup Steps
- Enable the integration (Auth/Payments/Analytics) in project settings.
- Provide the minimal required secrets/callbacks.
- Verify main user flows in dev; then promote to prod.