Lean Technologies Payment Source API
The Payment Source API from Lean Technologies — 2 operation(s) for payment source.
The Payment Source API from Lean Technologies — 2 operation(s) for payment source.
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-payment-source-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: UAE - V2 Payment Source 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: Payment Source
paths:
/customers/v1/{customer_id}/payment-sources:
get:
summary: Get all Payment Sources for Customer
deprecated: false
description: Payment Sources are created upon successful completion of the `.connect()` method in the LinkSDK when `payments` is set as a Permission.
operationId: getPaymentSources
tags:
- Payment Source
parameters:
- name: customer_id
in: path
description: ''
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/PaymentSource'
example:
- id: d8d7a9b3-c401-49f6-81a4-386d8398aa2c
customer_id: 6db94cb7-3a02-4a57-a03a-e2a92ce86406
app_id: YOUR_APP_ID
status: AWAITING_BENEFICIARY_COOL_OFF
beneficiary_cool_off_expiry: '2021-02-13T13:20:57.674299Z'
bank_identifier: ENBD_UAE
beneficiaries:
- id: 26891A75-9406-4E06-97BA-F4D6DA664F3C
payment_destination_id: f044c18b-3a51-49a2-bd3f-a585679d8885
status: AWAITING_BENEFICIARY_COOL_OFF
beneficiary_cool_off_expiry: '2021-02-13T13:20:57.674299Z'
accounts:
- id: 9acde98e-9d19-495d-934c-b2ff966262c8
account_id: aaadbc4e-96a4-420f-ba01-597fa63502ee
account_name: CURRENT ACCOUNT
account_number: '1015528734001'
iban: AE340260001015528734001
balance: 35681.15
currency: AED
balance_last_updated: '2021-02-12T13:20:23.83922Z'
- id: 1457d23a-c1f8-4aee-bc6f-2a253b2e617f
account_id: 69f22112-e95d-427e-8bd1-eb58b4db60ba
account_name: CURRENCY PASSPORT SAVINGS AC
account_number: 0315528734002
iban: AE790260000315528734002
balance: 80871
currency: USD
balance_last_updated: '2021-02-12T13:20:57.370659Z'
headers: {}
security:
- bearer: []
/customers/v1/{customer_id}/payment-sources/{payment_source_id}:
get:
summary: Get Payment Source by ID
deprecated: false
description: Payment Sources are created upon successful completion of the `.connect()` method in the LinkSDK when `payments` is set as a Permission.
operationId: getPaymentSourceById
tags:
- Payment Source
parameters:
- name: customer_id
in: path
description: ''
required: true
schema:
type: string
- name: payment_source_id
in: path
description: ''
required: true
schema:
type: string
responses:
'200':
description: ''
content:
application/json:
schema:
$ref: '#/components/schemas/PaymentSource'
example:
id: d8d7a9b3-c401-49f6-81a4-386d8398aa2c
customer_id: 6db94cb7-3a02-4a57-a03a-e2a92ce86406
app_id: YOUR_APP_ID
status: AWAITING_BENEFICIARY_COOL_OFF
beneficiary_cool_off_expiry: '2021-02-13T13:20:57.674299Z'
bank_identifier: ENBD_UAE
beneficiaries:
- id: 26891A75-9406-4E06-97BA-F4D6DA664F3C
payment_destination_id: f044c18b-3a51-49a2-bd3f-a585679d8885
status: AWAITING_BENEFICIARY_COOL_OFF
beneficiary_cool_off_expiry: '2021-02-13T13:20:57.674299Z'
accounts:
- id: 9acde98e-9d19-495d-934c-b2ff966262c8
account_id: aaadbc4e-96a4-420f-ba01-597fa63502ee
account_name: CURRENT ACCOUNT
account_number: '1015528734001'
iban: AE340260001015528734001
currency: AED
- id: 1457d23a-c1f8-4aee-bc6f-2a253b2e617f
account_id: 69f22112-e95d-427e-8bd1-eb58b4db60ba
account_name: CURRENCY PASSPORT SAVINGS AC
account_number: 0315528734002
iban: AE790260000315528734002
currency: USD
headers: {}
security:
- bearer: []
delete:
summary: Delete Payment Source
deprecated: false
description: Delete a Payment Source to remove Customer credentials from the platform.
operationId: deletePaymentSource
tags:
- Payment Source
parameters:
- name: customer_id
in: path
description: ''
required: true
schema:
type: string
- name: payment_source_id
in: path
description: ''
required: true
schema:
type: string
requestBody:
content:
application/json:
schema:
type: object
properties:
reason:
type: string
enum:
- USER_REQUESTED
- TPP_REQUESTED
description: Who is requesting deletion
required:
- reason
responses:
'200':
description: ''
content:
application/json:
schema:
type: object
properties: {}
headers: {}
security:
- bearer: []
components:
schemas:
PaymentSource:
type: object
properties:
id:
type: string
description: The id of the Payment Source
format: uuid
customer_id:
type: string
description: The unique identifier for the Customer that owns the Payment Source
format: uuid
app_id:
type: string
description: The application associated with the Payment Source
status:
type: string
description: The current status of the beneficiary. Indicates whether the Payment Destination and Payment Source channel is chargeable.
deprecated: true
enum:
- AWAITING_BENEFICIARY_COOL_OFF
- ACTIVE
beneficiary_cool_off_expiry:
type: string
deprecated: true
format: date-time
description: The time that the beneficiary cool down period will, or did, expire. After this time the beneficiary will be chargeable.
bank_identifier:
type: string
description: Identifier that specifies the financial institution that holds the accounts
beneficiaries:
type: array
items:
type: object
properties:
id:
type: string
format: uuid
description: A unique identifier for the beneficiary
payment_destination_id:
type: string
format: uuid
description: The identifier for the associated Payment Destination resource
status:
type: string
description: The current status of the beneficiary
enum:
- AWAITING_BENEFICIARY_COOL_OFF
- ACTIVE
beneficiary_cool_off_expiry:
type: string
description: The time that the beneficiary cool down period will, or did, expire. After this time the beneficiary will be chargeable.
format: date-time
required:
- id
- payment_destination_id
- status
description: 'An array of beneficiaries that have been added to the Payment Source.
A beneficiary is the representation of the connection between a Payment Source and a Payment Destination.
The beneficiary object belongs to the payment source object and is linked to a Payment Destination object.
A payment can only be initiated from a payment source to a Destination which is linked to one of the Payment Source''s beneficiaries.'
accounts:
type: array
items:
type: object
properties:
id:
type: string
description: The unique identifier for the account.
account_id:
type: string
description: A secondary identifier for the account.
deprecated: true
account_name:
type: string
description: The friendly name for the account - for example "Gold Savings Account".
account_number:
type: string
description: The bank account number for the account.
iban:
type: string
description: The IBAN number for the account.
balance:
type: number
deprecated: true
format: double
description: The balance available on the account at the last payment.
currency:
type: string
description: The currency that the account supports.
balance_last_updated:
type: string
description: The last date the balance was refreshed.
deprecated: true
required:
- id
- account_id
- account_name
- account_number
- iban
- balance
- currency
- balance_last_updated
required:
- id
- customer_id
- app_id
- status
- beneficiary_cool_off_expiry
- beneficiaries
- bank_identifier
securitySchemes:
bearer:
type: http
scheme: bearer