mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
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:
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user