@lunch-money/developer-docs 2.11.1-preview.5 → 2.11.1-preview.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/README.md +1 -0
- package/docs/branding-your-app.md +64 -0
- package/manifest.json +10 -1
- package/package.json +1 -1
- package/v2/spec/lunch-money-api-v2.yaml +59 -20
package/docs/README.md
CHANGED
|
@@ -5,6 +5,7 @@ This directory contains documentation that applies across all API versions.
|
|
|
5
5
|
## Current Documents
|
|
6
6
|
|
|
7
7
|
- `pagination.md` - Pagination guidelines
|
|
8
|
+
- `branding-your-app.md` - Brand assets and usage guidelines for apps built on Lunch Money
|
|
8
9
|
- (To be added) Other version-independent documentation
|
|
9
10
|
|
|
10
11
|
## Version-Specific Documentation
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Branding your App
|
|
2
|
+
|
|
3
|
+
Building a tool, plugin, or integration on top of Lunch Money? Official brand assets and usage guidelines are available so you can credit Lunch Money clearly without reinventing logos or guessing at naming.
|
|
4
|
+
|
|
5
|
+
Everything lives in the <a href="https://lunchmoney.app/media-kit/" target="_blank" rel="noopener noreferrer">Lunch Money Media Kit</a>. Use that page as the source of truth for downloads, colors, typography, and the latest guidelines.
|
|
6
|
+
|
|
7
|
+
## What you'll find in the media kit
|
|
8
|
+
|
|
9
|
+
For developers, the most useful sections are:
|
|
10
|
+
|
|
11
|
+
- **Logos** — horizontal, two-row, vertical, and emblem variants (PNG)
|
|
12
|
+
- **Powered by** — a lockup and an embeddable badge for crediting Lunch Money in your app or README
|
|
13
|
+
- **Colors & typography** — brand palette and typefaces (primary: Avenir; monospace: Inconsolata)
|
|
14
|
+
- **Usage guidelines** — clear do's and don'ts for how marks may be used
|
|
15
|
+
- **Product screenshots** — optional visuals if you're writing about or promoting an integration
|
|
16
|
+
|
|
17
|
+
> [!TIP]
|
|
18
|
+
> Prefer the **Powered by** assets when your project connects to Lunch Money. They make the relationship clear without implying that your app *is* Lunch Money.
|
|
19
|
+
|
|
20
|
+
## Naming
|
|
21
|
+
|
|
22
|
+
- Refer to the product as **Lunch Money**
|
|
23
|
+
- Refer to the company as **Lunchbag Labs, Inc.** when a legal or company name is needed
|
|
24
|
+
- Link to <a href="https://lunchmoney.app/" target="_blank" rel="noopener noreferrer">lunchmoney.app</a> when you mention the product
|
|
25
|
+
|
|
26
|
+
Avoid nicknames, abbreviations, or stylized spellings of the product name in user-facing copy.
|
|
27
|
+
|
|
28
|
+
## Usage guidelines
|
|
29
|
+
|
|
30
|
+
### Do
|
|
31
|
+
|
|
32
|
+
- Use official logos without alteration
|
|
33
|
+
- Use the provided **Powered by** lockup or badge when acknowledging Lunch Money
|
|
34
|
+
- Keep enough clear space around logos so they stay readable
|
|
35
|
+
- Download assets from the media kit rather than cropping screenshots of the logo
|
|
36
|
+
|
|
37
|
+
### Don't
|
|
38
|
+
|
|
39
|
+
- Stretch, rotate, or recolor logos
|
|
40
|
+
- Add effects, shadows, or outlines to the logo
|
|
41
|
+
- Modify the smiling coin mascot character
|
|
42
|
+
- Imply endorsement, partnership, or official status without permission
|
|
43
|
+
|
|
44
|
+
> [!NOTE]
|
|
45
|
+
> The Lunch Money name, logo, and mascot character are trademarks of Lunchbag Labs, Inc. All rights reserved.
|
|
46
|
+
|
|
47
|
+
## Suggested placements
|
|
48
|
+
|
|
49
|
+
A few common, low-friction ways to brand an integration:
|
|
50
|
+
|
|
51
|
+
1. **README or docs** — a short "Built with Lunch Money" line plus the Powered by badge linking to <a href="https://lunchmoney.app/" target="_blank" rel="noopener noreferrer">lunchmoney.app</a>
|
|
52
|
+
2. **App footer or about screen** — the Powered by lockup next to your own branding
|
|
53
|
+
3. **Onboarding or connect flow** — official logo when prompting users to authorize or paste an access token
|
|
54
|
+
4. **Community listings** — consistent naming ("My Tool for Lunch Money") so users can find and trust your project
|
|
55
|
+
|
|
56
|
+
Keep your own product name primary. Lunch Money branding should signal the connection, not compete with your identity.
|
|
57
|
+
|
|
58
|
+
## Need help?
|
|
59
|
+
|
|
60
|
+
If you're unsure whether a use is appropriate, or you need a format that isn't in the media kit:
|
|
61
|
+
|
|
62
|
+
- Start with the <a href="https://lunchmoney.app/media-kit/" target="_blank" rel="noopener noreferrer">Media Kit</a>
|
|
63
|
+
- Ask in the <a href="https://lunchmoney.app/discord" target="_blank" rel="noopener noreferrer">Lunch Money Discord</a> **#developer-api** channel
|
|
64
|
+
- [Email our developer advocate](mailto:jp@lunchmoney.app)
|
package/manifest.json
CHANGED
|
@@ -57,6 +57,14 @@
|
|
|
57
57
|
"type": "markdown",
|
|
58
58
|
"aliases": ["/v2/using-with-ai"]
|
|
59
59
|
},
|
|
60
|
+
{
|
|
61
|
+
"path": "/branding-your-app",
|
|
62
|
+
"file": "docs/branding-your-app.md",
|
|
63
|
+
"title": "Branding your App",
|
|
64
|
+
"section": "GUIDES",
|
|
65
|
+
"type": "markdown",
|
|
66
|
+
"aliases": ["/v2/branding-your-app"]
|
|
67
|
+
},
|
|
60
68
|
{
|
|
61
69
|
"path": "/v2/overview",
|
|
62
70
|
"file": "v2/docs/intro-to-v2.md",
|
|
@@ -191,7 +199,8 @@
|
|
|
191
199
|
{ "label": "Pagination", "path": "/pagination" },
|
|
192
200
|
{ "label": "Rate Limiting", "path": "/rate-limits" },
|
|
193
201
|
{ "label": "Supported Currencies", "path": "/currencies" },
|
|
194
|
-
{ "label": "Using the API with AI", "path": "/using-with-ai" }
|
|
202
|
+
{ "label": "Using the API with AI", "path": "/using-with-ai" },
|
|
203
|
+
{ "label": "Branding your App", "path": "/branding-your-app" }
|
|
195
204
|
]},
|
|
196
205
|
{ "section": "REFERENCE", "items": [
|
|
197
206
|
{ "label": "v2 API Overview", "path": "/v2/overview" },
|
package/package.json
CHANGED
|
@@ -6,19 +6,36 @@ info:
|
|
|
6
6
|
|
|
7
7
|
Welcome to the Lunch Money v2 API reference. This is the **v2.11.1** spec.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
> [!warning]
|
|
10
|
+
> **Preview endpoints (subject to change)**
|
|
11
|
+
>
|
|
12
|
+
> - [`GET /v2/me/account/settings`](#tag/me/GET/me/account/settings)
|
|
13
|
+
> - [`PUT /v2/me/account/settings`](#tag/me/PUT/me/account/settings)
|
|
14
|
+
> - [`GET /v2/me/user/settings`](#tag/me/GET/me/user/settings)
|
|
15
|
+
> - [`PUT /v2/me/user/settings`](#tag/me/PUT/me/user/settings)
|
|
16
|
+
>
|
|
17
|
+
> <p class="preview-endpoints-footer" style="margin:0.85em 0 0;padding:0;text-align:left;width:100%;box-sizing:border-box">Do not release production apps using these endpoints. Feedback is welcome. <a href="mailto:dev-support@lunchmoney.app">Email dev-support@lunchmoney.app</a> or join us in the <a href="https://discord.com/channels/842337014556262411/1134594318414389258">developers channel</a> on the <a href="https://lunchmoney.app/discord">Lunch Money Discord</a>.</p>
|
|
18
|
+
|
|
19
|
+
The most recent stable version of the API is v2.11.0 and is available at:
|
|
20
|
+
`https://api.lunchmoney.dev/v2`
|
|
21
|
+
|
|
22
|
+
See the [stable Developer Portal](https://lunchmoney.dev/v2).
|
|
23
|
+
|
|
24
|
+
------------------------------------------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
The API is available at `https://api-beta.lunchmoney.app/v2`. Get your access token from the [Lunch Money developers page](https://my.lunchmoney.app/developers).
|
|
10
27
|
|
|
11
28
|
|
|
12
29
|
**Try it from these docs**
|
|
13
30
|
|
|
14
31
|
These docs are interactive — use **Test request** on any endpoint to call the API from this page.
|
|
15
32
|
Choose a LIVE or MOCK service from the Server dropdown.
|
|
16
|
-
Requests sent to `https://api.lunchmoney.
|
|
17
|
-
See the [Getting Started Guide](https://lunchmoney.dev/v2/getting-started) before using the live API.
|
|
33
|
+
Requests sent to `https://api-beta.lunchmoney.app/v2` can <span class="red-text"><strong>change or delete</strong></span> your data and are <span class="red-text"><strong>permanent</strong></span>.
|
|
34
|
+
See the [Getting Started Guide](https://beta.lunchmoney.dev/v2/getting-started) before using the live API.
|
|
18
35
|
|
|
19
36
|
**Static mock server**
|
|
20
37
|
|
|
21
|
-
Explore without risk to real data. Select `
|
|
38
|
+
Explore without risk to real data. Select `https://beta-mock.lunchmoney.dev/v2` in the Server dropdown to work with static mock data.
|
|
22
39
|
POST, PUT, and DELETE requests will return realistic responses, but do not change the mock data.
|
|
23
40
|
|
|
24
41
|
|
|
@@ -28,14 +45,14 @@ info:
|
|
|
28
45
|
|
|
29
46
|
**Migrating from v1**
|
|
30
47
|
|
|
31
|
-
The v2 API is not backwards compatible with v1. See the [Migration Guide](https://lunchmoney.dev/v2/migration-guide) for details.
|
|
48
|
+
The v2 API is not backwards compatible with v1. See the [Migration Guide](https://beta.lunchmoney.dev/v2/migration-guide) for details.
|
|
32
49
|
|
|
33
50
|
**Useful links**
|
|
34
|
-
- [Getting Started Guide](https://lunchmoney.dev/v2/getting-started)
|
|
35
|
-
- [v2 API Overview](https://lunchmoney.dev/v2/overview)
|
|
36
|
-
- [Version History](https://lunchmoney.dev/v2/version-history)
|
|
37
|
-
- [Migration Guide](https://lunchmoney.dev/v2/migration-guide)
|
|
38
|
-
- [Rate Limits](https://lunchmoney.dev/v2/rate-limits)
|
|
51
|
+
- [Getting Started Guide](https://beta.lunchmoney.dev/v2/getting-started)
|
|
52
|
+
- [v2 API Overview](https://beta.lunchmoney.dev/v2/overview)
|
|
53
|
+
- [Version History](https://beta.lunchmoney.dev/v2/version-history)
|
|
54
|
+
- [Migration Guide](https://beta.lunchmoney.dev/v2/migration-guide)
|
|
55
|
+
- [Rate Limits](https://beta.lunchmoney.dev/v2/rate-limits)
|
|
39
56
|
termsOfService: https://lunchmoney.dev/#current-status
|
|
40
57
|
contact:
|
|
41
58
|
email: devsupport@lunchmoney.app
|
|
@@ -45,9 +62,9 @@ info:
|
|
|
45
62
|
version: 2.11.1
|
|
46
63
|
|
|
47
64
|
servers:
|
|
48
|
-
- url: https://api.lunchmoney.
|
|
65
|
+
- url: https://api-beta.lunchmoney.app/v2
|
|
49
66
|
description: ⚠ LIVE — changes real Lunch Money data
|
|
50
|
-
- url:
|
|
67
|
+
- url: https://beta-mock.lunchmoney.dev/v2
|
|
51
68
|
description: MOCK — static demo data, no API key required
|
|
52
69
|
|
|
53
70
|
tags:
|
|
@@ -3056,7 +3073,7 @@ components:
|
|
|
3056
3073
|
currency:
|
|
3057
3074
|
description: Three-letter lowercase currency code of the transaction
|
|
3058
3075
|
in ISO 4217 format. Must match one of the [supported
|
|
3059
|
-
currencies](https://lunchmoney.dev/v2/currencies). If not set
|
|
3076
|
+
currencies](https://beta.lunchmoney.dev/v2/currencies). If not set
|
|
3060
3077
|
defaults to the user account's primary currency.
|
|
3061
3078
|
allOf:
|
|
3062
3079
|
- $ref: "#/components/schemas/currencyEnum"
|
|
@@ -4984,7 +5001,12 @@ paths:
|
|
|
4984
5001
|
- me
|
|
4985
5002
|
summary: Get account settings
|
|
4986
5003
|
description: |-
|
|
4987
|
-
|
|
5004
|
+
> [!warning]
|
|
5005
|
+
> **Preview endpoint** — behavior is subject to change. This endpoint is available in the mock server but not implemented yet on the live api service. Design feedback is welcome. [Email dev-support@lunchmoney.app](mailto:dev-support@lunchmoney.app) or join us in the [developers channel](https://discord.com/channels/842337014556262411/1134594318414389258) on the [Lunch Money Discord](https://lunchmoney.app/discord).
|
|
5006
|
+
|
|
5007
|
+
|
|
5008
|
+
Returns account-level settings for the budgeting account associated with the authorized API token.<p>
|
|
5009
|
+
These settings apply only to this budgeting account; a user with access to multiple budgets has separate account settings for each.
|
|
4988
5010
|
operationId: getAccountSettings
|
|
4989
5011
|
responses:
|
|
4990
5012
|
"200":
|
|
@@ -5016,8 +5038,14 @@ paths:
|
|
|
5016
5038
|
- me
|
|
5017
5039
|
summary: Update account settings
|
|
5018
5040
|
description: |-
|
|
5041
|
+
> [!warning]
|
|
5042
|
+
> **Preview endpoint** — behavior is subject to change. This endpoint is available in the mock server but not implemented yet on the live api service. Design feedback is welcome. [Email dev-support@lunchmoney.app](mailto:dev-support@lunchmoney.app) or join us in the [developers channel](https://discord.com/channels/842337014556262411/1134594318414389258) on the [Lunch Money Discord](https://lunchmoney.app/discord).
|
|
5043
|
+
|
|
5044
|
+
|
|
5019
5045
|
Updates account-level settings for the budgeting account
|
|
5020
|
-
associated with the authorized API token.<p>
|
|
5046
|
+
associated with the authorized API token.<p>
|
|
5047
|
+
These settings apply only to this budgeting account; a user with access to multiple budgets has separate account settings for each.<p>
|
|
5048
|
+
You may submit the response from a
|
|
5021
5049
|
`GET /me/account/settings` as the request body; however, only certain
|
|
5022
5050
|
properties can be updated.<p> It is also possible to provide only the
|
|
5023
5051
|
properties to be updated in the request body, as long as the request
|
|
@@ -5062,7 +5090,12 @@ paths:
|
|
|
5062
5090
|
- me
|
|
5063
5091
|
summary: Get user settings
|
|
5064
5092
|
description: |-
|
|
5065
|
-
|
|
5093
|
+
> [!warning]
|
|
5094
|
+
> **Preview endpoint** — behavior is subject to change. This endpoint is available in the mock server but not implemented yet on the live api service. Design feedback is welcome. [Email dev-support@lunchmoney.app](mailto:dev-support@lunchmoney.app) or join us in the [developers channel](https://discord.com/channels/842337014556262411/1134594318414389258) on the [Lunch Money Discord](https://lunchmoney.app/discord).
|
|
5095
|
+
|
|
5096
|
+
|
|
5097
|
+
Returns user-level display and formatting preferences for the user associated with the authorized API token.<p>
|
|
5098
|
+
User settings belong to the user and apply across all budgets they can access.
|
|
5066
5099
|
operationId: getUserSettings
|
|
5067
5100
|
responses:
|
|
5068
5101
|
"200":
|
|
@@ -5092,8 +5125,14 @@ paths:
|
|
|
5092
5125
|
- me
|
|
5093
5126
|
summary: Update user settings
|
|
5094
5127
|
description: |-
|
|
5128
|
+
> [!warning]
|
|
5129
|
+
> **Preview endpoint** — behavior is subject to change. This endpoint is available in the mock server but not implemented yet on the live api service. Design feedback is welcome. [Email dev-support@lunchmoney.app](mailto:dev-support@lunchmoney.app) or join us in the [developers channel](https://discord.com/channels/842337014556262411/1134594318414389258) on the [Lunch Money Discord](https://lunchmoney.app/discord).
|
|
5130
|
+
|
|
5131
|
+
|
|
5095
5132
|
Updates user-level display and formatting preferences for the user
|
|
5096
|
-
associated with the authorized API token.<p>
|
|
5133
|
+
associated with the authorized API token.<p>
|
|
5134
|
+
User settings belong to the user and apply across all budgets they can access.<p>
|
|
5135
|
+
You may submit the response from a
|
|
5097
5136
|
from a `GET /me/user/settings` as the request body; however, only
|
|
5098
5137
|
certain properties can be updated.<p> It is also possible to provide
|
|
5099
5138
|
only the properties to be updated in the request body, as long as the
|
|
@@ -9214,19 +9253,19 @@ paths:
|
|
|
9214
9253
|
description: Sets the maximum number of transactions to return. If
|
|
9215
9254
|
more match the filter criteria, the response will include a
|
|
9216
9255
|
`has_more` attribute set to `true`. See
|
|
9217
|
-
[Pagination](https://lunchmoney.dev/v2/pagination)
|
|
9256
|
+
[Pagination](https://beta.lunchmoney.dev/v2/pagination)
|
|
9218
9257
|
- name: offset
|
|
9219
9258
|
in: query
|
|
9220
9259
|
schema:
|
|
9221
9260
|
type: integer
|
|
9222
9261
|
description: Sets the offset for the records returned. This is
|
|
9223
9262
|
typically set automatically in the header. See
|
|
9224
|
-
[Pagination](https://lunchmoney.dev/v2/pagination)
|
|
9263
|
+
[Pagination](https://beta.lunchmoney.dev/v2/pagination)
|
|
9225
9264
|
responses:
|
|
9226
9265
|
"200":
|
|
9227
9266
|
description: Returns an array of transactions. <br><br>The `has_more`
|
|
9228
9267
|
property is set to `true` if more transactions are available. See
|
|
9229
|
-
[Pagination](https://lunchmoney.dev/v2/pagination)
|
|
9268
|
+
[Pagination](https://beta.lunchmoney.dev/v2/pagination)
|
|
9230
9269
|
content:
|
|
9231
9270
|
application/json:
|
|
9232
9271
|
schema:
|