mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(router): saving verified domains to business_profile table (#2109)
This commit is contained in:
		| @ -1012,6 +1012,9 @@ pub struct BusinessProfileCreate { | ||||
|         deserialize_with = "payout_routing_algorithm::deserialize_option" | ||||
|     )] | ||||
|     pub payout_routing_algorithm: Option<serde_json::Value>, | ||||
|  | ||||
|     /// Verified applepay domains for a particular profile | ||||
|     pub applepay_verified_domains: Option<Vec<String>>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, ToSchema, Serialize)] | ||||
| @ -1073,6 +1076,9 @@ pub struct BusinessProfileResponse { | ||||
|         deserialize_with = "payout_routing_algorithm::deserialize_option" | ||||
|     )] | ||||
|     pub payout_routing_algorithm: Option<serde_json::Value>, | ||||
|  | ||||
|     /// Verified applepay domains for a particular profile | ||||
|     pub applepay_verified_domains: Option<Vec<String>>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, Deserialize, ToSchema)] | ||||
| @ -1127,4 +1133,7 @@ pub struct BusinessProfileUpdate { | ||||
|         deserialize_with = "payout_routing_algorithm::deserialize_option" | ||||
|     )] | ||||
|     pub payout_routing_algorithm: Option<serde_json::Value>, | ||||
|  | ||||
|     /// Verified applepay domains for a particular profile | ||||
|     pub applepay_verified_domains: Option<Vec<String>>, | ||||
| } | ||||
|  | ||||
| @ -13,6 +13,7 @@ pub struct ApplepayMerchantVerificationConfigs { | ||||
| #[serde(rename_all = "camelCase")] | ||||
| pub struct ApplepayMerchantVerificationRequest { | ||||
|     pub domain_names: Vec<String>, | ||||
|     pub business_profile_id: String, | ||||
| } | ||||
|  | ||||
| /// Response to be sent for the verify/applepay api | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Prajjwal Kumar
					Prajjwal Kumar