Retrieve Account Group

Gets a specific account group by its unique identifier (UUID).

GET/organizations/account-groups/{account_group_id}

Gets a specific account group by UUID.

Path Parameters

account_group_idstringrequired

Account group UUID.

Response

OK

idstring<uuid>
namestring
merchant_idstring
parent_codestring,null<uuid>

The id of the group this group is nested under. null for a root (top-level) group.

created_atstring<date-time>
updated_atstring<date-time>
Request
curl -X GET "https://api-sandbox.whitelabel.com/v1/organizations/account-groups/<account_group_id>" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>"
Response
{
  "id": "00000000-0000-0000-0000-000000000000",
  "name": "string",
  "merchant_id": "string",
  "parent_code": null,
  "created_at": "1970-01-01T00:00:00.000Z",
  "updated_at": "1970-01-01T00:00:00.000Z"
}