Skip to content
Copper Lane Payments Read-only example
Payment
Entity

Payment

Owned by Payment service

AI context

Subject type: entity
Subject ID: data-payment
Project ID: showroom-payments
Draft ID: retry-alternative · version 1
Project settings version: 1
Project settings hash: sha256:11eb9324f48ccccdfbf345321fa5ffff2df6e34be7357a383b848db997e22834

# Entity: Payment (`data-payment`)

Owned by Payment service

## Description

Authored logical payment pay-1001 references ord-1042 for EUR 10000, using pay-op-1001. Its initial timeout leaves the outcome unknown. src-processor-confirmation later records evt-9001 and processor-pay-7001.

- Attributes: 7
- Use cases: 2
- ID: data-payment

## Attributes

- id (string · required): A stable identifier in this authored sample, independent of network delivery attempts.
- order_id (reference · required): An explicit relation to the original authored operation or order reference.
- amount_minor (integer · required): Integer minor units. EUR 10000 represents the fictional €100.00 purchase or full refund.
- currency (string · required): The authored example uses EUR; it is not a live exchange rate or price feed.
- operation_key (string · required): pay-op-1001 identifies the same logical operation for identical requests inside the fictional 24-hour contract window.
- state (enum · required): Confirming means unknown. Paid requires compatible processor evidence. Declined requires an explicit decline, not a timeout.
- processor_reference (string): Optional until the processor outcome is known. The authored confirmation supplies processor-pay-7001.

## Connections

- ← Processor confirmation (many_to_one)
- ← Refund (many_to_one)
- → Order reference (many_to_one)