---
title: "Retrieves your platform fees in sorted (by epoch) order"
method: GET
path: "/platform-fees"
tags: ["Platform Fees"]
---

# Retrieves your platform fees in sorted (by epoch) order

`GET /platform-fees`

Retrieves a list of the application fees you've collected. They are returned in sorted (by epoch) order (default is newest first)

## Query parameters

- `ascending` boolean
- `limit` integer — Control how many platform-fees are returned in the result list. The max limit we allow is `50`.

## Response `200`

Successfully retrieved your platform fees

- PlatformFeesResponse
  - `items` PlatformFee[]
    - `id` string — The unique identifier for the platform fee
    - `paymentSessionId` string — The unique payment session that this platform fee relates to
    - `amount` integer — The amount of the fee you collected on top of a payment for a linked account
    - `paymentAmount` integer — The amount of the associated payment
    - `processingFee` integer — This field is now deprecated. Please use the /balance-transactions endpoint to see the fees paid on these transactions. The processing fee that is taken from the original payment. This amount is then deducted from the amount you collect as your fee from the transaction.
    - `refundedAmount` integer — The amount of the platform fee that was refunded
    - `netAmount` integer — This field is now deprecated. Please use the /balance-transactions endpoint to see the net amount for these transactions. The net amount you take once fees have been deducted.
    - `currency` string — The ISO currency code
    - `fromAccountId` string — The account that you collected the fee from
    - `createdTimestamp` integer — The epoch timestamp (seconds) when the payment was created

## Other responses

- `400` — One or more inputs are invalid
- `500` — An unexpected error occurred when executing this request

---

[API](https://skmtc.net/ryftpay/apis/ryft-payment-api.md) · [All operations](https://skmtc.net/ryftpay/apis/ryft-payment-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ryftpay/ryft-payment-api/revisions/a042f64d4305/schema)
