Poll for real-time account events
| Parameter | Type | Description |
|---|---|---|
external_id | string | The sub-account’s external ID |
| Parameter | Type | Default | Description |
|---|---|---|---|
since | integer | none | Only return events after this cursor value |
poll | boolean | false | If true, long-poll until new events arrive (up to ~30s) |
| Field | Type | Description |
|---|---|---|
events | array | List of event objects |
events[].event_type | string | Type of event |
events[].data | object | Event-specific data |
events[].timestamp | integer | Unix timestamp of the event |
cursor | integer | Cursor value — pass as since in the next request |
| Status | Code | Description |
|---|---|---|
| 404 | account_not_found | Account doesn’t exist |