Connect to the merchant events stream over WebSockets.
101 Switching Protocols. After connecting, you receive frames (for example event_v1 events).
Example event frame:
401 invalid/expired ws_token (connection is rejected/closed)event.id if you process idempotently.since=<event_id> to resume from a known cursor when supported.API key for server-to-server operations (scope=merchant or commerce)
Short-lived ws_token (browser/mobile auth).
Replay cursor (event id), e.g. evt_1700000000000-123.
Comma-separated allowlisted event type filters (e.g. invoice.*, invoice_payment.updated).
Optional invoice type filter (e.g. standard, commerce).
devnet, mainnet event_v1 Switching Protocols (WebSocket)