v1

latestOpenAPI 3.1.02026-07-26500375.1 KB

Fetch Sub-Account

This following endpoint retrieves the details of all created subaccounts

get/merchants/subaccount

Query parameters

skipinteger

The number of subaccount to be skipped. The default value is 0. This can be used for pagination. in combination with count

limitinteger

Number of subaccount to be fetch. This can be used for pagination. in combination with the skip parameter

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