mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
refactor(open_banking): Added merchant data update in mca update (#5655)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -1556,6 +1556,10 @@ pub struct MerchantConnectorUpdate {
|
||||
|
||||
#[schema(value_type = ConnectorStatus, example = "inactive")]
|
||||
pub status: Option<api_enums::ConnectorStatus>,
|
||||
|
||||
/// In case the merchant needs to store any additional sensitive data
|
||||
#[schema(value_type = Option<AdditionalMerchantData>)]
|
||||
pub additional_merchant_data: Option<AdditionalMerchantData>,
|
||||
}
|
||||
|
||||
/// Create a new Merchant Connector for the merchant account. The connector could be a payment processor / facilitator / acquirer or specialized services like Fraud / Accounting etc."
|
||||
@ -1637,6 +1641,10 @@ pub struct MerchantConnectorUpdate {
|
||||
/// The identifier for the Merchant Account
|
||||
#[schema(value_type = String, max_length = 64, min_length = 1, example = "y3oqhf46pyzuxjbcn2giaqnb44")]
|
||||
pub merchant_id: id_type::MerchantId,
|
||||
|
||||
/// In case the merchant needs to store any additional sensitive data
|
||||
#[schema(value_type = Option<AdditionalMerchantData>)]
|
||||
pub additional_merchant_data: Option<AdditionalMerchantData>,
|
||||
}
|
||||
|
||||
#[cfg(all(feature = "v2", feature = "merchant_connector_account_v2"))]
|
||||
|
||||
Reference in New Issue
Block a user