mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 20:23:43 +08:00
refactor(router): changed the storage of applepay_verified_domains from business_profile to merchant_connector_account table (#2147)
This commit is contained in:
@ -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."
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user