diff --git a/docs/index.html b/docs/index.html index 1e9b380..e9e8fec 100644 --- a/docs/index.html +++ b/docs/index.html @@ -806,7 +806,8 @@

Response samples

Content type
application/json
{
  • "expenses": [
    ]
}

Create an expense

Creates an expense. You may either split an expense equally (only with group_id provided), or supply a list of shares.

-

If providing a list of shares, each share must include paid_share and owed_share, and must be identified by one of the following:

+

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:

  • email, first_name, and last_name
  • user_id
  • @@ -955,7 +956,7 @@

Responses

Request samples

Content type
application/json
Example
{
  • "input": "I owe Ada 5 bucks",
  • "autosave": false
}

Response samples

Content type
application/json
{
  • "expense": {
    },
  • "valid": true,
  • "confidence": 0.5,
  • "error": "string"
}