mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(router): verify service for applepay merchant registration (#2009)
This commit is contained in:
		
							
								
								
									
										24
									
								
								crates/api_models/src/verifications.rs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								crates/api_models/src/verifications.rs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,24 @@ | ||||
| /// The request body for verification of merchant (everything except domain_names are prefilled) | ||||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] | ||||
| #[serde(rename_all = "camelCase")] | ||||
| pub struct ApplepayMerchantVerificationConfigs { | ||||
|     pub domain_names: Vec<String>, | ||||
|     pub encrypt_to: String, | ||||
|     pub partner_internal_merchant_identifier: String, | ||||
|     pub partner_merchant_name: String, | ||||
| } | ||||
|  | ||||
| /// The derivation point for domain names from request body | ||||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] | ||||
| #[serde(rename_all = "camelCase")] | ||||
| pub struct ApplepayMerchantVerificationRequest { | ||||
|     pub domain_names: Vec<String>, | ||||
| } | ||||
|  | ||||
| /// Response to be sent for the verify/applepay api | ||||
| #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] | ||||
| #[serde(rename_all = "camelCase")] | ||||
| pub struct ApplepayMerchantResponse { | ||||
|     pub status_message: String, | ||||
|     pub status_code: String, | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Prajjwal Kumar
					Prajjwal Kumar