Skip to main content
Skip to Content
Cresora Commerce
Integration Guides

Refunds and Voids Guide

Which operation gives a payer their money back — void, authorization reversal or refund for cards; void or refund for ACH — and how fees, recurring contracts and refusals are handled.

There are two ways to give a payer their money back, and which one applies depends on whether the payment has settled — been included in the merchant's batch at the gateway.

  • Before settlement, cancel it. A VOID cancels a card payment; the charge never reaches the cardholder's statement. An AUTH_REVERSAL releases all or part of an authorization hold.
  • After settlement, refund it. A REFUND returns the remaining amount; a PARTIAL_REFUND returns a specific amount, and a payment can be partially refunded several times up to its original amount.
  • ACH debits have their own operations: ACH_VOID before the debit is sent and ACH_REFUND after it settles. ACH_REVERSAL, meant to correct an erroneous entry, is not available today.

Every operation is a POST /api/v1/transactions that names the original payment in parent_transaction_id. The Partner Portal's transaction view offers the operations listed in the transaction's available_actions. The field rules live on the reference pages: Refunds and Auth Reversal vs. Void.

Void or refund?

Cancel (VOID / AUTH_REVERSAL)Refund (REFUND / PARTIAL_REFUND)
WhenWhile the parent is AUTHORIZED or CAPTURED — the cutoff is settlement, not a clock. On an AUTHORIZED hold, available_actions offers authorization_reversal and not void, because it lists one action per outcome; a VOID sent instead, before any partial reversal, is accepted and releases the whole holdOnce the parent is SETTLED or PARTIALLY_REFUNDED
AmountVOID: the whole payment. AUTH_REVERSAL: whole or partial, partial only on an AUTHORIZED parentFull remaining amount, or a partial amount; several partials up to the original amount
What the cardholder seesThe pending charge is released; no refund line appearsThe original charge, plus a separate credit
ReasonNot requiredrefund_reason required
Parent afterwardsVOIDED or REVERSED. A partial AUTH_REVERSAL leaves it AUTHORIZED; release the rest with an AUTH_REVERSAL without amount, not a VOIDPARTIALLY_REFUNDED, then REFUNDED once fully refunded

