# Stream events

`GET /events/stream`

Server-sent events for payment updates.

Base URL: https://api.acme.dev/v1

Authentication: bearer token in Authorization header

## Example request

```bash
curl -X GET https://api.acme.dev/v1/events/stream
```

## Responses

- **200**: Event stream

### Example response (200)

```json
{
  "id": "evt_1",
  "type": "payment.succeeded",
  "data": {
    "id": "pay_3Jk2Lm",
    "object": "payment",
    "amount": 2500,
    "currency": "usd",
    "status": "requires_payment_method",
    "customer": {
      "id": "cus_8f3k2",
      "email": "user@example.com",
      "name": "Ada Lovelace",
      "address": {
        "line1": "string",
        "city": "string",
        "country": "US"
      }
    },
    "created_at": "2024-01-15T09:30:00Z",
    "refunds": [
      {
        "id": "string",
        "amount": 1
      }
    ]
  }
}
```
