---
title: "Update Company Settings Route"
method: PUT
path: "/api/finance/company-settings"
tags: ["finance"]
---

# Update Company Settings Route

`PUT /api/finance/company-settings`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/finance/company-settings`
- Auth: none declared

Finance -> Company settings: save edits to Pigeonly's billing identity
-- company name, the invoice/remittance mailing address, remittance
payee/address/instructions, bank name, ACH routing and account numbers,
the invoice contact email and mailing instructions -- and the
shipping-label return address (its own six fields, `return_*`; never the
invoice address).

GATED ON `finance:write`, the Finance section's existing write key (held
by the Finance role and by Frederick), for everything EXCEPT the bank.

⛔THE BANK IS FREDERICK'S ALONE. Frederick, 2026-09-24: "Nobody can
change bank details except me." A save that touches a bank field needs
`finance:bank:write` as well -- checked in the service
(company_settings.update_company_settings) against the REAL signed-in
person, so viewing as Frederick does not lend his key. Refused with 403
and nothing written. Every bank change that does go through DMs
Frederick (send_bank_change_alarm); the response's `bank_alarm` says
whether it reached him.

Every changed field is audited (company_settings_changes: who, when,
which field, old/new -- bank numbers as last four). A bad routing or
account number refuses the whole save with 422 and writes nothing.

## Request body

- CompanySettingsIn: PUT /api/finance/company-settings body. Every field is optional: only the fields the request actually carries are changed (`exclude_unset`), so the screen sends a bank number ONLY when somebody typed a new one -- the stored one is never round-tripped through the browser to be "unchanged".
  - `company_name` string, nullable
  - `address1` string, nullable
  - `address2` string, nullable
  - `city` string, nullable
  - `state` string, nullable
  - `postal_code` string, nullable
  - `remittance_payee` string, nullable
  - `remittance_address` string, nullable
  - `remittance_instructions` string, nullable
  - `bank_name` string, nullable
  - `ach_routing` string, nullable
  - `ach_account` string, nullable
  - `invoice_contact_email` string, nullable
  - `invoice_mailing_instructions` string, nullable
  - `return_name` string, nullable
  - `return_address1` string, nullable
  - `return_address2` string, nullable
  - `return_city` string, nullable
  - `return_state` string, nullable
  - `return_postal_code` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-28** `930c54e2fc92`: 6 info
  - added the new optional request property `return_address1`
  - added the new optional request property `return_address2`
  - added the new optional request property `return_city`
  - added the new optional request property `return_name`
  - …2 more

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/finance/company-settings/put.md)

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
