TL;DR — Void while the batch is open, refund once it’s closed.
422 tx:amount-exceeds-captured means you asked for more than remains (original minus prior refunds).When this happens
Void while the settlement batch is OPEN. Refund once it’s CLOSED. You can’t do either the other way around:
- Voiding a transaction whose batch has already closed returns
409 urn:radiumone:tx:void-on-non-open-batch. - Refunding a transaction whose batch is still open returns
409 urn:radiumone:tx:refund-on-open-batch.
GET /v1/transactions/{id}/status or a settlement.* webhook if you’re unsure which state you’re in. See Resolve void and refund conflicts if you hit either error.- Void after the batch closed —
409 urn:radiumone:tx:void-on-non-open-batch. - Refund while the batch is still open —
409 urn:radiumone:tx:refund-on-open-batch. - Void while an earlier void on the same sale hasn’t resolved yet —
409 urn:radiumone:transaction:void-reversal-pending. It’s transient: check the transaction status for the earlier void’s outcome, and void again later only if the sale still isn’t voided. - Refund
amountexceeds what’s left (original minus prior refunds) —422 urn:radiumone:tx:amount-exceeds-captured. - Refund attempted after the refund window has elapsed since capture/settlement —
422 urn:radiumone:tx:refund-window-expired. - The target transaction isn’t in a refundable state (already refunded in full, voided, or otherwise) —
422 urn:radiumone:tx:refund-target-not-refundable. - The transaction’s state doesn’t allow the operation you requested at all —
409 urn:radiumone:tx:invalid-state-transition.
What you see
What to do
1
Check the batch state before you pick void or refund
Check the transaction’s status (API reference) or wait for a
settlement.* webhook to know which side of the boundary you’re on, rather than guessing.2
While the batch is open, void
3
Once the batch has closed, refund
Cap the amount at the remaining balance (original minus prior refunds) (API reference):
4
Past the refund window
If your account has a configured refund window and it has elapsed, a referenced refund is no longer available — use Standalone refunds if it’s enabled for your outlet, or contact support.
Related
Void a payment
Void while the batch is open.
Refund a payment
Refund once the batch is closed, capped at the remaining amount.
Standalone refunds
High-risk fallback when a referenced refund is no longer available.
Payment operation errors
The full URN catalog for transaction-state errors.