You don't need to track settlement yourself. The transaction's available_actions (and the Partner Portal's detail view) lists what the payment's state allows, with exceptions, for example: while an operation on it is pending it offers no capture, void, reversal or refund (see "One operation at a time", below); and a cancel can lose a race with settlement. If a payment settles at the gateway moments before a cancel arrives, the cancel is refused with 422 gateway_operation_not_allowed_in_state; refund the payment once Cresora shows it SETTLED. A debit still INITIATED offers no ach_void, and an ACH_VOID sent for it anyway is refused with 422 parent_missing_gateway_id (Cresora has no gateway transaction id recorded for it); void it once it is SUBMITTED. ACH_REVERSAL is never offered: it is not available today (see ACH debits).

Card payments

  • What can be cancelled or refunded: sales, hosted payment page payments, payments with a saved card and captured authorizations. An uncaptured authorization can be cancelled too, with a VOID or an AUTH_REVERSAL. A cancel is always for the payment as a whole, except an AUTH_REVERSAL on an uncaptured authorization.
  • Refunds go back to the original card. A refund always names a parent; Cresora offers no standalone credit and no refund to a different card.
  • One refund at a time per payment. While an earlier refund on the same payment is still INITIATED, a new one is refused with 422 refund_pending_on_parent, which is retryable.
  • One operation at a time per parent transaction. While a capture, void, reversal or refund is still INITIATED, because Cresora is waiting for the gateway, another operation with the same parent_transaction_id is refused with 422 operation_pending_on_parent, which is retryable, unless one of its own earlier checks (such as the parent's state) answers first (a new refund after a pending refund meets refund_pending_on_parent, above). Cresora usually resolves the pending operation on its own; if it is still pending after a long wait, contact support with the parent_transaction_id you sent. While the refusal lasts, that transaction's available_actions offers no capture, void, reversal or refund.
  • How long it lasts, and what it does not cover. The refusal lasts for a limited time after the pending operation started; in rare cases that need Cresora's operations team it can last longer. It is by parent id: the two rows of a captured authorization count separately, so a cancel that names the other row is not stopped by Cresora, and a pending CAPTURE_ALL also refuses an operation on any authorization of its merchant that is still AUTHORIZED.
  • A reason on every refund: overpayment, service_not_rendered, insurance_adjustment, customer_requested, or other_with_note with a refund_note (max 280 characters, never a card number).
  • Settlement: a card refund settles in a later batch than the original payment and fires transaction.settled with its own transactionType.
  • Disputed payments: Cresora receives no disputes (see Transaction Lifecycle), so nothing stops a refund of a payment the cardholder has disputed with their card issuer. If you know of a dispute, don't also refund the payment: the cardholder could be credited twice.

ACH debits

OperationWhenAmountWhat to know
ACH_VOIDWhile the debit is SUBMITTEDWhole debitA void_reason is required. It works only until the gateway sends the entry to the ACH network; after that the void fails, so be ready to refund the debit once it settles. Exception: if the first void's outcome was unknown (502 gateway_outcome_unknown, 502 gateway_unavailable or 504 gateway_timeout) and a same-key retry is refused with 422 gateway_operation_not_allowed_in_state, the first void may have gone through, so don't refund — contact Cresora
ACH_REFUNDWithin 60 days after the debit settles, by defaultFull or partialOriginates a new ACH credit to the payer. The debit stays SETTLED; the refunded total is tracked against it
ACH_REVERSALWithin 5 banking days of settlementWhole debitNot available today: the gateway does not accept a reversal of a settled debit, available_actions never offers one, and a request is refused with 503 feature_disabled. Use ACH_REFUND. It is meant only to correct an erroneous entry, with a reversal_reason of INCORRECT_AMOUNT, INCORRECT_ACCOUNT, DUPLICATE_ENTRY or INCORRECT_EAN, and is not a customer refund

A return is different from all three: the payer's bank sends a debit back, for example for insufficient funds. You don't initiate it and nothing needs refunding; Cresora records it and sends transaction.returned. See ACH Transactions.

Surcharges, convenience fees and tax

Refund and cancel requests carry the payment amount only. Omit surcharge_amount and convenience_fee_amount, or send 0; a non-zero value is refused with 422 client_surcharge_not_allowed or 422 client_convenience_fee_not_allowed.

Void or reversalFull refundPartial refund
SurchargeThe gateway reverses its share, as the gateway describes it; not yet observed on every pathThe gateway reverses a proportional share, as the gateway describes it; whether that is the whole surcharge is not yet confirmedThe gateway reverses a proportional share, as the gateway describes it; how it is computed is not yet confirmed
Convenience feeNot yet confirmed whether the fee is cancelledNot yet confirmed whether the fee is returnedThe fee is not returned
  • Surcharge reversal is the gateway's own. Cresora records it on the sale's or authorization's surcharge_reversed_amount once read back, which for a refund is usually only once every refund on the payment has settled. It is not recorded in every case (a partial AUTH_REVERSAL when it is made, or, today, a refund that names the CAPTURE or PARTIAL_CAPTURE row, for example), so don't rely on transaction.surcharge_reversed alone. See Fees on a refunded payment.
  • Tax, tip and shipping are part of amount. For a payment carrying any of them, whether the gateway accepts a refund that takes the refunded total above the payment's base — a full refund, or a partial one — is not yet confirmed; if it refuses one, no money moves and the payment stays refundable, so contact Cresora. A hosted payment page payment recorded before the 14 October 2026 release keeps its tax, tip and shipping outside amount, so a full refund returns only the base: contact Cresora.
⚠Fees on refunds are still being confirmed

How much of the surcharge a refund returns is being confirmed with the gateway. Whether a full refund returns the convenience fee is being confirmed too, and whether a partial refund should return a share of a fee is under legal review. Don't promise a payer any of these until the Surcharging Guide and the Convenience Fee Guide say so.

Hosted page payments, saved cards and recurring contracts

PaymentCancelRefundWhat to know
Hosted payment pageYesYesIt becomes an ordinary transaction, cancelled or refunded through the API or the Partner Portal — never from the hosted page
Saved cardYesYesSame as any card payment
Card charge collected by a recurring contractNoNoVOID, REFUND and PARTIAL_REFUND are refused today with 503 feature_disabled, and AUTH_REVERSAL with 422 parent_not_reversible_type
ACH debit collected by a recurring contractYesYesThe ACH operations above apply

Retries and unknown outcomes

  • Send an Idempotency-Key on every request. Repeating a request with the same key within 24 hours returns the original result, so it never refunds twice. See Idempotency.
  • A 502 gateway_outcome_unknown means the gateway may have acted. Retry with the same key; the retry returns the pending transaction, INITIATED until Cresora resolves it. Never use a new key while it is pending, which could refund the payer twice. Cresora resolves it on its own; a few cases wait for Cresora's operations team.
    • A pending VOID or AUTH_REVERSAL is re-sent by Cresora. It completes, or ends FAILED. A decline_code of gateway_operation_redrive_state_rejected means the payment can no longer be cancelled: if it settles, refund it.
    • A pending refund that the gateway has no record of ends FAILED with decline_code gateway_outcome_unresolved. The gateway never acted, so send the refund again under a new key.
    • An ACH_VOID or ACH_REVERSAL leaves no pending transaction, whether it answered 502 gateway_outcome_unknown, 502 gateway_unavailable or 504 gateway_timeout. If a same-key retry is then refused with 422 gateway_operation_not_allowed_in_state, the first call may have gone through: don't refund, contact Cresora.
  • A gateway decline is a result, not an error: the response is 200 with the new transaction's state and decline_code.

Common refusals

SituationRefusalWhat to do
Cancelling a payment that has settled422 transaction_already_settled (VOID) or 422 cannot_reverse_settled_transaction (AUTH_REVERSAL)Refund it
Refunding a payment that hasn't settled422 parent_not_refundable_in_stateCancel it, or wait until it settles
Refunding more than remains422 refund_exceeds_remaining (card) or 422 ach_refund_exceeds_remaining (ACH_REFUND)Lower the amount
An earlier refund is still pending422 refund_pending_on_parentRetry later
Another operation with the same parent is still pending422 operation_pending_on_parentRetry later
An ACH refund after the refund window422 ach_refund_window_expiredContact Cresora
An ACH reversal503 feature_disabled: it is not available today, and nothing is recorded or sent to the gateway (see ACH debits)Use ACH_REFUND. If an earlier reversal answered 502 or 504, see Retries and unknown outcomes
A card charge collected by a recurring contract503 feature_disabled (VOID, refunds) or 422 parent_not_reversible_type (AUTH_REVERSAL)Contact Cresora
The gateway refuses the operation for the payment's state or the merchant's setup422 gateway_operation_not_allowed_in_stateRe-read the transaction; if it should be allowed, contact Cresora

Events

EventWhen
transaction.voidedA VOID is approved
transaction.auth_reversedAn AUTH_REVERSAL is approved, full or partial
transaction.refundedA card refund is approved, full or partial
transaction.settledA card refund settles
transaction.surcharge_reversedThe gateway's surcharge reversal is read back
transaction.ach_voidedAn ACH_VOID is approved
transaction.refund_issuedAn ACH_REFUND is originated
transaction.returnedThe payer's bank returns an ACH entry: a debit, or an ACH_REFUND's credit. On a returned credit, transactionId is the refund and the payer has not been repaid
transaction.failedA cancel or refund is declined or fails, at once or when Cresora resolves a pending one. Its transactionType names the operation

transaction.ach_reversal_submitted is not emitted today, because an ACH_REVERSAL is not available (see ACH debits); the type is reserved.

The transactionId of transaction.refunded is the original payment, while on transaction.voided, transaction.auth_reversed and transaction.refund_issued it is the new transaction. See Event Types.