mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	api contract change for applepay (#693)
This commit is contained in:
		 Sangamesh Kulkarni
					Sangamesh Kulkarni
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							cf71d7aa3b
						
					
				
				
					commit
					4f4b9d7f5f
				
			| @ -560,35 +560,13 @@ pub struct GpayTokenizationData { | ||||
| #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)] | ||||
| pub struct ApplePayWalletData { | ||||
|     /// The payment data of Apple pay | ||||
|     pub payment_data: ApplepayPaymentData, | ||||
|     pub payment_data: String, | ||||
|     /// The payment method of Apple pay | ||||
|     pub payment_method: ApplepayPaymentMethod, | ||||
|     /// The unique identifier for the transaction | ||||
|     pub transaction_identifier: String, | ||||
| } | ||||
|  | ||||
| #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)] | ||||
| pub struct ApplepayPaymentData { | ||||
|     /// The data of Apple pay payment | ||||
|     pub data: String, | ||||
|     /// A string which represents the properties of a payment | ||||
|     pub signature: String, | ||||
|     /// The Apple pay header | ||||
|     pub header: ApplepayHeader, | ||||
|     /// The Apple Pay version used | ||||
|     pub version: String, | ||||
| } | ||||
|  | ||||
| #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)] | ||||
| pub struct ApplepayHeader { | ||||
|     /// The public key hash used | ||||
|     pub public_key_hash: String, | ||||
|     /// The ephemeral public key used | ||||
|     pub ephemeral_public_key: String, | ||||
|     /// The unique identifier for the transaction | ||||
|     pub transaction_id: String, | ||||
| } | ||||
|  | ||||
| #[derive(Eq, PartialEq, Clone, Debug, serde::Deserialize, serde::Serialize, ToSchema)] | ||||
| pub struct ApplepayPaymentMethod { | ||||
|     /// The name to be displayed on Apple Pay button | ||||
|  | ||||
		Reference in New Issue
	
	Block a user