feat(core): [Payouts] add merchant_connector_id to payout_attempt and show in response (#5214)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sakil Mostak
2024-08-20 21:45:33 +05:30
committed by GitHub
parent 6e7b38a622
commit 4cc389aa70
9 changed files with 154 additions and 152 deletions

View File

@ -464,6 +464,10 @@ pub struct PayoutCreateResponse {
#[schema(value_type = Option<Object>, example = r#"{ "udf1": "some-value", "udf2": "some-value" }"#)]
pub metadata: Option<pii::SecretSerdeValue>,
/// Unique identifier of the merchant connector account
#[schema(value_type = Option<String>, example = "mca_sAD3OZLATetvjLOYhUSy")]
pub merchant_connector_id: Option<String>,
/// Current status of the Payout
#[schema(value_type = PayoutStatus, example = RequiresConfirmation)]
pub status: api_enums::PayoutStatus,