feat(router): add connector_response_reference_id in payments response (#1664)

This commit is contained in:
Sai Harsha Vardhan
2023-07-13 12:04:37 +05:30
committed by GitHub
parent 73f91a5eee
commit a3ea5dc09c
56 changed files with 140 additions and 2 deletions

View File

@ -1529,6 +1529,10 @@ pub struct PaymentsResponse {
/// additional data that might be required by hyperswitch
#[schema(value_type = Option<FeatureMetadata>)]
pub feature_metadata: Option<serde_json::Value>, // This is Value because it is fetched from DB and before putting in DB the type is validated
/// reference to the payment at connector side
#[schema(value_type = Option<String>, example = "993672945374576J")]
pub reference_id: Option<String>,
}
#[derive(Clone, Debug, serde::Deserialize, ToSchema)]