Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(core): Add Default Enum Variant in RequestIncrementalAuthorization (#8948)

Anurag176e1ccc74c5
diff --git a/api-reference/v2/openapi_spec_v2.json b/api-reference/v2/openapi_spec_v2.json
index 390be5f86f..02dbdddf4a 100644
--- a/api-reference/v2/openapi_spec_v2.json
+++ b/api-reference/v2/openapi_spec_v2.json
@@ -22770,7 +22770,8 @@
"type": "string",
"enum": [
"true",
- "false"
+ "false",
+ "default"
]
},
"RequestPaymentMethodTypes": {
diff --git a/crates/common_enums/src/enums.rs b/crates/common_enums/src/enums.rs
index ec8d55ed00..3b61b810ba 100644
--- a/crates/common_enums/src/enums.rs
+++ b/crates/common_enums/src/enums.rs
@@ -2850,6 +2850,7 @@ pub enum RequestIncrementalAuthorization {
True,
#[default]
False,
+ Default,
}
#[derive(Clone, Copy, Eq, Hash, PartialEq, Debug, Serialize, Deserialize, strum::Display, ToSchema,)]