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:
Sarthak Soni
2023-10-03 13:07:43 +05:30
committed by GitHub
parent f12ce9c72d
commit abfdea20b0
12 changed files with 42 additions and 1 deletions

View File

@ -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