Payment Events Channel (v1.0.0)
All events contain payment ID for traceability and ordered processing.
Overview
The Payments Events channel is the central stream for all payment lifecycle events. This includes payment initiation, authorization, capture, completion and failure scenarios. Events for a specific payment are guaranteed to be processed in sequence when using paymentId as the partition key.
Channel information
Address: payments.{env}.events
Protocol:
- kafka
Parameter | Options | Description | Default |
---|---|---|---|
env | N/A | dev, sit, prod | Environment to use for payment events |
Publishing Events Using Kafka
Here’s an example of publishing a payment event: