refactor(router): changed the storage of applepay_verified_domains from business_profile to merchant_connector_account table (#2147)

This commit is contained in:
Prajjwal Kumar
2023-09-13 19:34:35 +05:30
committed by GitHub
parent a09b7428e7
commit caa385a5a6
15 changed files with 97 additions and 88 deletions

View File

@ -734,6 +734,8 @@ pub struct MerchantConnectorResponse {
/// default value from merchant account is taken if not passed
#[schema(max_length = 64)]
pub profile_id: Option<String>,
/// identifier for the verified domains of a particular connector account
pub applepay_verified_domains: Option<Vec<String>>,
}
/// 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."

View File

@ -13,7 +13,7 @@ pub struct ApplepayMerchantVerificationConfigs {
#[serde(rename_all = "camelCase")]
pub struct ApplepayMerchantVerificationRequest {
pub domain_names: Vec<String>,
pub business_profile_id: String,
pub merchant_connector_account_id: String,
}
/// Response to be sent for the verify/applepay api