hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

feat: stripe connect integration for payouts

Open kashif-m opened this issue 1 year ago • 0 comments

Type of Change

  • [ ] Bugfix
  • [x] New feature
  • [ ] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [ ] CI/CD

Description

This includes integration of StripeConnect APIs in Stripe connector for payouts functionality. For doing the same, there is an addition of a new Payout connector action (PayoutRecipientAccountCreation). This helps in creation of external accounts (bank / card) for Stripe Connect users.

Additional Changes

  • [x] This PR modifies the API contract
  • [x] This PR modifies the database schema
  • [x] This PR modifies application configuration/environment variables

Motivation and Context

Stripe Connect is a virtual marketplace for onboarding and paying out to platform's affiliates / vendors / resellers. Integrating Stripe Connect offers payout abstraction for such use-cases.

How did you test it?

  • Tested existing payout functionalities using postman test suite.
  • Tested Stripe Connect integration using raw PMD + SPMs
  • Postman suite - https://galactic-capsule-229427.postman.co/workspace/My-Workspace~2b563e0d-bad3-420f-8c0b-0fd5b278a4fe/collection/9906252-8f51a4d2-86d6-4f72-8198-3fff5a4e71af?action=share&creator=9906252

Checklist

  • [x] I formatted the code cargo +nightly fmt --all
  • [x] I addressed lints thrown by cargo clippy
  • [x] I reviewed the submitted code
  • [x] I added unit tests for my changes where possible
  • [x] I added a CHANGELOG entry if applicable

kashif-m avatar Aug 29 '23 10:08 kashif-m