---
title: "Get the Adyen fees report"
method: GET
path: "/shop/reports/adyen-fees"
tags: ["Reports"]
---

# Get the Adyen fees report

`GET /shop/reports/adyen-fees`

Use this endpoint to retrieve a breakdown of the Adyen processing
fees that have been deducted from captured payments over a given
date range. Each row represents one Adyen payment and includes the
component fees (commission, markup, scheme, interchange and
processing) along with the payment metadata.

The endpoint supports content negotiation: send `Accept: text/csv`
(or append `.csv` to the URL where supported) to receive the report
as a CSV download instead of JSON. The CSV variant requires the
`reports.download` permission, whereas the JSON variant requires
`reports.view`.

When `date_from` and `date_to` are omitted, the report defaults to
the current calendar month in the site's timezone.

## Query parameters

- `site_id` string, uuid
- `date_from` string, date
- `date_to` string, date

## Response `200`

The Adyen fees report was successfully retrieved.

- ListAdyenFeesReportResponse
  - `data` AdyenFeesReportRow[], required
    - `id` string, mongo-id, required — The Trybe ID of the underlying `Payment`.
    - `psp_ref` string, nullable, required — The Adyen PSP (payment service provider) reference returned at authorisation. This is the same identifier shown in the Adyen Customer Area and can be used to look the transaction up there.
    - `details_source` string, nullable, required — Indicates how the payment details were captured (for example, `ecom` for a web checkout or `pos` for an in-person terminal).
    - `card_brand` string, nullable, required — The brand of the card used for the payment.
    - `card_country` string, nullable, required — The ISO 3166-1 alpha-2 country code of the card's issuing country.
    - `amount` integer, required — The captured amount of the payment.
    - `commission` integer, required — The commission portion of the Adyen fees, in minor units.
    - `markup_fee` integer, required — The markup portion of the Adyen fees, in minor units.
    - `scheme_fee` integer, required — The scheme fee (e.g. Visa or Mastercard network fee) portion of the Adyen fees, in minor units.
    - `interchange_fee` integer, required — The interchange fee portion of the Adyen fees paid to the issuing bank, in minor units.
    - `processing_fee` integer, required — The processing fee portion of the Adyen fees, in minor units.
    - `total_fees` integer, required — The total Adyen fees deducted from this payment, in minor units. This is the sum of `commission`, `markup_fee`, `scheme_fee`, `interchange_fee` and `processing_fee`.
    - `application_fee` integer, required — The Trybe application fee charged on top of the Adyen fees, in minor units.
    - `currency` string, required — The currency of the payment. See [Supported Currencies](/endpoints/Meta#metaSupportedCurrencies) for the list of supported currency codes.
    - `paid_at` string, date-time, required — The date and time the payment was captured.
    - `site_id` string, uuid, required — The ID of the `Site` the payment was made against.
    - `site_name` string, required — The human-readable name of the `Site`.

## Other responses

- `403` — The authenticated user does not have permission.

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
