Skip to main content
GET
/
organizations
/
{orgId}
/
accounts
/
{id}
/
children
List Account Children
curl --request GET \
  --url https://api.m3ter.com/organizations/{orgId}/accounts/{id}/children \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "version": 123,
      "customFields": {},
      "name": "<string>",
      "code": "<string>",
      "address": {
        "addressLine1": "<string>",
        "addressLine2": "<string>",
        "addressLine3": "<string>",
        "addressLine4": "<string>",
        "locality": "<string>",
        "region": "<string>",
        "postCode": "<string>",
        "country": "<string>"
      },
      "emailAddress": "<string>",
      "parentAccountId": "<string>",
      "billEpoch": "2023-12-25",
      "purchaseOrderNumber": "<string>",
      "currency": "USD",
      "statementDefinitionId": "<string>",
      "dtCreated": "2023-11-07T05:31:56Z",
      "dtLastModified": "2023-11-07T05:31:56Z",
      "createdBy": "<string>",
      "lastModifiedBy": "<string>",
      "autoGenerateStatementMode": "NONE",
      "creditApplicationOrder": [
        "PREPAYMENT"
      ],
      "daysBeforeBillDue": 123
    }
  ],
  "nextToken": "<string>"
}

Authorizations

Authorization
string
header
required

m3ter supports machine to machine authentication using the clientCredentials OAuth2 flow.

The authorizationCode flow controls access for human users via the m3ter Console application.

Path Parameters

orgId
string
required

UUID of the organization. The Organization represents your company as a direct customer of the m3ter service.

id
string
required

The UUID of the Account to list children for.

Query Parameters

pageSize
integer<int32> | null
Required range: 1 <= x <= 200
nextToken
string | null

Response

Returns the list of child Accounts

data
object[]
nextToken
string