---
title: "Status Account"
method: POST
path: "/connected-deposits/{version}/accounts/{account_guid}/status"
tags: ["Accounts"]
---

# Status Account

`POST /connected-deposits/{version}/accounts/{account_guid}/status`

## Request

- Base URL: `https://agw-ext.huntington.com`
- URL: `https://agw-ext.huntington.com/connected-deposits/{version}/accounts/{account_guid}/status`
- Auth: HTTP bearer

Use this API end point to change the status of an account based on the account guid.

## Path parameters

- `account_guid` string, uuid, required
- `version` string, required

## Request body

- AccountStatusUser
  - `account_status` 'SYSTEM' | 'ACTIVE' | 'FREEZE' | 'CLOSED' | 'OPTOUT', required
  - `reason_code` string, nullable: Refer reason_code master data list to send valid reason code for status change
  - `reason_description` string, nullable: Optional Additional info to be sent by client

## Response `200`

Returns the account details

- AccountDTO
  - `account_guid` string, uuid: Unique identifier of the account on the platform.
  - `wallet_guid` string, uuid: Unique identifier of the wallet on the platform.
  - `account_currency` string, nullable: Currency of account in ISO-3 string format.
  - `account_name` string, nullable: Name of account provided by the API client.
  - `account_type` 'GENERAL' | 'PROGFUND' | 'CHECK' | 'REVENUE' | 'COLLECTION' | 'PRINCIPAL' | 'SECURE' | 'CREDIT' | 'USERDEFINED' | 'ADVANCE' | 'PROG_DISBURSE' | 'EXCEPTION' | 'WRITEOFF' | 'SUSPENSE' | 'OMNI_OFFSET' | 'INTHOLD' | 'OPERATION'
  - `available_balance` number, double
  - `ledger_balance` number, double
  - `suspense_balance` number, double
  - `advance_account_details` AdvanceAccountDetails
    - `account` AdvanceAccount
  - `account_status` 'SYSTEM' | 'ACTIVE' | 'FREEZE' | 'CLOSED' | 'OPTOUT'
  - `last_txn_guid` string, uuid, nullable
  - `post_date` string, date-time, nullable
  - `amount` number, double, nullable
  - `mask_account_number` string, nullable: Last four digits of account number
  - `sys_utcinserted` string, date-time
  - `status_change_nonmon_detail` TxnNonmonDetail

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `404`: Account not found
- `500`: Server Error

---

[API](https://skmtc.dev/huntington/apis/qolo-api-accounts.md) - [All operations](https://skmtc.dev/huntington/apis/qolo-api-accounts/llms.txt) - [OpenAPI document](https://skmtc.dev/huntington/apis/qolo-api-accounts/revisions/03b00db451e5?raw)
