---
title: "Update money transfer account by its id"
method: PUT
path: "/money_transfer_accounts/{moneyTransferAccountId}"
tags: ["MoneyTransferAccount"]
---

# Update money transfer account by its id

`PUT /money_transfer_accounts/{moneyTransferAccountId}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/agriya/apis/oliker-api-endpoint/docs/money_transfer_accounts/:moneyTransferAccountId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update money transfer account by its id

## Path parameters

- `moneyTransferAccountId` integer, required

## Query parameters

- `token` string, string, required

## Request body

- AddMoneyTransferAccount
  - `account` string
  - `is_active` integer
  - `is_primary` integer

## Response `200`

Money Transfer Account updated

- MoneyTransferAccount
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `user_id` integer
  - `account` string
  - `is_active` integer
  - `is_primary` integer

## Other responses

- `default`: Unexpected error

---

[API](https://skmtc.dev/agriya/apis/oliker-api-endpoint.md) - [All operations](https://skmtc.dev/agriya/apis/oliker-api-endpoint/llms.txt) - [OpenAPI document](https://skmtc.dev/agriya/apis/oliker-api-endpoint/revisions/d716960b8cd5?raw)
