splitwise / api-docs

API documentation for the Splitwise API.
http://dev.splitwise.com
28 stars 16 forks source link

How can I create an expense split equally between a subset of the group? #59

Closed fmilani closed 2 years ago

fmilani commented 2 years ago

I see in the docs that I can create an expense with a group_id and the flag split_equally set to true to split equally between all members of that group, but I want to split equally between only some members of the group, without having to use the "by_shares" version. How can I do that?

Thanks in advance!

jas14 commented 2 years ago

Hi @fmilani , thanks for writing in! We don't currently support what you're describing; you'll unfortunately have to do the math yourself for anything more complicated than an equal split between all members of a group.

fmilani commented 2 years ago

Got it. Thanks for the reply!