Keep the customer's refund and the merchant's converted debit as separate, dated records. Do not estimate today's debit by multiplying the refund by the original order-to-payout ratio. When commissioning a refund display or export, the useful acceptance question is whether the supplier preserves the right identities, currencies and evidence gaps—not whether two different currency columns show the same number.
This is a synthetic website-integration exercise, not a client result, financial advice, a live Shopify test or a refund calculator. Nothing here issues a payment or reads an account.
What the vendor documentation establishes
Shopify's refund guidance, read 21 October 2026, describes original-payment-currency refunds and current-rate conversion when needed. It does not establish an actual merchant debit, a current FX quote or a bank receipt.
Multi-Currency Payouts documentation adds account, plan and location conditions. Confirm the actual payout configuration rather than assuming every Australian store refunds through an AUD account. This exercise deliberately declares a single AUD payout ledger; it does not determine eligibility or change a bank account.
Filled example: don't infer AUD30
Fictional order DEMO-O42 records a USD60 customer payment on15October and an AUD90 original payout. Refund DEMO-R7 is approved for USD20 on20October. The refund record's own converted debit has not been supplied.
The tempting calculation is90/60×20=AUD30. It merely reuses the old ratio; it is not evidence of the refund-time debit. The correct display is:
On narrow screens, scroll the example table.
| Field | Supplied value | Interpretation |
|---|---|---|
| Original customer payment | USD60 | Historical payment, not today's FX quote |
| Original merchant payout | AUD90 | Separate historical record |
| Proposed customer refund | USD20 | Approved fictional input, not proof of processing |
| Refund-time merchant debit | Unknown | Request a matching refund-debit record |
| Fee or FX explanation | Unknown | Do not invent an expense to make numbers agree |
Now supply a fictional AUD31 debit, dated20October, referencing both DEMO-O42 and DEMO-R7. Keep USD20 and AUD31 in separate labelled columns. The input is now present; neither this example nor the checker authenticates it. USD20 versus AUD31 is not an AUD11 discrepancy, and AUD31−AUD30 is not automatically a fee. Do not subtract differently denominated amounts or assign a cause without the underlying breakdown.
Give the supplier an evidence contract
- Ask the merchant to identify the actual payment provider and payout-currency route through its approved secure process. Do not infer them from the checkout logo.
- Preserve order ID, refund ID, record references and event dates. A record from another refund is not a valid substitute merely because its amount matches.
- Show missing merchant debit explicitly as unknown. Keep the original payout and refund debit as independent fields; never fill a blank with the original ratio.
- Run the supplied fictional branches: missing debit, supplied debit, wrong customer currency, missing reference, unidentified provider, wrong debit currency, malformed amount, wrong order/refund identity, earlier debit date, negative refund and excessive fictional refund.
- For actual acceptance, have an authorised merchant/operator match redacted provider records to the screen and export. Retain the integration version, account configuration and observation time. A screenshot, email or string containing a reference is not transaction authentication.
Interpret the offline result narrowly
DECLARED_RECORDS_MATCH_NOT_AUTHENTICATED means the finite fixture has consistent declared identities, date order, expected currencies and amounts. It does not say a customer received funds, a bank was debited or an integration works. A hold code identifies a missing or conflicting input; it is not a diagnosis of the merchant's account.
The downloadable resource contains an offline Python checker and 15 filled synthetic branches. Identity, date and amount guards prevent a declared packet from passing when its own fields conflict. No network or credentials are used; passing does not authenticate the records.
Boundaries and next decision
This example uses USD/AUD two-decimal integer inputs only. It excludes other payment providers, gift-card allocations, mixed tenders, prior partial refunds, chargebacks, tax, fee computation, legal return eligibility and multi-account routing. The fictional refund ceiling is simply the supplied single-payment amount with no earlier refunds; it is not a universal platform formula. Real fees, actual FX and bank arrival remain unverified.
For reporting-scope preparation, the existing payments-report-coverage guide owns processor/period completeness. The existing accountant-ecommerce-reconciliation scenario owns a single-currency payout bridge. Neither is a replacement for the two dated refund records here. A website brief can start with a redacted field dictionary and dummy records; do not send payment credentials or an unredacted customer export.
Run the filled offline exercise
Python checker · 15 synthetic fixtures
python3 refund-evidence-check.py refund-fixtures-v3.json