Update Sub-Account Fees

This following endpoint allows master accounts to manage fees for subaccounts

post/merchants/subaccount/fee

Request

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

Request body

idstring required

Unique identifier of the subaccount, which can be taken from the response of Register subaccount API or Fetch Subaccount API

Response

200

messagestring

Example response

{
  "message": "Merchant Fee has been updated successfully",
  "data": {
    "id": "mer_x6EzWyIeVX3831",
    "payment_fees": [
      {
        "payment_method_id": "GOPAY",
        "fixed_fee": "500",
        "percentage_fee": "3"
      }
    ],
    "disbursement_fees": {
      "type": "percentage",
      "fee": "30"
    }
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.