Skip to main content
A data stream is one source of financial records in End Close, such as a bank account feed, a payment processor, or an internal ledger. Every record belongs to exactly one data stream, and reconciliations match records from the streams on one side against the streams on the other.

How data streams fit together

  • A stream holds records. You push records into an api stream, or End Close fills a connected stream for you.
  • A reconciliation puts one or more streams on Side A and one or more on Side B. The same stream can sit in several reconciliations.
  • Exceptions are scoped to one stream in one reconciliation: the stream’s unmatched lines that are past due.
  • Property definitions describe the custom fields a stream’s records carry in metadata.

Data stream fields

Data stream
Choose a key that names the system the stream represents, such as chase_operating or stripe_payouts. You can rename the stream later, but not its key.

Stream types

POST /data_streams creates two types: Other types are created when you connect a source in the app, for example stripe, snowflake, big_query, databricks, postgres, csv, google_sheets, airwallex and hyperwallet. See How connections work and the integrations for each source. End Close also writes one stream type itself. An adjustments stream holds the balancing records (“plugs”) for a single reconciliation and belongs to that reconciliation alone. See Adjustments.

Create a data stream

cURL
A duplicate key returns 422.

Reset and delete a stream

  • POST /data_streams/{key}/reset removes every record on the stream and keeps its configuration, property definitions and reconciliation links. It runs in the background: poll the returned operation and wait for completed before you load data again.
  • DELETE /data_streams/{key} deletes the stream. It returns 409 while any reconciliation still uses the stream. A stream with more than 10,000 records must be deleted asynchronously with ?async=true.
GET /data_streams/{key}/health reports the stream’s ingestion health.

Property definitions

A property definition names and types a custom field that a stream’s records carry, such as customer_email on a Stripe stream or check_number on a bank feed. Each definition belongs to one stream. The values themselves live in each record’s metadata.
Property definition
Once a field is defined, you can refer to it as metadata.customer_email in matching rules.

Records

The transactions inside a stream, and the fields each one carries.

Reconciliations

Put streams on two sides and match them.

How connections work

How connected sources keep their streams up to date.

API reference

Data stream and property definition endpoints.