PaymentEventPayload
Type: object
Version: 1.0
Payload for payment processing events. Emitted by the payment gateway when a payment attempt is completed, whether successful, failed, or refunded.
Fields
| Name | Type | Description | Source |
|---|---|---|---|
PaymentId |
string (uuid) | Unique identifier of the payment transaction | - |
OrderId |
string (uuid) | Unique identifier of the order this payment relates to | - |
Amount |
number (decimal) | Payment amount in the smallest currency unit (e.g. cents) | - |
Currency |
string | ISO 4217 currency code | - |
Status |
string | Outcome of the payment attempt | - |
PaymentMethod |
string | Payment method used (e.g. credit_card, debit_card, paypal, bank_transfer) | - |
GatewayReference |
string | External reference from the payment gateway (e.g. Stripe charge ID) | - |
FailureReason |
string | Reason for payment failure (null when status is succeeded) | - |
ProcessedAt |
string (datetime) | Timestamp when the payment was processed by the gateway | - |