Payment Method Setup Flow
Payment methods must be added using Stripe SDK and native UI elements for PSD2/SCA compliance.1. Fetch Setup Intent
2. Frontend Integration
Initialize Stripe on the client using:- Stripe SDK with publishable key from onboarding
- Native Stripe UI elements (required)
- Complete payment method creation client-side
3. Confirm Setup with Stripe
Use theclient_secret to complete payment method attachment through Stripe SDK.
Payment Method Management
List User Payment Methods
Common use cases:- Show saved cards in settings page
- Let user choose default payment method
- Allow payment method removal
card, google_pay, apple_pay
List Payment Methods
Set Default Payment Method
Remove Payment Method
Removal Restrictions
Payment method removal may fail if:- Charging session is in progress
- Payment method is attached to active session
- Payment method is set as default
- Active charging session present
- CDR processing incomplete
- User debt exists (402 Payment Required)
