Documentation Index
Fetch the complete documentation index at: https://docs.lead.bank/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
Lead supports both consumer and commercial lending programs on this legacy lending product. There are two core steps involved:- You originate loans through secure file transfers via SFTP.
- You disburse loans in one of two ways: (1) use the Disbursement API, or (2) send Lead an ACH file with the disbursement details.
Disbursing with the Disbursement API
The Disbursement API is a rail-agnostic mechanism to instruct Lead to execute a disbursement once the loan’s origination has been approved by Lead. It accepts the required inputs that Lead needs to successfully execute the disbursement, creates aDisbursement object, then notifies you of state changes on the disbursement as it moves through its lifecycle.
Once the loan origination has been approved, take the client_loan_id of the loan you want to disburse, and call the Disbursement API with these inputs:
- Payment method: The payment rail to be used in the loan disbursement. Only ACH as a payment rail is currently supported.
- Payment details: Details specific to the payment rail that are required for Lead to successfully execute the disbursement. For ACH, these inputs are required: statement descriptor, counterparty information (e.g., account number, routing number), delivery type (same business day or next business day).
client_loan_id originated.
Tracking the Disbursement Lifecycle via Webhooks
After aDisbursement object is created, it transitions through various states until it reaches a terminal state of succeeded or failed. At each state change, we send you a webhook:
lending.disbursement.processing: Lead is processing the disbursement, and you can no longer cancel it.lending.disbursement.succeeded: The disbursement succeeded, and funds have landed in the counterparty’s account (assuming the account is in good standing with the counterparty’s bank).lending.disbursement.failed: The disbursement failed. Refer to thefailurehash on theDisbursementobject to see details about the failure.
ACH Corrections
When you send a disbursement via ACH rails, occasionally receiving banks identify an error with the disbursement (e.g., account number is incorrect) and notify Lead. When Lead receives such errors, we send you alending.disbursement.ach_correction webhook. Since you can receive these ACH corrections regardless of whether the disbursement succeeded or failed, your system must anticipate handling these notifications throughout the disbursement’s lifecycle. These corrections are intended to communicate that information in your system needs to be addressed or updated (e.g., update the account number).
When you see an ACH correction, follow these steps:
Review the correction: Assess the details provided in the
lending.disbursement.ach_correction event to understand the nature of the error. Details about the correction will be included in the payment_details.correction hash.
Update Your records: Correct the erroneous or outdated details in your system to prevent future disbursement failures.
For more details on events and webhooks, visit our Events & Webhooks page.

