Worked case · Controlled response · 12 figures

Reversal with a trace

Reverse with a trace

Figure 01 / 12

One purchase, several independent states

One purchase, several independent states — Reversal with a trace. Fictional batch; times illustrate order, not a rail guarantee. Exact values are in the figure data below.
Fictional batch; times illustrate order, not a rail guarantee

This case concerns reverse with a trace. A success response, a completed capture, and settlement evidence are different observations. The sequence gives each event its own record instead of forcing all of them into one status field.

Figure data and text version
EventTimeRecorded fact
Order accepted09:00Commercial promise exists
Payment instruction09:01A stable payment identifier is assigned
Capture record09:02USD 61,304.00 captured across this batch
Settlement evidenceLaterUSD 57,625.76 observed as settled
Availability decisionAfter reconciliationUSD 43,709.75 available under the stated policy

A correction must undo the intended economic effect while preserving the original journal. Deleting the old row would remove the evidence needed to explain the account.

Post linked compensating entries with a reason and reconcile the corrected balance.

All amounts, rates, capacity limits, and outcomes in this case are synthetic. The three conditions are separate assumptions for comparison. A better result in the response condition is not measured proof that the proposed control causes that improvement. The figures expose the calculation and its limits; a real deployment needs its own evidence.

Read the result

The batch begins with $63,200 of instructions and $61,304.00 of captured value. At the observation cutoff, $3,678.24 remains pending. After the stated refunds, fees, and restrictions, $43,709.75 is available for payout. The unresolved instruction count is 4; an unknown external result is handled separately from a known decline.

Model inputs and calculated values

Inputs below are the case-specific values. Each figure states the condition-specific assumptions and units used in its calculation. Calculated values are rounded for display.

InputValue
gross63,200
population790
feeRate0.022
Calculated valueResult
gross63,200
capture61,304
pending3,678.24
refund2,758.68
fee1,348.69
reserve9,808.64
available43,709.75
cash53,518.39
Figure 02 / 12

From captured value to available payout

From captured value to available payout — Reversal with a trace. USD; bridge components. Exact values are in the figure data below.
USD; bridge components

Captured value of $61,304.00 becomes $43,709.75 available after pending settlement, refunds, fees, and eligible restrictions. This is a financial bridge: the bars display each component’s amount, not a cumulative balance. Reserves are restrictions on availability, not an additional fee.

Figure data and text version
ComponentUSD
Captured value61,304
Still pending-3,678.24
Refunds-2,758.68
Fees-1,348.69
Restricted cover-9,808.64
Available payout43,709.75
Figure 03 / 12

Balanced postings are necessary but not sufficient

Balanced postings are necessary but not sufficient — Reversal with a trace. Simplified ledger; fees paid from merchant proceeds; one currency. Exact values are in the figure data below.
Simplified ledger; fees paid from merchant proceeds; one currency

The first entry records a settlement receivable and a merchant obligation for $61,304.00. Later entries move the observed settled amount to cash and record fees and refunds. Debits equal credits within each posting; external evidence is still required to establish that settlement occurred.

Figure data and text version
EntryDebit accountCredit accountUSD
CaptureSettlement receivableMerchant payable61,304
SettleBank cashSettlement receivable57,625.76
RefundMerchant payableBank cash2,758.68
Fee paidMerchant payableBank cash1,348.69
Figure 04 / 12

Recorded value and usable value differ

Recorded value and usable value differ — Reversal with a trace. USD; overlapping measures, not additive categories. Exact values are in the figure data below.
USD; overlapping measures, not additive categories

Gross instructions total $63,200, but only $61,304.00 has been captured. Pending value cannot be counted as settled cash in this illustration. The final availability decision also includes the stated restriction. These amounts are different views of one batch, so do not add the bars together.

Figure data and text version
ViewUSD
Instructed63,200
Captured61,304
Settled57,625.76
Cash after refunds and fees53,518.39
Available for payout43,709.75
Figure 05 / 12

Timing of receipts and uses

Timing of receipts and uses — Reversal with a trace. Cumulative USD. Exact values are in the figure data below.
Cumulative USD

The synthetic ladder stages both receipts and uses over five days. Its purpose is to make timing explicit. The fractions are illustrative scheduling assumptions, not observed payment-rail behavior. A positive total over the full period does not prove that funds are available at every earlier cutoff. Horizontal positions are the labeled observations or scenarios; equal spacing does not imply equal numerical increments.

Figure data and text version
PeriodCumulative receiptsCumulative uses
Day 05,762.584,781.71
Day 123,050.319,126.85
Day 240,338.0333,471.98
Day 351,863.1843,035.41
Day 457,625.7647,817.12
Figure 06 / 12

A reconciliation identity with explicit components

