A hotel stay: authorize, then capture less
A guest books three nights for SAR 2,400 using a card issued abroad, paying in USD.
Step 1: Authorize at booking
The booking engine calls POST /payments without capture. The workflow routes USD and foreign-issued cards to the account configured for them.
Step 2: Booking held
The authorization is stored with its workflow version and routing trace.
Step 3: Guest shortens the stay
At check-out, two nights were used. The property captures that partial amount.
Step 4: Remainder released
No further capture is made; the outstanding authorization is handled according to the PSP's rules.
Step 5: Events delivered
partially_captured is sent to the property system as a signed webhook.