---
title: "Apply Rebate Fee"
method: POST
path: "/pws/pws_apply_rebate_fees/"
tags: ["Fees"]
---

# Apply Rebate Fee

`POST /pws/pws_apply_rebate_fees/`

## Request

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

This API will be deprecated. Use the new API "Apply Miscellaneous Fee" to apply a fee or a fee rebate

## Request body

- ApplyMiscellaneousFeeModel
  - `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
  - `input_id` integer, required: Group Id /token/ account number.</br>Pass group_id when input_type is 'g'.</br>Pass account number when input_type is 'a'.</br>Pass token when input_type is 't'.
  - `input_type` string, required: <p>Input Type :</p> <ul> <li class="docBullet">a ==&gt; Account</li> <li class="docBullet">g ==&gt; Group</li> <li class="docBullet">t ==&gt; Token</li> </ul>
  - `user_id` string: User Id of the Customer who triggered the API request.
  - `remarks` string: Details on the Fee example Location of the fee
  - `fee_amount` number: Amount that is charged as miscellaneous fee
  - `ext_fee_reference_id` string: Fee Reference Id from external system.</br>It is optional when fee_id is provided
  - `fee_id` integer: Fee id which is applied at group/account level.</br>It is optional when ext_fee_reference_id is provided.

## Response `200`

Successful Response

- ApplyMiscellaneousFeeResponseModel
  - `header` ApplyMiscellaneousFeeResponseModelHeader
    - `error_id` integer: error id
    - `error_desc` string: error message
  - `body` ApplyMiscellaneousFeeResponseModelBody
    - `message` string: message indicating miscellaneous fee applied to account/group

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