mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(router): add connector_response_reference_id in payments response (#1664)
This commit is contained in:
committed by
GitHub
parent
73f91a5eee
commit
a3ea5dc09c
@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user