Prepare a refund for a disputed charge.
Let a billing agent prepare a refund while the executor checks the amount and the request’s approval. Compare a small refund, a reviewable refund and one outside the agent’s limit.
Refund review
- Charge
- charge_0821
- Review threshold
- $25.00
- Queue
- Payment operations
Policy outcomes
Dispute DSP-0821
A billing agent can propose a refund on a $120 charge. Refunds over $25 require an authorised reviewer. Agents can propose at most $100.
- Apply a refund threshold
- Review the exact amount
- Record the payment outcome
Where to enforce policy
Confirm the charge and account before checking the amount. In the demo, up to $25 proceeds, amounts above $25 and up to $100 require review, and amounts above $100 are blocked.
Bind approval to the charge, currency and amount shown to the reviewer. Record a separate execution outcome and correlate retries with a stable operation ID.
What to verify
Run the allowed and denied requests from the agent environment. Inspect both the policy decision and the downstream outcome. Confirm a request denied at the executor cannot succeed over a direct route.