mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(pm_auth): Added pm_auth_config to merchant_connector_account (#2183)
Co-authored-by: Sarthak Soni <sarthak.soni@juspay.in>
This commit is contained in:
@ -633,6 +633,8 @@ pub struct MerchantConnectorCreate {
|
||||
pub connector_webhook_details: Option<MerchantConnectorWebhookDetails>,
|
||||
/// Identifier for the business profile, if not provided default will be chosen from merchant account
|
||||
pub profile_id: Option<String>,
|
||||
|
||||
pub pm_auth_config: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, ToSchema)]
|
||||
@ -736,6 +738,8 @@ pub struct MerchantConnectorResponse {
|
||||
pub profile_id: Option<String>,
|
||||
/// identifier for the verified domains of a particular connector account
|
||||
pub applepay_verified_domains: Option<Vec<String>>,
|
||||
|
||||
pub pm_auth_config: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
/// 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."
|
||||
@ -805,6 +809,8 @@ pub struct MerchantConnectorUpdate {
|
||||
}
|
||||
}))]
|
||||
pub connector_webhook_details: Option<MerchantConnectorWebhookDetails>,
|
||||
|
||||
pub pm_auth_config: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
///Details of FrmConfigs are mentioned here... it should be passed in payment connector create api call, and stored in merchant_connector_table
|
||||
|
||||
Reference in New Issue
Block a user