---
title: "Update Account Collection Flow"
method: PATCH
path: "/account_collection_flows/{id}"
---

# Update Account Collection Flow

`PATCH /account_collection_flows/{id}`

Update an account collection flow

## Path parameters

- `id` string, required

## Request body

- object
  - `status` string, required — The status of the account collection flow. You may only transition a flow from `pending` to `cancelled`.

## Response `200`

200

- object
  - `id` string
  - `object` string
  - `live_mode` boolean
  - `client_token` string
  - `status` string
  - `payment_types` string[]
  - `counterparty_id` string
  - `external_account_id` unknown
  - `created_at` string
  - `updated_at` string

## Other responses

- `422` — 422

---

[API](https://skmtc.net/modern-treasury/apis/modern-treasury-api.md) · [All operations](https://skmtc.net/modern-treasury/apis/modern-treasury-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modern-treasury/modern-treasury-api/revisions/ed0431a2dcd0/schema)
