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

Negatives:
- hyperswitch/crates/router/tests/connectors/vgs.rs :: should_fail_for_refund_amount_higher_than_payment_amount
- hyperswitch/crates/diesel_models/src/reverse_lookup.rs :: from
- hyperswitch/crates/hyperswitch_connectors/src/connectors/bluesnap.rs :: get_psync_url_with_connector_transaction_id
- hyperswitch/crates/hyperswitch_connectors/src/connectors/nexixpay.rs :: get_connector_about
- hyperswitch/crates/hyperswitch_connectors/src/connectors/peachpayments.rs :: build_request