A reconciliation identity with explicit components — Reversal with a trace. USD; all values use the same batch cutoff. Exact values are in the figure data below.
USD; all values use the same batch cutoff

The identity is capture = pending + refunds + fees + restricted cover + available payout, provided cash after fees and refunds is nonnegative. Here both sides equal $61,304.00. The identity locates differences; it cannot validate an incorrect input source.

Figure data and text version
ComponentUSDEvidence
Captured61,304Batch records
Pending settlement3,678.24Batch records
Settled57,625.76Batch records
Refunds2,758.68Journal and availability policy
Fees1,348.69Journal and availability policy
Restricted cover9,808.64Journal and availability policy
Available payout43,709.75Journal and availability policy
Figure 07 / 12

One business action can produce several messages

One business action can produce several messages — Reversal with a trace. Message delivery versus business effect. Exact values are in the figure data below.
Message delivery versus business effect

The batch contains 790 intended actions and 0 duplicate attempts in this teaching trace. A stable action key identifies the business instruction. A transport identifier identifies one delivery attempt. Treating both identifiers as interchangeable is the route to duplicate financial effects.

Figure data and text version
StepContract
Receive790 intended actions; 0 repeated deliveries
MatchLook up the business action key and request fingerprint
CommitCreate one journal effect within the approved transaction boundary
ReplyReturn the stored result or a controlled conflict
Figure 08 / 12

Unknown outcomes need their own queue

Unknown outcomes need their own queue — Reversal with a trace. Count; exclusive instruction states. Exact values are in the figure data below.
Count; exclusive instruction states

4 of the 790 instructions have an unknown external outcome at the cutoff. They are not automatically failed. The remaining counts are constructed disjoint states for this example and sum to the total number of intended actions.

Figure data and text version
StateCount
Known complete723
Known declined63
Unknown external outcome4
Figure 09 / 12

A money record carries units and identity

A money record carries units and identity — Reversal with a trace. Illustrative machine record. Exact values are in the figure data below.
Illustrative machine record

An integer amount is meaningful only with its currency and exponent convention. A provider identifier is meaningful only with its namespace. The data contract keeps the action identity, financial amount, and external observation separate so they can be reconciled.

Figure data and text version
FieldExamplePurpose
batch_refReversal with a traceStable cohort identity
currencyUSDNo mixed-currency addition
gross_minor6,320,000Two decimal places in this USD example
availability_minor4,370,975Derived usable amount
settlement_statereconciledFinancial evidence state
Figure 10 / 12

Pending settlement changes available cash

Pending settlement changes available cash — Reversal with a trace. USD; all other inputs held fixed. Exact values are in the figure data below.
USD; all other inputs held fixed

This sensitivity calculation holds capture, refunds, fees, and reserve fixed, then varies the pending share. Available payout is floored at zero. The curve describes the stated formula, not a recommended payout hold or a forecast of return timing. Horizontal positions are the labeled observations or scenarios; equal spacing does not imply equal numerical increments.

Figure data and text version
Pending shareAvailable USD
0%47,387.99
5%44,322.79
10%41,257.59
20%35,127.19
30%28,996.79
40%22,866.39
Figure 11 / 12

Economic claims after the event

Economic claims after the event — Reversal with a trace. Illustrative responsibility map. Exact values are in the figure data below.
Illustrative responsibility map

The edges label obligations or evidence relationships. They do not assert that the named firm performs every legal role in every payment arrangement. The purpose is to keep the commercial promise, settlement evidence, and payout obligation visible at the same time.

Figure data and text version
FromToRelationship
Reversal with a traceMerchantFulfillment promise
ProcessorPlatform ledgerSettlement evidence
Platform ledgerMerchantPayout obligation
Platform ledgerReview queue4 unresolved
Figure 12 / 12

The close record preserves unresolved differences

The close record preserves unresolved differences — Reversal with a trace. Close-of-window record. Exact values are in the figure data below.
Close-of-window record

Available payout is $43,709.75; restricted cover is $9,808.64. The illustration also keeps 4 unresolved outcomes and $0.00 of any reserve shortfall visible. A close process should not hide unresolved items merely to force a report to balance.

Figure data and text version
MeasureValueOwner
Available payoutUSD 43,709.75Treasury
Restricted coverUSD 9,808.64Merchant risk
Unresolved instructions4Payment operations
Reserve shortfallUSD 0.00Exposure owner

Connect the result to the system

Post linked compensating entries with a reason and reconcile the corrected balance.

Check the population, evidence, permitted action, and actual effect together. A balanced calculation can still use the wrong population; a successful response can still leave an unknown financial outcome. The case’s numerical result applies only to its stated assumptions.

Sources and further reading

The chapter sources support the concepts and scope. They do not prescribe the synthetic model rates.

  1. Stripe: idempotent requests (provider example)
  2. Stripe: PaymentIntent lifecycle (provider example)