mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-31 01:57:45 +08:00
feat(payouts): make payout_type optional in payouts table (#4954)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -349,8 +349,8 @@ pub struct PayoutCreateResponse {
|
||||
pub connector: Option<String>,
|
||||
|
||||
/// The payout method that is to be used
|
||||
#[schema(value_type = PayoutType, example = "bank")]
|
||||
pub payout_type: api_enums::PayoutType,
|
||||
#[schema(value_type = Option<PayoutType>, example = "bank")]
|
||||
pub payout_type: Option<api_enums::PayoutType>,
|
||||
|
||||
/// The billing address for the payout
|
||||
#[schema(value_type = Option<Object>, example = json!(r#"{
|
||||
|
||||
Reference in New Issue
Block a user