payment.charged.v1
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.PAYMENT_CHARGED_V1;Publishers
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
payment_id: z.string(),
customer_id: z.string(),
order_id: z.string().nullable(),
amount_cents: z.number().int().positive(),
currency: z.string(),
stripe_payment_intent_id: z.string(),
charged_at: z.string().datetime(),
}Delivery semantics
- At-least-once delivery. Consumers must dedupe by event ID.
- Fanned out to both NATS (in-cluster) and EventBridge (durable). See Events concept.