Issue:
Properly Handle encoded_data in PSync flow [v2]

PSync is failing for adyen with error: `validate_psync_reference_id failed`. We need to pass the `encoded_data` in payment_attempt

Resolution:
<think>
PR Context:
- Title: fix(router): Handle encoded_data in PSync [V2]
- Merged: 2025-06-02T10:26:16Z
- Files changed: 1 files
- Commits: 1 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [x] Bugfix
- [ ] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
Add `encoded_data` from `PaymentsRetrieveRequest` in `payment_attempt` inside `get_trackers` for PSync

### Additional Changes

- [ ] This PR modifies the API contract
- [ ] This PR modifies the database schema
- [ ] This PR modifies app
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** fix(router): Handle encoded_data in PSync [V2] (#8177)
Files to modify:


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