mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com> Co-authored-by: Sahkal Poddar <sahkalplanet@gmail.com> Co-authored-by: Amisha Prabhat <55580080+Aprabhat19@users.noreply.github.com> Co-authored-by: Sarthak Soni <76486416+Sarthak1799@users.noreply.github.com> Co-authored-by: shashank_attarde <shashank.attarde@juspay.in> Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com> Co-authored-by: sai-harsha-vardhan <harsha111hero@gmail.com> Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in> Co-authored-by: Sanchith Hegde <22217505+SanchithHegde@users.noreply.github.com>
Router
Main crate of the project.
Files Tree Layout
├── src : source code
│ ├── configs : config loading
│ ├── connector : various connector (gateway) specific transformations implementations.
│ │ ├── adyen : adyen connector
│ │ └── stripe : stripe connector
│ ├── core : the core router / orchestrator code. All common code/flow should exist here. only minimal code in connector implementations.
│ │ ├── customers : ?
│ │ ├── payment_methods : ?
│ │ ├── payments : ?
│ │ └── refunds : ?
│ ├── routes : the API endpoints exposed by router. currently uses actix_web.
│ ├── scheduler : ?
│ │ └── types : ?
│ ├── services : ?
│ │ └── redis : ?
│ ├── types : the objects/API type definitions
│ │ ├── api : the router API
│ │ └── storage : definitions for using DB/Storage. Currently uses Diesel.
│ └── utils : utilities
└── tests : unit and integration tests