mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 18:17:13 +08:00 
			
		
		
		
	feat(business_profile): add profile id in affected tables and modify api contract (#1971)
This commit is contained in:
		| @ -294,6 +294,10 @@ pub struct PaymentsRequest { | ||||
|  | ||||
|     /// additional data that might be required by hyperswitch | ||||
|     pub feature_metadata: Option<FeatureMetadata>, | ||||
|  | ||||
|     /// The business profile to use for this payment, if not passed the default business profile | ||||
|     /// associated with the merchant account will be used. | ||||
|     pub profile_id: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive( | ||||
| @ -1898,6 +1902,9 @@ pub struct PaymentsResponse { | ||||
|     /// reference to the payment at connector side | ||||
|     #[schema(value_type = Option<String>, example = "993672945374576J")] | ||||
|     pub reference_id: Option<String>, | ||||
|  | ||||
|     /// The business profile that is associated with this payment | ||||
|     pub profile_id: Option<String>, | ||||
| } | ||||
|  | ||||
| #[derive(Clone, Debug, serde::Deserialize, ToSchema)] | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Narayan Bhat
					Narayan Bhat