mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
refactor(payments): fetch payment method information in attempts list api v2 and add custom billing connector template (#8681)
Co-authored-by: Nishanth Challa <nishanth.challa@Nishanth-Challa-C0WGKCFHLF.local> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
db14764671
commit
110beaff9a
@ -166,6 +166,7 @@ pub enum BillingConnectors {
|
||||
Chargebee,
|
||||
Recurly,
|
||||
Stripebilling,
|
||||
Custombilling,
|
||||
#[cfg(feature = "dummy_connector")]
|
||||
DummyBillingConnector,
|
||||
}
|
||||
|
||||
@ -1629,6 +1629,9 @@ pub struct PaymentAttemptResponse {
|
||||
|
||||
/// Additional data that might be required by hyperswitch, to enable some specific features.
|
||||
pub feature_metadata: Option<PaymentAttemptFeatureMetadata>,
|
||||
|
||||
/// The payment method information for the payment attempt
|
||||
pub payment_method_data: Option<PaymentMethodDataResponseWithBilling>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
|
||||
Reference in New Issue
Block a user