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:
CHALLA NISHANTH BABU
2025-07-22 00:38:33 +05:30
committed by GitHub
parent db14764671
commit 110beaff9a
21 changed files with 1365 additions and 36 deletions

View File

@ -166,6 +166,7 @@ pub enum BillingConnectors {
Chargebee,
Recurly,
Stripebilling,
Custombilling,
#[cfg(feature = "dummy_connector")]
DummyBillingConnector,
}

View File

@ -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")]