payment.refunded.v1
Constant
import { EVENT_NAMES } from "@platform/contracts";
EVENT_NAMES.PAYMENT_REFUNDED_V1;Publishers
Subscribers
No service currently subscribes to this event.
Payload schema
z.object({
payment_id: z.string(),
refund_id: z.string(),
amount_cents: z.number().int().positive(),
reason: z.string().nullable(),
stripe_refund_id: z.string(),
refunded_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.