hyperswitch
hyperswitch copied to clipboard
feat(connector): [Nomupay] Implement nomupay payouts flows
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
nomupay payout flow (upto: payout works for fresh customer) Nomupay stores customers_payments_methods data but in hyperswitch we don't (we do it for very small duration). And we cant add same customers_payments_methods data with same customer again as Nomupay will throw error. For existing customer we need that id to do a payout. Note: Now for successful payout we will get status:pending . after some time if we do retrieve call for that payout we will get failed as our Nomupay balance is empty.
Additional Changes
- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables
Motivation and Context
How did you test it?
Checklist
- [x] I formatted the code
cargo +nightly fmt --all - [x] I addressed lints thrown by
cargo clippy - [ ] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible