# PIP-0041 · Network categories

The categories of the network register are hybrid, local, bank, rtgs, card, blockchain and internal. Each network states its speed and its reach in fields of their own. Amends PIP-0019.

## Why

[PIP-0019](/pips/0019) gives each network one category. Some of its categories say what a network is (`rtgs`, `card`, `blockchain`); others say how fast or how far it credits (`instant`, `batch`, `cross_border`). A network has both properties at once: SEPA Instant moves money between bank accounts, and credits within seconds. This PIP sets the category by what a network is, and states speed and reach in two fields of their own.

No signed object changes shape.

## Categories

| Category | A network that | Networks of the register |
|---|---|---|
| `hybrid` | Moves no value itself and settles on the rails of other networks | The PATH networks, such as Open Connect |
| `local` | Is a domestic scheme paid from an app by alias, QR code or phone number, or a mobile money network | `pix`, `upi`, `interac`, `pi-spi` |
| `bank` | Moves money between bank accounts by account number, international transfers included | `sepa-inst`, `sepa-ct`, `ach-us`, `fednow`, `rtp-us`, `fps-uk`, `bacs`, `spei`, `imps`, `neft`, `npp`, `fast-sg`, `fps-hk`, `zengin`, `nip`, `gip`, `swift` |
| `rtgs` | Settles each transfer individually, in central bank money | `t2`, `fedwire`, `chaps`, `rtgs-in`, `lynx`, `star-uemoa` |
| `card` | Authorises, clears and settles card payments | `visa`, `mastercard`, `gim-uemoa` |
| `blockchain` | Settles on a distributed ledger | Every blockchain of the register: `ethereum`, `base`, `solana`, `tempo`… |
| `internal` | Is the ledger of one member | `book` |

