Payout Account Model
bank_account/models/payout_account_model.dart
Overview
Mirrors /vendor/stripe/account. Exposes derived helpers: needsBankAccount, isVerified, isVerificationPending — consumed by the wizard to auto-advance the step.
User Flow
- PayoutAccountModel.fromJson reads capabilities, requirements, charges_enabled, payouts_enabled.
- Helpers compute readable booleans the wizard can branch on without reasoning about Stripe internals.
Cases & Edge Cases
- Verification can move through pending → verified → pending again if Stripe requests another document.
- needsBankAccount stays true even after the user adds a card-funded source — only a real bank routing/account number satisfies it.
Code References
- lib/src/features/seller/bank_account/models/payout_account_model.dart
API Calls
Empty — fill this in later. Open the manifest and add content here.
Notes
Helpers exist precisely so the wizard doesn't reach into Stripe-shaped maps; keep them stable as the API evolves.