hyperswitch-web
hyperswitch-web copied to clipboard
[FEATURE] handle payout eligibility API response in payout widget
As of today, payout widget calls /payouts/confirm
and uses the status in response as a terminal status. This is good for all the cases except one - when payout eligibility is supported by the underlying connector which can be used to validate the payout method details.
In case eligibility fails, the status is marked as ineligible
, updated payout method data can still be provided to this payout in such scenarios.
Payout widget to handle such scenarios and not take user to the terminal status screen.