Refund
Prerequisites
- Staff access to Invoices and Transactions in the Recurly Admin UI, or API credentials with scope to refund invoices
Limitations
- Refunds are always issued to the original payment method (the same card or bank account used for ACH) and are tied to the original gateway. They cannot be routed to a different payment method or gateway
- Unsettled transactions can be voided instead of refunded. Some gateways also allow refunds against unsettled transactions, but this is not recommended
- Voided and uncaptured authorization transactions cannot be refunded
- Percentage refunds on invoices require the Credit Memos feature flag to be enabled
Definition
Key benefits
Key details
Refund types
| Type | What it does | Typical use |
| Full | Returns the entire original charge. | Billing error or immediate cancellation. |
| Amount | Returns an exact currency amount. | Goodwill credit or partial service issue. |
| Line items | Returns selected lines with optional proration and quantities. | Plan swaps, partial periods, or item-level adjustments. |
Credit handling
When an invoice contains credit line items and you're issuing a partial refund, you can control the order in which value is returned.
| Option | Result |
| Credit first (default) | Refund returns account credit first, then creates a transaction for any remaining amount. |
| Transaction first | Refund issues money back to the customer first; any remainder is returned as account credit. |
Taxes, discounts, and proration
The refund preview calculates the exact impact of your selection before you confirm:
- Line-item refunds respect original taxability and discount allocation
- Proration applies to subscription charges when selected on the refund screen
- The preview shows all calculated taxes, discounts, and proration adjustments
What gets created
When a refund is completed, Recurly generates two records:
- A refund invoice reflecting the reversal, including taxes and discount allocation
- A refund transaction against the original payment method
Refund from the Admin UI
- Line items — Select specific charge lines. Optionally prorate subscription charges or select specific quantities.
- Specific amount — Select "Refund a partial item or specific amount?" and enter a custom amount. The amount cannot exceed the original transaction value.
- Unsettled transactions — Only a full refund (void) is available until the gateway settles the charge.
Refund via API
To refund an invoice programmatically, use the Refund Invoice endpoint in Recurly's API.
Troubleshooting
Why can't I refund — the transaction shows as unsettled?
Unsettled transactions can only be fully reversed with a void. A refund is not available until the gateway settles the charge, which typically happens at end of day. Wait for settlement, then issue the refund — or proceed with a void if you want an immediate full reversal.
The gateway or bank blocked my refund attempt. What should I do?
You may be outside the gateway's refund window (often 30–60 days after the original transaction), or the original payment method may no longer be able to receive the refund. In these cases, consider issuing an offline credit outside the processor and recording the adjustment in Recurly manually.
I'm getting a validation error via the API. How do I fix it?
Confirm that the type field and all required parameters are present in your request. For line-item refunds, verify that the line IDs and quantities are valid for the original invoice. Refer to the Refund an Invoice API reference for the full parameter spec.