- A mobile money network is `local`. There is no mobile money category.
- `spei`, `npp`, `fast-sg` and `fps-hk` have an alias directory over account numbers and are `bank`. Their alias is a directory, not the network: it is stated in the network's `directory` and in its endpoint formats.
- A PATH network is `hybrid`, as in [PIP-0019](/pips/0019#path-networks). It is published in the register of PATH networks.

## Speed and reach

| Field | Values | Set on |
|---|---|---|
| `speed` | `instant`: credits the beneficiary within seconds. `batch`: credits after a processing cycle | `local` and `bank` networks. `null` on every other network |
| `reach` | `domestic`: within one country. `regional`: within a group of countries under one scheme, such as SEPA, the euro area or UEMOA. `cross_border`: between countries, through correspondents. `global`: worldwide | Every network but `internal` and `hybrid`, where it is `null` |

- `swift` is `bank`, with `speed: batch` and `reach: cross_border`.
- The SEPA and UEMOA networks and `t2` are `regional`. `gim-uemoa`, the card network of UEMOA, is `regional`.
- `visa`, `mastercard` and every blockchain are `global`.
- A rail carries the `category`, `speed` and `reach` of its network. The rail `blockchain` is `blockchain`, with `speed: null` and `reach: global`. The routed rail `path-flash-1.0` ([PIP-0020](/pips/0020)) is `hybrid`, with `speed` and `reach` `null`.
- The `reach` of a network is not the `reach` of an endpoint format. A link states the reach of one format on one network, and takes `within_member` too ([PIP-0019](/pips/0019#a-format-on-a-network)).

## The networks

| Network | Category | `speed` | `reach` |
|---|---|---|---|
| `pix` | `local` | `instant` | `domestic` |
| `upi` | `local` | `instant` | `domestic` |
| `interac` | `local` | `instant` | `domestic` |
| `pi-spi` | `local` | `instant` | `regional` |
| `sepa-inst` | `bank` | `instant` | `regional` |
| `sepa-ct` | `bank` | `batch` | `regional` |
| `ach-us` | `bank` | `batch` | `domestic` |
| `fednow` | `bank` | `instant` | `domestic` |
| `rtp-us` | `bank` | `instant` | `domestic` |
| `fps-uk` | `bank` | `instant` | `domestic` |
| `bacs` | `bank` | `batch` | `domestic` |
| `spei` | `bank` | `instant` | `domestic` |
| `imps` | `bank` | `instant` | `domestic` |
| `neft` | `bank` | `batch` | `domestic` |
| `npp` | `bank` | `instant` | `domestic` |
| `fast-sg` | `bank` | `instant` | `domestic` |
| `fps-hk` | `bank` | `instant` | `domestic` |
| `zengin` | `bank` | `instant` | `domestic` |
| `nip` | `bank` | `instant` | `domestic` |
| `gip` | `bank` | `instant` | `domestic` |
| `swift` | `bank` | `batch` | `cross_border` |
| `t2` | `rtgs` | `null` | `regional` |
| `fedwire` | `rtgs` | `null` | `domestic` |
| `chaps` | `rtgs` | `null` | `domestic` |
| `rtgs-in` | `rtgs` | `null` | `domestic` |
| `lynx` | `rtgs` | `null` | `domestic` |
| `star-uemoa` | `rtgs` | `null` | `regional` |
| `visa` | `card` | `null` | `global` |
| `mastercard` | `card` | `null` | `global` |
| `gim-uemoa` | `card` | `null` | `regional` |
| Every blockchain | `blockchain` | `null` | `global` |
| `book` | `internal` | `null` | `null` |

## In the registers

```json
{
  "slug": "sepa-inst",
  "name": "SEPA Instant Credit Transfer",
  "category": "bank",
  "speed": "instant",
  "reach": "regional",
  "zone": "SEPA",
  "status": "profiled",
  "rails": ["sepa-inst", "path-flash-1.0"],
  "assets": { "asset_type": "fiat", "listed": [{ "asset_type": "fiat", "asset_code": "EUR" }], "open": false },
  "directory": { "key_types": ["iban"] }
}
```

| Field | Rule |
|---|---|
| `category` | One of the categories above |
| `speed` | `instant` or `batch` on a `local` or `bank` network; `null` otherwise |
| `reach` | `domestic`, `regional`, `cross_border` or `global`; `null` on an `internal` or `hybrid` network |

Every network entry and every rail entry carries the three fields. A PATH network carries `category: "hybrid"`, `speed: null` and `reach: null`.

## Filters

| Parameter | On | Values | Selects |
|---|---|---|---|
| `category` | `GET /registers/networks` | The categories; `instant`, `batch`, `cross_border` | Networks of those categories (below) |
| `speed` | `GET /registers/networks` | `instant`, `batch` | Networks of that speed |
| `reach` | `GET /registers/networks` | `domestic`, `regional`, `cross_border`, `global` | Networks of that reach |
| `category` | `GET /registers/endpoint-formats` | The categories but `hybrid`; `instant`, `batch`, `cross_border` | Links on networks of those categories |
| `speed` | `GET /registers/endpoint-formats` | `instant`, `batch` | Links on networks of that speed |

A value of `category` is read as follows:

| Value | Selects |
|---|---|
| `hybrid`, `local`, `bank`, `rtgs`, `card`, `blockchain`, `internal` | The networks of that category |
| `instant` | The networks of `speed: instant` |
| `batch` | The networks of `speed: batch`, `swift` included |
| `cross_border` | The networks of `reach: cross_border` |

A parameter takes a comma-separated list or is repeated, up to 50 values. Values of one parameter are alternatives; parameters combine. An unknown value answers `400 path.core.malformed_request` with `detail: { parameter, unknown }`. On `GET /registers/endpoint-formats`, `reach` keeps its meaning: the reach of the link.

## The version of the registers

`GET /registers/networks` and `GET /registers/rails` carry `version`, the version of the network and rail registers.

| Member | Rule |
|---|---|
| `version` | `sha256:` and the first 16 hexadecimal digits of the SHA-256 of the JCS form ([RFC 8785](https://www.rfc-editor.org/rfc/rfc8785)) of `{ networks, rails }`. `networks` lists every network of the register as `GET /registers/networks` serves it, PATH networks excluded; `rails` lists every rail as `GET /registers/rails` serves it. Both leave out `endpoint_formats` |

- The two answers carry the same value. It changes when an entry of either register changes.
- The endpoint formats carry the `version` of their own data set ([PIP-0019](/pips/0019#amendment-2026-11-20-data-set)). This PIP leaves that data set unchanged.

## Interface

| Call | Change |
|---|---|
| `GET /registers/networks` | Each entry carries `category`, `speed` and `reach`. Takes `category`, `speed` and `reach`. The answer carries `version` |
| `GET /registers/networks/{slug}` | The entry carries `category`, `speed` and `reach`; with `expand=rails`, so does each rail |
| `GET /registers/rails` | Each rail carries `category`, `speed` and `reach`. The answer carries `version` |
| `GET /registers/endpoint-formats` | `category` takes the categories of this PIP and `instant`, `batch`, `cross_border`. Takes `speed` |

The SDK calls `networks(filter?)` with `{ category?, speed?, reach? }`, and `endpointFormats(filter?)` with `speed`. [Registers](/api-reference/transverse/registers) gives the answers.

## Compatibility

The registers change; capabilities, commitments and signed objects do not. The discovery block of a PATH network keeps `category: "hybrid"`.

| Category of PIP-0019 | Category of this PIP |
|---|---|
| `instant` | `local` or `bank`, by network, with `speed: instant` |
| `batch` | `bank`, with `speed: batch` |
| `cross_border` | `bank`, with `speed: batch` and `reach: cross_border` |
| `rtgs`, `card`, `blockchain`, `internal`, `hybrid` | The same category |

- A network or rail entry answers its category of this PIP. A reader that switches on `category` takes `local` and `bank`, and reads `speed` and `reach` for what `instant`, `batch` and `cross_border` named.
- The `category` filter takes `instant`, `batch` and `cross_border`, and selects the networks of that speed or reach. `category=batch` selects `swift` too, which is `speed: batch`.
- Network and rail entries gain `speed` and `reach`, and the two list answers gain `version`. Every other field keeps its value.

## Implementation

The reference implementation serves the categories, `speed`, `reach` and `version` on the routes above, and takes the filters. Migration `042_network_categories.sql` carries the categories, `speed` and `reach` in the register database, with `public.path_coverage()` answering `speed` and `reach` for each network. The SDK 0.7.0 and the MCP server 0.4.0 take the filters.