Core and user objects
Core and user objects have the same three levels: an account, the balances in it, and the transactions that change a balance. An account doesn’t hold money. The money, or the amount owed, is on a balance.- Core objects: the bank accounts where Lead holds your program’s money. Lead creates them, and you read them.
- User objects: the products your customers hold with you. You create them.
- Shared objects: entities, files, and account numbers. Both kinds use them.
- Lending objects: fundings, receivables, and receivable sales. Each connects a user credit balance to a core transaction.
Core objects at a glance
User objects at a glance
Shared objects at a glance
Lending objects at a glance
Payment objects such as ACH and wires aren’t on this page. They move money through account numbers and post core transactions. See Money movement.
Each ID starts with its object’s name, like
core_account_ or user_account_. Store IDs as opaque strings, and don’t parse them.Entity (shared)
An entity is a person or business that holds or uses a Lead product. You create an entity for each of your customers and for each person who acts for them, then use itsentity_id on user accounts, applications, and account numbers. Lead creates an entity for itself and one or more for your company during onboarding. Those hold your core accounts, and they’re read-only to you.
- ID prefix:
entity_ - Product page: Entities
Core objects
These are the bank accounts at Lead that belong to your program: your FBO (for benefit of) account, which holds your customers’ money in one pool, and your operating, settlement, revenue, and reserve accounts. Lead opens them during onboarding. You can read them, but you can’t create, change, or close them.Core account
A core account is one of your program’s bank accounts at Lead. Your Lead or partner entities hold it. Itstype says what it’s for. A direct account is one you run your program on and can send payments from. An attributed account is an FBO whose funds belong to your customers as user balances. A shadow account is a sweep or placement position you can read but not transact against. Account numbers attach to a direct account’s core balance. On an attributed account they attach to the user deposit balances beneath it. They never attach to a shadow account.
- ID prefix:
core_account_ - Type:
direct,attributed, orshadow. See Account types. - Lifecycle:
active,inactive, orclosed, which is final. Lead sets it. See Core account statuses. - Product page: Core accounts
Core balance
A core balance is the money in a core account. An account number can post to it if Lead has turned on the core account for account numbers.- ID prefix:
core_balance_, withcore_account_idpointing to its core account - Lifecycle:
active,inactive, orclosed, which is final. It usually has the same status as its core account. See Core balance statuses. - Product page: Core balances
Core transaction
A core transaction is one ledger entry on a core balance. Lead creates one when a payment posts, when interest or a fee applies, or when funds sweep.- ID prefix:
core_transaction_ - Listing: you request core transactions for one core balance at a time. They don’t send webhooks, so you list them on a schedule.
- Product page: Core transactions
How core objects connect
A Lead or partner entity holds each core account. The core account has a core balance, and each change to the core balance is a core transaction.User objects
These are the products your customers hold with you. For lending and credit products, you keep the official record in your own system, and Lead keeps a copy that you report to.User account
A user account is what you open at Lead for each of your customers. It records who holds it, what it’s for, and the compliance data Lead needs. It doesn’t hold money. Its balances reference itsuser_account_id.
- ID prefix:
user_account_ - Before you create one: create its entities. For underwritten credit, you also need an approved application.
- Lifecycle:
activeandinactivecan change back and forth.closedis final, except that you can reactivate a closed user account to correct a mistake. See User account statuses. - Product page: User accounts
User credit balance
A user credit balance is one loan or line of credit in a user account. It’s Lead’s copy of what your ledger shows, so you report every change to it.- ID prefix:
user_credit_balance_ - Lifecycle:
activeandinactivecan change back and forth.closedmeans repaid or charged off, andreporting_stoppedmeans you no longer report on it. See User credit balance statuses. - Product page: User credit balances
User credit transaction
A user credit transaction is one change to a user credit balance. You post one when your ledger records the change. There’s no daily cutoff, and nothing to send on days without activity.- ID prefix:
user_credit_transaction_ - Lead creates some: when Lead disburses a funding, it records the user credit transaction for you.
- Lifecycle: none. A user credit transaction has one state, posted, and no
statusfield. - Corrections: to change an amount, you reverse the user credit transaction. You can update only its description, metadata, and card settlement date.
- Product page: User credit transactions
User deposit balance
A user deposit balance is a customer’s deposits in a user account. You can give it an account number, and payments to that number settle to your FBO account’s core balance. The user deposit balance doesn’t have a v2 page, and neither do the user deposit transactions that change it.Card
A card is a physical or virtual card you issue to a customer: a debit card for a deposit product, or the card itself for a credit or charge product. You issue it through your card processor and report it to Lead. The card doesn’t have a v2 page. On v1, you report cards with the Cards API, which is in beta, or the card file.Application
An application is how you report a final credit decision. A user account for underwritten credit needs an approved one.- ID prefix:
application_ - Status: final outcomes only,
approved,declined, orcanceled. See Application statuses. - Product page: Applications
How user objects connect
Your customer’s entity holds a user account. For underwritten credit, the user account also needs an approved application. The user account has user credit balances and user deposit balances. Each user credit balance has user credit transactions.Account number (shared)
An account number is a routable payment address. It doesn’t hold money. It references one balance, a user deposit balance or a core balance, and every payment to the number posts there. ACH transfers, wires, instant payments, and internal transfers all reference anaccount_number_id.
- ID prefix:
account_number_ - Lifecycle:
activeandinactivecan change back and forth.canceledis final, and the number isn’t reused. See Account number statuses. - Product page: Account numbers
File (shared)
A file is a document you upload so you can link it to an entity, an application, or a user account, like a signed loan agreement.- ID prefix:
file_ - Product page: Files
Lending objects
Lending products use three objects of their own:- Funding (
funding_): your instruction to Lead to disburse loan principal. You name the user credit balance it draws against and the account number the money goes to. Its status goes fromprocessingtoposted, and a funding Lead accepts always posts. See Funding statuses and Fundings. - Receivable (
receivable_): a loan your program originates, as Lead holds it. Lead is the lender of record, so every loan starts on Lead’s balance sheet. See Receivables. - Receivable sale (
receivable_sale_): the daily purchase of your program’s loans from Lead, if your program originates loans to sell. Lead debits it from your operating account. Its status goes fromcreatedtosettled. If the debit fails, the sale isfailed, and Lead retries the debit. A failed sale moves tosettledonce a retry goes through. See Receivable sale statuses and Receivable sales.
How core and user objects connect
A lending product uses both kinds:- Each borrower is an entity. You report your decision on them as an application. If you approve, you open a user account for them.
- The loan’s terms and what the borrower owes are a user credit balance in that user account. Each payment, fee, and interest charge you report is a user credit transaction on it.
- A funding sends the principal to an account number. When it posts, Lead creates a core transaction on that account number’s core balance, and the funding’s
core_transaction_idpoints to it. - The disbursed principal becomes a receivable on Lead’s books. If your program buys its loans, Lead groups the day’s receivables into a receivable sale and debits your operating account, a
directcore account, for the purchase.
attributed FBO account.
The user deposit balance, user deposit transaction, and card objects don’t have v2 pages. Other v2 pages mention user deposit balances only where they reference one.
How it shows up in the API
Related
- Executing vs. reporting: which APIs move money and which only report, and what that means for statuses and webhooks
- Money movement: the five payment rails, what each one is for, and where to find its processing windows
- Programs and partners: why credentials, reports, and go-live are set per program
- Versioning and backwards compatibility: what counts as a breaking change, and how Lead gives notice

