diff --git a/crates/router/src/compatibility/stripe/payment_intents/types.rs b/crates/router/src/compatibility/stripe/payment_intents/types.rs index 02b6977f94bd..1cda32ffcca9 100644 --- a/crates/router/src/compatibility/stripe/payment_intents/types.rs +++ b/crates/router/src/compatibility/stripe/payment_intents/types.rs @@ -479,6 +479,7 @@ pub struct StripePaymentIntentResponse { pub capture_method: Option, pub name: Option>, pub last_payment_error: Option, + pub connector_transaction_id: Option, } #[derive(Default, Eq, PartialEq, Serialize, Debug)] @@ -551,6 +552,7 @@ impl From for StripePaymentIntentResponse { }, error_type: code, }), + connector_transaction_id: resp.connector_transaction_id, } } } diff --git a/crates/router/src/compatibility/stripe/setup_intents/types.rs b/crates/router/src/compatibility/stripe/setup_intents/types.rs index 32caf4308c55..71bf58f651cf 100644 --- a/crates/router/src/compatibility/stripe/setup_intents/types.rs +++ b/crates/router/src/compatibility/stripe/setup_intents/types.rs @@ -438,6 +438,7 @@ pub struct StripeSetupIntentResponse { pub next_action: Option, pub last_payment_error: Option, pub charges: payment_intent::Charges, + pub connector_transaction_id: Option, } #[derive(Default, Eq, PartialEq, Serialize)] @@ -501,6 +502,7 @@ impl From for StripeSetupIntentResponse { error_type: code, } }), + connector_transaction_id: resp.connector_transaction_id, } } }