Objects / Transaction
Transaction
Canonical transaction record tracking monetary movement, lifecycle, and audit metadata.
Generated from @oods/foundry 0.19.0
Screens
Every screen below was generated from this object by OODS Foundry 0.19.0, in React and Vue, and shows the calls that made it and its content hash. Each runs as its generated app runs, in this site's brand, Aquex, in the theme you choose, with the sample records this object's own file carries; the lists on its detail screens show related records from the shipped objects' samples, and a generated app copies the other objects' records among them when it is made. A value no record gives shows as a neutral one, such as an empty value or "Not recorded"; OODS Foundry invents none.
sha256:ba4733f92038…Open full size: Transaction detail screen generated by OODS Foundry in Reactsha256:44a0a300a28b…Open full size: Transaction detail screen generated by OODS Foundry in Vuesha256:eba36ac9cbb9…Open full size: Transaction list screen generated by OODS Foundry in Reactsha256:0dede2b09fb2…Open full size: Transaction list screen generated by OODS Foundry in Vuesha256:c673efcc8cfe…Open full size: Transaction form screen generated by OODS Foundry in Reactsha256:ea14eb3ae912…Open full size: Transaction form screen generated by OODS Foundry in Vuesha256:000e7428ec6a…Open full size: Transaction timeline screen generated by OODS Foundry in Reactsha256:4bc8dfa4d24a…Open full size: Transaction timeline screen generated by OODS Foundry in Vuesha256:342fbdf2900d…Open full size: Transaction card screen generated by OODS Foundry in Reactsha256:7846d5b7f89d…Open full size: Transaction card screen generated by OODS Foundry in Vuesha256:8687e55d8a1d…Open full size: Transaction inline screen generated by OODS Foundry in Reactsha256:5c89a0af652f…Open full size: Transaction inline screen generated by OODS Foundry in Vuesha256:5922b30a5f4d…Open full size: Transaction workflow screen generated by OODS Foundry in Reactsha256:8bcc27307229…Open full size: Transaction workflow screen generated by OODS Foundry in VueThe calls that made the Transaction detail apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "detail",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-88a6ece4",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-88a6ece4",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:ba4733f920386136870cac7ecb1726b0cade62a91c5d49517d6b6af8413c8ee8. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css
The Vue app's content hash: sha256:44a0a300a28b4ab711276addad3dae884f186e4a4ad58ff9abacaea16e5c2f94. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css
The calls that made the Transaction list apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "list",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-b581bfaa",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-b581bfaa",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:eba36ac9cbb9bd8c160573ca43bae4dfb81776462116efd13425d4bb0e53adb4. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css
The Vue app's content hash: sha256:0dede2b09fb27919499caa0bb566ff8e5f067c7882b3524428d424b2e9b28093. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css
The calls that made the Transaction form apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "form",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-9205078e",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-9205078e",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:c673efcc8cfe4c1925dee2aaacf77976fb8ed830a6b756e4ad30d45188d0bfae. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css
The Vue app's content hash: sha256:ea14eb3ae912cd9e1211d84e937e9138699a08c796c3a9b363ec23c9bdbc4e2d. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css
The calls that made the Transaction timeline apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "timeline",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-ade28f0d",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-ade28f0d",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:000e7428ec6a7c9c0547c9c0063dbf6021abaaa4fec79241b96b0a78cb3e8628. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css
The Vue app's content hash: sha256:4bc8dfa4d24aab42ffc00fb1bf04fc7243968c94adfa15797bdf8e8b248db3ee. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css
The calls that made the Transaction card apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "card",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-7e42199f",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-7e42199f",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:342fbdf2900d2cdf153a3aee41ce68cc72861a028f847c0de192dc58ec961198. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css
The Vue app's content hash: sha256:7846d5b7f89d569a65b754ff722c39a0e6faee72bfe50dc68ff7c46daa7ce962. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css
What design_compose reported:
OODS-V119No view_extensions found for context "inline" in object "Transaction". Available contexts: list, detail, form, card
The calls that made the Transaction inline apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "inline",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-0eacbcec",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-0eacbcec",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:8687e55d8a1d2e1b33be77981b19ef8cb79a237f1c144dab8832abf8fe60d9be. Its src/ folder: App.tsx, GeneratedUI.tsx, app.css, main.tsx, oods-brand-aquex.css
The Vue app's content hash: sha256:5c89a0af652f961683b7b10ec7705a160196b222cd84e055ab20620f58475218. Its src/ folder: App.vue, GeneratedUI.vue, app.css, main.ts, oods-brand-aquex.css
The calls that made the Transaction workflow apps, in React and Vue
design_compose {
"object": "Transaction",
"context": "workflow",
"preferences": {
"brand": "Aquex",
"theme": "light"
}
}
code_generate {
"schemaRef": "compose-12e5efbf",
"framework": "react",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}
code_generate {
"schemaRef": "compose-12e5efbf",
"framework": "vue",
"profile": "build",
"options": {
"output": "application",
"brand": "Aquex",
"theme": "light",
"payloadMode": "file"
}
}The React app's content hash: sha256:5922b30a5f4dc92f19985f3f0572b11bf5de0dae8f426215e70a6f74b8e05fde. Its src/ folder: App.tsx, actions.ts, app.css, application.ts, main.tsx, oods-brand-aquex.css, related-data.ts, sample-data.ts, screens/, ssr.tsx, store.ts
The Vue app's content hash: sha256:8bcc273072291c824893f9d056128e2f58568854e9630a04c1c4622145bd687a. Its src/ folder: App.vue, actions.ts, app.css, application.ts, main.ts, oods-brand-aquex.css, related-data.ts, sample-data.ts, screens/, ssr.ts, store.ts
Fields
The relationship diagram's key fields count 34 of these 36; they leave out the 2 marked below.
| Field | Type | Description |
|---|---|---|
statusrequired | string | Canonical lifecycle state derived from the states parameter. MoreThis is the single source of truth for the entity's current lifecycle position. Consumed by Colorized to resolve visual tokens, and by view extensions to render StatusBadge and StatusTimeline. |
state_history | StateTransition[] | Chronological log of state transitions. MoreEach entry records the before/after states, timestamp, and (when governance is enabled) the actor, reason, and transition metadata. Rendered by StatusTimeline in the detail and timeline views. Entry structure: - from: string (previous state) - to: string (new state) - timestamp: ISO 8601 datetime - actor_id: string (user/system who triggered the transition, optional) - reason: string (human-readable justification, required when requireTransitionReason is true) - transition_metadata: Record<string, unknown> (arbitrary context, optional) Every recorded change can name who acted, who it acted for and who approved it. All optional, following Relationship's source_id/source_name pattern; only a *_name names a party, and an entry that names no one renders as it always has: - actor_name: string (who acted, as shown: "Billing Agent") - actor_kind: string (person, agent or system: the Actor trait's kinds) - on_behalf_of_name / on_behalf_of_id: string (the person or organization it acted for) - approved_by_name / approved_by_id: string (who approved the change, when someone did) StatusTimeline then reads "Billing Agent for Tidewater Co-op · approved by Ruth Adeyemi". A change someone approved can also say which approval it belongs to and what level of yes it was. Both optional; the id stays in the record's data, a pointer and not a link, and an entry without them renders as it always has: - approval_id: string (the Approval record the yes is kept in) - approval_level: string (the level of yes, one of the levels the product declares: "approval") StatusTimeline then reads "Billing Agent for Tidewater Co-op · approved by Ruth Adeyemi (level: Approval)". A change made as part of a task can also say which task it was. Both optional; the id stays in the record's data, a pointer and not a link, and an entry without them renders as it always has: - task_id: string (the Task record the change was made under) - task_name: string (the task, as shown: "Get INV-2026-0155 paid") StatusTimeline then reads "… · approved by Ruth Adeyemi (level: Approval) · task: Get INV-2026-0155 paid". A change made under a grant, the standing yes an actor acts under for a person or organization, can also say which grant it was. Both optional; the id stays in the record's data, a pointer and not a link, and an entry without them renders as it always has: - grant_id: string (the Grant record the change was made under) - grant_name: string (the grant, as shown: "Resend returned transfers") StatusTimeline names the grant after any approval and before the task: "Billing Agent for Tidewater Co-op · grant: Resend returned transfers". |
allowed_transitions | string[] | Materialized list of the next states the product allows from the current status, written
by the product from the transitionRules parameter. MoreWhen transitionRules is null (open model), this contains all states except the current one. The detail page's StatusTimeline lists it when the record holds it. A generated StatusSelector reads transitionRules instead: it offers the current state and the moves the order allows (every state where no order is declared). |
created_atrequired | datetime | Timestamp recording when the entity was first created. |
updated_at | datetime | Timestamp for the most recent modification, when available. |
last_eventrequired | string | Lifecycle event associated with the most recent timestamp mutation. |
last_event_at | datetime | Timestamp for the lifecycle event captured in last_event. |
unit_amount_centsrequired | number | Base unit price expressed in the smallest currency denomination. |
currencyrequired | string | ISO currency code for the unit amount. |
pricing_modelrequired | string | Monetization model applied to the entity. |
billing_interval Unavailable: no view places it, and this object's samples leave it out | string | Billing cadence when pricing_model indicates recurring revenue. |
tax_behaviorrequired | string (exclusive, inclusive) | Defines whether taxes are included in the displayed price. |
cancel_at_period_end Unavailable: no view places it, and this object's samples leave it out | boolean | Whether cancellation occurs at the natural period end instead of immediately. MoreWhen true the entity is in a REVERSIBLE pending-cancellation state: the schedule can be undone (set back to false) any time before period end, returning the entity to active. This is distinct from a terminal cancellation (a `terminated`/canceled subscription), which is irreversible and non-reactivatable. Mirrors Stripe's cancel_at_period_end flag (docs.stripe.com/billing/subscriptions/cancel). |
cancellation_reason | string | Free-form detail describing why cancellation occurred. |
cancellation_reason_code | string | Structured reason code chosen from the allowedReasons parameter. |
cancellation_requested_at | datetime | Timestamp capturing when the cancellation workflow was initiated. |
is_archivedrequired | boolean | Flag indicating whether the entity is currently archived (soft-deleted). |
archived_at | datetime? | Timestamp for when the entity entered the archived state. |
restored_at | datetime? | Timestamp for when the entity was most recently restored from an archived state. |
archive_reason | string | Human-readable narrative describing why the entity was archived. |
archived_by | string | User ID or system identifier of the actor who archived this entity. MoreSet to "system" for automated/policy-driven archival. Supports audit trail queries like "show all entities archived by user X" or "show all auto-archived entities". |
archive_metadata | object | Structured metadata about the archival action for compliance and audit purposes. MoreProperties: - method: "manual" | "automated" | "policy" — how the archive was triggered - compliance_tags: string[] — regulatory labels (e.g., ["GDPR", "SOX", "HIPAA"]) - retention_policy_id: string — reference to the retention policy that triggered archival - original_status: string — the Stateful status before archival - related_entity_count: number — count of related entities also archived (cascade) |
restoration_metadata | object | Metadata about the most recent restoration action. MoreProperties: - restored_by: string — user ID or "system" - restored_fields: string[] — when partial restore, which fields were restored - restoration_reason: string — why the entity was restored - restored_from_snapshot: boolean — whether restored from a point-in-time snapshot |
approval_state | string | The outcome, worked out by the product from the approvals that still stand and written here. MoreNamed apart from Stateful's `status`, so a thing keeps its lifecycle and its approval outcome side by side. Read-only: it is shown on the detail page and kept off the form. |
approval_summary | string | One kept line saying what the outcome rests on ("Approved by Ruth Adeyemi · version 3 · 2 Nov"), or why no
approval was asked. MoreThe product writes this line. A payment or article also lists the individual approvals that name it. Read-only. |
transaction_idrequired | uuid | Unique identifier for the transaction record. |
user_idrequired | uuid | Identifier of the user associated with the transaction. |
user_name | string | Display name of the user associated with the transaction. |
organization_id | uuid | Tenant organization responsible for the transaction. |
organization_name | string | Display name of the tenant organization responsible for the transaction. |
occurred_atrequired | datetime | Timestamp when the transaction occurred in the source system. |
payment_methodrequired | string (card, bank_transfer, digital_wallet, invoice) | Funding source used to complete the transaction. |
channelrequired | string (online, in_app, point_of_sale, partner) | Sales channel through which the transaction was initiated. |
payment_reference | string | Provider reference code linking to the payment processor. |
description | string | What the payment was for, as it appears on the customer's statement. |
risk_score | number | Fraud assessment score assigned during authorization. |
Traits
Each trait adds fields and behaviour. Every object with the trait gets the same.
Relationships
These arrows show declared relationships between object types. They don't join live records. Its detail screens also list related records, declared on the object as related lists, apart from relationships.
- User, many-to-one, via
user_id - Organization, many-to-one, via
organization_id
The object file
The Transaction object definition in YAML: objects/core/Transaction.object.yaml
object:
name: Transaction
version: 1.4.1
domain: core.commerce
description: Canonical transaction record tracking monetary movement, lifecycle, and audit metadata.
tags:
- universal
- transaction
- commerce
traits:
- name: lifecycle/Stateful
parameters:
states:
- pending
- authorized
- settled
- failed
- refunded
- cancelled
initialState: pending
- name: lifecycle/Timestampable
parameters:
recordedEvents:
- initiated
- authorized
- settled
- refunded
- failed
timezone: UTC
- name: financial/Priceable
parameters:
supportedCurrencies:
- USD
- EUR
- GBP
- JPY
- AUD
defaultCurrency: USD
pricingModels:
- one_time
- usage_based
billingIntervals:
- one_time
taxBehavior: exclusive
- name: lifecycle/Cancellable
parameters:
allowCancellationAfterStart: false
cancellationWindowHours: 24
requireReason: true
allowedReasons:
- customer_request
- suspected_fraud
- duplicate_charge
- payment_method_error
- name: lifecycle/Archivable
parameters:
gracePeriodDays: 365
retainHistory: true
restoreWindowDays: 30
# s245-m02: a payment can be approved. Its rule: a resend needs an approval from a person at the customer (an agent's
# yes satisfies no level here), asked each time unless a person gave it in advance: s248-m02 opens resends to a
# standing yes under a grant, within the grant's bounds, and the outcome then reads allowed in advance. Only resends
# are opened, and the sign-off level is never given in advance. Its outcome is written by the product from the
# Approval records that name it and the grant its resend line names, and kept off the form; OODS Foundry shows it
# and does not work it out.
- name: core/Approvable
alias: PaymentApprovals
parameters:
levels:
- approval
- sign_off
levelDefinitions:
approval:
who: A person at the customer who may move its money
permits: The one resend or refund it was asked for
shown: The amount, the method, the invoice it is for, and anything this resend must do differently
cost: Money sent twice, or to the wrong place
act: A deliberate yes or no
lapses: Once it is used (the resend is sent and recorded, not when the bank answers), or when the amount changes
sign_off:
who: The customer's finance lead
permits: A payment above the customer's own limit
shown: The amount, the payee and the reason
cost: A large payment the customer did not mean to make
act: The most deliberate, with its meaning written down
lapses: Never for that payment
requiredLevels:
resend: approval
# A resend may be allowed in advance by a standing yes under the payer's grant; the Approval level above still
# describes the one-time yes asked for a resend.
inAdvance:
- resend
outcomes:
- not_required
- waiting
- approved
- allowed_in_advance
- declined
- out_of_date
schema:
transaction_id:
type: uuid
required: true
description: Unique identifier for the transaction record.
user_id:
type: uuid
required: true
description: Identifier of the user associated with the transaction.
user_name:
type: string
required: false
description: Display name of the user associated with the transaction.
organization_id:
type: uuid
required: false
description: Tenant organization responsible for the transaction.
organization_name:
type: string
required: false
description: Display name of the tenant organization responsible for the transaction.
occurred_at:
type: datetime
required: true
description: Timestamp when the transaction occurred in the source system.
payment_method:
type: string
required: true
description: Funding source used to complete the transaction.
validation:
enum:
- card
- bank_transfer
- digital_wallet
- invoice
channel:
type: string
required: true
default: online
description: Sales channel through which the transaction was initiated.
validation:
enum:
- online
- in_app
- point_of_sale
- partner
payment_reference:
type: string
required: false
description: Provider reference code linking to the payment processor.
description:
type: string
required: false
description: What the payment was for, as it appears on the customer's statement.
validation:
maxLength: 160
risk_score:
type: number
required: false
description: Fraud assessment score assigned during authorization.
validation:
minimum: 0
maximum: 100
semantics:
transaction_id:
semantic_type: commerce.transaction.id
token_mapping: tokenMap(commerce.transaction.id)
user_id:
semantic_type: identity.user.id
token_mapping: tokenMap(identity.id.primary)
ui_hints:
displayLabelField: user_name
user_name:
semantic_type: identity.user.name
token_mapping: tokenMap(identity.name.primary)
organization_id:
semantic_type: organization.id
token_mapping: tokenMap(organization.id.primary)
ui_hints:
displayLabelField: organization_name
organization_name:
semantic_type: organization.name
token_mapping: tokenMap(organization.name.primary)
# The one-line summary under the payment reference in lists: what the payment was for.
description:
semantic_type: text.summary
token_mapping: tokenMap(commerce.transaction.description)
occurred_at:
semantic_type: commerce.transaction.timestamp
token_mapping: tokenMap(commerce.transaction.timestamp)
payment_method:
semantic_type: commerce.payment.method
token_mapping: tokenMap(commerce.payment.method)
channel:
semantic_type: commerce.transaction.channel
token_mapping: tokenMap(commerce.transaction.channel)
payment_reference:
semantic_type: text.label
token_mapping: tokenMap(commerce.transaction.id)
ui_hints:
displayFallbackField: transaction_id
risk_score:
semantic_type: risk.transaction.score
token_mapping: tokenMap(risk.score.primary)
tokens:
commerce.transaction.id: "var(--text-strong)"
commerce.transaction.channel.partner: "var(--status-info)"
risk.score.primary: "var(--status-warning)"
metadata:
owners:
- Finance team
- Risk team
steward: Platform team
relatedLists:
- id: approvals
label: Approvals for this payment
empty: No approvals are linked to this payment here.
sources:
- { from: Approval, via: subject_id, key: payment_reference, when: { subject_type: Transaction }, row: { line: [{ field: asked_of_name, says: Asked of }], time: due_at } }
- id: tasks
label: Tasks about this payment
empty: No tasks are linked to this payment here.
sources:
- { from: Task, via: subject_id, key: payment_reference, when: { subject_type: Transaction }, row: { line: [{ field: asked_of_name, says: Doing it }], time: due_at } }
changelog:
- version: 1.4.1
date: "2026-11-22"
description: "Names who was asked on approval rows and who does the work on task rows. Empty lists describe linked records."
- version: 1.4.0
date: "2026-11-22"
description: "Lists approvals and tasks that name the payment."
- version: 1.3.0
date: "2026-11-14"
description: A resend may be allowed in advance by a standing yes under a grant, and its outcome then reads allowed in advance; the Billing Agent's resend names the grant it was made under.
- version: 1.2.2
date: "2026-11-13"
description: The Billing Agent's resend names the task it was made under, "Get INV-2026-0155 paid".
- version: 1.2.1
date: "2026-11-12"
description: The approval level says what its shown line carries, anything the resend must do differently included, and when a yes is used.
- version: 1.2.0
date: "2026-11-11"
description: Composes Approvable; a resend needs an approval, and each sample says its outcome. The Billing Agent's resend points at its Approval.
- version: 1.1.0
date: "2026-09-20"
description: Name transactions by the optional payment reference, falling back to transaction_id for display only.
- version: 1.0.0
date: "2025-10-16"
description: Initial Universal Quintet baseline.
# Authored type associations; no record join or referential-integrity claim.
relationships:
- target: User
via: user_id
cardinality: many-to-one
label: User
- target: Organization
via: organization_id
cardinality: many-to-one
label: Tenant organization
# Eight authored sample transactions: the sample subscriptions' payments (one a bank transfer still in progress), a
# card-verification hold and a cancelled checkout, each by a sample organization's user. Amounts are stored at Priceable's factor of 100 per currency unit.
# Cancellation is not a recorded event, so the cancelled checkout's last event is its initiation.
samples:
- payment_reference: PAY-2026-0412
description: Business plan, Sep 2 to Oct 2
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d01
user_name: Dana Whitfield
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a01
organization_name: Northwind Traders
occurred_at: '2026-09-02T15:00:00Z'
unit_amount_cents: 14900
currency: USD
pricing_model: one_time
payment_method: card
channel: online
risk_score: 8
approval_state: not_required
approval_summary: 'No approval asked: a card renewal the card issuer authorized'
status: settled
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-09-02T15:00:00Z', reason: Business plan renewal charge }
- { title: Authorized, from: pending, to: authorized, at: '2026-09-02T15:01:00Z', reason: Approved by the card issuer }
- { title: Settled, from: authorized, to: settled, at: '2026-09-03T02:00:00Z', reason: Included in the nightly payout }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-09-02T15:00:00Z'
updated_at: '2026-09-03T02:00:00Z'
last_event: settled
last_event_at: '2026-09-03T02:00:00Z'
- payment_reference: PAY-2026-0388
description: Upgrade to Business, prorated
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d01
user_name: Dana Whitfield
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a01
organization_name: Northwind Traders
occurred_at: '2026-06-16T15:00:00Z'
unit_amount_cents: 5333
currency: USD
pricing_model: one_time
payment_method: card
channel: online
risk_score: 6
approval_state: not_required
approval_summary: 'No approval asked: a card upgrade the card issuer authorized'
status: settled
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-06-16T15:00:00Z', reason: Prorated charge for the upgrade to Business }
- { title: Authorized, from: pending, to: authorized, at: '2026-06-16T15:01:00Z', reason: Approved by the card issuer }
- { title: Settled, from: authorized, to: settled, at: '2026-06-17T02:00:00Z', reason: Included in the nightly payout }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-06-16T15:00:00Z'
updated_at: '2026-06-17T02:00:00Z'
last_event: settled
last_event_at: '2026-06-17T02:00:00Z'
- payment_reference: PAY-2026-0429
description: Enterprise renewal, 2026 to 2027
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d02
user_name: Ruth Adeyemi
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a05
organization_name: Tidewater Co-op
occurred_at: '2026-09-24T21:00:00Z'
unit_amount_cents: 1200000
currency: USD
pricing_model: one_time
payment_method: bank_transfer
channel: online
risk_score: 3
approval_state: approved
approval_summary: Resend approved by Ruth Adeyemi on 28 Sep, used once
status: pending
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-09-24T21:00:00Z', reason: Bank transfer sent for INV-2026-0155 }
- { title: Returned, from: pending, to: failed, at: '2026-09-25T02:00:00Z', reason: The reference had no invoice number }
- { title: Sent again, from: failed, to: pending, at: '2026-09-28T21:00:00Z', reason: Sent again with the invoice number, actor_id: 6a1e2b3c-4d5e-4f60-8a7b-9c0d1e2f3a01, actor_name: Billing Agent, actor_kind: agent, on_behalf_of_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a05, on_behalf_of_name: Tidewater Co-op, approved_by_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d02, approved_by_name: Ruth Adeyemi, approval_id: 7b3d5f9a-1c2e-4a6b-8d0f-2e4a6c8e0a01, approval_level: approval, grant_id: 4d7a9c2e-1b3f-4e6a-9c8d-5e2f7a1b3c01, grant_name: Tidewater invoices and payments, task_id: 5c2e8a1d-3f4b-4c6d-9e0a-1b2c3d4e5f01, task_name: Get INV-2026-0155 paid }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-09-24T21:00:00Z'
updated_at: '2026-09-28T21:00:00Z'
last_event: initiated
last_event_at: '2026-09-28T21:00:00Z'
- payment_reference: PAY-2026-0395
description: Starter plan, charged twice in August
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d04
user_name: Tomas Lindqvist
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a03
organization_name: Lindqvist Bakery
occurred_at: '2026-08-16T08:00:00Z'
unit_amount_cents: 1900
currency: EUR
pricing_model: one_time
payment_method: card
channel: online
risk_score: 11
approval_state: not_required
approval_summary: 'No approval asked: a card renewal the card issuer authorized'
status: refunded
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-08-16T08:00:00Z', reason: August renewal charged a second time }
- { title: Authorized, from: pending, to: authorized, at: '2026-08-16T08:01:00Z', reason: Approved by the card issuer }
- { title: Settled, from: authorized, to: settled, at: '2026-08-17T02:00:00Z', reason: Included in the nightly payout }
- { title: Refunded, from: settled, to: refunded, at: '2026-08-19T11:30:00Z', reason: Duplicate charge refunded in full }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-08-16T08:00:00Z'
updated_at: '2026-08-19T11:30:00Z'
last_event: refunded
last_event_at: '2026-08-19T11:30:00Z'
- payment_reference: PAY-2026-0409
description: Team plan, Sep 3 to Oct 3
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d05
user_name: Grace Okafor
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a04
organization_name: Kestrel Print Co.
occurred_at: '2026-09-03T10:00:00Z'
unit_amount_cents: 4900
currency: GBP
pricing_model: one_time
payment_method: card
channel: online
risk_score: 64
approval_state: not_required
approval_summary: 'No approval asked: a card renewal the card issuer declined'
status: failed
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-09-03T10:00:00Z', reason: Team plan renewal charge }
- { title: Failed, from: pending, to: failed, at: '2026-09-03T10:01:00Z', reason: Card declined by the issuer }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-09-03T10:00:00Z'
updated_at: '2026-09-03T10:01:00Z'
last_event: failed
last_event_at: '2026-09-03T10:01:00Z'
- payment_reference: PAY-2026-0425
description: Card check before the Team trial
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d03
user_name: Priya Raman
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a02
organization_name: Blue Harbor Studio
occurred_at: '2026-09-21T08:58:00Z'
unit_amount_cents: 100
currency: USD
pricing_model: one_time
payment_method: card
channel: in_app
risk_score: 9
approval_state: not_required
approval_summary: 'No approval asked: a card check the card issuer authorized'
status: authorized
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-09-21T08:58:00Z', reason: Card check before the Team trial }
- { title: Authorized, from: pending, to: authorized, at: '2026-09-21T08:58:30Z', reason: Hold approved; it is released without capture }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-09-21T08:58:00Z'
updated_at: '2026-09-21T08:58:30Z'
last_event: authorized
last_event_at: '2026-09-21T08:58:30Z'
- payment_reference: PAY-2026-0417
description: Starter plan, Sep 15 to Oct 15
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d04
user_name: Tomas Lindqvist
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a03
organization_name: Lindqvist Bakery
occurred_at: '2026-09-15T08:00:00Z'
unit_amount_cents: 1900
currency: EUR
pricing_model: one_time
payment_method: card
channel: online
risk_score: 4
approval_state: not_required
approval_summary: 'No approval asked: a card renewal the card issuer authorized'
status: settled
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-09-15T08:00:00Z', reason: Starter plan renewal charge }
- { title: Authorized, from: pending, to: authorized, at: '2026-09-15T08:01:00Z', reason: Approved by the card issuer }
- { title: Settled, from: authorized, to: settled, at: '2026-09-16T02:00:00Z', reason: Included in the nightly payout }
cancellation_reason: null
cancellation_reason_code: null
cancellation_requested_at: null
created_at: '2026-09-15T08:00:00Z'
updated_at: '2026-09-16T02:00:00Z'
last_event: settled
last_event_at: '2026-09-16T02:00:00Z'
- payment_reference: PAY-2026-0404
description: Team plan purchase at trial end
user_id: 8b2e4d6f-1a3c-4e5b-9d7f-2c4e6a8b0d09
user_name: Helen Rowe
organization_id: 3f1c2a4e-5b6d-4e7f-8a9b-0c1d2e3f4a08
organization_name: Gale & Rowe Legal
occurred_at: '2026-09-08T12:50:00Z'
unit_amount_cents: 4900
currency: USD
pricing_model: one_time
payment_method: card
channel: online
risk_score: 12
approval_state: not_required
approval_summary: 'No approval asked: the customer''s own checkout, cancelled before capture'
status: cancelled
state_history:
- { title: Initiated, from: null, to: pending, at: '2026-09-08T12:50:00Z', reason: Team plan checkout at the end of the trial }
- { title: Cancelled, from: pending, to: cancelled, at: '2026-09-08T12:58:00Z', reason: Customer cancelled before capture }
cancellation_reason: Customer cancelled the Team plan purchase before capture
cancellation_reason_code: customer_request
cancellation_requested_at: '2026-09-08T12:58:00Z'
created_at: '2026-09-08T12:50:00Z'
updated_at: '2026-09-08T12:58:00Z'
last_event: initiated
last_event_at: '2026-09-08T12:50:00Z'