Lean Technologies Bank Statements Report API
The Bank Statements Report API from Lean Technologies — 2 operation(s) for bank statements report.
The Bank Statements Report API from Lean Technologies — 2 operation(s) for bank statements report.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/lean-technologies-bank-statements-report-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
openapi: 3.2.0
info:
title: KSA Bank Statements Report API
description: ''
version: 1.0.0
servers:
- url: https://sandbox.sa.leantech.me
description: Sandbox
- url: https://api2.sa.leantech.me
description: Production / Pre-Live
security:
- bearer: []
tags:
- name: Bank Statements Report
paths:
/insights/v2/customers/{customer_id}/reports/bank-statements:
post:
summary: Create Bank Statements Report
deprecated: false
description: ''
operationId: createBankStatementsReport
tags:
- Bank Statements Report
parameters:
- name: customer_id
in: path
description: ''
required: true
example: ''
schema:
type: string
format: uuid
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateBankStatementsReportRequestBody'
examples: {}
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/CreateReportResponseBody'
headers: {}
security:
- bearer: []
/insights/v2/customers/{customer_id}/reports/bank-statements/{report_id}:
get:
summary: Get Bank Statements Report
deprecated: false
description: ''
operationId: getBankStatementsReport
tags:
- Bank Statements Report
parameters:
- name: customer_id
in: path
description: ''
required: true
example: ''
schema:
type: string
format: uuid
- name: report_id
in: path
description: ''
required: true
example: ''
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/GetBankStatementsReportResponseBody'
headers: {}
security:
- bearer: []
components:
schemas:
CreateReportResponseBody:
type: object
properties:
report_id:
type: string
format: uuid
status:
type: string
enum:
- PENDING
required:
- report_id
- status
GetBankStatementsReportResponseBody:
allOf:
- $ref: '#/components/schemas/GetReportResponseBody'
- type: object
properties:
report:
allOf:
- $ref: '#/components/schemas/BankStatementsReport'
type: 'null'
CreateBankStatementsReportRequestBody:
type: object
properties:
start_date:
type: string
format: date
description: Start date for transactions range
end_date:
type: string
format: date
description: End date for transactions range
account_sub_types:
type:
- array
- 'null'
items:
type:
- string
- 'null'
enum:
- CHARGE_CARD
- CREDIT
- CURRENT
- EMONEY
- LOAN
- MORTGAGE
- PREPAID
- SAVINGS
- CALL
description: Account sub types to include in the statements, if undefined all sub types will be included
required:
- start_date
- end_date
ReportStatus:
type: string
enum:
- OK
- PENDING
- FAILED
GetReportResponseBody:
type: object
properties:
report_id:
type: string
format: uuid
status:
$ref: '#/components/schemas/ReportStatus'
status_detail:
allOf:
- type: object
properties: {}
created_at:
type: string
format: date-time
required:
- report_id
- status
- created_at
BankStatementsReport:
type: object
properties:
properties:
type: object
properties:
start_date:
type: string
format: date
description: Start date for transactions range
end_date:
type: string
format: date
description: End date for transactions range
account_sub_types:
type:
- array
- 'null'
items:
type: string
description: Account sub types to include in the statements, if undefined all sub types will be included
required:
- start_date
- end_date
banks:
type: array
items:
type: object
properties: {}
required:
- properties
- banks
securitySchemes:
bearer:
type: http
scheme: bearer