mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(payout_link): return total_count in filtered payouts list API response (#5538)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -715,8 +715,11 @@ pub struct PayoutListFilterConstraints { | ||||
| pub struct PayoutListResponse { | ||||
|     /// The number of payouts included in the list | ||||
|     pub size: usize, | ||||
|     // The list of payouts response objects | ||||
|     /// The list of payouts response objects | ||||
|     pub data: Vec<PayoutCreateResponse>, | ||||
|     /// The total number of available payouts for given constraints | ||||
|     #[serde(skip_serializing_if = "Option::is_none")] | ||||
|     pub total_count: Option<i64>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, serde::Serialize, ToSchema)] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Kashif
					Kashif