Skip to content
Copper Lane Payments Read-only example
Flow

Request and confirm the €100 refund

Runs in Payment service

AI context

Subject type: flow
Subject ID: flow-refund-payment
Project ID: showroom-payments
Revision: 1
Project settings version: 1
Project settings hash: sha256:11eb9324f48ccccdfbf345321fa5ffff2df6e34be7357a383b848db997e22834

# Flow: Request and confirm the €100 refund (`flow-refund-payment`)

Runs in Payment service

## Description

flow-refund-payment details refund-process in uc-refund-payment. A request and a later confirmation have separate entry points. There is no claim about bank posting.

- Blocks: 10
- Use cases: 1
- ID: flow-refund-payment

## Blocks

- Support requests a refund for pay-1001 (Payment service)
- Is this confirmed payment eligible for this refund? (Payment service)
- Reject an unsupported or already completed refund (Payment service)
- Record refund-1001 and submit refund-op-1001 (Payment service)
- Refund requested; its outcome is still unknown (Merchant support)
- A refund confirmation arrives separately (Confirmation handler)
- Was this refund event already processed? (Confirmation handler)
- Duplicate refund event; recorded outcome unchanged (Confirmation handler)
- Record the compatible refund confirmation (Payment service)
- Refund confirmed by the fictional processor (Merchant support)