diff --git a/crates/router/src/connector/square/transformers.rs b/crates/router/src/connector/square/transformers.rs index ff33914c4fd5..01ed507bf34a 100644 --- a/crates/router/src/connector/square/transformers.rs +++ b/crates/router/src/connector/square/transformers.rs @@ -327,6 +327,7 @@ pub struct SquarePaymentsResponseDetails { status: SquarePaymentStatus, id: String, amount_money: SquarePaymentsAmountData, + reference_id: Option, } #[derive(Debug, Deserialize)] pub struct SquarePaymentsResponse { @@ -355,7 +356,7 @@ impl mandate_reference: None, connector_metadata: None, network_txn_id: None, - connector_response_reference_id: None, + connector_response_reference_id: item.response.payment.reference_id, }), amount_captured, ..item.data