Stripe payment attempts
Model a payment-attempt event fact that captures every attempt and its status, not just successful charges.
Concept
fact-table-grain
The primary modeling idea this problem reinforces.
Requirements
0
Business needs the model must satisfy.
A payments team wants failure and retry analytics, not just successful charges. Attempts move through created, processing, succeeded, and failed. The account and payment-method dimensions already exist.
A successful-charges-only table hides failures and retries. An attempt-grain event fact with a status captures the whole lifecycle and supports authorization-rate and retry analysis.
Template
The model users start from in the full workspace.
Entities
0
Seeded tables visible in the public preview.
Dialect
postgresql
Generated SQL target for this starter model.
This preview is read-only. Open the workspace to edit and verify; saving needs a free account.
Open workspaceTry the question first.
The discussion has other people's approaches and solutions. Give it a real attempt before you read them.