Command: git diff HEAD~1 Output: diff --git a/CHANGELOG.md b/CHANGELOG.md index…
- User
Command: git diff HEAD~1 Output: diff --git a/CHANGELOG.md b/CHANGELOG.md index b555c551f..adeaf43fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,39 @@
All notable changes to HyperSwitch will be documented here.
+- - - + +## 2025.03.27.0 + +### Features + +- connector: [BRAINTREE] Pass connector request reference id (#7609) (
da8cf61) +- core: Add profile level config for debit routing feature (#7470) (8e85465) +- dashboard_metadata: AddReconStatusindashboard_metadata(#7595) (7b275ec) +- themes: Add email configuration support for themes (#7580) (7805a20) +- Add routing support for v2 sdk session flow (#6763) (c3e8c67) + +### Bug Fixes + +- connector:+### Refactors + +- connector: [TrustPay] Fix status and wasm changes (#7649) (
27da0af) + +### Miscellaneous Tasks + +- cypress: Bump cypress tov14.2.0(#7640) (60d5c77) + +Full Changelog:2025.03.26.0...2025.03.27.0+ +
2025.03.26.0
diff --git a/crates/router/src/routes/gsm.rs b/crates/router/src/routes/gsm.rs index 77a0cb0a6..c824eeb8f 100644 --- a/crates/router/src/routes/gsm.rs +++ b/crates/router/src/routes/gsm.rs @@ -159,3 +159,42 @@ pub async fn delete_gsm_rule( )) .await } + +/// Gsm - Create (v2) +/// +/// To create a Gsm Rule for v2 API +#[cfg(feature = "v2")] +#[utoipa::path(
- post,
- path = "/v2/gsm",
- request_body(
-
content = GsmCreateRequest, - ),
- responses(
-
(status = 200, description = "Gsm created", body = GsmResponse), -
(status = 400, description = "Missing Mandatory fields") - ),
- tag = "Gsm",
- operation_id = "Create Gsm Rule v2",
- security(("admin_api_key" = [])), +)] +#[instrument(skip_all, fields(flow = ?Flow::GsmRuleCreate))] +pub async fn create_gsm_rule_v2(
- state: web::Data,
- req: HttpRequest,
- json_payload: web::Json<gsm_api_types::GsmCreateRequest>, +) -> impl Responder {
- let payload = json_payload.into_inner();
- let flow = Flow::GsmRuleCreate;
- Box::pin(api::server_wrap(
-
flow, -
state.clone(), -
&req, -
payload, -
|state, _, payload, _| gsm::create_gsm_rule(state, payload), -
&auth::AdminApiAuth, -
api_locking::LockAction::NotApplicable, - ))
- .await +}
Assistant
<is_displaying_contents> true </is_displaying_contents>