---
title: "Update wallet details for an account"
method: PATCH
path: "/accounts/{account_id}/wallet"
tags: ["Wallet"]
---

# Update wallet details for an account

`PATCH /accounts/{account_id}/wallet`

Update wallet details for an account

## Path parameters

- `account_id` string, required

## Request body

- UpdateWalletRequest — Payload to update wallet of an account
  - `effectiveFrom` string, date-time
  - `status` 'ACTIVE' | 'INACTIVE'

## Response `200`

Response for Credit Balance Request

- WalletBalanceResponse — Wallet Balance response
  - `id` string, required
  - `accountId` string, required
  - `customerId` string, required
  - `balance` number, required — This amount is the difference of total credited amount and sum of consumed, hold amount. ie. credit amount - (consumed amount + hold amount)
  - `creditUnit` string, required
  - `externalId` string
  - `status` 'ACTIVE' | 'INACTIVE', required
  - `holdAmount` number
  - `effectiveFrom` string, date-time, required
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `metadata` object

## Other responses

- `default` — Error response

---

[API](https://skmtc.net/togaihq/apis/togai-apis.md) · [All operations](https://skmtc.net/togaihq/apis/togai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/togaihq/togai-apis/revisions/442f5d8f4aa0/schema)
