mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 11:06:50 +08:00
feat: adding refunds type to api_event_logs api to fetch refunds audit trail (#3503)
Co-authored-by: harsh-sharma-juspay <125131007+harsh-sharma-juspay@users.noreply.github.com> Co-authored-by: oscar2d2 <oscarkong@gmail.com> Co-authored-by: swangi-kumari <swangi.12015941@lpu.in> Co-authored-by: Apoorv Dixit <64925866+apoorvdixit88@users.noreply.github.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Kartikeya Hegde <karthikey.hegde@juspay.in>
This commit is contained in:
@ -8,7 +8,6 @@ use super::{NameDescription, TimeRange};
|
||||
pub struct ApiLogsRequest {
|
||||
#[serde(flatten)]
|
||||
pub query_param: QueryType,
|
||||
pub api_name_filter: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
pub enum FilterType {
|
||||
@ -27,6 +26,10 @@ pub enum QueryType {
|
||||
payment_id: String,
|
||||
refund_id: String,
|
||||
},
|
||||
Dispute {
|
||||
payment_id: String,
|
||||
dispute_id: String,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(
|
||||
|
||||
Reference in New Issue
Block a user