@lunch-money/developer-docs 2.11.0-preview.14 → 2.11.0-preview.15
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/beta-introduction.md +1 -1
- package/package.json +1 -1
- package/v2/spec/lunch-money-api-v2.yaml +75 -159
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
**Beta Preview Portal** — This developer portal previews planned changes including:
|
|
2
|
-
|
|
2
|
+
- V2 API Mock Service no longer requires authentication
|
|
3
3
|
- Beta versions of new [v2 API](/v2/docs) endpoints:
|
|
4
4
|
- [/crypto/manual](v2/docs#tag/crypto-manual)
|
|
5
5
|
- [/crypto/synced](v2/docs#tag/crypto-synced)
|
package/package.json
CHANGED
|
@@ -6,13 +6,21 @@ info:
|
|
|
6
6
|
|
|
7
7
|
### Introduction
|
|
8
8
|
|
|
9
|
-
The API is available at `https://lunchmoney.dev/v2`. Get your access token from the [Lunch Money developers page](https://my.lunchmoney.app/developers).
|
|
9
|
+
The API is available at `https://api.lunchmoney.dev/v2`. Get your access token from the [Lunch Money developers page](https://my.lunchmoney.app/developers).
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
**Try it from these docs**
|
|
12
13
|
|
|
13
|
-
**
|
|
14
|
+
These docs are interactive — use **Test request** on any endpoint to call the API from this page.
|
|
15
|
+
Choose a LIVE or MOCK service from the Server dropdown.
|
|
16
|
+
Requests sent to `https://api.lunchmoney.dev/v2` can <span class="red-text"><strong>change or delete</strong></span> your data and are <span class="red-text"><strong>permanent</strong></span>.
|
|
17
|
+
See the [Getting Started Guide](https://lunchmoney.dev/v2/getting-started) before using the live API.
|
|
18
|
+
|
|
19
|
+
**Static mock server**
|
|
14
20
|
|
|
15
|
-
Explore
|
|
21
|
+
Explore without risk to real data. Select `http://mock.lunchmoney.dev/v2` in the Server dropdown to work with static mock data.
|
|
22
|
+
POST, PUT, and DELETE requests will return realistic responses, but do not change the mock data.
|
|
23
|
+
|
|
16
24
|
|
|
17
25
|
**Client Libraries & SDKs**
|
|
18
26
|
|
|
@@ -23,7 +31,6 @@ info:
|
|
|
23
31
|
The v2 API is not backwards compatible with v1. See the [Migration Guide](https://lunchmoney.dev/v2/migration-guide) for details.
|
|
24
32
|
|
|
25
33
|
**Useful links**
|
|
26
|
-
- [Developer Portal](https://lunchmoney.dev/v2/introduction)
|
|
27
34
|
- [Getting Started Guide](https://lunchmoney.dev/v2/getting-started)
|
|
28
35
|
- [v2 API Overview](https://lunchmoney.dev/v2/overview)
|
|
29
36
|
- [Version History](https://lunchmoney.dev/v2/version-history)
|
|
@@ -39,10 +46,9 @@ info:
|
|
|
39
46
|
|
|
40
47
|
servers:
|
|
41
48
|
- url: https://api.lunchmoney.dev/v2
|
|
42
|
-
description:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
description: Static mock version of the v2 Lunch Money API Server
|
|
49
|
+
description: ⚠ LIVE — changes real Lunch Money data
|
|
50
|
+
- url: http://mock.lunchmoney.dev/v2
|
|
51
|
+
description: MOCK — static demo data, no API key required
|
|
46
52
|
|
|
47
53
|
tags:
|
|
48
54
|
- name: me
|
|
@@ -4444,22 +4450,10 @@ components:
|
|
|
4444
4450
|
securitySchemes:
|
|
4445
4451
|
bearerSecurity:
|
|
4446
4452
|
type: http
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
# the v1 API you can view and manage your API keys on the [developers page
|
|
4450
|
-
# in the Lunch Money app](https://my.lunchmoney.app/developers). <p> To
|
|
4451
|
-
# interact with the Static Mock Server simply enter an API key of 11
|
|
4452
|
-
# characters or more. <p> To interact with the v2 service implemented on
|
|
4453
|
-
# top of the v1 API paste in a real API token associated with a Lunch
|
|
4454
|
-
# Money Budget.
|
|
4455
|
-
description: To interact with the Static Mock Server simply enter an API
|
|
4456
|
-
key of 11 characters or more.
|
|
4453
|
+
description: >-
|
|
4454
|
+
Required for the LIVE server. Optional for MOCK.
|
|
4457
4455
|
scheme: bearer
|
|
4458
4456
|
bearerFormat: JWT
|
|
4459
|
-
cookieAuth:
|
|
4460
|
-
type: apiKey
|
|
4461
|
-
in: cookie
|
|
4462
|
-
name: _lm_access_token
|
|
4463
4457
|
|
|
4464
4458
|
paths:
|
|
4465
4459
|
/me:
|
|
@@ -5739,12 +5733,9 @@ paths:
|
|
|
5739
5733
|
tags:
|
|
5740
5734
|
- crypto-manual
|
|
5741
5735
|
summary: Get all supported cryptocurrencies
|
|
5742
|
-
description:
|
|
5736
|
+
description: |-
|
|
5743
5737
|
Retrieve the list of cryptocurrencies currently supported for manual tracking.<p>
|
|
5744
|
-
|
|
5745
|
-
When creating a new manual crypto balance via `POST /crypto/manual`, the
|
|
5746
|
-
`symbol` you specify must match the `symbol` of one of the entries
|
|
5747
|
-
returned by this endpoint.
|
|
5738
|
+
When creating a new manual crypto balance via `POST /crypto/manual`, the `symbol` you specify must match the `symbol` of one of the entries returned by this endpoint.
|
|
5748
5739
|
operationId: getAllCryptocurrencies
|
|
5749
5740
|
responses:
|
|
5750
5741
|
"200":
|
|
@@ -5782,16 +5773,9 @@ paths:
|
|
|
5782
5773
|
- crypto-manual
|
|
5783
5774
|
summary: Add a new supported cryptocurrency
|
|
5784
5775
|
operationId: createCryptocurrency
|
|
5785
|
-
description:
|
|
5776
|
+
description: |-
|
|
5786
5777
|
Adds a new cryptocurrency to the supported manual-crypto list.<br><br>
|
|
5787
|
-
|
|
5788
|
-
Lunch Money uses [CoinGecko](https://www.coingecko.com/us/coins/ethereum)
|
|
5789
|
-
to convert crypto balances to the user's primary currency. Users add a
|
|
5790
|
-
new supported cryptocurrency by submitting a CoinGecko coin-page URL.
|
|
5791
|
-
The server validates the URL, extracts the id from `/coins/{id}`,
|
|
5792
|
-
checks for an existing supported `coingecko_id`, validates the id
|
|
5793
|
-
against CoinGecko, then confirms the resolved symbol is not already
|
|
5794
|
-
supported before creating the new entry.
|
|
5778
|
+
Lunch Money uses [CoinGecko](https://www.coingecko.com/us/coins/ethereum) to convert crypto balances to the user's primary currency. Users add a new supported cryptocurrency by submitting a CoinGecko coin-page URL. The server validates the URL, extracts the id from `/coins/{id}`, checks for an existing supported `coingecko_id`, validates the id against CoinGecko, then confirms the resolved symbol is not already supported before creating the new entry.
|
|
5795
5779
|
requestBody:
|
|
5796
5780
|
required: true
|
|
5797
5781
|
content:
|
|
@@ -5870,8 +5854,8 @@ paths:
|
|
|
5870
5854
|
tags:
|
|
5871
5855
|
- crypto-manual
|
|
5872
5856
|
summary: Get all manual crypto balances
|
|
5873
|
-
description:
|
|
5874
|
-
the user's account.
|
|
5857
|
+
description: |-
|
|
5858
|
+
Retrieve all manually managed crypto balances associated with the user's account.
|
|
5875
5859
|
operationId: getAllCryptoManual
|
|
5876
5860
|
responses:
|
|
5877
5861
|
"200":
|
|
@@ -5905,11 +5889,9 @@ paths:
|
|
|
5905
5889
|
tags:
|
|
5906
5890
|
- crypto-manual
|
|
5907
5891
|
summary: Create a manual crypto balance
|
|
5908
|
-
description:
|
|
5892
|
+
description: |-
|
|
5909
5893
|
Create a manually managed crypto asset.<br><br>
|
|
5910
|
-
|
|
5911
|
-
If `display_name` is `null`, clients may derive one from
|
|
5912
|
-
`institution_name` + `name`.
|
|
5894
|
+
If `display_name` is `null`, clients may derive one from `institution_name` + `name`.
|
|
5913
5895
|
operationId: createCryptoManual
|
|
5914
5896
|
requestBody:
|
|
5915
5897
|
required: true
|
|
@@ -5994,7 +5976,8 @@ paths:
|
|
|
5994
5976
|
tags:
|
|
5995
5977
|
- crypto-manual
|
|
5996
5978
|
summary: Get a single manual crypto balance
|
|
5997
|
-
description:
|
|
5979
|
+
description: |-
|
|
5980
|
+
Retrieve a single manually managed crypto balance by ID.
|
|
5998
5981
|
operationId: getCryptoManualById
|
|
5999
5982
|
parameters:
|
|
6000
5983
|
- name: id
|
|
@@ -6062,11 +6045,9 @@ paths:
|
|
|
6062
6045
|
tags:
|
|
6063
6046
|
- crypto-manual
|
|
6064
6047
|
summary: Update a manual crypto balance
|
|
6065
|
-
description:
|
|
6048
|
+
description: |-
|
|
6066
6049
|
Modify a manually managed crypto balance.<br><br>
|
|
6067
|
-
|
|
6068
|
-
You may submit the response from `GET /crypto/manual/{id}` as the request body. System-defined properties
|
|
6069
|
-
are accepted according to the `x-updatable` metadata in the update schema.
|
|
6050
|
+
You may submit the response from `GET /crypto/manual/{id}` as the request body. System-defined properties are accepted according to the `x-updatable` metadata in the update schema.
|
|
6070
6051
|
operationId: updateCryptoManual
|
|
6071
6052
|
parameters:
|
|
6072
6053
|
- name: id
|
|
@@ -6163,10 +6144,8 @@ paths:
|
|
|
6163
6144
|
tags:
|
|
6164
6145
|
- crypto-manual
|
|
6165
6146
|
summary: Delete a manual crypto balance
|
|
6166
|
-
description:
|
|
6167
|
-
this crypto asset has a balance history, and you do not explicitly set
|
|
6168
|
-
the query parameter`keep_history`, a 422 response will be returned
|
|
6169
|
-
requesting you to explicitly set `keep_history` to `true` or `false`.
|
|
6147
|
+
description: |-
|
|
6148
|
+
Delete a single manually managed crypto asset by ID.<p> If this crypto asset has a balance history, and you do not explicitly set the query parameter`keep_history`, a 422 response will be returned requesting you to explicitly set `keep_history` to `true` or `false`.
|
|
6170
6149
|
operationId: deleteCryptoManual
|
|
6171
6150
|
parameters:
|
|
6172
6151
|
- name: id
|
|
@@ -6231,8 +6210,8 @@ paths:
|
|
|
6231
6210
|
tags:
|
|
6232
6211
|
- crypto-synced
|
|
6233
6212
|
summary: Get all synced crypto accounts
|
|
6234
|
-
description:
|
|
6235
|
-
associated with the user's account.
|
|
6213
|
+
description: |-
|
|
6214
|
+
Retrieves all synced crypto accounts associated with the user's account.
|
|
6236
6215
|
operationId: getAllCryptoSynced
|
|
6237
6216
|
responses:
|
|
6238
6217
|
"200":
|
|
@@ -6294,8 +6273,8 @@ paths:
|
|
|
6294
6273
|
tags:
|
|
6295
6274
|
- crypto-synced
|
|
6296
6275
|
summary: Get a single synced crypto account
|
|
6297
|
-
description:
|
|
6298
|
-
for the specified synced crypto account ID.
|
|
6276
|
+
description: |-
|
|
6277
|
+
Retrieves the synced crypto account and all nested balances for the specified synced crypto account ID.
|
|
6299
6278
|
operationId: getCryptoSyncedById
|
|
6300
6279
|
parameters:
|
|
6301
6280
|
- name: id
|
|
@@ -6375,8 +6354,8 @@ paths:
|
|
|
6375
6354
|
tags:
|
|
6376
6355
|
- crypto-synced
|
|
6377
6356
|
summary: Get a synced crypto balance by symbol
|
|
6378
|
-
description:
|
|
6379
|
-
account using the crypto symbol.
|
|
6357
|
+
description: |-
|
|
6358
|
+
Retrieves a single balance from the specified synced crypto account using the crypto symbol.
|
|
6380
6359
|
operationId: getCryptoSyncedBalanceBySymbol
|
|
6381
6360
|
parameters:
|
|
6382
6361
|
- name: id
|
|
@@ -6455,8 +6434,8 @@ paths:
|
|
|
6455
6434
|
tags:
|
|
6456
6435
|
- crypto-synced
|
|
6457
6436
|
summary: Refresh balances for a synced crypto account
|
|
6458
|
-
description:
|
|
6459
|
-
account. Returns the refreshed synced crypto account.
|
|
6437
|
+
description: |-
|
|
6438
|
+
Trigger a balance refresh for the specified synced crypto account. Returns the refreshed synced crypto account.
|
|
6460
6439
|
operationId: refreshCryptoSynced
|
|
6461
6440
|
parameters:
|
|
6462
6441
|
- name: id
|
|
@@ -6525,24 +6504,11 @@ paths:
|
|
|
6525
6504
|
tags:
|
|
6526
6505
|
- balance_history
|
|
6527
6506
|
summary: Get balance history
|
|
6528
|
-
description:
|
|
6507
|
+
description: |-
|
|
6529
6508
|
Retrieve historical balance entries.<br><br>
|
|
6530
|
-
|
|
6531
|
-
|
|
6532
|
-
|
|
6533
|
-
while `end_date` may be in the future. If one of `start_date` or `end_date`
|
|
6534
|
-
is provided, the other is required. If neither is provided, all available
|
|
6535
|
-
balance history is returned.<br><br>
|
|
6536
|
-
|
|
6537
|
-
The response groups entries by source account. Each item in
|
|
6538
|
-
`balance_history` contains a `source` object plus a `balances` array
|
|
6539
|
-
containing one balance entry per month in the requested range, or all
|
|
6540
|
-
stored entries when no range is provided.<br><br>
|
|
6541
|
-
|
|
6542
|
-
Historical entries for accounts that have been deleted may still
|
|
6543
|
-
be returned. These entries use `source.type: deleted` and include
|
|
6544
|
-
`deleted_account_id`, archived display fields, and account metadata on the
|
|
6545
|
-
`source` object.
|
|
6509
|
+
Balance history is monthly. When `start_date` and `end_date` are both provided, they must be first-of-month dates. `start_date` must not be in the future, while `end_date` may be in the future. If one of `start_date` or `end_date` is provided, the other is required. If neither is provided, all available balance history is returned.<br><br>
|
|
6510
|
+
The response groups entries by source account. Each item in `balance_history` contains a `source` object plus a `balances` array containing one balance entry per month in the requested range, or all stored entries when no range is provided.<br><br>
|
|
6511
|
+
Historical entries for accounts that have been deleted may still be returned. These entries use `source.type: deleted` and include `deleted_account_id`, archived display fields, and account metadata on the `source` object.
|
|
6546
6512
|
operationId: getBalanceHistory
|
|
6547
6513
|
parameters:
|
|
6548
6514
|
- name: start_date
|
|
@@ -6747,17 +6713,10 @@ paths:
|
|
|
6747
6713
|
tags:
|
|
6748
6714
|
- balance_history
|
|
6749
6715
|
summary: Get balance history for an account
|
|
6750
|
-
description:
|
|
6751
|
-
Retrieve historical balance entries for one manual, Plaid, manual crypto,
|
|
6752
|
-
|
|
6753
|
-
|
|
6754
|
-
The `account_type` path parameter identifies the type of account and the
|
|
6755
|
-
`account_id` path parameter identifies the specific id for that account type.<br><br>
|
|
6756
|
-
|
|
6757
|
-
When `start_date` and `end_date` are both provided, they must be first-of-month
|
|
6758
|
-
dates. `start_date` must not be in the future, while `end_date` may be in the future.
|
|
6759
|
-
If one of `start_date` or `end_date` is provided, the other is required. If neither is
|
|
6760
|
-
provided, all available history for the source is returned.
|
|
6716
|
+
description: |-
|
|
6717
|
+
Retrieve historical balance entries for one manual, Plaid, manual crypto, or deleted account. Crypto synced accounts require an additional `symbol` path parameter.<br><br>
|
|
6718
|
+
The `account_type` path parameter identifies the type of account and the `account_id` path parameter identifies the specific id for that account type.<br><br>
|
|
6719
|
+
When `start_date` and `end_date` are both provided, they must be first-of-month dates. `start_date` must not be in the future, while `end_date` may be in the future. If one of `start_date` or `end_date` is provided, the other is required. If neither is provided, all available history for the source is returned.
|
|
6761
6720
|
operationId: getBalanceHistoryForAccount
|
|
6762
6721
|
parameters:
|
|
6763
6722
|
- name: account_type
|
|
@@ -6879,30 +6838,14 @@ paths:
|
|
|
6879
6838
|
tags:
|
|
6880
6839
|
- balance_history
|
|
6881
6840
|
summary: Upsert balance history for an account
|
|
6882
|
-
description:
|
|
6883
|
-
Upsert one or more historical balance entries for a single manual, Plaid,
|
|
6884
|
-
|
|
6885
|
-
|
|
6886
|
-
|
|
6887
|
-
`
|
|
6888
|
-
|
|
6889
|
-
|
|
6890
|
-
a `date` and `balance` value.<br><br>
|
|
6891
|
-
|
|
6892
|
-
Balance history is monthly. Each entry's `date` must be the first day of
|
|
6893
|
-
a month and must be in a past month.<br><br>
|
|
6894
|
-
|
|
6895
|
-
`currency` may be provided for any balance entry. If omitted, it defaults
|
|
6896
|
-
to the account currency for manual/Plaid accounts, or the user's primary
|
|
6897
|
-
currency for crypto/deleted accounts.<br><br>
|
|
6898
|
-
|
|
6899
|
-
`symbol` may only be set when `account_type` is `crypto_manual` or
|
|
6900
|
-
`crypto_synced`. It is optional for `crypto_manual` accounts and tolerated
|
|
6901
|
-
for `deleted` accounts.<br><br>
|
|
6902
|
-
|
|
6903
|
-
`crypto_balance` may be provided for `crypto_manual`, `crypto_synced`, and
|
|
6904
|
-
`deleted` accounts, and is invalid for `manual` or `plaid` accounts.<br><br>
|
|
6905
|
-
|
|
6841
|
+
description: |-
|
|
6842
|
+
Upsert one or more historical balance entries for a single manual, Plaid, manual crypto, or deleted account. Crypto synced accounts require an additional `symbol` path parameter.<br><br>
|
|
6843
|
+
The `account_type` path parameter identifies the type of account and the `account_id` path parameter identifies the specific id for that account type.<br><br>
|
|
6844
|
+
Submit one or more entries in the `balances` array. Each entry must specify a `date` and `balance` value.<br><br>
|
|
6845
|
+
Balance history is monthly. Each entry's `date` must be the first day of a month and must be in a past month.<br><br>
|
|
6846
|
+
`currency` may be provided for any balance entry. If omitted, it defaults to the account currency for manual/Plaid accounts, or the user's primary currency for crypto/deleted accounts.<br><br>
|
|
6847
|
+
`symbol` may only be set when `account_type` is `crypto_manual` or `crypto_synced`. It is optional for `crypto_manual` accounts and tolerated for `deleted` accounts.<br><br>
|
|
6848
|
+
`crypto_balance` may be provided for `crypto_manual`, `crypto_synced`, and `deleted` accounts, and is invalid for `manual` or `plaid` accounts.<br><br>
|
|
6906
6849
|
The response contains only the balance entries that were submitted in this request.
|
|
6907
6850
|
operationId: upsertBalanceHistoryForAccount
|
|
6908
6851
|
parameters:
|
|
@@ -7088,9 +7031,8 @@ paths:
|
|
|
7088
7031
|
tags:
|
|
7089
7032
|
- balance_history
|
|
7090
7033
|
summary: Delete all balance history for an account
|
|
7091
|
-
description:
|
|
7092
|
-
Delete all historical balance entries for a single manual, Plaid,
|
|
7093
|
-
manual crypto, or deleted account. Crypto synced accounts require an additional `symbol` path parameter.
|
|
7034
|
+
description: |-
|
|
7035
|
+
Delete all historical balance entries for a single manual, Plaid, manual crypto, or deleted account. Crypto synced accounts require an additional `symbol` path parameter.
|
|
7094
7036
|
operationId: deleteBalanceHistoryForAccount
|
|
7095
7037
|
parameters:
|
|
7096
7038
|
- name: account_type
|
|
@@ -7133,16 +7075,10 @@ paths:
|
|
|
7133
7075
|
tags:
|
|
7134
7076
|
- balance_history
|
|
7135
7077
|
summary: Get balance history for a synced crypto symbol
|
|
7136
|
-
description:
|
|
7078
|
+
description: |-
|
|
7137
7079
|
Retrieve historical balance entries for a single synced crypto symbol stream.<br><br>
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
to select one balance stream within that synced crypto account.<br><br>
|
|
7141
|
-
|
|
7142
|
-
When `start_date` and `end_date` are both provided, they must be first-of-month
|
|
7143
|
-
dates. `start_date` must not be in the future, while `end_date` may be in the future.
|
|
7144
|
-
If one of `start_date` or `end_date` is provided, the other is required. If neither is
|
|
7145
|
-
provided, all available history for the symbol stream is returned.
|
|
7080
|
+
Use the `crypto_synced` account id together with a `symbol` path parameter to select one balance stream within that synced crypto account.<br><br>
|
|
7081
|
+
When `start_date` and `end_date` are both provided, they must be first-of-month dates. `start_date` must not be in the future, while `end_date` may be in the future. If one of `start_date` or `end_date` is provided, the other is required. If neither is provided, all available history for the symbol stream is returned.
|
|
7146
7082
|
operationId: getBalanceHistoryForCryptoSynced
|
|
7147
7083
|
parameters:
|
|
7148
7084
|
- name: account_id
|
|
@@ -7238,27 +7174,14 @@ paths:
|
|
|
7238
7174
|
tags:
|
|
7239
7175
|
- balance_history
|
|
7240
7176
|
summary: Upsert balance history for a synced crypto symbol
|
|
7241
|
-
description:
|
|
7242
|
-
Upsert one or more historical balance entries for a single synced crypto
|
|
7243
|
-
symbol stream.<br><br>
|
|
7244
|
-
|
|
7177
|
+
description: |-
|
|
7178
|
+
Upsert one or more historical balance entries for a single synced crypto symbol stream.<br><br>
|
|
7245
7179
|
The path identifies both the synced crypto account and the symbol being updated.<br><br>
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
|
|
7249
|
-
|
|
7250
|
-
Balance history is monthly. Each entry's `date` must be the first day of
|
|
7251
|
-
a month and must be in a past month.<br><br>
|
|
7252
|
-
|
|
7253
|
-
The request body may include an optional `symbol` on each balance entry. If
|
|
7254
|
-
provided, it must match the `symbol` path parameter. Omit `symbol` to use
|
|
7255
|
-
the path value.<br><br>
|
|
7256
|
-
|
|
7257
|
-
`currency` may be provided for any balance entry. If omitted, it defaults
|
|
7258
|
-
to the user's primary currency for synced crypto balances.<br><br>
|
|
7259
|
-
|
|
7180
|
+
Submit one or more entries in the `balances` array. Each entry must specify a `date` and `balance` value.<br><br>
|
|
7181
|
+
Balance history is monthly. Each entry's `date` must be the first day of a month and must be in a past month.<br><br>
|
|
7182
|
+
The request body may include an optional `symbol` on each balance entry. If provided, it must match the `symbol` path parameter. Omit `symbol` to use the path value.<br><br>
|
|
7183
|
+
`currency` may be provided for any balance entry. If omitted, it defaults to the user's primary currency for synced crypto balances.<br><br>
|
|
7260
7184
|
`crypto_balance` may be provided for synced crypto balances.<br><br>
|
|
7261
|
-
|
|
7262
7185
|
The response contains only the balance entries that were submitted in this request.
|
|
7263
7186
|
operationId: upsertBalanceHistoryForCryptoSynced
|
|
7264
7187
|
parameters:
|
|
@@ -7391,11 +7314,9 @@ paths:
|
|
|
7391
7314
|
tags:
|
|
7392
7315
|
- balance_history
|
|
7393
7316
|
summary: Delete all balance history for a synced crypto symbol
|
|
7394
|
-
description:
|
|
7317
|
+
description: |-
|
|
7395
7318
|
Delete all historical balance entries for a single synced crypto symbol stream.<br><br>
|
|
7396
|
-
|
|
7397
|
-
The path identifies both the synced crypto account and the symbol whose
|
|
7398
|
-
history should be deleted.
|
|
7319
|
+
The path identifies both the synced crypto account and the symbol whose history should be deleted.
|
|
7399
7320
|
operationId: deleteBalanceHistoryForCryptoSynced
|
|
7400
7321
|
parameters:
|
|
7401
7322
|
- name: account_id
|
|
@@ -7437,7 +7358,7 @@ paths:
|
|
|
7437
7358
|
tags:
|
|
7438
7359
|
- balance_history
|
|
7439
7360
|
summary: Delete a balance history entry
|
|
7440
|
-
description:
|
|
7361
|
+
description: |-
|
|
7441
7362
|
Delete a single monthly balance history entry by its id.
|
|
7442
7363
|
operationId: deleteBalanceHistoryEntry
|
|
7443
7364
|
parameters:
|
|
@@ -7482,12 +7403,9 @@ paths:
|
|
|
7482
7403
|
tags:
|
|
7483
7404
|
- balance_history
|
|
7484
7405
|
summary: Update details for a deleted account
|
|
7485
|
-
description:
|
|
7406
|
+
description: |-
|
|
7486
7407
|
Update archived metadata for a deleted balance history source.<br><br>
|
|
7487
|
-
|
|
7488
|
-
Pass the `deleted` source id returned on `source.deleted_account_id`.
|
|
7489
|
-
This endpoint updates the stored deleted-source metadata used for all
|
|
7490
|
-
historical entries associated with that deleted source.
|
|
7408
|
+
Pass the `deleted` source id returned on `source.deleted_account_id`. This endpoint updates the stored deleted-source metadata used for all historical entries associated with that deleted source.
|
|
7491
7409
|
operationId: updateBalanceHistoryDetails
|
|
7492
7410
|
parameters:
|
|
7493
7411
|
- name: account_id
|
|
@@ -10797,9 +10715,8 @@ paths:
|
|
|
10797
10715
|
- transactions (files)
|
|
10798
10716
|
summary: Attach a file to a transaction
|
|
10799
10717
|
operationId: attachFileToTransaction
|
|
10800
|
-
description:
|
|
10801
|
-
Attaches a file to a transaction. The file must be less than 10MB in size.<br><br>
|
|
10802
|
-
The file will be attached to the transaction and can be downloaded from the link returned by a `GET /transactions/attachments/{file_id}` request.
|
|
10718
|
+
description: |-
|
|
10719
|
+
Attaches a file to a transaction. The file must be less than 10MB in size.<br><br> The file will be attached to the transaction and can be downloaded from the link returned by a `GET /transactions/attachments/{file_id}` request.
|
|
10803
10720
|
parameters:
|
|
10804
10721
|
- name: transaction_id
|
|
10805
10722
|
in: path
|
|
@@ -10882,8 +10799,8 @@ paths:
|
|
|
10882
10799
|
/transactions/attachments/{file_id}:
|
|
10883
10800
|
get:
|
|
10884
10801
|
summary: Get a url to download a file attachment
|
|
10885
|
-
description:
|
|
10886
|
-
attachment.
|
|
10802
|
+
description: |-
|
|
10803
|
+
Returns a signed url that can be used to download the file attachment.
|
|
10887
10804
|
operationId: getTransactionAttachmentUrl
|
|
10888
10805
|
tags:
|
|
10889
10806
|
- transactions (files)
|
|
@@ -11776,4 +11693,3 @@ paths:
|
|
|
11776
11693
|
|
|
11777
11694
|
security:
|
|
11778
11695
|
- bearerSecurity: []
|
|
11779
|
-
- cookieAuth: []
|