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:
Sandeep Kumar
2025-06-07 01:00:58 +05:30
committed by GitHub
parent e90a95de6f
commit cb3aba8d5a
19 changed files with 139 additions and 13 deletions

View File

@ -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")]

View File

@ -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)]