update_expense

Edit an expense

POST https://secure.splitwise.com/api/v3.0/update_expense/:id

Parameters (Incomplete detailed Expense hash):

  1. optional
    1. group_id
    2. friendship_id
    3. expense_bundle_id (TODO)
    4. description
    5. details
    6. payment
    7. cost
    8. date
    9. category_id
    10. users
      1. user_id
      2. paid_share
      3. owed_share

Return value:

  1. Complete detailed Expense hash (just like create_expense)
  2. In the event of an error, expense hash will include an “errors” attribute, which is an array of errors