Preview. Stack v4.0 has not been released, and what is documented here can still change before it does. The current release is v3.2, which covers this as Payments.Go to v3.2
Connectivity

Coming from Payments

What each Payments feature becomes in Stack v4.0: covered by Connectivity, covered by Ledger, or not available.

Stack v4.0 does not include the Payments module. Connectivity takes over one of its jobs: bringing activity from payment providers, banks, and exchanges into the stack. This page says what each Payments feature becomes in Stack v4.0. The Payments documentation stays available under Stack v3.2.

What changes in the model#

A Payments connector stored provider objects, such as accounts, payments, and balances, in the Payments module, and exposed them through the Payments API. Getting them into Ledger was a separate step. A Connectivity connection records the provider's activity directly in Ledger as accounts, transactions, and metadata. You read it through the Ledger API, and Ledger is where balances, filters, and events come from.

Connectivity only reads from providers. It never sends an instruction to a provider, so nothing in Stack v4.0 initiates a transfer or a payout.

Covered in Stack v4.0#

Payments in Stack v3.2In Stack v4.0
Installing a connectorSet up a connection from the Connector Catalog. See Set Up a Connection.
AccountsLedger accounts. Each connector defines how provider accounts map to Ledger addresses. See What Connectivity Models.
PaymentsLedger transactions. A movement becomes balanced postings, and a status change, such as pending to succeeded, is recorded as a lifecycle change. See Three kinds of record.
BalancesLedger builds each balance from postings. Where the provider reports a balance, the connection stores it as account metadata, next to the balance Ledger builds. See Two views of a balance.
Orders and conversionsExchange connectors that cover them record them as Ledger transactions. Check the connector's Coverage tab in the catalog.
Cash poolsLedger aggregation. Give the accounts a common address prefix or metadata key, and read the total from /volumes. See Aggregate volumes with HTTP.
Polling, schedules, and connector recoveryA connection keeps reading new activity and saves its progress only once Ledger accepts the records. See How Connectivity Works.
Events about new activityThe records are Ledger transactions and metadata, so a Ledger event sink delivers them.

Not available in Stack v4.0#

Payments in Stack v3.2Why
Payment initiation: transfers and payouts, and approving, retrying, or reversing themConnectivity only reads from providers.
Creating a bank account at a provider, and forwarding a bank account to a connectorConnectivity only reads from providers.
Payment Service Users and end-user open banking connections, such as Plaid, Powens, and TinkStack v4.0 has no equivalent.
The generic connectorThe Connector Catalog has no generic connector.
A Payments connector whose provider is not in the catalogThe Connector Catalog lists the connectors available to you.

A stack that depends on any of these stays on the Stack v3.2 line.

Plan the move#

  1. List the Payments features each stack uses, and check each one against the two tables above.
  2. For each provider, open its entry in the Connector Catalog and read the Coverage tab against the provider products and payment states you depend on. Connectors are built around their provider, so coverage differs from the Payments connector for the same provider.
  3. Decide where your history in Ledger starts. A connection reads from the provider, not from your Payments data, so what reaches Ledger is what the provider exposes within the connector's coverage.
  4. Move reads to Ledger: filters for lists, aggregation for totals, and event sinks for notifications.

To see a connection record activity, set up a connection with test data.