mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
refactor(payment_methods): add requires_cvv field to customer payment method list api object (#1852)
This commit is contained in:
@ -577,6 +577,10 @@ pub struct CustomerPaymentMethod {
|
||||
#[cfg(feature = "payouts")]
|
||||
#[schema(value_type = Option<Bank>)]
|
||||
pub bank_transfer: Option<payouts::Bank>,
|
||||
|
||||
/// Whether this payment method requires CVV to be collected
|
||||
#[schema(example = true)]
|
||||
pub requires_cvv: bool,
|
||||
}
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
|
||||
pub struct PaymentMethodId {
|
||||
|
||||
Reference in New Issue
Block a user