Fetch Sub-Account Fees

The following endpoint retrieves fees of a single subaccount

get/merchants/subaccount/fee/{id}

Request

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

Path parameters

idstring required

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

Response

200

Example response

{
  "data": {
    "subaccounts": [
      {
        "id": "mer_6VFgScbAcL7612",
        "name": "Demo Sub Mercahnt",
        "is_enabled": true,
        "subaccount_ref_id": "reference_demo_001"
      }
    ],
    "total_count": 2
  }
}

Changes

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