Create Account Group
Creates a new account group to organize merchants or business units within an organization
account_codes to attach existing accounts to the group in the same request. A new group is always created as a root; to nest it under another group, set parent_code with Update Account Group.Authorizations
Body
Account group name (min=1, max=255).
Unique identifier used by the merchant in their systems (min=1, max=255).
Optional. ids of existing accounts to attach to the new group in the same transaction. An account belongs to one group at a time, so an account that is already in another group is moved to the new one. If any code does not match an active account of the organization the whole request fails and no group is created. Defaults to an empty list.
Response
Created
The unique identifier of the account group.
The id of the group this group is nested under. Always null on creation: a new group is created as a root and nested afterwards with Update Account Group.