Splitwise
splitwiseSplitwise helps you split bills and expenses with friends and family.
Acciones disponibles (8)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Add FriendSPLITWISE_ADD_FRIENDAcciónTool to add a new friend to splitwise. use when you have the friend's email and name details ready.
SPLITWISE_ADD_FRIENDAcciónTool to add a new friend to splitwise. use when you have the friend's email and name details ready.
Parámetros de entrada
user_emailanyObligatorioemailEmail address of the friend to add
user_last_namestringLast name of the friend (optional)
user_first_namestringFirst name of the friend; required if they are not already a Splitwise user
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Create ExpenseSPLITWISE_CREATE_EXPENSEAcciónTool to create a new splitwise expense. use when you need to record a payment or bill in a group or between users. provide either split equally or a custom users list for shares.
SPLITWISE_CREATE_EXPENSEAcciónTool to create a new splitwise expense. use when you need to record a payment or bill in a group or between users. provide either split equally or a custom users list for shares.
Parámetros de entrada
coststringObligatorioTotal cost as string decimal with 2 dp
datestringWhen the expense took place (ISO 8601)
usersobject[]List of custom share allocations; omit when using split_equally
detailsstringNotes or details for the expense
group_idintegerObligatorioGroup ID to assign this expense to (0 for no group)
category_idintegerCategory ID from get_categories
descriptionstringObligatorioShort description of the expense
currency_codestring3-letter currency code, e.g., USD
split_equallybooleanIf true, split equally among group members; omit when using users
repeat_intervalstringenumRepeat interval for the expense
neverweeklyfortnightlymonthlyyearly
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete ExpenseSPLITWISE_DELETE_EXPENSEAcciónTool to delete an existing expense by its id. use after confirming you have a valid expense id.
SPLITWISE_DELETE_EXPENSEAcciónTool to delete an existing expense by its id. use after confirming you have a valid expense id.
Parámetros de entrada
idintegerObligatorioUnique identifier of the expense to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Delete FriendSPLITWISE_DELETE_FRIENDAcciónTool to delete an existing friend by id. use when you need to remove a friend relationship by its user id. call after confirming the correct friend id.
SPLITWISE_DELETE_FRIENDAcciónTool to delete an existing friend by id. use when you need to remove a friend relationship by its user id. call after confirming the correct friend id.
Parámetros de entrada
friend_idintegerObligatorioThe unique identifier of the friend to delete.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CategoriesSPLITWISE_GET_CATEGORIESAcciónTool to retrieve expense categories. use when you need to list available categories before creating an expense.
SPLITWISE_GET_CATEGORIESAcciónTool to retrieve expense categories. use when you need to list available categories before creating an expense.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get CurrenciesSPLITWISE_GET_CURRENCIESAcciónTool to retrieve a list of supported currencies. use when you need to display or validate currency options.
SPLITWISE_GET_CURRENCIESAcciónTool to retrieve a list of supported currencies. use when you need to display or validate currency options.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Current UserSPLITWISE_GET_CURRENT_USERAcciónTool to retrieve information about the current authenticated user. use when you need profile details of the logged-in user.
SPLITWISE_GET_CURRENT_USERAcciónTool to retrieve information about the current authenticated user. use when you need profile details of the logged-in user.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Group InfoSPLITWISE_GET_GROUPAcciónAction to retrieve information about a group.
SPLITWISE_GET_GROUPAcciónAction to retrieve information about a group.
Parámetros de entrada
idintegerObligatorioThe unique identifier of the group.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not