mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
chore(connector_events_fields): added refund_id, dispute_id to connector events (#3424)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Sampras Lopes <lsampras@pm.me>
This commit is contained in:
@ -1,11 +1,6 @@
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||
#[serde(tag = "type")]
|
||||
pub enum QueryType {
|
||||
Payment { payment_id: String },
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct ConnectorEventsRequest {
|
||||
#[serde(flatten)]
|
||||
pub query_param: QueryType,
|
||||
pub payment_id: String,
|
||||
pub refund_id: Option<String>,
|
||||
pub dispute_id: Option<String>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user