JSON-RPC API

Reference for the Savi Finance JSON-RPC API: request format, authentication, errors and documented methods.

Request format

Send a JSON-RPC 2.0 POST with Content-Type: application/json to:

https://api-v2.financesavi.com/rpc
{
  "jsonrpc": "2.0",
  "method": "listAccounts",
  "params": {},
  "id": 1
}

Authenticated methods need an Authorization: Bearer <token> header. See Authentication.

Responses and errors

A successful call returns HTTP 200 with a result. A call the server rejects (invalid params, permission denied, rate limited) returns HTTP 400 with an error object. An unknown method returns 404, and any HTTP verb other than POST returns 405.

Methods

MethodAuthSummary
createAccountrequiredcreateAccount - Creates a new account for the authenticated user.
createTransactionrequiredcreateTransaction — creates a new transaction for the authenticated user.
deleteTransactionrequireddeleteTransaction — deletes a transaction by ID.
getAccountrequiredGet Account - retrieves a single account by ID with optional data.
getCurrentUserrequiredGet Current User - returns information about the authenticated user.
getTransactionrequiredgetTransaction — fetches a single transaction by ID.
listAccountsrequiredList Accounts - retrieves accounts for a specific user with optional data.
listAlertsrequiredlistAlerts — returns all spending/income alerts owned by the authenticated user.
listLifePlansrequiredlistLifePlans — paginated listing of life plans owned by the caller with their associated data.
listProjectionsrequiredlistProjections — lists cash-flow projections owned by the caller, with optional filters.
listSavedFiltersrequiredlistSavedFilters — paginated listing of saved filters owned by the caller.
listSavingGoalsrequiredlistSavingGoals — lists the saving goals the caller contributes to.
listTransactionsrequiredList Transactions - retrieves transactions for the authenticated user with optional filtering.
pingpublicPing handler - tests basic connectivity and authentication.
updateTransactionrequiredupdateTransaction — partially updates a transaction using field masks.