payment-failed
Source of truth:
packages/notifications/src/translations.ts
Quick facts
Section titled “Quick facts”| Domain | Channels | Recipients |
|---|---|---|
| — | — | — |
Trigger sites
Section titled “Trigger sites”No triggerWorkflow calls found in the scanned source paths.
Payload — PaymentFailedData
Section titled “Payload — PaymentFailedData”interface PaymentFailedData { billingUrl: string;}Channel steps
Section titled “Channel steps”Trigger step
Section titled “Trigger step”The caller invokes triggerWorkflow('payment-failed', recipientIds, data) where data is the PaymentFailedData shape above. The server pre-translates the payload via getTranslatedPayload('payment-failed', recipientLocale, data) from @repo/notifications before sending, producing { inAppBody, emailSubject, emailBody } for the dashboard templates to render.
See also
Section titled “See also”- Notifications overview — the workflow grid, source-of-truth file map.
- Configuration — env vars, dashboard checklist, channel mapping.