v1

latestOpenAPI 3.1.02026-07-26500375.1 KB

Update Sub-Account Fees

This following endpoint allows master accounts to manage fees for subaccounts

post/merchants/subaccount/fee

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"
    }
  }
}