Accountant Portal

Build a month's STR-1 and CMP-1 Stripe settlement entries (read-only)

Changed on

Read-only. Builds the processor settlement (STR-1) and card-money allocation (CMP-1) entries for one calendar month of the company's Stripe platform account, from every balance transaction whose available_on falls in the month (UTC), in the approved October 2026 method. data.run is exactly the request body of POST /accountant/companies/{customerId}/agent/close/run (balanced, at most 25 entries of at most 50 lines); it is null unless status is ready (an unfinished month is in_progress). lineSources names the balance transactions behind each line. The connected Stripe account answers 403, so its lines are reported under connectedAccount and are not in the entries. Writes nothing.

get/accountant/companies/{customerId}/agent/stripe-settlement

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Path parameters

customerId, string uuid required

Query parameters

month, string required
Example:2026-11

Response

The month's settlement entries, checks and totals

object required

Changes