nex-connect
Stripe Connect marketplace sample — isolated from NEXGESTAOVENDAS/PDV. Testmode only; sellers onboard with Accounts V2 (Brazil) and sell via Direct Charge Checkout.
- Seller — register email → V2 account (
identity.country=br). - Onboarding — Account Link until
card_paymentsis active. - Catalog — create/list products on the connected account.
- Storefront — buyers checkout with explicit platform fee (Direct Charge).
Acceptance gates (see README)
- Own Stripe secrets ≠ NEX
- Account Link until card_payments active
- Thin webhook unsigned → 400 + idempotent
- Explicit application fee; abandon ≠ paid
- Reconcile session/PI ↔ account_id; mismatch → unknown