---
title: "Edit Account"
method: POST
path: "/pws/pws_account_edit/"
tags: ["Account"]
---

# Edit Account

`POST /pws/pws_account_edit/`

<ul><li class="docBullet">Allows the user to edit critical elements of the account.</li><li class="docBullet">Due to historic computation associated with account currencies and relationships to parent accounts, the only editable elements are ac_ext_ref, account_name and ac_desc</li>
</ul>
<p> </p>

## Request body

- EditAccountModel — This web service allows to edit account details.
  - `ac_id` integer, required — The unique Account ID used for updating account details
  - `api_call_unique_identifier` string, required — Unique number that must be passed at each API request. Identifier to make each API request unique
  - `client_id` integer, required — Unique identifier for the client which Paymentology will provide at outset
  - `user_id` string — User Id of the Customer who triggered the API request.
  - `remarks` string — Remarks for API request
  - `account_name` string — account holder name.
  - `ac_desc` string — Description for the account holder.
  - `ac_ext_ref` string — account external reference.
  - `guarantee_amount` number — Guarantee Amount(credit related editable field)
  - `guarantee_id` integer — Guarantee Type Id(credit related editable field)

## Response `200`

Successful Response

- EditAccountResponse — This model contains response when we edit account detail
  - `header` EditAccountHeader
    - `error_id` integer — error id
    - `error_desc` string — error message
  - `body` EditAccountBody

## Other responses

- `404` — Webservices does not exist
- `500` — Internal Server error

---

[API](https://skmtc.net/paymentology/apis/payapi-docs.md) · [All operations](https://skmtc.net/paymentology/apis/payapi-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymentology/payapi-docs/revisions/a675891b0365/schema)
