Golden Path for Funders
Use this guide to receive a deal, retrieve the information needed for underwriting, submit an offer, and keep the offer status synchronized with Lendflow.1. Authenticate API requests
Create a personal access token from Profile → Integration Tokens in the Lendflow Dashboard. Store the token securely because its plain-text value is displayed only once. Send the token with each API request:2. Receive and verify deal notifications
Configure custom workflow webhooks so your system knows when a deal requires action. Common events in a funder integration include:- Application Fully Submitted, when the application is ready to retrieve.
- Any Document Uploaded, when a new underwriting document is available.
- Data Orchestration Outcome Reached, when an orchestration run finishes.
- Offer Accepted, Offer Declined, and Offer Retracted, when an offer changes.
- Application Dead, when the deal is no longer active.
3. Retrieve the application and underwriting data
The webhook payload identifies the application. Use its application UUID to retrieve the current deal data.- Use List Applications to list and filter applications.
- Use Get Application to retrieve one application.
Retrieve documents
- Call List Application Files to list the application’s files.
- Use the returned file ID with Download Application File, or use Download Selected Application Files to download multiple files.
Retrieve bank and provider data
- See Plaid for available Plaid services, required application data, and returned bank data.
- Use Get Commercial Data to retrieve stored Data Services results for an application. Use the endpoint’s
services[]filter when you only need selected services.
4. Complete underwriting
Data Orchestration can run data providers and custom underwriting rules as a connected decision flow. Depending on the workflow configuration, a template can run automatically when the deal reaches its assigned stage or can be started manually. For API execution, follow Data Orchestration via API. Retrieve the completed orchestration log before using its outcome in your underwriting process. When your process is ready to continue, use Move to Next Workflow Stage to advance the application. Workflow stages represent the deal’s position in the process; statuses and sub-statuses describe its state within that process.5. Create an offer
An offer must be associated with the funder’s placement on the application.- Retrieve the application’s placements with List Application Placements.
- Select the placement assigned to your funder and retain its
placement_id. - Review the available Offer Templates. Offer fields are defined by the selected template.
- Use Get Offer Template Sample to retrieve the template’s expected offer and closing fields.
- Call Create Offer with the application UUID in the path, the placement UUID in
placement_id, and the selected template UUID inoffer_template_id.
stips, each stip must use the ID of a configured requirement. Retrieve current requirements with Get Required Application Documents instead of storing numeric stip IDs in your integration.
6. Manage the offer
Use the offer UUID returned when the offer is created or included in an offer webhook.
Use Confirm Offer for final closing terms so the submitted offer and the final confirmed terms remain distinct.
If the application should not proceed, call Decline Application. The request requires a
reason; sub_reason, notification settings, and notes are optional.
FAQ
Should I use product IDs to determine which offer fields to send?
Should I use product IDs to determine which offer fields to send?
No. Use the placement’s offer template and retrieve its sample schema. Custom Offer Products and Dynamic Offers allow the configured fields to differ between templates.
Should I store stip IDs in my integration?
Should I store stip IDs in my integration?
No. Retrieve the application’s configured required documents and use the returned IDs. Hard-coded numeric IDs can become inaccurate as requirements change.
What is the difference between a placement ID and an offer ID?
What is the difference between a placement ID and an offer ID?
A placement identifies the funder’s opportunity on an application. An offer belongs to that placement and receives its own offer ID after creation.
Should my system use the application data included in a webhook?
Should my system use the application data included in a webhook?
Use the webhook to identify the event and resource, then retrieve the latest application, file, orchestration log, or offer from the API. This avoids acting on data that changed after the notification was created.
How do workflow stages differ from statuses?
How do workflow stages differ from statuses?
A workflow stage identifies where the deal is in the configured process, such as Application, Underwriting, or Offer. A status or sub-status describes the deal’s current state without replacing its workflow stage.
Next steps
Configure integration tokens
Create scoped credentials for your funder integration.
Configure custom workflow webhooks
Subscribe to application, document, orchestration, and offer events.
Run Data Orchestration via API
Execute a template and retrieve its logs.