Route all Stripe calls through src/payments/gateway.ts
Never import stripe outside the gateway; call its functions instead, so retries, idempotency keys and logging stay in one place.
import Stripe from "stripe";import { refund } from "../payments/gateway";