# Retrieves your platform fees in sorted (by epoch) order Retrieves a list of the application fees you've collected. They are returned in sorted (by epoch) order (default is newest first) Endpoint: GET /platform-fees Version: 1.1.0 Security: secretApiKeyAuth ## Query parameters: - `ascending` (boolean) Control the order (newest or oldest) in which the platform fees are returned. false will arrange the results with newest first whereas true shows oldest first - `limit` (integer) Control how many platform-fees are returned in the result list. The max limit we allow is 50. Example: 20 ## Response 200 fields (application/json): - `items` (array) - `items.id` (string) The unique identifier for the platform fee Example: "pf_01FCTS1XMKH9FF43CAFA4CXT3P" - `items.paymentSessionId` (string) The unique payment session that this platform fee relates to Example: "ps_01JJPPAZTNN38EMDJ72FASHE7R" - `items.amount` (integer) The amount of the fee you collected on top of a payment for a linked account Example: 40 - `items.paymentAmount` (integer) The amount of the associated payment Example: 450 - `items.currency` (string) The ISO currency code Example: "GBP" - `items.fromAccountId` (string) The account that you collected the fee from Example: "ac_b83f2653-06d7-44a9-a548-5825e8186004" - `items.createdTimestamp` (integer) The epoch timestamp (seconds) when the payment was created Example: 1470989538 - `items.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. Example: 7 - `items.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. Example: 33 ## Response 400 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON" ## Response 500 fields (application/json): - `requestId` (string) Example: "b83f2653-06d7-44a9-a548-5825e8186004" - `code` (string) Example: "400" - `errors` (array) - `errors.message` (string) Example: "Required property 'amount' not found in JSON"