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

@ -6,7 +6,9 @@ use std::{
num::{ParseFloatError, TryFromIntError},
};
pub use accounts::{MerchantAccountType, MerchantProductType, OrganizationType};
pub use accounts::{
MerchantAccountRequestType, MerchantAccountType, MerchantProductType, OrganizationType,
};
pub use payments::ProductType;
use serde::{Deserialize, Serialize};
pub use ui::*;

View File

@ -70,3 +70,25 @@ pub enum OrganizationType {
Standard,
Platform,
}
#[derive(
Clone,
Copy,
Debug,
Default,
Eq,
PartialEq,
serde::Deserialize,
serde::Serialize,
strum::Display,
strum::EnumString,
ToSchema,
)]
#[router_derive::diesel_enum(storage_type = "text")]
#[strum(serialize_all = "snake_case")]
#[serde(rename_all = "snake_case")]
pub enum MerchantAccountRequestType {
#[default]
Standard,
Connected,
}