fix(refund): add merchant_connector_id in refund (#3303)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Narayan Bhat
2024-01-11 19:16:51 +05:30
committed by GitHub
parent e75b11e98a
commit af43b07e43
3 changed files with 11 additions and 0 deletions

View File

@ -127,7 +127,10 @@ pub struct RefundResponse {
/// The connector used for the refund and the corresponding payment
#[schema(example = "stripe")]
pub connector: String,
/// The id of business profile for this refund
pub profile_id: Option<String>,
/// The merchant_connector_id of the processor through which this payment went through
pub merchant_connector_id: Option<String>,
}
#[derive(Debug, Clone, Eq, PartialEq, Deserialize, Serialize, ToSchema)]