mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-28 04:04:55 +08:00
feat(vsaas): enable onboarding of Standard Merchant Accounts in Platform Organization (#8231)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -112,6 +112,10 @@ pub struct MerchantAccountCreate {
|
||||
/// Product Type of this merchant account
|
||||
#[schema(value_type = Option<MerchantProductType>, example = "Orchestration")]
|
||||
pub product_type: Option<api_enums::MerchantProductType>,
|
||||
|
||||
/// Merchant Account Type of this merchant account
|
||||
#[schema(value_type = Option<MerchantAccountRequestType>, example = "standard")]
|
||||
pub merchant_account_type: Option<api_enums::MerchantAccountRequestType>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v1")]
|
||||
|
||||
@ -168,6 +168,7 @@ pub struct PlatformAccountCreateResponse {
|
||||
pub struct UserMerchantCreate {
|
||||
pub company_name: String,
|
||||
pub product_type: Option<common_enums::MerchantProductType>,
|
||||
pub merchant_account_type: Option<common_enums::MerchantAccountRequestType>,
|
||||
}
|
||||
|
||||
#[derive(serde::Serialize, Debug, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user