Lean Technologies · Capability

Lean Payouts API — Destinations

Lean Payouts — manage payout destinations (beneficiary records that receive funds).

Lean Payouts API — Destinations is a Naftiko capability published by Lean Technologies, one of 19 capabilities the APIs.io network indexes for this provider. It bundles 3 operations across the GET and POST methods rooted at /v1/payouts/v1/payment/destinations.

The capability includes 2 read-only operations and 1 state-changing operation. Lead operation: Lean Create Payout Destination. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Lean, Payouts, Destinations, and Beneficiaries.

Run with Naftiko LeanPayoutsDestinationsBeneficiaries

What You Can Do

POST
Createpayoutdestination — Lean Create Payout Destination
/v1/payouts/v1/payment/destinations
GET
Listpayoutdestinations — Lean List Payout Destinations
/v1/payouts/v1/payment/destinations
GET
Getpayoutdestination — Lean Get Payout Destination
/v1/payouts/v1/payment/destinations/{destination_id}

MCP Tools

lean-createpayoutdestination

Lean Create Payout Destination

lean-listpayoutdestinations

Lean List Payout Destinations

read-only idempotent
lean-getpayoutdestination

Lean Get Payout Destination

read-only idempotent

Capability Spec

payouts-destinations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lean Payouts API — Destinations
  description: 'Lean Payouts — manage payout destinations (beneficiary records that receive funds).'
  tags:
  - Lean
  - Payouts
  - Destinations
  - Beneficiaries
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    LEAN_API_TOKEN: LEAN_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: payouts-destinations
    baseUri: https://api2.leantech.me
    description: Lean Payouts API — Destinations business capability backed by Lean Technologies APIs.
    resources:
    - name: payout-destinations
      path: /payouts/v1/payment/destinations
      operations:
      - name: createPayoutDestination
        method: POST
        description: Lean Create Payout Destination
        outputRawFormat: json
        inputParameters:
        - name: body
          in: body
          type: object
          required: true
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: listPayoutDestinations
        method: GET
        description: Lean List Payout Destinations
        outputRawFormat: json
        inputParameters: []
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: payout-destination
      path: /payouts/v1/payment/destinations/{destination_id}
      operations:
      - name: getPayoutDestination
        method: GET
        description: Lean Get Payout Destination
        outputRawFormat: json
        inputParameters:
        - name: destination_id
          in: path
          type: string
          required: true
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: 'Bearer {{env.LEAN_API_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: payouts-destinations-rest
    port: 8080
    description: REST adapter for Lean Payouts API — Destinations.
    resources:
    - path: /v1/payouts/v1/payment/destinations
      name: payout-destinations
      operations:
      - method: POST
        name: createPayoutDestination
        description: Lean Create Payout Destination
        call: payouts-destinations.createPayoutDestination
        with:
          body: rest.body
      - method: GET
        name: listPayoutDestinations
        description: Lean List Payout Destinations
        call: payouts-destinations.listPayoutDestinations
        with: {}
    - path: /v1/payouts/v1/payment/destinations/{destination_id}
      name: payout-destination
      operations:
      - method: GET
        name: getPayoutDestination
        description: Lean Get Payout Destination
        call: payouts-destinations.getPayoutDestination
        with:
          destination_id: rest.path.destination_id
  - type: mcp
    namespace: payouts-destinations-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lean Payouts API — Destinations.
    tools:
    - name: lean-createpayoutdestination
      description: Lean Create Payout Destination
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: payouts-destinations.createPayoutDestination
      with:
        body: tools.body
    - name: lean-listpayoutdestinations
      description: Lean List Payout Destinations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payouts-destinations.listPayoutDestinations
      with: {}
    - name: lean-getpayoutdestination
      description: Lean Get Payout Destination
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: payouts-destinations.getPayoutDestination
      with:
        destination_id: tools.destination_id