MERCHANTS · DESIGN GUIDE
Refunds & reconciliation
Match orders, chain outcomes and payouts without counting retries as new payments.
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.
- Observed evidence
- One finalized successful payment
- Matching decision
- Order + request + receipt match
- Payout layer
- Payout not evidenced
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.
| Layer | Question |
|---|---|
| Order | What did the merchant expect the customer to pay? |
| Protocol | Which action finalized, with what execution outcome? |
| Merchant accounting | Was the payment posted, reserved or held? |
| Payout | Did 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.
| Exception | What to preserve |
|---|---|
| Amount or asset mismatch | Expected terms and actual transaction details |
| Source final, destination pending | Both states and their separate evidence |
| Missing receipt | Known transaction ID and query/recovery state |
| Duplicate delivery | Original event identity and prior processing result |
| Refund pending | Refund authorization and its distinct transaction status |