Bug: Update get organization details api response to contain organization type



This is a part of the vsaas changes required. The updated response of retrieve organization`GET` api should also contain the organization type. 

diff --git a/crates/api_models/src/organization.rs b/crates/api_models/src/organization.rs
index 50632e66be7..e12b21c143f 100644
--- a/crates/api_models/src/organization.rs
+++ b/crates/api_models/src/organization.rs
@@ -74,6 +74,10 @@ pub struct OrganizationResponse {
     pub metadata: Option<pii::SecretSerdeValue>,
     pub modified_at: time::PrimitiveDateTime,
     pub created_at: time::PrimitiveDateTime,
+
+    /// Organization Type of the organization
+    #[schema(value_type = Option<OrganizationType>, example = "standard")]
+    pub organization_type: Option<OrganizationType>,
 }
 
 #[cfg(feature = "v2")]
@@ -95,4 +99,8 @@ pub struct OrganizationResponse {
     pub metadata: Option<pii::SecretSerdeValue>,
     pub modified_at: time::PrimitiveDateTime,
     pub created_at: time::PrimitiveDateTime,
+
+    /// Organization Type of the organization
+    #[schema(value_type = Option<OrganizationType>, example = "standard")]
+    pub organization_type: Option<OrganizationType>,
 }
diff --git a/crates/common_enums/src/enums/accounts.rs b/crates/common_enums/src/enums/accounts.rs
index 2d575f4d83a..844ef398248 100644
--- a/crates/common_enums/src/enums/accounts.rs
+++ b/crates/common_enums/src/enums/accounts.rs
@@ -61,6 +61,7 @@ pub enum MerchantAccountType {
     serde::Serialize,
     strum::Display,
     strum::EnumString,
+    ToSchema,
 )]
 #[router_derive::diesel_enum(storage_type = "text")]
 #[strum(serialize_all = "snake_case")]
diff --git a/crates/openapi/src/openapi.rs b/crates/openapi/src/openapi.rs
index 766c69c494f..387be8ec75f 100644
--- a/crates/openapi/src/openapi.rs
+++ b/crates/openapi/src/openapi.rs
@@ -363,6 +363,7 @@ Never share your secret api keys. Keep them guarded and secure.
         api_models::enums::CtpServiceProvider,
         api_models::enums::PaymentLinkSdkLabelType,
         api_models::enums::PaymentLinkShowSdkTerms,
+        api_models::enums::OrganizationType,
         api_models::admin::MerchantConnectorCreate,
         api_models::admin::AdditionalMerchantData,
         api_models::admin::ConnectorWalletDetails,
diff --git a/crates/openapi/src/openapi_v2.rs b/crates/openapi/src/openapi_v2.rs
index ba447a4e457..e1cda388a38 100644
--- a/crates/openapi/src/openapi_v2.rs
+++ b/crates/openapi/src/openapi_v2.rs
@@ -319,6 +319,7 @@ Never share your secret api keys. Keep them guarded and secure.
         api_models::enums::CtpServiceProvider,
         api_models::enums::PaymentLinkSdkLabelType,
         api_models::enums::PaymentLinkShowSdkTerms,
+        api_models::enums::OrganizationType,
         api_models::admin::MerchantConnectorCreate,
         api_models::admin::AdditionalMerchantData,
         api_models::admin::CardTestingGuardConfig,
diff --git a/crates/router/src/types/api/admin.rs b/crates/router/src/types/api/admin.rs
index dea8cc0d770..1b478cee4c6 100644
--- a/crates/router/src/types/api/admin.rs
+++ b/crates/router/src/types/api/admin.rs
@@ -75,6 +75,7 @@ impl ForeignFrom<diesel_models::organization::Organization> for OrganizationResp
             metadata: org.metadata,
             modified_at: org.modified_at,
             created_at: org.created_at,
+            organization_type: org.organization_type,
         }
     }
 }

## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
Updated `organization_retrieve` api response to contain `organization_type` for v1 and v2 api


### Additional Changes

- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies application configuration/environment variables

<!--
Provide links to the files with corresponding changes.

Following are the paths where you can find config files:
1. `config`
2. `crates/router/src/configs`
3. `loadtest/config`
-->


## Motivation and Context
<!--
Why is this change required? What problem does it solve?
If it fixes an open issue, please link to the issue here.

If you don't have an issue, we'd recommend starting with one first so the PR
can focus on the implementation (unless it is an obvious bug or documentation fix
that will have little conversation).
-->


## How did you test it?

Curl for Organization Retrieve

```
curl --location 'http://localhost:8080/organization/org_nib3yNnE0BcUJJ8ptlh2' \
--header 'api-key: test_admin' \
--header 'Content-Type: application/json'
```

Current response

```
{
    "organization_id": "org_nib3yNnE0BcUJJ8ptlh2",
    "organization_name": "org_local",
    "organization_details": null,
    "metadata": null,
    "modified_at": "2025-07-15 15:47:00.992814",
    "created_at": "2025-07-15 15:47:00.992762",
}
```

Updated response

```
{
    "organization_id": "org_nib3yNnE0BcUJJ8ptlh2",
    "organization_name": "org_local",
    "organization_details": null,
    "metadata": null,
    "modified_at": "2025-07-15 15:47:00.992814",
    "created_at": "2025-07-15 15:47:00.992762",
    "organization_type": "standard"
}
```

## Checklist
<!-- Put an `x` in the boxes that apply -->

- [x] I formatted the code `cargo +nightly fmt --all`
- [x] I addressed lints thrown by `cargo clippy`
- [x] I reviewed the submitted code
- [ ] I added unit tests for my changes where possible
