stack/apps/backend/src/app
Mantra 3a5153f4db
feat(payments): collect 0.9% platform fee on every stripe money movement (#1378)
## Summary

Charges the platform 0.9% on both legs of each transaction on
non-internal projects.

- **Charge leg** — rides along via Stripe's native
\`application_fee_amount\` / \`application_fee_percent\` params on the
PaymentIntent / Subscription.
- **Refund leg** — Stripe's default reverses our charge-leg fee on
refund, netting us zero. We disable that with \`refund_application_fee:
false\`

## Refs
-
https://docs.stripe.com/api/subscriptions/create#create_subscription-application_fee_percent
-
https://docs.stripe.com/api/payment_intents/object#payment_intent_object-application_fee_amount

---------

Co-authored-by: nams1570 <amanganapathy@gmail.com>
2026-05-05 09:22:53 -07:00
..
api feat(payments): collect 0.9% platform fee on every stripe money movement (#1378) 2026-05-05 09:22:53 -07:00
dev-stats More connected accounts (#1165) 2026-02-18 15:19:35 -08:00
health [Chore] Bump timeout for email monitor (#1163) 2026-02-06 09:25:53 -08:00
global-error.tsx Support create-next-app@15 with the setup wizard (#340) 2024-11-13 13:58:42 +01:00
layout.tsx Suppress hydration warnings on html and body of backend 2024-11-23 03:31:23 +01:00
not-found.tsx More stringent caching mitigation 2026-02-23 10:54:04 -08:00
page.tsx Support async replicas (#1097) 2026-01-12 15:07:08 -08:00