| Name |
Type |
Description |
Notes |
| id |
String |
A unique 25-character alphanumeric resource identifier. |
|
| type |
String |
Event type slug (e.g. "payment.captured", "payment.expired"). |
|
| resource |
String |
Resource type name, always "event". |
|
| created_at |
Time |
Timestamp when this event was created. |
|
| reason |
String |
Human-readable reason or description for this event. |
|
| data |
Payment |
|
|
require 'komoju-sdk'
instance = Komoju::Event.new(
id: null,
type: null,
resource: null,
created_at: null,
reason: null,
data: null
)