Fees

Get Product Fee History

Changed on

This web service gets the fees applied to the given product history

post/pws/pws_fee_history_product_get/

Request

  • Base URL
    https://api.uat.paymentology.com/ppws/api
  • URL
    https://api.uat.paymentology.com/ppws/api/pws/pws_fee_history_product_get/
  • Auth
    none declared

Request body

api_call_unique_identifierstring required

Unique number that must be passed at each API request. Identifier to make each API request unique

applied_tostring required
<p>Fee that is applied to.</br>possible options are:</p><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>
client_idinteger required

Unique identifier for the client which Paymentology will provide at outset

fee_idinteger required

Fee Id

prod_idinteger required

product Id

user_idstring

User Id of the Customer who triggered the API request.

remarksstring

Remarks for API request

Example request

{
  "api_call_unique_identifier": "438574845790657485",
  "applied_to": "TXN",
  "client_id": 760131,
  "fee_id": 95,
  "prod_id": 495
}

Response

Successful Response

Example response

{
  "header": {
    "error_desc": "success"
  },
  "body": {
    "charge_rate_fixed": 1,
    "charge_rate_fixed_elevated": 1,
    "charge_rate_fixed_grace": 1,
    "charge_rate_logic": "SUM",
    "charge_rate_logic_elevated": "AVG",
    "charge_rate_logic_grace": "SUM",
    "charge_rate_max_fixed": 1,
    "charge_rate_max_logic": "AVG",
    "charge_rate_max_perc": 1,
    "charge_rate_min_fixed": 1,
    "charge_rate_min_logic": "AVG",
    "charge_rate_min_perc": 1,
    "charge_rate_perc": 1,
    "charge_rate_perc_elevated": 1,
    "charge_rate_perc_grace": 1,
    "fee_descr": "fee applied for transaction",
    "fee_id": 1,
    "prod_id": 111,
    "seq_no": 1,
    "change_event": "U"
  }
}

Changes