<!-- Describe your changes in detail -->
Currently CTP is confirmation call for mastercard is failing with non updated transaction state, with this change we are doing confirmation call with the updated terminal state changed after the authZ call


## How did you test it?
<!--
Did you write an integration/unit/API test to verify the code changes?
Or did you test this change manually (provide relevant screenshots)?
-->
Setup click to pay mastercard, then do 

payments create

```shell
curl --location 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_gtJHU8BXZMru9mroweV8tSrVcCSX1y4rCywl8rQCqIZA5getWeAeYVmjXNmvcDze' \
--data '
{
    "amount": 1130,
    "currency": "USD",
    "confirm": false,
    "return_url": "https://hyperswitch.io"
}  '
```

Payments confirm

```shell
curl --location 'http://localhost:8080/payments/pay_WI2aZuVQWqJQYGSFmsLF/confirm' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_gtJHU8BXZMru9mroweV8tSrVcCSX1y4rCywl8rQCqIZA5getWeAeYVmjXNmvcDze' \
--data-raw '
{
    "payment_method": "card",
    "payment_method_type": "debit",
    "ctp_service_details" : {
        "merchant_transaction_id": "0a4e0d3.34f4a04b.803eb38b0a56f082296538d4a70c064a6b320639",
        "correlation_id": "34f4a04b.bcd1ac39-e0f3-479e-b3ee-703ade0c66dc",
        "x_src_flow_id" : "34f4a04b.bcd1ac39-e0f3-479e-b3ee-703ade0c66dc.1727438793",
        "provider": "mastercard"
    },
    
        "billing": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "US",
            "first_name": "sahkal",
            "last_name": "poddar"
        }
    },
    "shipping": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "US"
        }
    },
    "email": "sahkalplanet@gmail.com"
}'
```
look  for confirmation call logs in grafana
<img width="1722" height="249" alt="Screenshot 2025-08-25 at 3 55 06 PM" src="https://github.com/user-attachments/assets/e328f3eb-2dd1-4955-98c4-58a0f208e2b4" />

## 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
To implement this **payment** feature, you'll need to modify these architectural layers:


**1. Domain Models (Business Logic Types)**
   - `crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs`

**2. Core Business Logic**
   - `crates/router/src/core/payments.rs`
   - `crates/router/src/core/payments/helpers.rs`
   - `crates/router/src/core/payments/operations.rs`
   - ... and 4 more files

**3. External Connector Integration**
   - `crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs`

**Code Patterns Applied:**
- Implement new functions (3 changes)
- Extend existing types with new fields (10 changes)
- Add conditional logic for feature flags or filtering (3 changes)

**Detailed Identifier Changes:**


Commit 44137517:
Files to modify:


**crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs**
  Modify existing code

**crates/router/src/core/payments.rs**
  Modify existing code

**crates/router/src/core/payments/helpers.rs**
  Modify existing code

**crates/router/src/core/payments/operations.rs**
  Modify existing code

**crates/router/src/core/payments/operations/payment_confirm.rs**
  Modify existing code

**crates/router/src/core/unified_authentication_service.rs**
  Modify existing code

**crates/router/src/core/unified_authentication_service/types.rs**
  Modify existing code

**crates/router/src/core/unified_authentication_service/utils.rs**
  Modify existing code
{"pr_number": 9050, "pr_title": "fix(authentication): fixed ctp confirmation bug", "merged_at": "2025-09-01T13:34:31Z", "intent": {"feature_type": "payment", "action": "add_feature", "entities": ["payment", "merchant", "user"]}, "hierarchy": {"domain": ["crates/hyperswitch_domain_models/src/router_request_types/unified_authentication_service.rs"], "core_business": ["crates/router/src/core/payments.rs", "crates/router/src/core/payments/helpers.rs", "crates/router/src/core/payments/operations.rs", "crates/router/src/core/payments/operations/payment_confirm.rs", "crates/router/src/core/unified_authentication_service.rs", "crates/router/src/core/unified_authentication_service/types.rs", "crates/router/src/core/unified_authentication_service/utils.rs"], "connectors": ["crates/hyperswitch_connectors/src/connectors/unified_authentication_service/transformers.rs"]}, "change_types": {"functions_added": 3, "fields_added": 10, "conditionals_added": 3}, "has_identifier_data": true, "commits_matched": 1, "match_method": "pr_number"}