Introduction
+Hey there! We're glad you're interested in the Splitwise API. This documentation will help you to fetch information on users, expenses, groups, and much more.
+ +If something in the API is confusing you, you can open an issue about it on GitHub. We're a small team, so we may not have an instant fix, but we'll get back to you as soon as we're able. (If you spot an issue in our API documentation itself, feel free to open a pull request to update this website!)
+Third-party SDKs
+The development community has built a number of unofficial, third-party SDKs for Splitwise in a variety of different languages.
+ +-
+
- Javascript + + +
- Ruby + + +
- Python + + +
- Elixir + + +
- Java + + +
- Dart + + +
If you've built a third-party SDK for Splitwise and you'd like to see it included in this list, then please open a pull request to update this section and add a new link. Thank you for your work!
+ + +Authentication
###################
+# OAuth 2 example #
+###################
+
+#!/usr/bin/env ruby
+require 'oauth2' # gem 'oauth2'
+require 'pp'
+
+CONSUMER_KEY = <fill in your key>
+CONSUMER_SECRET = <fill in your secret>
+TOKEN_URL = 'https://secure.splitwise.com/oauth/token'
+AUTHORIZE_URL = 'https://secure.splitwise.com/oauth/authorize'
+MY_CALLBACK_URL = 'http://localhost:8080/callback' # Make sure to set the redirect URL that you registered with Splitwise when creating your app so that it matches this URL
+BASE_SITE = 'https://secure.splitwise.com/'
+
+client = OAuth2::Client.new(CONSUMER_KEY, CONSUMER_SECRET, site: BASE_SITE)
+authorize_url = client.auth_code.authorize_url(redirect_uri: MY_CALLBACK_URL)
+# => "https://www.splitwise.com/oauth/authorize?response_type=code&client_id=#{CONSUMER_KEY}&redirect_uri=#{MY_CALLBACK_URL}
+
+require 'webrick'
+require 'cgi'
+
+server = WEBrick::HTTPServer.new(
+ Port: 8080,
+ StartCallback: proc { puts "Opening 'localhost:8080'"; `open 'http://localhost:8080/'` })
+
+server.mount_proc "/" do |req, res|
+ res.body = "<a href=\"#{authorize_url}\"> Get Code </a>"
+end
+
+server.mount_proc "/callback" do |req, res|
+ authorization_code = CGI.parse(req.query_string)['code']
+ access_token = client.auth_code.get_token(
+ authorization_code,
+ redirect_uri: MY_CALLBACK_URL
+ )
+
+ # This is your actual bearer token! Your bearer token will be printed out to the console.
+ # You can then use that bearer token to make additional API requests to Splitwise. For example:
+ # curl -XGET "http://secure.splitwise.com/api/v3.0/get_current_user" -H "Authorization: Bearer YOUR_TOKEN"
+ puts "***"
+ puts "Here is your OAuth Bearer token!"
+ pp access_token.to_hash
+ puts "***"
+
+ response = access_token.get('/api/v3.0/get_current_user')
+ res.body = response.body
+end
+
+# Triggered by ^C on os x; run `$ stty -a |grep intr` to find appropriate key combination
+trap('INT') { server.stop }
+server.start
+
+
+###################
+# OAuth 1 example #
+###################
+
+#!/usr/bin/env ruby
+require 'oauth' # gem oauth
+
+CONSUMER_KEY = <fill in your key>
+CONSUMER_SECRET = <fill in your secret>
+REQUEST_TOKEN_URL ='https://secure.splitwise.com/oauth/request_token'
+ACCESS_TOKEN_URL = 'https://secure.splitwise.com/oauth/access_token'
+AUTHORIZE_URL = 'https://secure.splitwise.com/oauth/authorize'
+MY_CALLBACK_URL = 'http://localhost:8080/callback'
+
+consumer = OAuth::Consumer.new(CONSUMER_KEY, CONSUMER_SECRET, site: 'https://www.splitwise.com')
+request_token = consumer.get_request_token(oauth_callback: MY_CALLBACK_URL)
+# => "https://www.splitwise.com/oauth/authorize?oauth_token="#{request_token}"
+
+require 'webrick'
+require 'cgi'
+server = WEBrick::HTTPServer.new(
+ Port: 8080,
+ StartCallback: proc { puts "Opening 'localhost:8080'"; `open 'http://localhost:8080/'` })
+
+server.mount_proc "/" do |req, res|
+ res.body = "<a href=\"#{request_token.authorize_url}\"> Get Code </a>"
+end
+
+server.mount_proc "/callback" do |req, res|
+ oauth_verifier = CGI.parse(req.query_string)['oauth_verifier'].first
+ access_token = request_token.get_access_token(oauth_verifier: oauth_verifier)
+ access_token.params.each do |k, v|
+ puts " #{k}: #{v}" unless k.is_a?(Symbol)
+ end
+ response = access_token.request(:get, '/api/v3.0/get_current_user')
+ res.body = response.body
+end
+
+# Triggered by ^C on os x; run `$ stty -a |grep intr` to find appropriate key combination
+trap('INT') { server.stop }
+server.start
+###################
+# OAuth 2 example #
+###################
+
+#!/usr/bin/env node
+'use strict';
+
+const OAuth = require('oauth');
+const {exec} = require('child_process');
+const qs = require('querystring');
+const http = require('http');
+
+const CONSUMER_KEY = <fill in your key>;
+const CONSUMER_SECRET = <fill in your secret>;
+const TOKEN_URL = '/oauth/token';
+const AUTHORIZE_URL = '/oauth/authorize';
+const MY_CALLBACK_URL = 'http://localhost:8080/callback';
+const BASE_SITE = 'https://www.splitwise.com';
+
+var authURL;
+const client = new OAuth.OAuth2(
+ CONSUMER_KEY,
+ CONSUMER_SECRET,
+ BASE_SITE,
+ AUTHORIZE_URL,
+ TOKEN_URL,
+ null);
+
+const server = http.createServer(function(req, res) {
+ console.log(req.url);
+ var p = req.url.split('/');
+ console.log(p);
+
+ var pLen = p.length;
+
+ authURL = client.getAuthorizeUrl({
+ redirect_uri: MY_CALLBACK_URL,
+ response_type: 'code'
+ });
+
+ /**
+ * Creating an anchor with authURL as href and sending as response
+ */
+ var body = '<a href="' + authURL + '"> Get Code </a>';
+ if (pLen === 2 && p[1] === '') {
+ res.writeHead(200, {
+ 'Content-Length': body.length,
+ 'Content-Type': 'text/html'
+ });
+ res.end(body);
+ } else if (pLen === 2 && p[1].indexOf('callback') === 0) {
+ /** To obtain and parse code='...' from code?code='...' */
+ var qsObj = qs.parse(p[1].split('?')[1]);
+ console.log(qsObj.code);
+ /** Obtaining access_token */
+ client.getOAuthAccessToken(
+ qsObj.code,
+ {
+ 'redirect_uri': MY_CALLBACK_URL,
+ 'grant_type': 'authorization_code'
+ },
+ function(e, access_token, refresh_token, results) {
+ if (e) {
+ console.log(e);
+ res.end(JSON.stringify(e));
+ } else if (results.error) {
+ console.log(results);
+ res.end(JSON.stringify(results));
+ }
+ else {
+ console.log('Obtained access_token: ', access_token);
+ client.get('https://secure.splitwise.com/api/v3.0/get_current_user', access_token, function(e, data, response) {
+ if (e) console.error(e);
+ res.end(data);
+ });
+ }
+ });
+
+ } else {
+ // Unhandled url
+ }
+});
+server.listen({port: 8080}, serverReady);
+
+function serverReady() {
+ console.log(`Server on port ${server.address().port} is now up`);
+ exec(`open http://localhost:8080/`, (err, stdout, stderr) => {
+ if (err) {
+ // node couldn't execute the command
+ return;
+ }
+
+ // the *entire* stdout and stderr (buffered)
+ console.log(`stdout: ${stdout}`);
+ console.log(`stderr: ${stderr}`);
+ });
+}
+
+module.exports = client;
+Splitwise uses OAuth for authentication. To connect via OAuth, you'll need to register your app on Splitwise. When you register, you'll be given a consumer key and a consumer secret, which can be used by your application to make requests to the Splitwise server.
+ + + +For more information on using OAuth, check out the following resources:
+ +-
+
- The OAuth community getting started guide +
- The term.ie OAuth test server (great for debugging authorization issues) +
- This old Splitwise blog post about OAuth +
API keys
GET /api/v3.0/get_current_user HTTP/1.1
+Host: www.splitwise.com
+Authorization: Bearer <your_token_here>
+For speed and ease of prototyping, you can generate a personal API key on your app's details page. You should present this key to the server via the Authorization header as a Bearer token. The API key is an access token for your personal account, so keep it as safe as you would a password.
If your key becomes compromised or you want to invalidate your existing key for any other reason, you can do so on the app details page by generating a new key.
+An important note about nested parameters
+Due to a quirk in Splitwise's servers, nested parameters (e.g. users[1][first_name]) cannot currently be used when submitting a request. Instead, to indicate nested parameters, use double underscores (e.g. users__1__first_name). We hope to support proper nested parameters in future API versions.
Users
+ +get_current_user
+++Example Response:
+
{
+ "user": {
+ "id": 1,
+ "first_name": "Ada",
+ "last_name": "Lovelace",
+ "picture": {
+ "small": "image_url",
+ "medium": "image_url",
+ "large": "image_url"
+ },
+ "email": "ada@example.com",
+ "registration_status": "confirmed", //'dummy', 'invited', or 'confirmed'
+ "default_currency": "USD",
+ "locale": "en",
+ "notifications_read": "2017-06-02T20:21:57Z", // the last time notifications were marked as read
+ "notifications_count": 12, // the number of unread notifications
+ "notifications": { // notification preferences
+ "added_as_friend": true,
+ // ...
+ }
+ }
+}
+GET https://www.splitwise.com/api/v3.0/get_current_user
Retrieve info about the user who is currently logged in.
+get_user/:id
+++Example Response:
+
{
+ "user": {
+ "id": 1,
+ "first_name": "Ada",
+ "last_name": "Lovelace",
+ "picture": {
+ "small": "image_url",
+ "medium": "image_url",
+ "large": "image_url"
+ },
+ "email": "ada@example.com",
+ "registration_status": "confirmed" //'dummy', 'invited', or 'confirmed'
+ }
+ }
+}
+GET https://www.splitwise.com/api/v3.0/get_user/:id
Retrieve info about another user that the current user is acquainted with (e.g. they are friends, or they both belong to the same group).
+update_user/:id
+POST https://www.splitwise.com/api/v3.0/update_user/:id
Update a specific user. A user can edit anything about their own account, and may edit the first_name, last_name, and email for any acquaintances who have not logged in yet.
Query Parameters
+| Parameter | +Type | +Description | +
|---|---|---|
| first_name | +String | +User's first name | +
| last_name | +String | +User's last name | +
| String | +User's email address | +|
| password | +String | +User's password | +
| locale | +String | +User's locale (ISO 639-1) | +
| date_format | +String | +Preferred Date Format (e.g. MM/DD/YYYY or | +
| default_currency | +String | +User's default currency (ISO 4217) | +
| default_group_id | +String | +Default Group ID (set -1 for none) | +
| notification_settings | +Object { notification_type: bool, ... } |
+Set notification types on or off: added_as_friend, added_to_group, expense_added, expense_updated, bills, payments, monthly_summary, announcements,} | +
Groups
+A Group represents a collection of users who share expenses together. For example, some users use a Group to aggregate expenses related to an apartment. Others use it to represent a trip. Expenses assigned to a group are split among the users of that group. Importantly, two users in a Group can also have expenses with one another outside of the Group.
+get_groups
+++Example Response:
+
{
+ "groups":[
+ // Non-group expenses are listed in a group with id 0
+ {
+ "id":0,
+ "name":"Non-group expenses",
+ "updated_at": "2017-08-30T20:31:51Z", //<current time in UTC>
+ "members":[
+ {
+ "id": 1,
+ "first_name": "Ada",
+ "last_name": "Lovelace",
+ "picture": {
+ "small": "image_url",
+ "medium": "image_url",
+ "large": "image_url"
+ },
+ "email": "ada@example.com",
+ "registration_status": "confirmed", //'dummy', 'invited', or 'confirmed'
+ "balance":[
+ {
+ "currency_code":"AED",
+ "amount":"0.0"
+ },
+ {
+ "currency_code":"ALL",
+ "amount":"0.0"
+ },
+ {
+ "currency_code":"EUR",
+ "amount":"-5.0"
+ },
+ {
+ "currency_code":"USD",
+ "amount":"3730.5"
+ } //, ...
+ ]
+ } // , ...
+ ],
+ "simplify_by_default":false,
+ "original_debts":[
+ {
+ "from": 12345, // user_id
+ "to": 54321, // user_id
+ "amount":"414.5", // amount as a decimal string
+ "currency_code":"USD" // three-letter currency code
+ } // , ...
+ ]
+ },
+ {
+ "id":3018312,
+ "name":"a test group",
+ "updated_at":"2017-08-30T20:31:51Z",
+ "members":[ /* <User object> , <User object>, ... */ ],
+ "simplify_by_default":false,
+ "original_debts":[
+ {
+ "from": 12345, // user_id
+ "to": 54321, // user_id
+ "amount":"414.5", // amount as a decimal string
+ "currency_code":"USD" // three-letter currency code
+ } // , ...
+ ],
+ "simplified_debts":[
+ {
+ "from": 12345, // user_id
+ "to": 54321, // user_id
+ "amount":"414.5", // amount as a decimal string
+ "currency_code":"USD" // three-letter currency code
+ } // , ...
+ ],
+ "whiteboard":"a message!",
+ "group_type":"apartment",
+ "invite_link":"https://www.splitwise.com/join/abcdef1232456"
+ } // , ...
+}
+GET https://www.splitwise.com/api/v3.0/get_groups
Returns list of all groups that the current_user belongs to
+get_group/:id
+++Example Response:
+
{
+ "group":
+ {
+ "id":3018312,
+ "name":"a test group",
+ "updated_at":"2017-08-30T20:31:51Z",
+ "members":[ /* <User object> , <User object>, ... */ ],
+ "simplify_by_default":false,
+ "original_debts":[
+ {
+ "from": 12345, // user_id
+ "to": 54321, // user_id
+ "amount":"414.5", // amount as a decimal string
+ "currency_code":"USD" // three-letter currency code
+ } // , ...
+ ],
+ "simplified_debts":[
+ {
+ "from": 12345, // user_id
+ "to": 54321, // user_id
+ "amount":"414.5", // amount as a decimal string
+ "currency_code":"USD" // three-letter currency code
+ } // , ...
+ ],
+ "whiteboard":"a message!",
+ "group_type":"apartment",
+ "invite_link":"https://www.splitwise.com/join/abcdef1232456"
+ }
+}
+GET https://www.splitwise.com/api/v3.0/get_group/:id
Returns information about the specified group (as long as the current user has access)
+create_group
+++Example Response:
+
{
+ "group":
+ {
+ "id":3018312,
+ "name":"a test group",
+ "updated_at":"2017-08-30T20:31:51Z",
+ "members":[ /* <User object> , <User object>, ... */ ],
+ "simplify_by_default":false,
+ "original_debts":[],
+ "simplified_debts":[],
+ "whiteboard":"a message!",
+ "group_type":"apartment",
+ "invite_link":"https://www.splitwise.com/join/abcdef1232456",
+ // or if create failed
+ "errors": ["something went wrong", "with your group"]
+ }
+}
+POST https://secure.splitwise.com/api/v3.0/create_group
Create a new group. Adds the current user to the group by default.
+Query Parameters
+ + + + +| Parameter | +Type | +Description | +
|---|---|---|
| name | +String | +Group name | +
| whiteboard | +String | +Text to display on the group whiteboard | +
| group_type | +String | +What the group is being used for. Must be one of: apartment, house, trip, other. |
+
| simplify_by_default | +Boolean | +Turn on simplify debts? | +
| users__0__first_name | +String | +Add a user's first name | +
| users__0__last_name | +String | +Add a user's last name | +
| users__0__email | +String | +Add a user's email | +
| users__1__user_id | +Integer | +Add an existing user by id | +
delete_group/:id
+++Example Response:
+
{
+ "success": true, // or false
+ "errors": ["any errors"]
+}
+POST https://secure.splitwise.com/api/v3.0/delete_group/:id
Delete an existing group. Destroys all associated records (expenses, etc.)
+undelete_group/:id
+++Example Response:
+
{
+ "success": true, //or false
+ "errors": ["any errors"]
+}
+POST https://secure.splitwise.com/api/v3.0/undelete_group/:id
add_user_to_group
+++Example Response:
+
{
+ "success": true, //or false
+ "errors": ["any errors"]
+}
+POST https://secure.splitwise.com/api/v3.0/add_user_to_group
Add a user to a group
+Query Parameters
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| group_id | +Integer | +Existing group to add the user to | +
| first_name | +String | +Add a user's first name | +
| last_name | +String | +Add a user's last name | +
| String | +Add a user's email | +|
| user_id | +Integer | +Add an existing user by id | +
remove_user_from_group
+++Example Response:
+
{
+ "success": true, //or false
+ "errors": ["any errors"]
+}
+POST https://secure.splitwise.com/api/v3.0/remove_user_from_group
Remove a user from a group if their balance is 0
+Query Parameters
+| Parameter | +Type | +Description | +
|---|---|---|
| group_id | +Integer | +Group to remove the user from | +
| user_id | +Integer | +Id of user to remove | +
Friends
+Friends of a user are other users with whom the user splits expenses. To split expenses with one another, users must be friends. Users in a group together are automatically made friends. Many of the calls containing the word “friend” return objects representing friends of the current user. In addition to containing the user data, these objects contain information about the current user's balance with each friend.
+get_friends
+++Example Response:
+
{
+ "friends":[
+ {
+ "id": 1,
+ "first_name": "Ada",
+ "last_name": "Lovelace",
+ "picture": {
+ "small": "image_url",
+ "medium": "image_url",
+ "large": "image_url"
+ },
+ "balance":[
+ {
+ "currency_code":"USD",
+ "amount":"-1794.5"
+ },
+ {
+ "currency_code":"AED",
+ "amount":"7.5"
+ }
+ ],
+ "groups":[ // group objects only include group balances with that friend
+ {
+ "group_id":3018312,
+ "balance":[
+ {
+ "currency_code":"USD",
+ "amount":"414.5"
+ }
+ ]
+ },
+ {
+ "group_id":2830896,
+ "balance":[
+ ]
+ },
+ {
+ "group_id":0,
+ "balance":[
+ {
+ "currency_code":"USD",
+ "amount":"-2209.0"
+ },
+ {
+ "currency_code":"AED",
+ "amount":"7.5"
+ }
+ ]
+ }
+ ],
+ "updated_at":"2017-11-30T09:41:09Z"
+ } // , ...
+ ]
+}
+GET https://www.splitwise.com/api/v3.0/get_friends
Returns a list of the current user's friends.
+get_friend/:id
+++Example Response:
+
{
+ "friend":
+ {
+ "id": 1,
+ "first_name": "Ada",
+ "last_name": "Lovelace",
+ "picture": {
+ "small": "image_url",
+ "medium": "image_url",
+ "large": "image_url"
+ },
+ "registration_status": "confirmed", // or 'dummy' or 'invited'
+ "balance":[
+ {
+ "currency_code":"USD",
+ "amount":"-1794.5"
+ },
+ {
+ "currency_code":"AED",
+ "amount":"7.5"
+ }
+ ],
+ "groups":[
+ {
+ "group_id":3018312,
+ "balance":[
+ {
+ "currency_code":"USD",
+ "amount":"414.5"
+ }
+ ]
+ },
+ {
+ "group_id":2830896,
+ "balance":[
+ ]
+ },
+ {
+ "group_id":0,
+ "balance":[
+ {
+ "currency_code":"USD",
+ "amount":"-2209.0"
+ },
+ {
+ "currency_code":"AED",
+ "amount":"7.5"
+ }
+ ]
+ }
+ ],
+ "updated_at":"2017-11-30T09:41:09Z"
+ }
+ }
+}
+GET https://secure.splitwise.com/api/v3.0/get_friend/:id
Get detailed info on one friend of current_user.
+create_friend
+++ +Example Response: same as get_friend response
+
POST https://secure.splitwise.com/api/v3.0/create_friend
Makes the current user a friend of a user specified with the url parameters user_email, user_first_name, and, optionally, user_last_name.
+Query Parameters
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| user_first_name | +String | +Add a user's first name | +
| user_last_name | +String | +Add a user's last name | +
| user_email | +String | +Add a user's email (or find an existing user by email) | +
create_friends
+++ +Example Response: same as get_friends response
+
POST https://secure.splitwise.com/api/v3.0/create_friends
Make the current user a friend of the specified users.
+Query Parameters
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| friends__0__user_first_name | +String | +Add a user's first name | +
| friends__0__user_last_name | +String | +Add a user's last name | +
| friends__0__user_email | +String | +Add a user's email (or find an existing user by email) | +
| friends__1__user_email | +String | +Find an existing user by email) | +
delete_friend/:id
+++Example Response:
+
{
+ "success": true, //or false
+ "errors": ["any errors"]
+}
+POST https://secure.splitwise.com/api/v3.0/delete_friend/:id
Given a friend ID, break off the friendship between the current user and the specified user.
+Expenses
get_expense/:id
+Return full details on an expense involving the current user. There are some additional values included in the expense object than shown here but they should be ignored.
+{
+ "expense": {
+ "id": 368887,
+ "group_id": 18417, //or null
+ "description": "Grocery run",
+ "repeats": false,
+ "repeat_interval": "never", //or "weekly", "fortnightly", "monthly", "yearly"
+ "email_reminder": false,
+ "email_reminder_in_advance": -1, // or 0, 1, 3, 5, 7, 14
+ "next_repeat": null,
+ "details": "Additional notes about the expense",
+ "comments_count": 0,
+ "payment": false,
+ "transaction_confirmed": false,
+ "cost": "25.0",
+ "currency_code": "USD",
+ "repayments": [
+ {
+ "from": 6788709,
+ "to": 270896089,
+ "amount": "25.0"
+ }
+ ],
+ "date": "2012-07-27T06:17:09Z",
+ "created_at": "2012-07-27T06:17:09Z",
+ "created_by": { /* <user object> */ },
+ "updated_at": "2012-12-23T05:47:02Z",
+ "updated_by": { /* <user object> */ },
+ "deleted_at": "2012-12-23T05:47:02Z",
+ "deleted_by": { /* <user object> */ },
+ "category": {
+ "id": 18,
+ "name": "General"
+ },
+ "receipt": {
+ "large": "https://splitwise.s3.amazonaws.com/uploads/expense/receipt/3678899/large_95f8ecd1-536b-44ce-ad9b-0a9498bb7cf0.png",
+ "original": "https://splitwise.s3.amazonaws.com/uploads/expense/receipt/3678899/95f8ecd1-536b-44ce-ad9b-0a9498bb7cf0.png"
+ },
+ "users": [
+ {
+ "user": { /* <user object> */ },
+ "user_id": 270896089,
+ "paid_share": "25.0",
+ "owed_share": "0.0",
+ "net_balance": "25.0"
+ },
+ {
+ "user": { /* <user object> */ },
+ "user_id": 6788709,
+ "paid_share": "0.0",
+ "owed_share": "25.0",
+ "net_balance": "-25.0"
+ }
+ ],
+ "comments": [ /* <comment object>, <comment object>,... */ ]
+ }
+}
+GET https://secure.splitwise.com/api/v3.0/get_expense/:id
get_expenses
+Return expenses involving the current user, in reverse chronological order
+{
+ "expenses": [ /* <expense object>, <expense object>, ... */ ],
+}
+GET https://secure.splitwise.com/api/v3.0/get_expenses
Query parameters
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| group_id | +Integer | +Return expenses for specific group | +
| friend_id | +Integer | +Return expenses for a specific friend that are not in any group | +
| dated_after | +Time | +ISO 8601 Date time. Return expenses later than this date | +
| dated_before | +Time | +ISO 8601 Date time. Return expenses earlier than this date | +
| updated_after | +Time | +ISO 8601 Date time. Return expenses updated after this date | +
| updated_before | +Time | +ISO 8601 Date time. Return expenses updated before this date | +
| limit | +Integer | +How many expenses to fetch. Defaults to 20; set to 0 to fetch all | +
| offset | +Integer | +Return expenses starting at limit * offset | +
create_expense
{
+ "expense": { /* <expense object> */ },
+ "errors": { }
+}
+POST https://secure.splitwise.com/api/v3.0/create_expense
Query parameters
Required
+| Parameter | +Type | +Description | +
|---|---|---|
| cost | +String | +A string representation of a decimal value, limited to 2 decimal places | +
| description | +String | +A short description of the expense | +
| payment | +Boolean | +true if this is a payment, false otherwise |
+
Split configuration
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| group_id | +Integer | +The group to put this expense in. | +
| split_equally | +Boolean | +Set this to true if using it |
+
| users__0__user_id | +Integer | +The user id of a friend for this share | +
| users__0__paid_share | +String | +Decimal amount as a string with 2 decimal places. The amount this user paid for the expense | +
| users__0__owed_share | +String | +Decimal amount as a string with 2 decimal places. The amount this user owes on the expense | +
| users__1__first_name | +String | ++ |
| users__1__last_name | +String | ++ |
| users__1__email | +String | +Valid email address for this user | +
| users__1__paid_share | +String | +Decimal amount as a string with 2 decimal places. The amount this user paid for the expense | +
| users__1__owed_share | +String | +Decimal amount as a string with 2 decimal places. The amount this user owes on the expense | +
| users__*__key_value | +String | +Add additional user shares with indexes 2,3,4,5,... | +
Optional parameters
+| Parameter | +Type | +Description | +
|---|---|---|
| group_id | +Integer | +The group to put the expense in | +
| details | +String | +More detailed notes | +
| date | +Time | +ISO 8601 date time | +
| repeat_interval | +String | +One of: never, weekly, fortnightly, monthly, yearly | +
| currency_code | +String | +ISO 4217 currency code. Must be in the list from get_currencies |
+
| category_id | +Integer | +A category id from get_categories |
+
update_expense/:id
{
+ "expense": { /* <expense object> */ },
+ "errors": { }
+}
+POST https://secure.splitwise.com/api/v3.0/update_expense/:id
Query parameters
+These are the same as for create_expense except you only need to include parameters that are changing from the previous values.
delete_expense/:id
{
+ "success": true, //or false
+}
+POST https://secure.splitwise.com/api/v3.0/delete_expense/:id
undelete_expense/:id
{
+ "success": true, //or false
+}
+POST https://secure.splitwise.com/api/v3.0/undelete_expense/:id
Comments
get_comments?expense_id=:id
{
+ "comments": [
+ {
+ "id": 79800950,
+ "content": "Something about this expense",
+ "comment_type": "User",
+ "relation_type": "ExpenseComment",
+ "relation_id": 855870953,
+ "created_at": "2020-05-14T04:12:25Z",
+ "deleted_at": null,
+ "user": { /* <user object> */ }
+ }
+ ]
+}
+GET https://secure.splitwise.com/api/v3.0/get_comments?expense_id=:id
create_comment
{
+ "comment": { /* <comment object> */ },
+ "errors": {}
+}
+POST https://secure.splitwise.com/api/v3.0/create_comment
Query parameters
+| Parameter | +Type | +Description | +
|---|---|---|
| expense_id | +Integer | +The expense the comment is for | +
| content | +String | +The comment contents | +
delete_comment
{
+ "comment": { /* <comment object> */ },
+ "errors": {}
+}
+POST https://secure.splitwise.com/api/v3.0/delete_comment/:id
Query parameters
+| Parameter | +Type | +Description | +
|---|---|---|
| id | +Integer | +The comment id | +
Notifications
get_notifications
{
+ "notifications": [
+ {
+ "id": 32514315,
+ "type": 0,
+ "created_at": "2020-05-13T20:58:17Z",
+ "created_by": 2,
+ "source": {
+ "type": "Expense",
+ "id": 865077,
+ "url": null
+ },
+ "image_url": "https://s3.amazonaws.com/splitwise/uploads/notifications/v2/0-venmo.png",
+ "image_shape": "square",
+ "content": "<strong>You</strong> paid <strong>Jon H.</strong>.<br><font color=\"#5bc5a7\">You paid $23.45</font>"
+ } //, ...
+ ]
+}
+GET https://secure.splitwise.com/api/v3.0/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 without warning. Below is an incomplete list of notification types.
| Type | +Meaning | +
|---|---|
| 0 | +Expense added | +
| 1 | +Expense updated | +
| 2 | +Expense deleted | +
| 3 | +Comment added | +
| 4 | +Added to group | +
| 5 | +Removed from group | +
| 6 | +Group deleted | +
| 7 | +Group settings changed | +
| 8 | +Added as friend | +
| 9 | +Removed as friend | +
| 10 | +News (a URL should be included) | +
| 11 | +Debt simplification | +
| 12 | +Group undeleted | +
| 13 | +Expense undeleted | +
| 14 | +Group currency conversion | +
| 15 | +Friend currency conversion | +
Query parameters
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| updated_after | +Time | +ISO 8601 Date and time string with timezone offset. Return notifications after this time. | +
| limit | +Integer | +How many notifications to fetch. Defaults to 20. 0 for all. | +
Other API calls
get_currencies
{
+ "currencies":[
+ { "currency_code":"USD", "unit":"$" },
+ { "currency_code":"ARS", "unit":"$" },
+ { "currency_code":"AUD", "unit":"$" },
+ { "currency_code":"EUR", "unit":"€" },
+ { "currency_code":"BRL", "unit":"R$" },
+ { "currency_code":"CAD", "unit":"$" },
+ { "currency_code":"CNY", "unit":"¥" },
+ { "currency_code":"DKK", "unit":"kr" },
+ { "currency_code":"GBP", "unit":"£" },
+ { "currency_code":"INR", "unit":"₹" },
+ { "currency_code":"ILS", "unit":"₪" },
+ { "currency_code":"JPY", "unit":"¥" },
+ { "currency_code":"MXN", "unit":"$" },
+ { "currency_code":"NZD", "unit":"$" },
+ { "currency_code":"PHP", "unit":"₱" },
+ { "currency_code":"RUB", "unit":"₽" },
+ { "currency_code":"SGD", "unit":"$" },
+ { "currency_code":"SEK", "unit":"kr" },
+ { "currency_code":"CHF", "unit":"Fr." },
+ { "currency_code":"MYR", "unit":"RM" },
+ { "currency_code":"RON", "unit":"RON" },
+ { "currency_code":"ZAR", "unit":"R" },
+ { "currency_code":"LKR", "unit":"Rs. " },
+ { "currency_code":"NAD", "unit":"$" },
+ { "currency_code":"SAR", "unit":"SR" },
+ { "currency_code":"AED", "unit":"DH" },
+ { "currency_code":"PLN", "unit":"PLN" },
+ { "currency_code":"HRK", "unit":"HRK" },
+ { "currency_code":"PKR", "unit":"Rs" },
+ { "currency_code":"TWD", "unit":"NT$" },
+ { "currency_code":"VEF", "unit":"Bs" },
+ { "currency_code":"HUF", "unit":"Ft" },
+ { "currency_code":"CLP", "unit":"$" },
+ { "currency_code":"BDT", "unit":"Tk" },
+ { "currency_code":"CZK", "unit":"Kč" },
+ { "currency_code":"COP", "unit":"$" },
+ { "currency_code":"TRY", "unit":"TL" },
+ { "currency_code":"KRW", "unit":"₩" },
+ { "currency_code":"BOB", "unit":"Bs." },
+ { "currency_code":"VND", "unit":"₫" },
+ { "currency_code":"NOK", "unit":"kr" },
+ { "currency_code":"EGP", "unit":"E£" },
+ { "currency_code":"HKD", "unit":"$" },
+ { "currency_code":"THB", "unit":"฿" },
+ { "currency_code":"KES", "unit":"KSh" },
+ { "currency_code":"IDR", "unit":"Rp " },
+ { "currency_code":"ISK", "unit":"kr" },
+ { "currency_code":"BTC", "unit":"฿" },
+ { "currency_code":"UAH", "unit":"₴" },
+ { "currency_code":"MVR", "unit":"MVR" },
+ { "currency_code":"OMR", "unit":"OMR" },
+ { "currency_code":"YER", "unit":"YER" },
+ { "currency_code":"IRR", "unit":"IRR" },
+ { "currency_code":"QAR", "unit":"QR" },
+ { "currency_code":"BHD", "unit":"BD" },
+ { "currency_code":"TZS", "unit":"TZS" },
+ { "currency_code":"RSD", "unit":"RSD" },
+ { "currency_code":"ETB", "unit":"Br" },
+ { "currency_code":"BGN", "unit":"BGN" },
+ { "currency_code":"FJD", "unit":"$" },
+ { "currency_code":"JMD", "unit":"J$" },
+ { "currency_code":"UYU", "unit":"$" },
+ { "currency_code":"GTQ", "unit":"Q" },
+ { "currency_code":"NPR", "unit":"Rs. " },
+ { "currency_code":"PEN", "unit":"S/. " },
+ { "currency_code":"DJF", "unit":"Fdj " },
+ { "currency_code":"LTL", "unit":"Lt " },
+ { "currency_code":"MKW", "unit":"MK" },
+ { "currency_code":"KWD", "unit":"KWD" },
+ { "currency_code":"CRC", "unit":"₡" },
+ { "currency_code":"DOP", "unit":"$" },
+ { "currency_code":"NGN", "unit":"₦" },
+ { "currency_code":"JOD", "unit":"JOD" },
+ { "currency_code":"MAD", "unit":"MAD" },
+ { "currency_code":"RWF", "unit":"FRw" },
+ { "currency_code":"UGX", "unit":"USh" },
+ { "currency_code":"AOA", "unit":"Kz" },
+ { "currency_code":"XAF", "unit":"CFA" },
+ { "currency_code":"XOF", "unit":"CFA" },
+ { "currency_code":"CMG", "unit":"CMg" },
+ { "currency_code":"ANG", "unit":"NAf" },
+ { "currency_code":"ALL", "unit":"L" },
+ { "currency_code":"PYG", "unit":"₲" },
+ { "currency_code":"KYD", "unit":"CI$" },
+ { "currency_code":"KZT", "unit":"₸" },
+ { "currency_code":"BAM", "unit":"KM" },
+ { "currency_code":"AWG", "unit":"Afl." },
+ { "currency_code":"BIF", "unit":"FBu" },
+ { "currency_code":"MKD", "unit":"ден" },
+ { "currency_code":"XPF", "unit":"F" },
+ { "currency_code":"GEL", "unit":"GEL" },
+ { "currency_code":"TND", "unit":"DT" },
+ { "currency_code":"MZN", "unit":"MT" },
+ { "currency_code":"BYR", "unit":"BYR" },
+ { "currency_code":"TTD", "unit":"TT$" },
+ { "currency_code":"XCD", "unit":"EC$" },
+ { "currency_code":"LBP", "unit":"ل.ل" },
+ { "currency_code":"LAK", "unit":"₭" },
+ { "currency_code":"MOP", "unit":"MOP$" },
+ { "currency_code":"GHS", "unit":"GH₵" },
+ { "currency_code":"UZS", "unit":"UZS" },
+ { "currency_code":"NIO", "unit":"C$" },
+ { "currency_code":"AZN", "unit":"m." },
+ { "currency_code":"ZMW", "unit":"ZMW" },
+ { "currency_code":"SZL", "unit":"E" },
+ { "currency_code":"BWP", "unit":"P" },
+ { "currency_code":"MMK", "unit":"K" },
+ { "currency_code":"CVE", "unit":"$" },
+ { "currency_code":"MUR", "unit":"₨" },
+ { "currency_code":"SCR", "unit":"SR" },
+ { "currency_code":"KHR", "unit":"៛" },
+ { "currency_code":"CUP", "unit":"$" },
+ { "currency_code":"CUC", "unit":"CUC$" },
+ { "currency_code":"STD", "unit":"Db" },
+ { "currency_code":"HNL", "unit":"L" },
+ { "currency_code":"AMD", "unit":"AMD" },
+ { "currency_code":"MDL", "unit":"MDL" },
+ { "currency_code":"MNT", "unit":"₮" },
+ { "currency_code":"BYN", "unit":"Br" },
+ { "currency_code":"MGA", "unit":"Ar" },
+ { "currency_code":"BBD", "unit":"$" },
+ { "currency_code":"KMF", "unit":"CF" },
+ { "currency_code":"IQD", "unit":"IQD" },
+ { "currency_code":"BZD", "unit":"BZ$" },
+ { "currency_code":"GYD", "unit":"G$" },
+ { "currency_code":"SRD", "unit":"$" },
+ { "currency_code":"KGS", "unit":"KGS" },
+ { "currency_code":"TJS", "unit":"TJS" },
+ { "currency_code":"VUV", "unit":"Vt" },
+ { "currency_code":"BTN", "unit":"Nu." },
+ { "currency_code":"WST", "unit":"WS$" }
+ ] }
+GET https://secure.splitwise.com/api/v3.0/get_currencies
Returns a list of all currencies allowed by the system. These are mostly ISO 4217 codes, but we do sometimes use pending codes or unofficial, colloquial codes (like BTC instead of XBT for Bitcoin)
+get_categories
{
+ "categories": [
+ {
+ "id": 19,
+ "name": "Entertainment",
+ "icon": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square/entertainment/other.png",
+ "icon_types": {
+ "slim": {
+ "small": "https://s3.amazonaws.com/splitwise/uploads/category/icon/slim/entertainment/other.png",
+ "large": "https://s3.amazonaws.com/splitwise/uploads/category/icon/slim/entertainment/other@2x.png"
+ },
+ "square": {
+ "large": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square_v2/entertainment/other@2x.png",
+ "xlarge": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square_v2/entertainment/other@3x.png"
+ }
+ },
+ "subcategories": [
+ {
+ "id": 20,
+ "name": "Games",
+ "icon": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square/entertainment/games.png",
+ "icon_types": {
+ "slim": {
+ "small": "https://s3.amazonaws.com/splitwise/uploads/category/icon/slim/entertainment/games.png",
+ "large": "https://s3.amazonaws.com/splitwise/uploads/category/icon/slim/entertainment/games@2x.png"
+ },
+ "square": {
+ "large": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square_v2/entertainment/games@2x.png",
+ "xlarge": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square_v2/entertainment/games@3x.png"
+ }
+ }
+ },
+ {
+ "id": 21,
+ "name": "Movies",
+ "icon": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square/entertainment/movies.png",
+ "icon_types": {
+ "slim": {
+ "small": "https://s3.amazonaws.com/splitwise/uploads/category/icon/slim/entertainment/movies.png",
+ "large": "https://s3.amazonaws.com/splitwise/uploads/category/icon/slim/entertainment/movies@2x.png"
+ },
+ "square": {
+ "large": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square_v2/entertainment/movies@2x.png",
+ "xlarge": "https://s3.amazonaws.com/splitwise/uploads/category/icon/square_v2/entertainment/movies@3x.png"
+ }
+ }
+ } //, ...
+ ]
+ } //, ...
+ ]
+}
+GET https://secure.splitwise.com/api/v3.0/get_categories
Returns a list of all categories Splitwise allows for expenses. There are parent categories that represent groups of categories with subcategories for more specific categorization. You may not use the parent categories when creating expenses. If you intend for an expense to be represented by the parent category and nothing more specific, please use the "Other" subcategory.
parse_sentence
{
+ "expense": { /* <Expense object> */ },
+ "valid": true, //or false
+ "error": "an error message"
+}
+POST https://secure.splitwise.com/api/v3.0/parse_sentence
Attempts to create an expense from the input as an English natural language phrase like "groceries $20" or "Jon paid me $50". If valid is true, the expense value will be a complete and valid expense. If it is false, the expense value may be missing some values.
Query Parameters
+ + +| Parameter | +Type | +Description | +
|---|---|---|
| input | +String | +A natural language sentence describing an expense | +
| group_id | +Integer | +A group id | +
| friend_id | +Integer | +A friend id | +
| autosave | +Boolean | +If true, will save the resulting expense if valid. Defaults to false. | +
Errors
+In general, the Splitwise API returns the following error codes:
+ +| Error Code | +Meaning | +
|---|---|
| 400 | +Bad Request. Something about the request was invalid, and you will probably need to change your request before trying again. | +
| 401 | +Unauthorized. You are not logged in — your OAuth authentication may not be configured correctly. | +
| 403 | +Forbidden. The current user is not allowed to perform this action. | +
| 404 | +Not Found. The endpoint that you were trying to call does not exist. | +
| 500 | +Internal Server Error. Our server had an unexpected error while trying to process your request. This may be a temporary problem, or there may be a problem with your request that is causing the server to crash. | +
| 503 | +Service Unavailable. We're temporarily offline for maintenance. Please try again later. | +
In addition, even when a call is successful and returns a 200 OK HTTP response, the body of the response may include a key called error or errors. This is usually used to communicate validation errors. For example, if you submit an expense without any cost, we may return an errors key as part of the JSON response.
The format of these errors is somewhat inconsistent, unfortunately. We're working on standardizing it, but it's a work in progress.
+Terms of Use
Overview
+Splitwise provides this Self-Serve API to facilitate integrations with third-party applications, as well as open-up functionality for hobbyists and power users to programmatically interact with their own Splitwise account and build plugins or other tools.
+ +If you’re interested in integrating your commercial application with Splitwise, we strongly encourage you to contact developers@splitwise.com so our development team can help discuss your use case, provide private APIs and Enterprise support, and offer an appropriate commercial license for the integration. The Self-Serve API documented here may be suitable for internal prototyping and other exploratory work.
+ +If you are developing a non-commercial plugin application or personal project, we recommend you make use of the Self-Serve API documented here under the API Terms Of Use. Please be aware that our Self-Serve API has conservative rate and access limits, which are subject to change at any time and not well suited to commercial projects. If this is a problem for your use case, please contact us at developers@splitwise.com to discuss your needs.
+ +All Self-Service API users are subject to the API Terms of Use below.
+TERMS OF USE
+These API Terms of Use describe your rights and responsibilities when accessing our publicly available Application Programming Interface (API) and related API documentation. Please review them carefully.
+ +Splitwise may modify this Agreement at any time by posting a revised version on our website. The revised version will be effective at the time that it is posted.
+ +These API terms form a binding contract between you and us. In these terms "you," and "your," refers to the individual, company or legal entity and/or entities that you represent while accessing the API. “We”, “us”, “our” and “Splitwise” refers to Splitwise Inc. By accepting these API terms, either by accessing or using the API, or authorizing or permitting any individual to access or use the API, you agree to be bound by this contract.
+ +-
+
-
+ API License:
+
-
+
- + Subject to the restrictions in these terms, we grant you a non-exclusive, revocable, worldwide, non-transferable, non-sublicensable, limited license to access and use (i) our APIs (ii) related API documentation, packages, sample code, software, or materials made available by Splitwise (“API Documentation”), and (iii) any and all access keys or data derived or obtained from Splitwise API responses (“Splitwise Data”). The Splitwise API, Splitwise Data, and API Documentation will be together referred to as the “Splitwise Materials.” You will use Splitwise Materials solely as necessary to develop, test and support a Self-Service integration of your software application (an "Application" or "App") with Splitwise in accordance with this Agreement and any other agreements between You and Splitwise. + +
+ -
+ API License Restrictions
+
-
+
- + You agree that will you will not, and will not allow any of your partners, subsidiaries and/or affiliates and each of their respective directors, officers, employees, agents, partners, suppliers, service providers, contractors or end users (collectively, “Your Affiliates”) to engage in any Prohibited Activities set forth in section 2f. + +
- + Splitwise reserves the right to block or revoke, with or without notice, your access to any or all of the Splitwise Materials if Splitwise determines in its sole discretion that you are engaging in any of the Prohibited Activities. + +
- + Splitwise may monitor your use of Splitwise Materials to improve our services and ensure compliance with this agreement, and may suspend your access to Splitwise Materials if we believe you are in violation. + +
- + Your use of the Splitwise API is subject to usage limits and other functional restrictions in the sole discretion of Splitwise. You will not use the API in a manner that exceeds rate limits, or constitutes excessive or abusive usage. + +
- + Your use of Splitwise Materials must respect Splitwise user’s privacy choices and settings and the Privacy portion of this agreement. You will obtain explicit consent from end users as a basis for any processing of Splitwise Materials. Your use of Splitwise Materials must comply with all Applicable Data Protection Laws applicable to you, including but not limited to GDPR and CCPA compliance. + +
-
+ Prohibited Activities:
+
-
+
- + You will not use Splitwise Materials or any part thereof in any manner or for any purpose that violates any law or regulation, or any right of any person, including but not limited to intellectual property rights, rights of privacy and/or publicity, or which otherwise results in liability to Splitwise, or its officers, employees, or end users. + +
- + You will not use Splitwise Materials in a way that poses a security, operational or technical risk to our Services. + +
- + You may not Splitwise Materials to create an application that replicates existing Splitwise functionality or competes with Splitwise and our Services. + +
- + You will not use Splitwise Materials to create an application that encourages or creates functionality for users to violate our Terms of Service. + +
- + You will not use Splitwise Materials to create an application that can be used by anyone under the age of 13. You will not knowingly collect or enable the collection of any personal information from children under the age of 13. + +
- + You will not reverse engineer, decompile, disassemble, or otherwise attempt to derive the source code or underlying ideas, trade secrets, algorithms or structure of the Splitwise Materials, or Splitwise software applications. + +
- + You will not attempt to defeat, avoid, bypass, remove, deactivate or otherwise circumvent any software protection mechanisms in the Splitwise Materials or Application or any part thereof, including without limitation, any such mechanism used to restrict or control the functionality of the API. + +
- + You will not use Splitwise’s name to endorse or promote any product, including a product derived from Splitwise Materials. + +
- + You will not sell, lease, rent, sublicense or in any way otherwise commercialize any Splitwise Data, or dataset derived from Splitwise Data and/or Splitwise Materials. + +
- + You will not use Splitwise Materials in applications that send unsolicited communications to users or include any malware, adware, potentially unwanted programs, or similar applications that could damage or disparage Splitwise’s reputation or services. + +
+ -
+ Privacy
+
-
+
- + Your Application shall have a lawful privacy policy, accessible with reasonably prominent hyperlinks that does not conflict with or supersede the Splitwise Privacy Policy and that explains how you collect, store, use, and/or transfer any Personal Data via your Applications. Personal Data is data that may be used, either alone or together with other information, to identify an individual user, including, without limitation, a user’s name, address, telephone number, username, email address, city and country, geolocation, unique identifiers, picture, or other similar information and includes personal data as defined in the GDPR. + +
- + You are responsible for maintaining an appropriate legal basis to process any data under all applicable data protection laws (including but not limited to the GDPR, and the CCPA). + +
- + You will use industry standard security measures to protect against and prevent security breaches and any unauthorized disclosure of any personal information you process, including administrative, physical and technical safeguards for protection of the security, confidentiality and integrity of that personal information. + +
- + You must promptly notify us in writing via email to security@splitwise.com of any security deficiencies in, or intrusions to, your Applications or systems that you discover, and of any breaches of your user agreement or privacy policy that impact or may impact Splitwise customers. Please review our Privacy Policy for more information on how we collect and use data relating to the use and performance of our Service. + +
- + You will delete Splitwise Data as requested within a reasonable time, if so requested by either a Splitwise User or Splitwise Inc. + +
- + Any data submitted to Splitwise through your use of the Splitwise API will be governed by the Splitwise Privacy Policy. + +
- + You agree that Splitwise may collect certain use data and information related to your use of the Splitwise Materials, and the Splitwise API in connection with your Application (“Usage Data”), and that Splitwise may use such Usage Data for any business purpose, internal or external, including, without limitation, providing enhancements to the Splitwise Materials or Splitwise Platform, providing developer of user support, or otherwise. You agree to include a statement to this effect in your Application’s Privacy Policy. + +
+
+ -
+ Conditions Of Use
+
-
+
- + Splitwise reserves the right to modify our API at any time, for any reason, without notice. + +
- + Splitwise may use your name, and other contact details to contact you regarding your use of our API or, if we believe you are in violation of this contract. + +
- + You are solely responsible for your use of the Splitwise API and any application you create that uses Splitwise Materials, including but not limited to Customer Support. + +
- + Splitwise reserves the right to develop and extend its products and capabilities without regard to whether those products compete with or invalidate your Splitwise integration or products offered by you. + +
- + Splitwise may limit (i) the number of network calls that your App may make via the API; and (ii) the maximum number of Splitwise users that may connect your Application, or (iii) anything else about the Splitwise API as Splitwise deems appropriate, at Splitwise’s sole discretion. + +
- + Splitwise may impose or modify these limitations without notice. Splitwise may utilize technical measures to prevent over-usage and stop usage of the API by your App after any usage limitations are exceeded or suspend your access to the API with or without notice to you in the event you exceed such limitations. + +
- + You will not issue any press release or other announcement regarding your Application that makes any reference to Splitwise without our prior written consent. + +
- + You will not use our API to distribute unsolicited advertising or promotions, or to send messages, make comments, or initiate any other unsolicited direct communication or contact with Splitwise users or partners. + +
+
+ -
+ Use of Splitwise Marks
+
-
+
- + The rights granted in this Agreement do not include any general right to use the Splitwise name or any Splitwise trademarks, service marks or logos (the “Splitwise Marks”) with respect to your Applications. Subject to your continued compliance with this Agreement, you may use Splitwise Marks for limited purposes related to your Applications only as described in Splitwise Branding Guidelines and/or as provided in written communications with the Splitwise team. + +
- + These rights apply on a non-exclusive, non-transferable, worldwide, royalty-free basis, without any right to sub-license, and may be revoked by Splitwise at any time. + +
- + If Splitwise updates Branding Guidelines or any Splitwise Marks that you are using, you agree to update such Splitwise Marks to reflect the most current versions. You must not use any Splitwise Marks or trade dress, or any confusingly similar mark or trade dress, as the name or part of the name, user interface, or icon of your Applications, or as part of any logo or branding for your Applications. + +
+
+ - + Reservation Of Rights. The Splitwise Materials as well as the trademarks, copyrights, trade secrets, patents or other intellectual property (collectively, “Intellectual Property”) contained therein will remain the sole and exclusive property of Splitwise, and you will reasonably assist Splitwise in protecting such ownership. Splitwise reserves to itself all rights to the Splitwise Materials not expressly granted to You. Except as expressly provided in this Agreement, You do not acquire any rights to or interest in the Intellectual Property. You will not utilize Splitwise Intellectual Property except as expressly authorized under this Agreement. + + +
- + Feedback. Splitwise welcomes feedback from developers to improve our API, documentation and Services, and may provide feedback to you as well. We will review any feedback received, however we make no guarantee that suggestions will be implemented. If you choose to provide feedback, suggestions or comments regarding the Splitwise API, documentation, or services, you acknowledge that Splitwise will be free to use your feedback in any way it sees fit. This includes the freedom to copy, modify, create derivative works, distribute, publicly display, publicly perform, grant sublicenses to, and otherwise exploit in any manner such feedback, suggestions or comments, for any and all purposes, with no obligation of any kind to you, in perpetuity. + + +
-
+ Confidentiality. Any information not generally available to the public that is made available to you should be considered Confidential. You agree to:
+
-
+
- + Protect this information from unauthorized use, access, or disclosure, + +
- + Use this information only as necessary, + +
- + Destroy any copies, or return this information to us when this Contract is terminated, or at any time as requested by Splitwise + +
+
+ - + Termination. This Contract shall remain effective until terminated by either party. You may terminate this Contract at any time, by discontinuing your use of our APIs. Splitwise may terminate this Contract at any time with or without cause and without advanced notice to you. Upon termination, all rights and licenses granted under this Contract shall immediately terminate. You must immediately discontinue any use, and destroy any copies of the Splitwise Materials and Confidential Information in your possession. + +
-
+ Representations and Warranties. You represent and warrant that you have validly entered into the Contract, and that you have the legal power to do so, and that doing so will not violate any law, government regulation, or breach agreement with another third party.
+
THE SPLITWISE API AND DOCUMENTATION IS BEING PROVIDED TO YOU ‘AS IS’ AND ‘AS AVAILABLE’ WITHOUT ANY WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY, TITLE, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. YOU ACKNOWLEDGE THAT WE DO NOT WARRANT THAT THE APIS WILL BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE. +
+ -
+ Limitation of Liability.
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL SPLITWISE, ITS AFFILIATES, OFFICERS, DIRECTORS, EMPLOYEES, AGENTS, LICENSORS, LICENSEES, ASSIGNS OR SUCCESSORS BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY INDIRECT, INCIDENTAL, SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT LIMITED TO ANY LOSS OF DATA, SERVICE INTERRUPTION, COMPUTER FAILURE, OR PECUNIARY LOSS) HOWEVER CAUSED, WHETHER IN CONTRACT, TORT OR UNDER ANY OTHER THEORY OF LIABILITY, AND WHETHER OR NOT YOU OR THE THIRD PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. YOUR ONLY RIGHT WITH RESPECT TO ANY PROBLEMS OR DISSATISFACTION WITH THE SPLITWISE SERVICES IS TO STOP USING THE SPLITWISE SERVICES. +
SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY FOR CERTAIN TYPES OF DAMAGES REFERRED TO ABOVE (INCLUDING INCIDENTAL OR CONSEQUENTIAL DAMAGES). ACCORDINGLY, SOME OF THE ABOVE LIMITATIONS AND EXCLUSIONS MAY NOT APPLY TO YOU. YOU AGREE THAT SPLITWISE’S AGGREGATE LIABILITY UNDER THIS AGREEMENT IS LIMITED TO ONE HUNDRED DOLLARS ($100). +
+
+ - + Indemnification: You agree to defend, indemnify, and hold harmless Splitwise and its affiliates, directors, and customers, from and against any and all third-party claims, actions, suits, and proceedings (including, but not limited to legal, or investigative fees), arising out of, or related to your use of the Splitwise Services, your violation of this Contract, your violation of your user agreement or privacy policy, or your violation of any laws, regulations, or third party rights. + + +
-
+ Miscellaneous
+
-
+
- + Applicable Law, Jurisdiction, and Venue: Any dispute arising out of this Agreement shall be governed by Massachusetts law and controlling U.S. federal law, without regard to conflict of law provisions thereof. Any claim or dispute between you and Splitwise that arises in whole or in part from this Contract or your use of the API or our Services shall be decided exclusively by a court of competent jurisdiction located in Massachusetts, and you hereby consent to, and waive all defenses of lack of personal jurisdiction and forum non conveniens with respect to venue and jurisdiction in the state and federal courts of Massachusetts. + +
- + Assignment: You may not assign or delegate any of your rights or obligations hereunder, whether by operation of law or otherwise, without Splitwise’s prior written consent. Splitwise retains the right to assign the Contract in its entirety, without consent of the other party, to a corporate affiliate or in connection with a merger, acquisition, corporate reorganization, or sale of all or substantially all of its assets. Any purported assignment in violation of this section is void. + +
- + Language: This contact was drafted in English. In the event that this contract, or any part thereof, is translated to a language other than English, the English-language version shall control in the event of a conflict. + +
- + Relationship: You and Splitwise are independent contractors. This Contract does not create or imply any partnership, agency, joint venture, fiduciary or employment relationship between the parties. There are no third party beneficiaries to the Contract. + +
- + Severability: The Contract will be enforced to the fullest extent permitted under applicable law. If any provision of the Contract is found to be invalid or unenforceable by a court of competent jurisdiction, the provision will be modified by the court and interpreted so as best to accomplish the objectives of the original provision to the fullest extent permitted by law, and the remaining provisions of the Contract will remain in effect. + +
- + Force Majeure: Neither we nor you will be responsible for any failure to perform obligations under this Contract if such failure is caused by events beyond the reasonable control of a party, which may include denial-of-service attacks, a failure by a third party hosting provider, acts of God, war, strikes, revolutions, lack or failure of transportation facilities, laws or governmental regulations. + +
- + Entire Agreement: These Terms comprise the entire agreement between you and Splitwise with respect to the above subject matter and supersedes and merges all prior proposals, understandings and contemporaneous communications. + +
+
+