Worked case · Controlled response · 12 figures

Hotel authorization batch

Authorization and capture

Figure 01 / 12

One purchase, several independent states

One purchase, several independent states — Hotel authorization batch. 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 authorization and capture. 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 93,605.00 captured across this batch
Settlement evidenceLaterUSD 87,988.70 observed as settled
Availability decisionAfter reconciliationUSD 66,178.74 available under the stated policy

A hotel authorizes an estimated stay and later captures the completed bill. The authorized amount, captured amount, and available merchant funds are separate quantities.

Link each financial operation to the original stay while preserving its own state.

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 $96,500 of instructions and $93,605.00 of captured value. At the observation cutoff, $5,616.30 remains pending. After the stated refunds, fees, and restrictions, $66,178.74 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
gross96,500
population350
feeRate0.028
Calculated valueResult
gross96,500
capture93,605
pending5,616.3
refund4,212.22
fee2,620.94
reserve14,976.8
available66,178.74
cash81,155.54
Figure 02 / 12

From captured value to available payout

From captured value to available payout — Hotel authorization batch. USD; bridge components. Exact values are in the figure data below.
USD; bridge components

Captured value of $93,605.00 becomes $66,178.74 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 value93,605
Still pending-5,616.3
Refunds-4,212.22
Fees-2,620.94
Restricted cover-14,976.8
Available payout66,178.74
Figure 03 / 12

Balanced postings are necessary but not sufficient

Balanced postings are necessary but not sufficient — Hotel authorization batch. 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 $93,605.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 payable93,605
SettleBank cashSettlement receivable87,988.7
RefundMerchant payableBank cash4,212.22
Fee paidMerchant payableBank cash2,620.94
Figure 04 / 12

Recorded value and usable value differ

Recorded value and usable value differ — Hotel authorization batch. USD; overlapping measures, not additive categories. Exact values are in the figure data below.
USD; overlapping measures, not additive categories

Gross instructions total $96,500, but only $93,605.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
Instructed96,500
Captured93,605
Settled87,988.7
Cash after refunds and fees81,155.54
Available for payout66,178.74
Figure 05 / 12

Timing of receipts and uses

Timing of receipts and uses — Hotel authorization batch. 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 08,798.877,301.19
Day 135,195.4829,204.76
Day 261,592.0951,108.33
Day 379,189.8365,710.71
Day 487,988.773,011.9
Figure 06 / 12

A reconciliation identity with explicit components

A reconciliation identity with explicit components — Hotel authorization batch. 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 $93,605.00. The identity locates differences; it cannot validate an incorrect input source.

Figure data and text version
ComponentUSDEvidence
Captured93,605Batch records
Pending settlement5,616.3Batch records
Settled87,988.7Batch records
Refunds4,212.22Journal and availability policy
Fees2,620.94Journal and availability policy
Restricted cover14,976.8Journal and availability policy
Available payout66,178.74Journal and availability policy
Figure 07 / 12

One business action can produce several messages

One business action can produce several messages — Hotel authorization batch. Message delivery versus business effect. Exact values are in the figure data below.
Message delivery versus business effect

The batch contains 350 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
Receive350 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 — Hotel authorization batch. Count; exclusive instruction states. Exact values are in the figure data below.
Count; exclusive instruction states

4 of the 350 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 complete318
Known declined28
Unknown external outcome4
Figure 09 / 12

A money record carries units and identity

A money record carries units and identity — Hotel authorization batch. 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_refHotel authorization batchStable cohort identity
currencyUSDNo mixed-currency addition
gross_minor9,650,000Two decimal places in this USD example
availability_minor6,617,874Derived usable amount
settlement_statereconciledFinancial evidence state
Figure 10 / 12

Pending settlement changes available cash

Pending settlement changes available cash — Hotel authorization batch. 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%71,795.04
5%67,114.79
10%62,434.54
20%53,074.04
30%43,713.54
40%34,353.04
Figure 11 / 12

Economic claims after the event

Economic claims after the event — Hotel authorization batch. 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
Hotel authorization batchMerchantFulfillment 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 — Hotel authorization batch. Close-of-window record. Exact values are in the figure data below.
Close-of-window record

Available payout is $66,178.74; restricted cover is $14,976.80. 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 66,178.74Treasury
Restricted coverUSD 14,976.80Merchant risk
Unresolved instructions4Payment operations
Reserve shortfallUSD 0.00Exposure owner

Connect the result to the system

Link each financial operation to the original stay while preserving its own state.

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: PaymentIntent lifecycle (provider example)
  2. Stripe: how disputes work (provider example)
  3. PCI Security Standards Council: PCI DSS