Skip to main content
GET
List daily billing costs
Use GET /billing/daily-costs to retrieve one row per loan that had billable activity on a given day: the same charges as the Billing Summary in the client dashboard, broken out by day instead of by month. Loans with no calls, texts, emails, or payments that day are omitted. The response is scoped to the company associated with your X-API-Key. A key belongs to exactly one company, so a lender with several brands makes one request per brand, using that brand’s key. Only first-party loans on usage billing are included; a company that is not billed per use receives 400. loanId is the loan identifier you supplied at enrollment or in your file upload, so rows join directly to your loan records. customerId is your customer reference, or the Finosu customer UUID for a customer boarded without one. A typical use is to sum a brand’s rows over a week and divide by that week’s transfers or funded loans.

First request

In this example the first loan had three calls (47 seconds, 132 seconds, and one that did not connect), one text, and one email. The second and third loans are two open applications from the same customer. That customer’s 95-second scheduled call was placed for the second loan, so it carries the whole call. The customer also called in for 60 seconds, which names no loan, so that call is shared evenly: half on each application. The second loan also had a $150.00 payment collected through Finosu. All numeric values are decimal strings, so you can add them without floating-point error. Each row is rounded on its own: counts, minutes, seconds, and collected amounts to 2 decimal places, charges to 4. A shared communication can therefore add up to slightly more or less than its whole; one call shared across three loans shows callCount 0.33 on each row, 0.99 in total. totalCost is exactly the sum of the row’s five charges.

How charges are calculated

Every call minute carries two charges: telephony and virtual agent. Rates are the ones in your Finosu agreement and are not repeated in the response.

Customers with more than one loan

Each scheduled call, text, and email is charged to the loan it was scheduled for, as long as that loan belongs to the same customer and is open on the day. When a customer has more than one loan open, for example two applications, each loan carries only its own outreach. Any other communication, such as an inbound call, one sent outside a loan’s schedule, or one scheduled for a loan that has since closed, is shared evenly across the customer’s loans open that day. That is the only reason counts such as callCount can be fractional. Payments are recorded against a specific loan and are never shared. Sharing never changes totals beyond that per-row rounding: the sum of a brand’s rows for a day is the brand’s full cost for that day, to within a fraction of a cent per shared communication.

Daily rows and the monthly bill

Summing a month of daily rows reproduces the month’s Billing Summary charges, within the limits below.
  • Telephony, SMS, email, and payment processing are priced per item, so daily amounts add up to the monthly amount.
  • Virtual agent pricing is tiered on the company’s cumulative minutes in the month. Each day is priced at the rate that applied to the minutes used that day, so a day’s charge never changes when a later day crosses into a lower tier, and a month of days adds up to the company’s monthly tiered total. Within a month that crosses a tier, the Billing Summary applies the month’s average rate to every loan, so an individual loan’s month can differ slightly from the sum of its days.
  • Communications that name no loan: a day shares them across the loans open that day, while the monthly Billing Summary shares them across the loans open at any point in the month. If such a customer gains or loses a loan mid-month, that customer’s daily rows can differ from the monthly figure by a few cents.
  • Rounding: each row’s charges are rounded to 4 decimal places, and the monthly Billing Summary rounds once per loan. A month of daily rows can differ from the monthly figure by up to $0.00005 per row for each charge.

When a day is final

  • Only completed days can be requested. Today or a future date returns 422.
  • Each day is computed overnight. Day D is computed at about 05:00 America/New_York on D + 1 and then served from that result, so request it after 06:00 America/New_York. A day requested before it has been computed is priced on request, which can take considerably longer.
  • The 8 most recent days are recomputed every night. A day keeps picking up late changes for 8 days after it ends: a bank payment that is later returned no longer counts as collected, which lowers portalCollected and paymentProcessingFee on the day it was originally collected, and carrier fees that arrive late are added. On each daily pull, re-request the previous 7 days and replace your stored rows for those days.
  • After that, a day is final. A change that arrives later, such as a payment the borrower reports as unauthorized weeks after it was made, is not reflected in the day.
  • applicationStatus is current, not historical. It is the loan’s status when you make the request, so re-requesting an old day can show a loan that has since funded as FUNDED.

Retrieve every page

