create_group

Create a new group. Adds the current user to the group by default.

POST https://secure.splitwise.com/api/v3.0/create_group

Parameters:

  1. name
  2. group_type (optional)
  3. country_code (optional)
  4. a list of group members:
    1. users__ARRAYINDEX__PARAMNAME
    2. params are either: (first_name, last_name, email) or (user_id)

Return value:

  1. Detailed info for the given group
  2. In the event of an error, group hash will include an “errors” attribute, which is an array of errors