Merchant Monitor Stream (event_v1)
Merchant Events WebSocket
Connect to the merchant events stream over WebSockets.
GET
Merchant Monitor Stream (event_v1)
Overview
Use this WebSocket endpoint to receive realtime merchant events (for example: invoice updates, payments, and commerce order events where applicable).Authentication
WebSocket connections use a token minted from the REST API. See: Mint a WebSocket Token.Request
SDK (recommended)
WebSocket URL (wss)
Response
WebSocket upgrade returns101 Switching Protocols. After connecting, you receive frames (for example event_v1 events).
Example event frame:
Errors
401invalid/expired ws_token (connection is rejected/closed)- Treat delivery as at-least-once; dedupe by
event.idif you process idempotently.
Examples
- Use
since=<event_id>to resume from a known cursor when supported.
Authorizations
API key for server-to-server operations (scope=merchant or commerce)
Query Parameters
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).
Available options:
devnet, mainnet Available options:
event_v1 Response
101
Switching Protocols (WebSocket)

