feat(router): add open router integration for debit routing (#7907)

Co-authored-by: Sayak Bhattacharya <sayak.b@Sayak-Bhattacharya-G092THXJ34.local>
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Shankar Singh C
2025-05-19 15:34:29 +05:30
committed by GitHub
parent 868ff50d14
commit 140d15bcbd
61 changed files with 1426 additions and 171 deletions

View File

@ -540,8 +540,9 @@ pub async fn skip_locker_call_and_migrate_payment_method(
.await
.to_not_found_response(errors::ApiErrorResponse::CustomerNotFound)?;
let payment_method_card_details =
pm_api::PaymentMethodsData::Card(pm_api::CardDetailsPaymentMethod::from(card.clone()));
let payment_method_card_details = pm_api::PaymentMethodsData::Card(
pm_api::CardDetailsPaymentMethod::from((card.clone(), None)),
);
let payment_method_data_encrypted: Option<Encryptable<Secret<serde_json::Value>>> = Some(
create_encrypted_data(