| id required | integer User ID of the friend
@@ -2505,7 +2505,7 @@
Request Body schema: application/json| friends__{index}__{property}* | |
Responseshttps://secure.splitwise.com/api/v3.0/create_friends Request samples Content typeapplication/json {"friends__0__first_name": "Alan", "friends__0__last_name": "Turing", "friends__0__email": "alan@example.org", "friends__1__email": "existing_user@example.com" } Response samples Content typeapplication/json {"users": [{"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" }, "groups": [{"group_id": 571, "balance": [{"currency_code": "USD", "amount": "414.5" } ] } ], "balance": [{"currency_code": "USD", "amount": "414.5" } ], "updated_at": "2019-08-24T14:15:22Z" } ], "errors": [ ] }Delete friendship Given a friend ID, break off the friendship between the current user and the specified user.
+ https://secure.splitwise.com/api/v3.0/create_friends Request samples Content typeapplication/json {"friends__0__first_name": "Alan", "friends__0__last_name": "Turing", "friends__0__email": "alan@example.org", "friends__1__email": "existing_user@example.com" } Response samples Content typeapplication/json {"users": [{"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" }, "groups": [{"group_id": 571, "balance": [{"currency_code": "USD", "amount": "414.5" } ] } ], "balance": [{"currency_code": "USD", "amount": "414.5" } ], "updated_at": "2019-08-24T14:15:22Z" } ], }Delete friendship Given a friend ID, break off the friendship between the current user and the specified user.
Note: 200 OK does not indicate a successful response. You must check the success value of the response.
Responseshttps://secure.splitwise.com/api/v3.0/get_expense/{id} Response samples Content typeapplication/json {"expense": {"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": null } ] } }List the current user's expenses query Parameters| group_id | integer If provided, only expenses in that group will be returned, and friend_id will be ignored.
+ https://secure.splitwise.com/api/v3.0/get_expense/{id} Response samples Content typeapplication/json {"expense": {"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", } } ] } }List the current user's expenses query Parameters| group_id | integer If provided, only expenses in that group will be returned, and friend_id will be ignored.
| | friend_id | integer ID of another user. If provided, only expenses between the current and provided user will be returned.
| | dated_after | | | dated_before | | | updated_after | | | updated_before | | | limit | | | offset | |
Responseshttps://secure.splitwise.com/api/v3.0/get_expenses Response samples Content typeapplication/json {"expenses": [{"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": null } ] } ] }Create an expense Creates an expense. You may either split an expense equally (only with group_id provided),
+ https://secure.splitwise.com/api/v3.0/get_expenses Response samples Content typeapplication/json {"expenses": [{"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", } } ] } ] }Create an expense Creates an expense. You may either split an expense equally (only with group_id provided),
or supply a list of shares.
When splitting equally, the authenticated user is assumed to be the payer.
When providing a list of shares, each share must include paid_share and owed_share, and must be identified by one of the following:
@@ -2541,11 +2541,12 @@
| | split_equally required | |
Responseshttps://secure.splitwise.com/api/v3.0/create_expense Request samples Content typeapplication/json Exampleequal_group_split by_shares {"cost": "25", "description": "Grocery run", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "group_id": 0, "split_equally": true } Response samples Content typeapplication/json {"expenses": [{"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": null } ] } ], "errors": { } }Update an expense Updates an expense. Parameters are the same as in create_expense, but you only need to include parameters
+ https://secure.splitwise.com/api/v3.0/create_expense Request samples Content typeapplication/json Exampleequal_group_split by_shares {"cost": "25", "description": "Grocery run", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "group_id": 0, "split_equally": true } Response samples Content typeapplication/json {"expenses": [{"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", } } ] } ], "errors": { } }Update an expense Updates an expense. Parameters are the same as in create_expense, but you only need to include parameters
that are changing from the previous values. If any values is supplied for users__{index}__{property}, all
shares for the expense will be overwritten with the provided values.
Note: 200 OK does not indicate a successful response. The operation was successful only if errors is empty.
- Request Body schema: application/json| cost required | string A string representation of a decimal value, limited to 2 decimal places
+ path Parameters| id required | integer ID of the expense to update
+ |
Request Body schema: application/json| cost required | string A string representation of a decimal value, limited to 2 decimal places
| | description required | string A short description of the expense
| | details | | | date | string <date-time> The date and time the expense took place. May differ from created_at
@@ -2559,26 +2560,30 @@
| | users__{index}__{property}* | |
Responseshttps://secure.splitwise.com/api/v3.0/update_expense/{id} Request samples Content typeapplication/json {"cost": "25", "description": "Grocery run", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "group_id": 0, "users__0__user_id": 54123, "users__0__paid_share": "25", "users__0__owed_share": "13.55", "users__1__first_name": "Neu", "users__1__last_name": "Yewzer", "users__1__email": "neuyewxyz@example.com", "users__1__paid_share": "0", "users__1__owed_share": "11.45", "users__{index}__{property}1": "string", "users__{index}__{property}2": "string" } Response samples Content typeapplication/json {"expenses": [{"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": null } ] } ], "errors": { } }Delete an expense Note: 200 OK does not indicate a successful response. The operation was successful only if success is true.
- Responseshttps://secure.splitwise.com/api/v3.0/update_expense/{id} Request samples Content typeapplication/json {"cost": "25", "description": "Grocery run", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "group_id": 0, "users__0__user_id": 54123, "users__0__paid_share": "25", "users__0__owed_share": "13.55", "users__1__first_name": "Neu", "users__1__last_name": "Yewzer", "users__1__email": "neuyewxyz@example.com", "users__1__paid_share": "0", "users__1__owed_share": "11.45", "users__{index}__{property}1": "string", "users__{index}__{property}2": "string" } Response samples Content typeapplication/json {"expenses": [{"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", } } ] } ], "errors": { } }Delete an expense Note: 200 OK does not indicate a successful response. The operation was successful only if success is true.
+ path Parameters| id required | integer ID of the expense to delete
+ |
Responseshttps://secure.splitwise.com/api/v3.0/delete_expense/{id} Response samples Content typeapplication/json Restore an expense Note: 200 OK does not indicate a successful response. The operation was successful only if success is true.
- Responsespath Parameters| id required | integer ID of the expense to restore
+ |
Responseshttps://secure.splitwise.com/api/v3.0/undelete_expense/{id} Response samples Content typeapplication/json Get notifications Return a list of recent activity on the users account with the most recent items first.
+ https://secure.splitwise.com/api/v3.0/delete_comment/{id} Response samples Content typeapplication/json {"comment": {"id": 79800950, "content": "Does this include the delivery fee?", "comment_type": "User", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", } } }Get notifications Return a list of recent activity on the users account with the most recent items first.
content will be suitable for display in HTML and uses only the <strong>, <strike>, <small>,
<br> and <font color="#FFEE44"> tags.
The type value indicates what the notification is about. Notification types may be added in the future
@@ -2676,9 +2681,9 @@
Request Body schema: application/json One of | input required | string A natural language sentence describing an expense.
| | autosave | boolean Default: false If true, the resulting expense will be saved if valid.
|
https://secure.splitwise.com/api/v3.0/parse_sentence Request samples Content typeapplication/json ExampleFreeform With friend With group Response samples Content typeapplication/json {"expense": {"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": null } ] }, "valid": true, "confidence": 0.5, "error": "string" }
+https://secure.splitwise.com/api/v3.0/parse_sentence Request samples Content typeapplication/json ExampleFreeform With friend With group Response samples Content typeapplication/json {"expense": {"cost": "25.0", "description": "Brunch", "details": "string", "date": "2012-05-02T13:00:00Z", "repeat_interval": "never", "currency_code": "USD", "category_id": 15, "id": 51023, "group_id": 391, "friendship_id": 4818, "expense_bundle_id": 491030, "repeats": true, "email_reminder": true, "email_reminder_in_advance": null, "next_repeat": "string", "comments_count": 0, "payment": true, "transaction_confirmed": true, "repayments": [{"from": 6788709, "to": 270896089, "amount": "25.0" } ], "created_at": "2012-07-27T06:17:09Z", "created_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "updated_at": "2012-12-23T05:47:02Z", "updated_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "deleted_at": "2012-12-23T05:47:02Z", "deleted_by": {"id": 0, "first_name": "Ada", "last_name": "Lovelace", "email": "ada@example.com", "registration_status": "confirmed", "picture": {"small": "string", "medium": "string", "large": "string" } }, "category": {"id": 5, "name": "Electricity" }, "users": [{"user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", }, "user_id": 491923, "paid_share": "8.99", "owed_share": "4.5", "net_balance": "4.49" } ], "comments": [{"id": 79800950, "content": "John D. updated this transaction: - The cost changed from $6.99 to $8.99", "comment_type": "System", "relation_type": "ExpenseComment", "relation_id": 855870953, "created_at": "2019-08-24T14:15:22Z", "deleted_at": "2019-08-24T14:15:22Z", "user": {"id": 491923, "first_name": "Jane", "last_name": "Doe", } } ] }, "valid": true, "confidence": 0.5, "error": "string" }
|
|