Skip to main content
This guide covers the building blocks of a card-based credit program on Lead: revolving credit lines, cards issued through your issuer processor, card spending that settles through the card networks, and the daily purchase of the receivables that card spending creates.

How It Works

The credit flow is the same as any lending program: Entity → Application → Account → Balance. For card programs, you open and maintain the Balance through the daily Balances file, not the API. Repayments restore available credit. You create cards with your issuer processor and report them to Lead as Card objects. Card spending settles with the networks through Lead’s Network Settlement process. Because Lead is the lender of record, network settlement originates receivables on Lead’s books, which Lead groups into a daily sale that you purchase. Today you purchase the sale through the Sales Request/Response file exchange.

Example Scenario

Fieldstone issues charge cards to small landscaping businesses. When Bluebonnet Landscaping signs up, Fieldstone creates an Entity for the business, including its beneficial owners and control persons, plus an Entity for each employee who will carry a card as an authorized user. Fieldstone approves Bluebonnet for a $25,000 line, reports the application to Lead, opens the account, issues a card through its processor and reports it to Lead, and opens the balance. Bluebonnet spends $4,000 in the first week; the networks settle that spend, which creates receivables at Lead that roll into the daily sales Fieldstone purchases. Each day, Fieldstone reports Bluebonnet’s balance, spend, and repayments to Lead.

Objects Involved

Before You Start

  • Obtain sandbox credentials with scopes for entities, applications, accounts, and card/read_write. You also need an issuer-processor relationship: you create cards with your issuer processor, and you report them to Lead through the Cards API for oversight only.
  • The receivables sale runs on files today. You acknowledge each day’s purchase through the Sales Request/Response exchange over SFTP — Sales Request file schema, Sales Response file schema, and how settlement amounts work.
  • Balances and Transactions are file-only for card programs. You open and service each Balance (repayments, interest, fees) through the daily Balances and Transactions files. Card programs cannot use the Subledger Balance API.

Integration Steps

Step 1: Create the Borrower Entity (or Entities)

Report each borrower along with your attested KYC/OFAC screening results. For a business borrower, first create an individual Entity for each beneficial owner, control person, and authorized user. Then create the business Entity and link its beneficial owners and control persons. For a sole proprietorship, create the individual first, then create the sole_prop Entity and link the individual as its sole_proprietor. See Beneficial Ownership Requirements and Roles.

Step 2: Report the Underwriting Decision via Application

You always report Applications in a terminal status: approved, declined, or canceled. Lead does not require you to report in-flight applications. If you report a decline, include the adverse-action fields.

Step 3: Open the Account

Lead creates the Account in an active status. The Account includes a reference to the Application from the prior step. Then add any authorized users to the Account with Batch Create Account-Entity Relationships so their cards can reference it.

Step 4: Report the Card

Create the card with your issuer processor, then report it to Lead for oversight, referencing the Account and the cardholder’s Entity.
Lead creates Cards in an active status. When a card’s status changes at your processor, update it in Lead through the activate, deactivate, and close endpoints. Lead uses card status for compliance oversight. See Card Validations.

Step 5: Create the Balance

Card programs create Balances through the daily Balances file. Card programs cannot use the Subledger Balance API. To create a Balance, include a row with a new client_balance_id, the account_id from Step 3, and type = credit. Lead creates a Balance for any client_balance_id that does not already exist. Lead must have processed the Account before you submit the Balances file that references it (Balance Validations).

Step 6: Cardholder Spends on the Card (Outside of Lead)

Your issuer processor handles authorization, and the card networks handle settlement. You do not call Lead in this step. Funds move through Lead’s Network Settlement process, and because Lead is the lender of record, settled spend results in receivables on Lead’s books.

Step 7: Report Balance and Transaction Updates via Files

Each day, send:
  • Balances file: the current position of every Balance in a non-terminal status (anything other than closed or receivable_transferred). Include each one every day, even if nothing changed.
  • Transactions file: new activity since the last file, including settled card spend, repayments, interest, and fees. For card spend, set transfer_type = card, include the card_id from Step 4, and set settlement_date to the date the transaction appeared in the network’s raw settlement file.
Lead uses your settled card transactions to run Network Settlement Reconciliation. See the Transactions file schema for all fields.

Step 8: Purchase the Day’s Receivables

Each business day, Lead groups the receivables that have cleared your program’s hold period into a single sale, priced according to how settlement amounts work: principal plus imputed interest for the hold period. You acknowledge the purchase through the Sales Request/Response file exchange over SFTP (Sales Request file schema, Sales Response file schema), and the settlement amount moves from your settlement account. The day’s sale settles in full or not at all, so fund your settlement account before each sale. Note: upcoming Sale API Lead plans to release a Sale API that replaces the file exchange with a daily sale object you review and accept in a single call (Platform Evolution). Receivables & the Daily Sale · Sales Settlement Amount · Network Settlement · Balances & Transactions · Cards · Launch a Debit Card Program · Instant Loan Origination and Disbursement If something in this guide does not match what you see, contact your Lead team.