mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor: separate DB queries and HTML creation for payout links (#4967)
Signed-off-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-C02FC60MMD6M.local> Signed-off-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com> Signed-off-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-G961M60MK7.local> Co-authored-by: chikke srujan <121822803+srujanchikke@users.noreply.github.com> Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-C02FC60MMD6M.local> Co-authored-by: Srujan chikke <chikke.srujan@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Chikke Srujan <chikke.srujan@Chikke-Srujan-G961M60MK7.local>
This commit is contained in:
@ -12,7 +12,9 @@ pub trait ApiEventMetric {
|
||||
#[derive(Clone, Debug, Eq, PartialEq, Serialize)]
|
||||
#[serde(tag = "flow_type", rename_all = "snake_case")]
|
||||
pub enum ApiEventsType {
|
||||
Payout,
|
||||
Payout {
|
||||
payout_id: String,
|
||||
},
|
||||
Payment {
|
||||
payment_id: String,
|
||||
},
|
||||
@ -57,6 +59,9 @@ pub enum ApiEventsType {
|
||||
Events {
|
||||
merchant_id_or_profile_id: String,
|
||||
},
|
||||
PaymentMethodCollectLink {
|
||||
link_id: String,
|
||||
},
|
||||
Poll {
|
||||
poll_id: String,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user