Refactor(refunds_v2): Refactor api event metric for refunds v2 apis (#8041)

This commit is contained in:
Amey Wale
2025-05-27 11:39:57 +05:30
committed by GitHub
parent 49a178ed20
commit bc4bab935f
5 changed files with 31 additions and 21 deletions

View File

@ -29,7 +29,7 @@ pub enum ApiEventsType {
},
#[cfg(feature = "v2")]
Refund {
payment_id: id_type::GlobalPaymentId,
payment_id: Option<id_type::GlobalPaymentId>,
refund_id: id_type::GlobalRefundId,
},
#[cfg(feature = "v1")]