mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 17:47:54 +08:00
feat: add routing support for v2 sdk session flow (#6763)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -205,13 +205,14 @@ pub struct MerchantAccountCreateWithoutOrgId {
|
||||
// The following struct is only used internally, so we can reuse the common
|
||||
// part of `create_merchant_account` without duplicating its code for v2
|
||||
#[cfg(feature = "v2")]
|
||||
#[derive(Clone, Debug, Serialize)]
|
||||
#[derive(Clone, Debug, Serialize, ToSchema)]
|
||||
pub struct MerchantAccountCreate {
|
||||
pub merchant_name: Secret<common_utils::new_type::MerchantName>,
|
||||
pub merchant_details: Option<MerchantDetails>,
|
||||
pub metadata: Option<pii::SecretSerdeValue>,
|
||||
pub organization_id: id_type::OrganizationId,
|
||||
/// Product Type of this merchant account
|
||||
#[schema(value_type = Option<MerchantProductType>)]
|
||||
pub product_type: Option<api_enums::MerchantProductType>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user