MDR Fees Calculation

Changed on

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

get/merchants/mdr_fees

Request

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

Request body

amountstring required

The amount paid by the customer

payment_methodstring

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

Example response

{
  "data": {
    "OVO": {
      "actual_amount": 492500,
      "fees": 7500,
      "total_amount": 500000
    },
    "SHOPEEPAY": {
      "actual_amount": 492500,
      "fees": 7500,
      "total_amount": 500000
    }
  }
}

Changes