QuantumChain QTCN
MenuClose menu
Documentation QTCN / NETWORK

QUANTUMCHAIN

Explore the docs

Architecture · Payments · Protocol

MERCHANTS · DESIGN GUIDE

Refunds & reconciliation

Match orders, chain outcomes and payouts without counting retries as new payments.

8 min readReviewed 24 November 2026Markdown ↗

Match evidence before posting value

Reconciliation connects the request, successful transaction, receipt and any settlement or payout record. The example shows one 100-unit payment under different delivery conditions. It is not live merchant data.

ONE PAYMENT · SEVERAL RECORDSCount effects, not notifications.
ILLUSTRATIVE ORDER100 units expected
Observed evidence
One finalized successful payment
Matching decision
Order + request + receipt match
Payout layer
Payout not evidenced
Matched order posting100 units
Post the payment once.

The 100-unit chain payment matches the order. Its separate payout still needs its own evidence.

Independent scenarios, not actions on one account. Fees are excluded; no real payment or accounting record changes.

Finalized and paid out are different

A chain payment may be finalized while a merchant bank payout is still pending. An integration must not compress every intermediate state into “paid.” An included failed execution also must not be posted as a successful payment.

Finalized and paid out are different
LayerQuestion
OrderWhat did the merchant expect the customer to pay?
ProtocolWhich action finalized, with what execution outcome?
Merchant accountingWas the payment posted, reserved or held?
PayoutDid the separate disbursement complete?

A repeated event is not another credit

  • Authenticate the notification and validate its context.
  • Recognize stable event, receipt and transaction identifiers.
  • Apply each business effect once, with durable processing state.
  • Use canonical order and finalized evidence rather than arrival time alone.
  • Reconcile missing or out-of-order records through an authoritative query.

A refund is a new authorized action

A refund does not erase the original payment or imply an automatic reversal of finality. It has its own authorization, funding, transaction identifier and outcome, linked to the original request and payment.

Partial refunds and repeated attempts require checks against the permitted refundable amount and prior successful refunds. A requested refund is not a completed refund. Fees and accounting treatment must be declared by the applicable integration.

Keep escrow disputes in their own workflow

The agreed mutual-consent escrow profile is separate from ordinary merchant refund handling. An undisputed expiry authorizes release; an unanswered sender dispute permits refund only after its protected response deadline.

If the receiver counter-disputes in time, funds remain locked until both parties approve the same settlement. A merchant support tool, gateway or administrator cannot override that profile.

Preserve exceptions and the audit trail

Corrections must retain the original evidence and identify what changed. A receipt should not silently change meaning after issue. Exact posting, correction and export formats require a verified implementation.

Preserve exceptions and the audit trail
ExceptionWhat to preserve
Amount or asset mismatchExpected terms and actual transaction details
Source final, destination pendingBoth states and their separate evidence
Missing receiptKnown transaction ID and query/recovery state
Duplicate deliveryOriginal event identity and prior processing result
Refund pendingRefund authorization and its distinct transaction status