---
updatedAt: 2026-05-07T13:58:32.000Z
agentTools:
  projectIndex: https://developer.qualpay.com/llms.txt
---

# Statement Fee Data

Gets and filters a paginated list of fees deducted in each statement sent to the merchant. Optional query parameters determine the size and sort order of the returned array.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "APIs",
    "description": "This document describes the Platform and PG API.",
    "contact": {
      "name": "Qualpay"
    },
    "license": {
      "name": "Apache",
      "url": "http://apache.org"
    },
    "version": "2.1.3"
  },
  "servers": [
    {
      "url": "https://api-test.qualpay.com",
      "description": "Sandbox Platform API"
    },
    {
      "url": "https://api.qualpay.com",
      "description": "Production Platform API"
    }
  ],
  "tags": [
    {
      "name": "Reporting",
      "description": "Reporting"
    }
  ],
  "paths": {
    "/platform/reporting/statement-report/fees": {
      "get": {
        "tags": [
          "Reporting"
        ],
        "summary": "Statement Fee Data",
        "description": "Gets and filters a paginated list of fees deducted in each statement sent to the merchant. Optional query parameters determine the size and sort order of the returned array.",
        "operationId": "browseStatementFeeData",
        "parameters": [
          {
            "name": "count",
            "in": "query",
            "description": "The number of records displayed in the result.",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "order_on",
            "in": "query",
            "description": "The field that should be used to sort the results. Refer to the response model for available fields.",
            "schema": {
              "type": "string",
              "default": "tran_time"
            }
          },
          {
            "name": "order_by",
            "in": "query",
            "description": "How the system should use the `order_on` value to sort the result. Specify `asc` (ascending sort order) or `desc` (descending sort order).",
            "schema": {
              "type": "string",
              "default": "desc"
            }
          },
          {
            "name": "page",
            "in": "query",
            "description": "Zero-based page number. When there are more results than the `count` parameter, use this to select the page to display.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "filter",
            "in": "query",
            "description": "Results can be filtered by custom criteria. Refer to <a href=\"/docs/about-our-api#filters\" target=\"_blank\">Filters</a> to use the `filter` parameter.",
            "schema": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "style": "form",
            "explode": true
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StatementFeeResponse"
                }
              }
            }
          },
          "400": {
            "description": "Request Validation Failed",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QPApiResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QPApiResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "basicAuth": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "QPApiData": {
        "type": "object"
      },
      "QPApiResponse": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "<strong>Format: </strong>Fixed length, 1 N<br><strong>Description: </strong>Response code from the API. `0` indicates success. Refer to <a href=\"/docs/api-conventions#platform-api-response-codes\" target=\"_blank\">Platform API Response Codes</a> for the entire list of return codes.",
            "format": "int32",
            "readOnly": true,
            "example": 0
          },
          "message": {
            "type": "string",
            "description": "<strong>Format: </strong>Variable length AN<br><strong>Description: </strong>A short description of the API response code.",
            "readOnly": true,
            "example": "Success"
          },
          "data": {
            "$ref": "#/components/schemas/QPApiData"
          }
        }
      },
      "StatementFeeResponse": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "description": "<strong>Format: </strong>Fixed length, 1 N<br><strong>Description: </strong>Response code from the API. `0` indicates success. Refer to <a href=\"/docs/api-conventions#platform-api-response-codes\" target=\"_blank\">Platform API Response Codes</a> for the entire list of return codes.",
            "format": "int32",
            "readOnly": true,
            "example": 0
          },
          "message": {
            "type": "string",
            "description": "<strong>Format: </strong>Variable length AN<br><strong>Description: </strong>A short description of the API response code.",
            "readOnly": true,
            "example": "Success"
          },
          "totalPages": {
            "type": "integer",
            "description": "<strong>Format: </strong>Variable length N<br><strong>Description: </strong>Total number of pages. ",
            "format": "int32",
            "readOnly": true,
            "example": 10
          },
          "totalRecords": {
            "type": "integer",
            "description": "<strong>Format: </strong>Variable length, up to 3 N<br><strong>Description: </strong>Total number of records up to a maximum of 100.",
            "format": "int32",
            "readOnly": true,
            "example": 100
          },
          "data": {
            "description": "An array of the resource object.",
            "readOnly": true,
            "$ref": "#/components/schemas/StatementFeeData"
          }
        }
      },
      "StatementFeeData": {
        "required": [
          "discount_due"
        ],
        "type": "object",
        "properties": {
          "rec_id_linked": {
            "type": "integer",
            "description": "INTERNAL USE ONLY.",
            "format": "int64",
            "example": 0
          },
          "merchant_id": {
            "type": "integer",
            "description": "<strong>Format: </strong>Variable length, up to 16 N<br><strong>Description: </strong>The unique ID assigned to a merchant.",
            "format": "int64",
            "example": 212000000001
          },
          "billing_month": {
            "type": "string",
            "description": "Billing month of the statement in YYYY-MM-DD format.",
            "example": "2029-03-01"
          },
          "fee_category": {
            "type": "string",
            "description": "The category defining the type of fee.",
            "example": "Interchange"
          },
          "count": {
            "type": "integer",
            "description": "The count of items applicable to the category (`fee_category`).",
            "format": "int64",
            "example": 10
          },
          "amt_fees": {
            "type": "number",
            "description": "The USD amount of items applicable to the category.",
            "format": "double",
            "example": 10.1
          },
          "per_item": {
            "type": "number",
            "description": "The percentage rate applied to the category item.",
            "format": "double",
            "example": 0.1
          },
          "rate": {
            "type": "number",
            "description": "The per item rate applied to the category item.",
            "format": "double"
          },
          "discount_due": {
            "type": "number",
            "description": "The discount due.",
            "format": "double"
          },
          "description": {
            "type": "string",
            "description": "The description of a category item.",
            "example": "VS NON Qualified"
          },
          "fees_paid": {
            "type": "number",
            "description": "Any fees paid during the month.",
            "format": "double",
            "example": 10.1
          },
          "fees_total": {
            "type": "number",
            "description": "The total amount of fees due for the category item.",
            "format": "double",
            "example": 10.1
          }
        }
      }
    },
    "securitySchemes": {
      "basicAuth": {
        "type": "http",
        "scheme": "basic"
      }
    }
  }
}
```