How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Lean Technologies Sessions API

Create and inspect payment sessions. Each session has a limited lifetime and progresses through a defined lifecycle from `CREATED` to `COMPLETED` or `EXPIRED`.

Lean Technologies Sessions API is one of 67 APIs that Lean Technologies publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Sessions. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 2 operations across 2 paths, and defines 8 schemas. It is described by OpenAPI 3.1.0, at version v0.2.3.

Requests are made against 2 base URLs: https://sandbox.leantech.me, https://api2.leantech.me.

2 operations 2 paths 8 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
v0.2.3
Base URL
https://api2.leantech.me
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

Lean Technologies Sessions API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Sessions 2

Create and inspect payment sessions. Each session has a limited lifetime and progresses through a defined lifecycle from CREATED to COMPLETED or EXPIRED.

POST
/sessions/v1
Create Session
createSession body → 201
GET
/sessions/v1/{session_id}
Get Session
getSession 1 param → 200

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are GetPublicSessionResponse (6 properties), CreateSessionResponse (5 properties), CreateSessionRequest (3 properties), Flow (2 properties). Each schema is shown below with its type and property counts.

FlowInfo
object
A summary of the flow associated with this session.
1 property 1 required
SessionState
string
The lifecycle state of the session. - CREATED: The session has been created but the customer has not yet opened the redirect URL. - ACTIVE: The customer has op…
SessionType
string
The type of flow this session guides the customer through. - PAY: Starts a Lean-hosted Single Instant Payment session. The customer reviews the payment details…
CreateSessionRequest
object
Configuration for a new session. Provide a customer, a flow type, and a redirect URL to receive the customer after the flow completes.
3 properties 3 required
CreateSessionResponse
object
The created session, including the session URL to redirect your customer to and the session's expiry time.
5 properties 5 required
GetPublicSessionResponse
object
The current state of a session, including its lifecycle state, associated customer, and flow type.
6 properties 6 required
Flow
object
Defines the session flow type and its associated configuration payload.
2 properties 2 required
FlowPayload
object
Additional parameters for the selected flow type.
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

lean-technologies-sessions-api-openapi.yml Raw ↑

Other APIs Lean Technologies publishes across the network.

Lean Technologies Account Controls (New) API
Lean Technologies Account On File API
Lean Technologies Accounts Raw Data API
Lean Technologies Assets API
Lean Technologies Balance Raw Data API
Lean Technologies Balances API
Lean Technologies Bank API
Lean Technologies Bank Statements Report API
Lean Technologies Banks API
Lean Technologies Behavioral Insights (New) API
Lean Technologies Beneficiaries Raw Data API
Lean Technologies Beneficiary Name Verification API
Where this information came from

This is an independent, third-party profile of Lean Technologies Sessions API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.