mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
feat(router): Default configs and toggle api for dynamic routing feature (#5830)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -2355,6 +2355,10 @@ pub struct BusinessProfileUpdate {
|
||||
/// Indicates if tax_calculator connector is enabled or not.
|
||||
/// If set to `true` tax_connector_id will be checked.
|
||||
pub is_tax_connector_enabled: Option<bool>,
|
||||
|
||||
/// Indicates if dynamic routing is enabled or not.
|
||||
#[serde(default)]
|
||||
pub dynamic_routing_algorithm: Option<serde_json::Value>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "v2")]
|
||||
|
||||
Reference in New Issue
Block a user