---
title: "Change which networks a counterparty rail receives on"
method: PATCH
path: "/counterparties/{id}/rails/{railId}"
tags: ["Counterparties"]
---

# Change which networks a counterparty rail receives on

`PATCH /counterparties/{id}/rails/{railId}`

## Request

- Base URL: `https://api.catena.com/v1`
- URL: `https://api.catena.com/v1/counterparties/{id}/rails/{railId}`
- Auth: HTTP bearer

## Path parameters

- `id` string, required
- `railId` string, required

## Request body

- object
  - `preferredNetwork` 'base' | 'base-sepolia' | 'arc' | 'arc-testnet' | 'solana', nullable
  - `disabledNetworks` string[]

## Response `200`

Rail updated

- object
  - `rail` union, required
    - object
      - `id` string, required
      - `counterpartyId` string, required
      - `createdAt` string, date-time, required
      - `source` 'platform' | 'counterparty', required
      - `type` 'bank', required
      - `bankName` string, required
      - `routingNumber` string, required
      - `accountNumber` string, required
      - `accountType` 'checking' | 'savings'
      - `address` string
      - `addressStreet` string
      - `addressCity` string
      - `addressState` string
      - `addressPostalCode` string
      - `addressCountry` string
      - `providerExternalAccountId` string
    - object
      - `id` string, required
      - `counterpartyId` string, required
      - `createdAt` string, date-time, required
      - `source` 'platform' | 'counterparty', required
      - `type` 'wallet', required
      - `walletAddress` string, required
      - `network` 'base' | 'base-sepolia' | 'arc' | 'arc-testnet' | 'solana', required
      - `preferredNetwork` 'base' | 'base-sepolia' | 'arc' | 'arc-testnet' | 'solana'
      - `disabledNetworks` string[]

## Changes

- **2026-09-29** `75eb76762c83`: 3 warning, 2 info
  - added the new `arc-testnet` enum value to the `rail/oneOf[subschema #2]/disabledNetworks/items/` response property for the response status `200`
  - added the new `arc-testnet` enum value to the `rail/oneOf[subschema #2]/network` response property for the response status `200`
  - added the new `arc-testnet` enum value to the `rail/oneOf[subschema #2]/preferredNetwork` response property for the response status `200`
  - added the new `arc-testnet` enum value to the request property `disabledNetworks/items/`
  - …1 more
- **2026-09-15** `e15a743d22d5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/catena/apis/catena-api/changes/counterparties/:id/rails/:railId/patch.md)

---

[API](https://skmtc.dev/catena/apis/catena-api.md) · [All operations](https://skmtc.dev/catena/apis/catena-api/llms.txt) · [OpenAPI document](https://skmtc.dev/catena/apis/catena-api/revisions/852257e39bf8?raw)
