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:
chikke srujan
2024-06-12 19:54:52 +05:30
committed by GitHub
parent 4651584ecc
commit b847606d66
27 changed files with 98 additions and 60 deletions

View File

@ -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#"{