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.2 | In Stack v4.0 |
|---|---|
| Installing a connector | Set up a connection from the Connector Catalog. See Set Up a Connection. |
| Accounts | Ledger accounts. Each connector defines how provider accounts map to Ledger addresses. See What Connectivity Models. |
| Payments | Ledger 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. |
| Balances | Ledger 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 conversions | Exchange connectors that cover them record them as Ledger transactions. Check the connector's Coverage tab in the catalog. |
| Cash pools | Ledger 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 recovery | A connection keeps reading new activity and saves its progress only once Ledger accepts the records. See How Connectivity Works. |
| Events about new activity | The records are Ledger transactions and metadata, so a Ledger event sink delivers them. |
Not available in Stack v4.0#
| Payments in Stack v3.2 | Why |
|---|---|
| Payment initiation: transfers and payouts, and approving, retrying, or reversing them | Connectivity only reads from providers. |
| Creating a bank account at a provider, and forwarding a bank account to a connector | Connectivity only reads from providers. |
| Payment Service Users and end-user open banking connections, such as Plaid, Powens, and Tink | Stack v4.0 has no equivalent. |
| The generic connector | The Connector Catalog has no generic connector. |
| A Payments connector whose provider is not in the catalog | The 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#
- List the Payments features each stack uses, and check each one against the two tables above.
- 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.
- 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.
- 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.