mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 10:06:32 +08:00 
			
		
		
		
	feat(payments_v2): add payment method list endpoint (#6805)
Co-authored-by: Sanchith Hegde <sanchith.hegde@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -420,7 +420,15 @@ impl ApiEventMetric for PaymentStartRedirectionRequest { | ||||
| } | ||||
|  | ||||
| #[cfg(feature = "v2")] | ||||
| impl ApiEventMetric for events::PaymentsCaptureResponse { | ||||
| impl ApiEventMetric for payments::PaymentMethodListResponseForPayments { | ||||
|     // Payment id would be populated by the request | ||||
|     fn get_api_event_type(&self) -> Option<ApiEventsType> { | ||||
|         None | ||||
|     } | ||||
| } | ||||
|  | ||||
| #[cfg(feature = "v2")] | ||||
| impl ApiEventMetric for payments::PaymentsCaptureResponse { | ||||
|     fn get_api_event_type(&self) -> Option<ApiEventsType> { | ||||
|         Some(ApiEventsType::Payment { | ||||
|             payment_id: self.id.clone(), | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Narayan Bhat
					Narayan Bhat