mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat(router): Add Smart Routing to route payments efficiently (#2665)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: shashank_attarde <shashank.attarde@juspay.in> Co-authored-by: Aprabhat19 <amishaprabhat@gmail.com> Co-authored-by: Amisha Prabhat <55580080+Aprabhat19@users.noreply.github.com>
This commit is contained in:
@ -22,6 +22,7 @@ pub enum ApiIdentifier {
|
||||
Verification,
|
||||
ApiKeys,
|
||||
PaymentLink,
|
||||
Routing,
|
||||
}
|
||||
|
||||
impl From<Flow> for ApiIdentifier {
|
||||
@ -33,6 +34,17 @@ impl From<Flow> for ApiIdentifier {
|
||||
| Flow::MerchantsAccountDelete
|
||||
| Flow::MerchantAccountList => Self::MerchantAccount,
|
||||
|
||||
Flow::RoutingCreateConfig
|
||||
| Flow::RoutingLinkConfig
|
||||
| Flow::RoutingUnlinkConfig
|
||||
| Flow::RoutingRetrieveConfig
|
||||
| Flow::RoutingRetrieveActiveConfig
|
||||
| Flow::RoutingRetrieveDefaultConfig
|
||||
| Flow::RoutingRetrieveDictionary
|
||||
| Flow::RoutingUpdateConfig
|
||||
| Flow::RoutingUpdateDefaultConfig
|
||||
| Flow::RoutingDeleteConfig => Self::Routing,
|
||||
|
||||
Flow::MerchantConnectorsCreate
|
||||
| Flow::MerchantConnectorsRetrieve
|
||||
| Flow::MerchantConnectorsUpdate
|
||||
|
||||
Reference in New Issue
Block a user