juspay/hyperswitch
View on GitHub[FEAT]: Add validator for payout_method_data/payout_type
Open
#9,787 opened on Oct 10, 2025
A-coreC-featurePayoutshacktoberfest
Repository metrics
- Stars
- (42,690 stars)
- PR merge metrics
- (Avg merge 6d 22h) (213 merged PRs in 30d)
Description
- Currently any payout_type can be passed with payout_method_data as long as it is enabled in MCA
- Need to add a validator to do a relation mapping between payout_type and payout_method_data
- This would help in finding undefined behaviour down the flow