---
title: "Get Account Details"
method: POST
path: "/pws/pws_get_account/"
tags: ["Account"]
---

# Get Account Details

`POST /pws/pws_get_account/`

<ul>
<li class="docBullet">Allows for retrieval of account details by passing in account id</li>
<li class="docBullet">All fields relating to the account are returned</li></ul>

## Request body

- GetAccountModel
  - `ac_id` integer, required — account Number/Identifier.
  - `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

## Response `200`

Successful Response

- GetAccountDetailResponse — This model gives us the response detail of Get account web services
  - `header` GetAccountDetailHeader
    - `error_id` integer — error id
    - `error_desc` string — error message
  - `body` GetAccountDetailBody
    - `ac_name` string — account name
    - `ac_ext_ref` string — account External Reference
    - `ac_desc` string — account Description
    - `ac_parent` integer — Parent account Id
    - `bill_ccy` string — Billing currency(Three digit ISO-4217 standard currency code . i.e. : 048 → BHD, 060 → BMD, 036 → AUD)
    - `set_ccy` string — Settlement currency(Three digit ISO-4217 standard currency code . i.e. : 048 → BHD, 060 → BMD, 036 → AUD)
    - `cre_dt` string — Created Date
    - `ac_status` integer — <p>The status of the account can be:</p> <ul> <li class="docBullet">0 = Pre-live inactive</li> <li class="docBullet">1 = Live : account is active</li> <li class="docBullet">2 = Payment adjustment</li> <li class="docBullet">3 = Closed</li> <li class="docBullet">4 = Default status</li> <li class="docBullet">5 = Default status - settled</li> <li class="docBullet">6 = Default status - written off</li> <li class="docBullet">7 = Closed debt issue</li> <li class="docBullet">8 = Written off - settled</li> <li class="docBullet">9 = Called back from default (Lawyer)</li> <li class="docBullet">10 = Live but under alert watch (Deprecated)</li><li class="docBullet">11 = Cardholder deceased</li> <li class="docBullet">12 = Current (Blank equivalent)</li> <li class="docBullet">13 = Arrears - active</li> <li class="docBullet">14 = Arrears - blocked</li> <li class="docBullet">30 = Awaiting closure (Deprecated)</li><li class="docBullet">40 = Closed for transactions but still reported (Deprecated)</li><li class="docBullet">50 = Closed, not reported, remaining on system (Deprecated)</li><li class="docBullet">60 = Closed, flagged for removal (Deprecated)</li><li class="docBullet">99 = Suspended</li></ul>
    - `product_id` integer — The product ID to which the account belongs
    - `product_name` string — The product name to which the account belongs
    - `product_type` string — The product type to which the account belongs

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