@radzor/payment-refund
Process full and partial refunds via Stripe. Create refunds against payment intents or charges, check refund status, and react to refund lifecycle events.
Paymentv0.1.0typescriptpythonServerstriperefundpaymentchargebackbillingby Radzor
Install
View source on GitHub →$npx radzor@latest add payment-refund
⚠ Constraints: Requires Stripe secret key (server-side only). Refunds can only be issued for payments less than 180 days old. Partial refunds reduce the original charge amount. Webhook endpoint must be publicly accessible.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| secretKey* | string | — | Stripe secret API key (sk_live_... or sk_test_...).STRIPE_SECRET_KEY |
| webhookSecret* | string | — | Stripe webhook signing secret for verifying refund events.STRIPE_WEBHOOK_SECRET |
secretKey*string
Stripe secret API key (sk_live_... or sk_test_...).
STRIPE_SECRET_KEY
webhookSecret*string
Stripe webhook signing secret for verifying refund events.
STRIPE_WEBHOOK_SECRET