Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.getlemma.com/llms.txt

Use this file to discover all available pages before exploring further.

A provider is a healthcare practice or legal entity that holds accounts on Lemma. Every account, transfer, check, and external recipient in Lemma belongs to a provider. Providers are the top-level organizational unit in the API — most endpoints require a provider_id or are scoped to a single provider.
The Lemma dashboard URLs include the provider ID (e.g. app.getlemma.com/entity_abc123). If you have dashboard access for a provider, paste their ID into the URL to jump straight to that provider.

What Lemma tracks

When a provider is onboarded, Lemma captures and verifies several pieces of information:
  • Legal entity details — the provider’s legal name, structure (e.g., professional LLC, sole proprietorship), and state of incorporation. These determine which banking products the provider is eligible for.
  • NPI number — the provider’s 10-digit National Provider Identifier, issued by CMS. Lemma uses the NPI to uniquely identify healthcare providers and to match incoming insurance payments to the correct account.
  • KYC information — Lemma collects Know Your Customer details (beneficial owners, EIN, address) as part of onboarding to satisfy regulatory requirements. This information is not exposed through the API.
Each provider has a structure field that reflects its legal entity type. Lemma supports:
StructureValue
Professional corporationprofessional_corporation
Professional LLCprofessional_llc
LLCllc
Partnershippartnership
Sole proprietorshipsole_prop
Management services orgmso
Nonprofitnonprofit

Listing and finding providers

The List providers endpoint returns all providers that have granted access to your platform. A provider can limit access to only certain bank accounts. To find a specific provider, pass the npi query parameter. NPI numbers are not guaranteed to be unique across providers — multiple legal entities can share the same NPI (e.g., when a group practice reorganizes or when separate entities bill under a shared organizational NPI), so the endpoint may return more than one result.
curl "https://api.getlemma.com/v0/providers?npi=1234567890" \
  -H "Authorization: Bearer lm_key_your_api_key"

Lockbox address

Every provider is assigned a lockbox mailing address. Payers send checks and correspondence to this address, and Lemma automatically scans and deposits them. Retrieve a provider’s lockbox address with the Get provider endpoint.