mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(events): add extracted fields based on req/res types (#2795)
This commit is contained in:
@ -12,7 +12,9 @@ use utoipa::ToSchema;
|
||||
#[cfg(feature = "payouts")]
|
||||
use crate::payouts;
|
||||
use crate::{
|
||||
admin, enums as api_enums,
|
||||
admin,
|
||||
customers::CustomerId,
|
||||
enums as api_enums,
|
||||
payments::{self, BankCodeResponse},
|
||||
};
|
||||
|
||||
@ -476,6 +478,8 @@ pub struct RequestPaymentMethodTypes {
|
||||
#[derive(Debug, Clone, serde::Serialize, Default, ToSchema)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
pub struct PaymentMethodListRequest {
|
||||
#[serde(skip_deserializing)]
|
||||
pub customer_id: Option<CustomerId>,
|
||||
/// This is a 15 minute expiry token which shall be used from the client to authenticate and perform sessions from the SDK
|
||||
#[schema(max_length = 30, min_length = 30, example = "secret_k2uj3he2893ein2d")]
|
||||
pub client_secret: Option<String>,
|
||||
|
||||
Reference in New Issue
Block a user