> ## Documentation Index
> Fetch the complete documentation index at: https://epayclub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Order fee

> Retrieve the transaction fee for an order payment.

<Warning>
  This endpoint accepts only encrypted requests. Learn more about our encryption [here](/api-basics/encryption).
</Warning>

<ParamField body="data" type="string" placeholder="enter encrypted value" required>
  The encrypted data for this request. See the unencrypted requests [here](/api-reference/api-glossary#query-order-fee).
</ParamField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "data": {
      "fee": 6,
      "amount": 100,
      "subsidiaryFee": 0,
      "customerFee": 6,
      "totalChargedAmount": 106,
      "paymentOption": "C"
    },
    "status": "success",
    "statusCode": "00",
    "message": "Operation successful"
  }
  ```

  ```json 400 theme={null}
  {
      "status": "failed",
      "statusCode": "VAL400",
      "message": "payment option is required!"
  }
  ```
</ResponseExample>
