mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(analytics): add customer_id as filter for payment intents (#6344)
This commit is contained in:
@ -16,6 +16,8 @@ pub struct PaymentIntentFilters {
|
||||
pub currency: Vec<Currency>,
|
||||
#[serde(default)]
|
||||
pub profile_id: Vec<id_type::ProfileId>,
|
||||
#[serde(default)]
|
||||
pub customer_id: Vec<id_type::CustomerId>,
|
||||
}
|
||||
|
||||
#[derive(
|
||||
@ -62,6 +64,7 @@ pub enum PaymentIntentMetrics {
|
||||
SmartRetriedAmount,
|
||||
PaymentIntentCount,
|
||||
PaymentsSuccessRate,
|
||||
PaymentProcessedAmount,
|
||||
SessionizedSuccessfulSmartRetries,
|
||||
SessionizedTotalSmartRetries,
|
||||
SessionizedSmartRetriedAmount,
|
||||
|
||||
Reference in New Issue
Block a user