Issue:
[BUG] fix(payments): add connector error details in response when payment void fails

### Bug Description

When a payment void fails at the connector level, the error was not being propagated back in the API response.
This change ensures connector error details are included in the response, so clients can handle failures appropriately.

### Expected Behavior

When a payment void fails at the connector level, the error was not being propagated back in the API response.
This change ensures connector error details are included in the response, so clients can handle failures appropriately.

### Actual Behavior

Currently error is not coming in payment void if failed at connector level.

### Steps To Reproduce

Provide an unambiguous set of steps to reproduce this bug. Include code or configuration to reproduce, if relevant.
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'


### Context For The Bug

_No response_

### Environment

Are you using hyperswitch hosted version? Yes/No
If yes, please provide the value of the `x-request-id` response header to help us debug your issue.

If not (or if building/running locally), please provide the following details:
1. Operating System or Linux distribution:
2. Rust version (output of `rustc --version`): ``
3. App version (output of `cargo r --features vergen -- --version`): ``


### Have you spent some time checking if this bug has been raised before?

- [x] I checked and didn't find a similar issue

### Have you read the Contributing Guidelines?

- [x] I have read the [Contributing Guidelines](https://github.com/juspay/hyperswitch/blob/main/docs/CONTRIBUTING.md)

### Are you willing to submit a PR?

Yes, I am willing to submit a PR!

Resolution:
<think>
PR Context:
- Title: fix(payments): update error handling for payment void v2
- Merged: 2025-10-07T08:22:58Z
- Files changed: 6 files
- Commits: 17 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [x] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Add error details when payment void is failed at connector level and update the status accordingly.

### Additional Changes

- [x] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies applic
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(payments): update error handling for payment void v2 (#9595)
Co-authored-by: hyperswitch-bot[bot
Files to modify:


**crates/api_models/src/payments.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/router_data.rs**
  Modify existing code

**crates/hyperswitch_domain_models/src/router_data_v2/flow_common_types.rs**
  Modify existing code

**crates/hyperswitch_interfaces/src/conversion_impls.rs**
  Modify existing code

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