Lean Technologies Events API

The Events API from Lean Technologies — 1 operation(s) for events.

Operations 1

GET /events/v1 Get all Events #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/lean-technologies-events-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

lean-technologies-events-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: UAE - V2 Events API
  description: ''
  version: 1.0.0
servers:
- url: https://sandbox.leantech.me
  description: Sandbox
- url: https://api2.leantech.me
  description: Production / Pre-live
security:
- bearer: []
tags:
- name: Events
paths:
  /events/v1:
    get:
      summary: Get all Events
      deprecated: false
      description: List all events created by Lean and sent over webhooks in the past 90 days.
      operationId: getEvents
      tags:
      - Events
      parameters:
      - name: page
        in: query
        description: Page number
        required: true
        schema:
          type: integer
      - name: size
        in: query
        description: Number of items per page
        required: true
        schema:
          type: integer
      - name: from
        in: query
        description: Filter events that have been created after specific DateTime
        required: false
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        description: Filter events that have been created before specific DateTime
        required: false
        schema:
          type: string
          format: date-time
      - name: type
        in: query
        description: Filter events that are of a specific type. If this field is not populated no filtering will be applied on the event type.
        required: false
        schema:
          type: string
          enum:
          - results.ready
          - entity.created
          - entity.updated
          - entity.reconnected
          - payment.created
          - payment.updated
          - payment_intent.created
          - payment_intent.expired
          - payment_source.created
          - payment_source.updated
          - payment_source.beneficiary.created
          - payment_source.beneficiary.updated
          - bank.availability.updated
          - payment.reconciliation.updated
          - bulk_payment_intent.created
          - bulk_payment_intent.updated
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        payload:
                          type: object
                          properties: {}
                          description: Webhook payload
                        type:
                          type: string
                          description: The type of webhook sent
                        message:
                          type: string
                          description: A plain description of the event
                        timestamp:
                          type: string
                          description: The timestamp for the first attempt of the webhook
                          format: date-time
                        event_id:
                          type: string
                          description: The unique ID for the webhook event
                      required:
                      - payload
                      - type
                      - message
                      - timestamp
                      - event_id
                  page:
                    $ref: '#/components/schemas/Pagination'
                required:
                - data
                - page
              example:
                data:
                - payload:
                    id: cdd8c617-0dd6-4cf7-b374-e244d2735678
                    customer_id: 61760f96-a382-4f37-aec2-956ede4f3865
                    payment_source_id: 4e86c5b5-459f-4aa5-8f62-f26b8726639c
                    payment_destination_id: 902cb198-d1c7-4f00-8597-e54e41beff0f
                    status: ACTIVE
                  type: payment_source.beneficiary.created
                  message: A beneficiary was added for a payment source.
                  timestamp: '2022-08-10T10:18:39.182841Z'
                  event_id: 823a6f3c-8a24-4e95-9654-bfec21660c75
                page:
                  number: 0
                  size: 1
                  total_elements: 46
                  total_pages: 46
          headers: {}
      security:
      - bearer: []
components:
  schemas:
    Pagination:
      type: object
      properties:
        number:
          type: integer
          description: The current page being returned by the API
        size:
          type: integer
          description: The page size requested
        total_elements:
          type: integer
          description: The total number of elements in all pages
        total_pages:
          type: integer
          description: The total number of pages retrievable
      required:
      - number
      - size
      - total_elements
      - total_pages
  securitySchemes:
    bearer:
      type: http
      scheme: bearer