[Snippet rust]
```rust
pub(crate) async fn payments_create_and_confirm_intent(
```
Path: hyperswitch/crates/router/src/core/payments.rs :: payments_create_and_confirm_intent (function, crate=router)

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/riskified.rs :: get_request_body
- hyperswitch/crates/common_utils/src/id_type/merchant.rs :: get_webhook_config_disabled_events_key
- hyperswitch/crates/router/tests/connectors/novalnet.rs :: should_sync_refund
- hyperswitch/crates/kgraph_utils/src/transformers.rs :: get_dir_country_dir_value
- hyperswitch/crates/hyperswitch_connectors/src/connectors/payjustnow.rs :: get_webhook_source_verification_algorithm