feat(api): Adds support to change reveue_recovery_retry_algorithm_type using UpdateProfileAPI (V2) (#8858)

Co-authored-by: Nishanth Challa <nishanth.challa@Nishanth-Challa-C0WGKCFHLF.local>
This commit is contained in:
CHALLA NISHANTH BABU
2025-08-08 14:40:33 +05:30
committed by GitHub
parent 838de443d1
commit 9c6f0b7cff
3 changed files with 11 additions and 1 deletions

View File

@ -2999,6 +2999,11 @@ pub struct ProfileUpdate {
/// It is used in payment processing, fraud detection, and regulatory compliance to determine regional rules and routing behavior.
#[schema(value_type = Option<MerchantCountryCode>, example = "840")]
pub merchant_country_code: Option<common_types::payments::MerchantCountryCode>,
/// Inidcates the state of revenue recovery algorithm type
#[schema(value_type = Option<RevenueRecoveryAlgorithmType>, example = "cascading")]
pub revenue_recovery_retry_algorithm_type:
Option<common_enums::enums::RevenueRecoveryAlgorithmType>,
}
#[derive(Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)]