feat(router): apply filters on payments (#1744)

This commit is contained in:
Apoorv Dixit
2023-07-26 18:53:36 +05:30
committed by GitHub
parent c284f41cc6
commit 04c3de73a5
9 changed files with 254 additions and 63 deletions

View File

@ -135,6 +135,7 @@ pub struct RefundListRequest {
/// The starting point within a list of objects
pub offset: Option<i64>,
/// The time range for which objects are needed. TimeRange has two fields start_time and end_time from which objects can be filtered as per required scenarios (created_at, time less than, greater than etc).
#[serde(flatten)]
pub time_range: Option<TimeRange>,
/// The list of connectors to filter refunds list
pub connector: Option<Vec<String>>,