mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
feat(vsaas): integrate onboarding flow for vertical saas (#7884)
This commit is contained in:
@ -130,6 +130,20 @@ pub struct UserOrgMerchantCreateRequest {
|
||||
pub merchant_name: Secret<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize, Clone)]
|
||||
pub struct PlatformAccountCreateRequest {
|
||||
pub organization_name: Secret<String>,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct PlatformAccountCreateResponse {
|
||||
pub org_id: id_type::OrganizationId,
|
||||
pub org_name: Option<String>,
|
||||
pub org_type: common_enums::OrganizationType,
|
||||
pub merchant_id: id_type::MerchantId,
|
||||
pub merchant_account_type: common_enums::MerchantAccountType,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Deserialize, serde::Serialize)]
|
||||
pub struct UserMerchantCreate {
|
||||
pub company_name: String,
|
||||
@ -381,6 +395,7 @@ pub struct UserTransferKeyResponse {
|
||||
pub struct ListOrgsForUserResponse {
|
||||
pub org_id: id_type::OrganizationId,
|
||||
pub org_name: Option<String>,
|
||||
pub org_type: common_enums::OrganizationType,
|
||||
}
|
||||
|
||||
#[derive(Debug, serde::Serialize)]
|
||||
@ -388,6 +403,7 @@ pub struct UserMerchantAccountResponse {
|
||||
pub merchant_id: id_type::MerchantId,
|
||||
pub merchant_name: OptionalEncryptableName,
|
||||
pub product_type: Option<common_enums::MerchantProductType>,
|
||||
pub merchant_account_type: common_enums::MerchantAccountType,
|
||||
pub version: common_enums::ApiVersion,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user