mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat: SEPA and BACS bank transfers through stripe (#930)
This commit is contained in:
committed by
GitHub
parent
53aa5ac92d
commit
cf000599dd
@ -205,6 +205,8 @@ pub struct ResponsePaymentMethodTypes {
|
||||
|
||||
/// The Bank debit payment method information, if applicable for a payment method type.
|
||||
pub bank_debits: Option<BankDebitTypes>,
|
||||
/// The Bank transfer payment method information, if applicable for a payment method type.
|
||||
pub bank_transfers: Option<BankTransferTypes>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, serde::Deserialize, serde::Serialize, ToSchema)]
|
||||
@ -217,6 +219,13 @@ pub struct ResponsePaymentMethodsEnabled {
|
||||
pub payment_method_types: Vec<ResponsePaymentMethodTypes>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize, ToSchema, PartialEq, Eq)]
|
||||
pub struct BankTransferTypes {
|
||||
/// The list of eligible connectors for a given payment experience
|
||||
#[schema(example = json!(["stripe", "adyen"]))]
|
||||
pub eligible_connectors: Vec<String>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
pub struct ResponsePaymentMethodIntermediate {
|
||||
pub payment_method_type: api_enums::PaymentMethodType,
|
||||
|
||||
Reference in New Issue
Block a user