---
title: "Get Account Fee Details"
method: POST
path: "/pws/pws_get_account_fee_details/"
tags: ["Fees"]
---

# Get Account Fee Details

`POST /pws/pws_get_account_fee_details/`

## Request

- Base URL: `https://api.uat.paymentology.com/ppws/api`
- URL: `https://api.uat.paymentology.com/ppws/api/pws/pws_get_account_fee_details/`
- Auth: none declared

This web service allows to get fee subjected to the given account

## Request body

- PwsAccountIdModel: View Rewards applied to an account
  - `acc_id` integer, required: account Id
  - `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

- GetAccountFeeDetailsResponse
  - `header` GetAccountFeeDetailsHeader
    - `error_id` integer: error id
    - `error_desc` string: error message
  - `body` GetAccountFeeDetailsBody
    - `acc_id` integer: account Id
    - `cycle_id` integer: account Billing Cycle when transaction was posted
    - `transaction_date` string, date-time: transaction Date
    - `fee_id` integer: Fee Id
    - `applied_to` string: <p>Fee Applied to.</br><ul><li> TXN: transaction</li> <li>BLC: Billing Cycle (Period)</li> <li>ANN: Annually</li> <li>DAY: Daily (Computed during the overnight computational cycle)</li> <li>ONC: Once (non-recurring charge)</li></ul></p>
    - `rid` integer: The RID of the transaction, which initiated the fee (ignored unless applied_to = 'TXN')
    - `charge_amt` number: Charge Amount computed in Billing Currency
    - `charge_source` string: <p> When the charge (fee) was computed related to fee applied_to</br><ul><li>T: transaction initiated fee</li> <li>D: Daily Fee computed during the daily overnight cycle</li> <li>B: Billing Period Fee computed after at end of the billing cycle</li> <li> A: Annual Fee computed during the Annual Routine</li></ul></p>
    - `interest_rate_id` integer: <p>Interest Rate ID for transaction Interest classification; </br>It is determined during the transaction Level Charges Computations.</br>If set to -1, that means the fee is not a subject for an interest</p>
    - `posted_state` string: <p>When transaction is posted (settled or reversed) it contains the actual state:</br> <ul><li>S: Settled</li><li> R: Reversed</li><li> C: Cancelled</li><li> N: Not yet fully processed</li></ul></p>
    - `posted_cycle_id` integer: account Billing Cycle in which the transaction became posted. 0 is kept for 'N' (Not yet fully processed) status
    - `posted_dt` string, date-time: Date when the transaction was fully processed (Settled or Reversed)
    - `set_charge_amt` number: Charge Amount after Setttlement in Billing Currency
    - `unpaid_amt` number: The amount of the fee which is currently remaining unpaid
    - `unpaid_interest_amt` number: The amount of the interest earned by the fee which is currently remaining unpaid
    - `interest_amt_WP` number: Interest Amount computed but can be waived (WP)
    - `previous_unpaid_amt` number: The amount of the transaction, which was unpaid before the last payment applied (we need this for average daily balances)
    - `previous_unpaid_interest_amt` number: The amount of interest earned by the fee, which was unpaid before the last daily interest computation
    - `last_payment_applied_date` string, date-time: The date when the payment was applied last time to the given fee
    - `cre_dt` string, date-time: Date / Time of Fee Computation

## Other responses

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

## Changes

- **2026-11-03** `73c2771493b1`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/paymentology/apis/payapi-docs/changes/pws/pws_get_account_fee_details/post.md)

---

[API](https://skmtc.dev/paymentology/apis/payapi-docs.md) - [All operations](https://skmtc.dev/paymentology/apis/payapi-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/paymentology/apis/payapi-docs/revisions/73c2771493b1?raw)
