Issue: [FEATURE] add tokenization action handling to payment flow in v2

### Feature Description

This feature add connector-level tokenization to Hyperswitch V2, allowing secure storage of card data as tokens at payment connectors like Braintree. 

### Possible Implementation

For connector-level tokenization:
         1.When a payment comes with raw card data and the connector supports tokenization, send the card details to the connector’s tokenization API.
	2.	Receive the tokenized payment method ID.
	3.	Use the token for the subsequent authorization or capture call.

### Have you spent some time checking if this feature request 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: feat(payments): add tokenization action handling to payment flow for braintree
- Merged: 2025-09-30T08:07:13Z
- Files changed: 3 files
- Commits: 5 commits

Implementation approach:
## Type of Change
<!-- Put an `x` in the boxes that apply -->

- [ ] Bugfix
- [X] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD

## Description
<!-- Describe your changes in detail -->
This feature add connector-level tokenization to Hyperswitch V2, allowing secure storage of card data as tokens at payment connectors like Braintree.
Additionally Tokenization in router is not implemented, because of temp locker mechanism whi
</think>

To implement this, you'll need to modify:


**Detailed Implementation:**


**Commit 1:** feat(payments): add tokenization action handling to payment flow for braintree (#9506)
Files to modify:


**crates/router/src/core/payments.rs**
  Add:
    - function: private::is_payment_method_tokenization_enabled_for_connector
    - function: private::is_payment_flow_allowed_for_connector
    - enum: pub::TokenizationAction

**crates/router/src/core/payments/operations.rs**
  Add:
    - function: private::get_connector_tokenization_action

**crates/router/src/core/payments/operations/payment_confirm_intent.rs**
  Add:
    - function: private::get_connector_tokenization_action