mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(refunds): add connector field in refund response (#1059)
Co-authored-by: Sarthak Soni <76486416+Sarthak1799@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
38aa9eab3f
commit
3fe24b3255
@ -120,6 +120,9 @@ pub struct RefundResponse {
|
||||
/// The timestamp at which refund is updated
|
||||
#[serde(with = "common_utils::custom_serde::iso8601::option")]
|
||||
pub updated_at: Option<PrimitiveDateTime>,
|
||||
/// The connector used for the refund and the corresponding payment
|
||||
#[schema(example = "stripe")]
|
||||
pub connector: String,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize, ToSchema)]
|
||||
|
||||
Reference in New Issue
Block a user