mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-12-09 15:28:47 +08:00
feat(router): Add payment link support (#2105)
Co-authored-by: Sahkal Poddar <sahkal.poddar@juspay.in> Co-authored-by: Kashif <46213975+kashif-m@users.noreply.github.com> Co-authored-by: Kashif <mohammed.kashif@juspay.in> Co-authored-by: Bernard Eugine <114725419+bernard-eugine@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,7 @@ pub enum ApiIdentifier {
|
||||
Business,
|
||||
Verification,
|
||||
ApiKeys,
|
||||
PaymentLink,
|
||||
}
|
||||
|
||||
impl From<Flow> for ApiIdentifier {
|
||||
@@ -112,6 +113,8 @@ impl From<Flow> for ApiIdentifier {
|
||||
| Flow::BusinessProfileList => Self::Business,
|
||||
|
||||
Flow::Verification => Self::Verification,
|
||||
|
||||
Flow::PaymentLinkInitiate | Flow::PaymentLinkRetrieve => Self::PaymentLink,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user