Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(analytics): Resolve issues for payment-intent v2 analytics (#5283)

Sandeep Kumarbcb345044580
diff --git a/crates/api_models/src/analytics/payment_intents.rs b/crates/api_models/src/analytics/payment_intents.rs
index 232c171904..e7affa94e0 100644
--- a/crates/api_models/src/analytics/payment_intents.rs
+++ b/crates/api_models/src/analytics/payment_intents.rs
@@ -10,6 +10,7 @@ use crate::enums::{Currency, IntentStatus};
pub struct PaymentIntentFilters {
#[serde(default)]
pub status: Vec<IntentStatus>,
+ #[serde(default)]
pub currency: Vec<Currency>,
}