Rows are ordered by loanId, then by Finosu’s internal loan identifier to break ties. limit defaults to 1000 and accepts 1–1000. When nextCursor contains a string, pass that exact value as the next request’s cursor with the same date; a null cursor means the day is complete. Treat cursors as opaque and URL-encode them. A day with no activity returns {"date": "...", "currency": "USD", "rows": [], "nextCursor": null}. The endpoint allows 60 requests per 60-second window per company, shared across its API keys. If the quota is exhausted (429) or its enforcement is temporarily unavailable (503), wait for the Retry-After interval before retrying the same page. Successful responses are sent with Cache-Control: no-store.

Loans and loan applications

Typed billing responses require Finosu to activate the feature. Contact your Finosu account team before adding record_type to your integration to confirm availability. Supplying the parameter does not activate it. Until activated, requests with record_type return HTTP 503 without running classification. Omitting record_type preserves the existing response and pagination behavior.
To opt into explicit record identity, add record_type: Omitting record_type preserves the existing response and cursors. With any of these values, each row additionally contains:
  • recordType: loan or loan_application.
  • recordId: the Finosu UUID of that loan or application.
  • serviceType: servicing, origination, mixed, or unclassified, based on the billed activity rather than the account’s current status. mixed means that more than one purpose has a nonzero charge.
  • purposeBreakdown: three entries (origination, servicing, unclassified) containing allocated counts, units and monetary fields. Their decimal values are strings, with snake_case field names such as telephony_cost and total_cost. Each field sums exactly to its original row value. Mixed is a label, not a fourth charge bucket.
  • loanApplicationId: the application’s external reference, or null if none was recorded. Use recordId for its canonical identity.
  • loanApplicationStatus: the application’s current status, or null for loans or applications with no recorded status.
loanId and applicationStatus retain their existing meanings: the billed account’s external loan reference and current loan status. They are not silently replaced with application values. An application’s compatibility account is returned once as loan_application; it is not also returned by loans. A separately linked funded result loan remains a loan; that identity does not classify the purpose of its charges. An account without an application binding remains a loan. A pending status alone proves neither application identity nor service purpose. Applications without an existing billable account are not yet included. Selecting a record type never changes pricing, allocation, rounding, or the stored monetary values. Calls with purpose evidence use their existing billed minutes/duration and loan allocation. SMS, email, calls without schedule evidence, and payment fees are explicitly Unclassified. Stored days without captured purpose are entirely Unclassified; current application links never retroactively classify them. Previously status-labeled historical origination charges therefore appear as Unclassified. Original charges remain unchanged. In Billing Summary purpose filters, a mixed account appears in each purpose where it has spend, showing only that purpose’s charges. Account counts overlap, while the three purpose amounts add up to All. record_type in this endpoint still filters entity identity, not purpose, and does not split or duplicate rows. Continue every page with the same date and record_type. A cursor from another filter or from the legacy response returns 422. Sorting remains by the billed account’s loan reference and internal loan identifier. Identity and status are current even for a stored day; re-read all pages after an identity correction. If multiple applications claim an account, or one captured application claims multiple accounts without an explicit binding, a typed page containing the affected record returns 409 for review rather than selecting an arbitrary identity. Earlier pages can succeed. all and loan_applications can encounter this error; loans excludes these application accounts and does not return 409 for their ambiguity. The legacy feed remains available.

Authorizations

X-API-Key
string
header
required

Query Parameters

date
string<date>
required

Calendar day in America/New_York, YYYY-MM-DD. Must be a completed day: today or a future date returns 422.

limit
integer
default:1000

Maximum rows per page. Default 1000; range 1–1000.

Required range: 1 <= x <= 1000
cursor
string

Opaque nextCursor from the preceding response. Keep the same company, date, and record_type (including omission for legacy requests).

Required string length: 1 - 2048
record_type
enum<string>

Optional typed identities. Omit to retain the legacy response; all returns both types once. Keep the same value for every cursor page.

Available options:
all,
loans,
loan_applications

Response

A page of per-loan daily costs. nextCursor is null on the last page.

date
string<date>
required

The requested day, America/New_York.

currency
string
required
Allowed value: "USD"
rows
(DailyEntityCost · object | object)[]
required

Opt-in identity; loanId remains the legacy billed account reference.

nextCursor
string | null
required

Opaque continuation cursor, or null when no more rows remain.