{
  "opencollection": "1.0.0",
  "info": {
    "name": "The Griffin API keys Events API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Events",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get an event",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v0/events/:event-id",
            "params": [
              {
                "name": "event-id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "The event-type may be one of:\n\n**account-status-created**\n```json\n{\n  \"event-url\" : \"/v0/events/ev.d9ImQpReWO2qvCk_wMQjxw\",\n  \"event-type\" : \"account-status-created\",\n  \"event-payload\" : {\n    \"account-url\" : \"/v0/bank/accounts/ba.JZjyiHUbXEOqy6YWyaR_Jw\",\n    \"account-status\" : \"open\"\n  },\n  \"created-at\" : \"2024-01-01T13:30:00.000Z\"\n}\n```\n\n**account-status-updated**\n```json\n{\n  \"created-at\" : \"2024-01-01T17:55:00.000Z\",\n  \"event-url\" : \"/v0/events/ev.d9ImQpReWO2qvCk_wMQjxw\",\n  \"event-type\" : \"ac"
        },
        {
          "info": {
            "name": "GET /v0/organizations/{organization-id}/events",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/v0/organizations/:organization-id/events",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[size]",
                "value": "",
                "type": "query"
              },
              {
                "name": "page[before]",
                "value": "",
                "type": "query",
                "description": "A base64 encoded opaque string returned in paginated responses."
              },
              {
                "name": "page[after]",
                "value": "",
                "type": "query",
                "description": "A base64 encoded opaque string returned in paginated responses."
              },
              {
                "name": "filter[event-type][eq]",
                "value": "",
                "type": "query",
                "description": "The type of webhook event. Usually has the form {resource}-{operation}, e.g. payment-updated"
              },
              {
                "name": "filter[created-at][lte]",
                "value": "",
                "type": "query",
                "description": "Return only events with a created-at less than or equal to the given timestamp."
              },
              {
                "name": "filter[created-at][lt]",
                "value": "",
                "type": "query",
                "description": "Return only events with a created-at less than the given timestamp."
              },
              {
                "name": "filter[created-at][gte]",
                "value": "",
                "type": "query",
                "description": "Return only events with a created-at greater than or equal to the given timestamp."
              },
              {
                "name": "filter[created-at][gt]",
                "value": "",
                "type": "query",
                "description": "Return only events with a created-at greater than the given timestamp."
              },
              {
                "name": "organization-id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List all events for an organization"
        }
      ]
    }
  ],
  "bundled": true
}