---
title: "Update user cash withdrawal by its id"
method: PUT
path: "/users/{userId}/user_cash_withdrawals/{userCashWithdrawalId}"
tags: ["UserCashWithdrawal"]
---

# Update user cash withdrawal by its id

`PUT /users/{userId}/user_cash_withdrawals/{userCashWithdrawalId}`

## Request

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

Update user cash withdrawal by its id

## Path parameters

- `userId` integer, required
- `userCashWithdrawalId` integer, required

## Query parameters

- `token` string, string, required

## Request body

- AddUserCashWithdrawal
  - `money_transfer_account_id` integer
  - `amount` number, float

## Response `200`

User Cash Withdrawal updated

- UserCashWithdrawal
  - `id` integer
  - `created_at` string
  - `updated_at` string
  - `user_id` integer
  - `money_transfer_account_id` integer
  - `withdrawal_status_id` integer
  - `amount` number, float
  - `remark` string

## 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)
