Event Schema
| Field | Type | Description |
|---|---|---|
eventType | string | Type of event triggered COLLECTION |
status | string | Current status of the event (e.g., SUCCESS, FAILED) |
payload.method | string | Payment method used (e.g., credit_card) |
payload.transactionId | string | Internal transaction identifier |
payload.walletId | string | Unique identifier of the wallet |
payload.entityId | string | ID of the associated business or user |
payload.entityType | string | Type of entity (e.g., USER, BUSINESS) |
payload.summary | string | Summary of the transaction |
payload.entry | string | Transaction entry type (e.g., CREDIT) |
payload.amount | string | Transaction amount |
payload.currency | string | Currency of the transaction (e.g., USD) |
payload.timestamp | number | Timestamp of the event (in milliseconds) |
payload.metadata | object | Additional metadata for the transaction |