---
title: "Retrieve a platform fee by Id"
method: GET
path: "/platform-fees/{platformFeeId}"
tags: ["Platform Fees"]
---

# Retrieve a platform fee by Id

`GET /platform-fees/{platformFeeId}`

This is used to fetch a platform fee by its platformFeeId

## Path parameters

- `platformFeeId` string, required

## Response `200`

Successfully retrieved the given PlatformFee

- 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

- `404` — The given resource could not be found
- `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)
