Interface SubAccounts

All Known Implementing Classes:
SubAccountsImpl

public interface SubAccounts
  • Method Details

    • getSubAccounts

      List<SubAccount> getSubAccounts(long organizationId)
      Get a list of sub accounts for the specified organization. Requires sub account management permissions for the organization.
      Parameters:
      organizationId - unique organization ID
      Returns:
      list of sub accounts
    • createSubAccount

      SubAccount createSubAccount(long organizationId, CreateSubAccountRequest request)
      Create a new sub account under the specified organization. Requires sub account management permissions for the organization.
      Parameters:
      organizationId - unique organization ID
      request - sub account data
      Returns:
      created sub account