---
title: "MDR Fees Calculation"
method: GET
path: "/merchants/mdr_fees"
---

# MDR Fees Calculation

`GET /merchants/mdr_fees`

## Request

- Base URL: `https://api.durianpay.id/v1`
- URL: `https://api.durianpay.id/v1/merchants/mdr_fees`
- Auth: HTTP basic

The following endpoint retrieves the calculated MDR fees for each payment method

## Request body

- object
  - `amount` string, required: The amount paid by the customer
  - `payment_method` string: The payment method by which you want to calculate the MDR fees | If left blank, the response will return calculation of all payment methods. To get a specific payment method fee, you can use any of the value listed: GOPAY, DD_CIMB, QRIS, SHOPEEPAY, OTHERS, INDOMARET, BRI, ALFAMART, JENIUSPAY, BCA, DD_BRI, CARD, BNI, OVO, DANA, MANDIRI, PERMATA, LINKAJA, DANAMON, CIMB, SYARIAH

## Response `200`

200

- object
  - `data` object
    - `OVO` object
      - `actual_amount` integer
      - `fees` integer
      - `total_amount` integer
    - `SHOPEEPAY` object
      - `actual_amount` integer
      - `fees` integer
      - `total_amount` integer

## Other responses

- `401`: 401

## Changes

- **2026-11-03** `f8a81a955e0f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/durianpay/apis/durianpay-api/changes/merchants/mdr_fees/get.md)

---

[API](https://skmtc.dev/durianpay/apis/durianpay-api.md) - [All operations](https://skmtc.dev/durianpay/apis/durianpay-api/llms.txt) - [OpenAPI document](https://skmtc.dev/durianpay/apis/durianpay-api/revisions/f8a81a955e0f?raw)
