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

Negatives:
- hyperswitch/crates/hyperswitch_connectors/src/connectors/loonio.rs :: get_headers
- hyperswitch/crates/router/src/db/kafka_store.rs :: delete_payment_intents_for_sample_data
- hyperswitch/crates/common_utils/src/id_type.rs :: test_invalid_ref_id_error_message
- hyperswitch/crates/router/src/configs/secrets_transformers.rs :: convert_to_raw_secret
- hyperswitch/crates/hyperswitch_connectors/src/connectors/xendit.rs :: get_webhook_source_verification_signature