fuse_client 1.0.33 → 1.0.34
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +6 -1
- data/docs/AddAccountEventsRequest.md +18 -0
- data/docs/AddAccountEventsRequestEventsInner.md +51 -0
- data/docs/{AddSpendPowerTransactionResponse.md → AddAccountEventsResponse.md} +2 -2
- data/docs/AssetReportTransaction.md +1 -1
- data/docs/CreateSessionRequest.md +1 -1
- data/docs/CreateSpendPowerCustomizationRequest.md +22 -0
- data/docs/CreateSpendPowerRequest.md +5 -5
- data/docs/CreateSpendPowerResponse.md +1 -1
- data/docs/DeleteSpendPowerResponse.md +2 -2
- data/docs/EnrichTransactionsRequest.md +18 -0
- data/docs/EnrichTransactionsResponse.md +18 -0
- data/docs/EnrichedTransaction.md +46 -0
- data/docs/EnrichedTransactionLogo.md +18 -0
- data/docs/EvalSpendPowerRequest.md +22 -0
- data/docs/EvalSpendPowerRequestEventsInner.md +20 -0
- data/docs/EvalSpendPowerResponse.md +20 -0
- data/docs/ExternalTransactionEvent.md +36 -0
- data/docs/ExternalTransactionEventStatus.md +15 -0
- data/docs/FinancialConnectionsAccountBalance.md +2 -2
- data/docs/FinancialConnectionsAccountCachedBalance.md +2 -2
- data/docs/FinancialConnectionsHolding.md +3 -3
- data/docs/FinancialConnectionsInvestmentSecurity.md +1 -1
- data/docs/FinancialConnectionsInvestmentTransaction.md +5 -3
- data/docs/FinancialConnectionsInvestmentTransactionSubtype.md +15 -0
- data/docs/FuseApi.md +193 -35
- data/docs/GetFinanceScoreResponse.md +20 -0
- data/docs/GetInvestmentTransactionsRequest.md +4 -4
- data/docs/GetSpendPowerCustomizationResponse.md +20 -0
- data/docs/InAppTransactionEvent.md +34 -0
- data/docs/InAppTransactionEventStatus.md +15 -0
- data/docs/SpendPower.md +6 -6
- data/docs/SpendPowerApi.md +87 -44
- data/docs/SpendPowerCustomization.md +5 -3
- data/docs/SpendPowerTimeFrame.md +15 -0
- data/docs/Transaction.md +1 -1
- data/docs/TransactionCategory.md +20 -0
- data/docs/TransactionCategoryDetailed.md +15 -0
- data/docs/TransactionCategoryPrimary.md +15 -0
- data/docs/TransactionEventType.md +15 -0
- data/docs/TransactionToEnrich.md +26 -0
- data/docs/UpdateSpendPowerCustomizationRequest.md +22 -0
- data/docs/UpdatedBalanceEvent.md +26 -0
- data/lib/fuse_client/api/fuse_api.rb +176 -31
- data/lib/fuse_client/api/spend_power_api.rb +78 -52
- data/lib/fuse_client/models/add_account_events_request.rb +254 -0
- data/lib/fuse_client/models/add_account_events_request_events_inner.rb +106 -0
- data/lib/fuse_client/models/{add_spend_power_transaction_response.rb → add_account_events_response.rb} +3 -3
- data/lib/fuse_client/models/asset_report_transaction.rb +1 -1
- data/lib/fuse_client/models/country_code.rb +2 -1
- data/lib/fuse_client/models/create_session_request.rb +1 -1
- data/lib/fuse_client/models/create_spend_power_customization_request.rb +314 -0
- data/lib/fuse_client/models/create_spend_power_request.rb +22 -22
- data/lib/fuse_client/models/create_spend_power_response.rb +1 -1
- data/lib/fuse_client/models/delete_spend_power_response.rb +11 -10
- data/lib/fuse_client/models/enrich_transactions_request.rb +226 -0
- data/lib/fuse_client/models/enrich_transactions_response.rb +222 -0
- data/lib/fuse_client/models/enriched_transaction.rb +397 -0
- data/lib/fuse_client/models/enriched_transaction_logo.rb +220 -0
- data/lib/fuse_client/models/eval_spend_power_request.rb +296 -0
- data/lib/fuse_client/models/eval_spend_power_request_events_inner.rb +239 -0
- data/lib/fuse_client/models/eval_spend_power_response.rb +230 -0
- data/lib/fuse_client/models/external_transaction_event.rb +384 -0
- data/lib/fuse_client/models/external_transaction_event_status.rb +40 -0
- data/lib/fuse_client/models/financial_connections_account_balance.rb +2 -2
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +2 -2
- data/lib/fuse_client/models/financial_connections_holding.rb +3 -3
- data/lib/fuse_client/models/financial_connections_investment_security.rb +1 -1
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +13 -4
- data/lib/fuse_client/models/financial_connections_investment_transaction_subtype.rb +87 -0
- data/lib/fuse_client/models/fuse_api_error_code.rb +3 -1
- data/lib/fuse_client/models/get_finance_score_response.rb +240 -0
- data/lib/fuse_client/models/get_investment_transactions_request.rb +37 -9
- data/lib/fuse_client/models/get_spend_power_customization_response.rb +239 -0
- data/lib/fuse_client/models/in_app_transaction_event.rb +364 -0
- data/lib/fuse_client/models/in_app_transaction_event_status.rb +41 -0
- data/lib/fuse_client/models/spend_power.rb +18 -18
- data/lib/fuse_client/models/spend_power_customization.rb +54 -14
- data/lib/fuse_client/models/spend_power_time_frame.rb +41 -0
- data/lib/fuse_client/models/transaction.rb +1 -1
- data/lib/fuse_client/models/transaction_category.rb +260 -0
- data/lib/fuse_client/models/transaction_category_detailed.rb +135 -0
- data/lib/fuse_client/models/transaction_category_primary.rb +59 -0
- data/lib/fuse_client/models/transaction_event_type.rb +65 -0
- data/lib/fuse_client/models/{add_spend_power_transaction_request.rb → transaction_to_enrich.rb} +47 -27
- data/lib/fuse_client/models/update_spend_power_customization_request.rb +291 -0
- data/lib/fuse_client/models/updated_balance_event.rb +308 -0
- data/lib/fuse_client/version.rb +1 -1
- data/lib/fuse_client.rb +26 -2
- data/spec/api/fuse_api_spec.rb +33 -7
- data/spec/api/spend_power_api_spec.rb +14 -17
- data/spec/models/add_account_events_request_events_inner_spec.rb +31 -0
- data/spec/models/add_account_events_request_spec.rb +34 -0
- data/spec/models/{add_spend_power_transaction_response_spec.rb → add_account_events_response_spec.rb} +6 -6
- data/spec/models/create_spend_power_customization_request_spec.rb +46 -0
- data/spec/models/create_spend_power_request_spec.rb +2 -2
- data/spec/models/delete_spend_power_response_spec.rb +1 -1
- data/spec/models/enrich_transactions_request_spec.rb +34 -0
- data/spec/models/enrich_transactions_response_spec.rb +34 -0
- data/spec/models/enriched_transaction_logo_spec.rb +34 -0
- data/spec/models/enriched_transaction_spec.rb +122 -0
- data/spec/models/eval_spend_power_request_events_inner_spec.rb +40 -0
- data/spec/models/eval_spend_power_request_spec.rb +46 -0
- data/spec/models/eval_spend_power_response_spec.rb +40 -0
- data/spec/models/external_transaction_event_spec.rb +92 -0
- data/spec/models/external_transaction_event_status_spec.rb +28 -0
- data/spec/models/financial_connections_investment_transaction_spec.rb +6 -0
- data/spec/models/financial_connections_investment_transaction_subtype_spec.rb +28 -0
- data/spec/models/get_finance_score_response_spec.rb +40 -0
- data/spec/models/get_spend_power_customization_response_spec.rb +40 -0
- data/spec/models/in_app_transaction_event_spec.rb +86 -0
- data/spec/models/in_app_transaction_event_status_spec.rb +28 -0
- data/spec/models/spend_power_customization_spec.rb +6 -4
- data/spec/models/spend_power_spec.rb +1 -1
- data/spec/models/spend_power_time_frame_spec.rb +28 -0
- data/spec/models/transaction_category_detailed_spec.rb +28 -0
- data/spec/models/transaction_category_primary_spec.rb +28 -0
- data/spec/models/transaction_category_spec.rb +40 -0
- data/spec/models/transaction_event_type_spec.rb +28 -0
- data/spec/models/{add_spend_power_transaction_request_spec.rb → transaction_to_enrich_spec.rb} +23 -11
- data/spec/models/update_spend_power_customization_request_spec.rb +46 -0
- data/spec/models/updated_balance_event_spec.rb +62 -0
- metadata +106 -10
- data/docs/AddSpendPowerTransactionRequest.md +0 -22
data/docs/SpendPowerApi.md
CHANGED
@@ -4,14 +4,15 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
|
-
| [**delete_spend_power**](SpendPowerApi.md#delete_spend_power) | **DELETE** /v1/
|
7
|
+
| [**delete_spend_power**](SpendPowerApi.md#delete_spend_power) | **DELETE** /v1/spend_power/{spend_power_id} | Delete spend power customization |
|
8
|
+
| [**get_spend_power_customization**](SpendPowerApi.md#get_spend_power_customization) | **GET** /v1/spend_power/customization/{spend_power_customization_id} | Get spend power customization |
|
8
9
|
|
9
10
|
|
10
11
|
## delete_spend_power
|
11
12
|
|
12
|
-
> <DeleteSpendPowerResponse> delete_spend_power(spend_power_id, fuse_client_id, fuse_api_key
|
13
|
-
|
13
|
+
> <DeleteSpendPowerResponse> delete_spend_power(spend_power_id, fuse_client_id, fuse_api_key)
|
14
14
|
|
15
|
+
Delete spend power customization
|
15
16
|
|
16
17
|
### Examples
|
17
18
|
|
@@ -35,29 +36,10 @@ api_instance = FuseClient::SpendPowerApi.new
|
|
35
36
|
spend_power_id = 'spend_power_id_example' # String |
|
36
37
|
fuse_client_id = 'fuse_client_id_example' # String |
|
37
38
|
fuse_api_key = 'fuse_api_key_example' # String |
|
38
|
-
opts = {
|
39
|
-
plaid_client_id: 'plaid_client_id_example', # String |
|
40
|
-
plaid_secret: 'plaid_secret_example', # String |
|
41
|
-
teller_application_id: 'teller_application_id_example', # String |
|
42
|
-
teller_certificate: 'teller_certificate_example', # String |
|
43
|
-
teller_private_key: 'teller_private_key_example', # String |
|
44
|
-
teller_token_signing_key: 'teller_token_signing_key_example', # String |
|
45
|
-
teller_signing_secret: 'teller_signing_secret_example', # String |
|
46
|
-
mx_client_id: 'mx_client_id_example', # String |
|
47
|
-
mx_api_key: 'mx_api_key_example', # String |
|
48
|
-
snaptrade_client_id: 'snaptrade_client_id_example', # String |
|
49
|
-
snaptrade_consumer_key: 'snaptrade_consumer_key_example', # String |
|
50
|
-
flinks_customer_id: 'flinks_customer_id_example', # String |
|
51
|
-
flinks_us_instance_id: 'flinks_us_instance_id_example', # String |
|
52
|
-
flinks_ca_instance_id: 'flinks_ca_instance_id_example', # String |
|
53
|
-
finicity_partner_id: 'finicity_partner_id_example', # String |
|
54
|
-
finicity_partner_secret: 'finicity_partner_secret_example', # String |
|
55
|
-
finicity_app_key: 'finicity_app_key_example' # String |
|
56
|
-
}
|
57
39
|
|
58
40
|
begin
|
59
|
-
|
60
|
-
result = api_instance.delete_spend_power(spend_power_id, fuse_client_id, fuse_api_key
|
41
|
+
# Delete spend power customization
|
42
|
+
result = api_instance.delete_spend_power(spend_power_id, fuse_client_id, fuse_api_key)
|
61
43
|
p result
|
62
44
|
rescue FuseClient::ApiError => e
|
63
45
|
puts "Error when calling SpendPowerApi->delete_spend_power: #{e}"
|
@@ -68,12 +50,12 @@ end
|
|
68
50
|
|
69
51
|
This returns an Array which contains the response data, status code and headers.
|
70
52
|
|
71
|
-
> <Array(<DeleteSpendPowerResponse>, Integer, Hash)> delete_spend_power_with_http_info(spend_power_id, fuse_client_id, fuse_api_key
|
53
|
+
> <Array(<DeleteSpendPowerResponse>, Integer, Hash)> delete_spend_power_with_http_info(spend_power_id, fuse_client_id, fuse_api_key)
|
72
54
|
|
73
55
|
```ruby
|
74
56
|
begin
|
75
|
-
|
76
|
-
data, status_code, headers = api_instance.delete_spend_power_with_http_info(spend_power_id, fuse_client_id, fuse_api_key
|
57
|
+
# Delete spend power customization
|
58
|
+
data, status_code, headers = api_instance.delete_spend_power_with_http_info(spend_power_id, fuse_client_id, fuse_api_key)
|
77
59
|
p status_code # => 2xx
|
78
60
|
p headers # => { ... }
|
79
61
|
p data # => <DeleteSpendPowerResponse>
|
@@ -89,23 +71,6 @@ end
|
|
89
71
|
| **spend_power_id** | **String** | | |
|
90
72
|
| **fuse_client_id** | **String** | | |
|
91
73
|
| **fuse_api_key** | **String** | | |
|
92
|
-
| **plaid_client_id** | **String** | | [optional] |
|
93
|
-
| **plaid_secret** | **String** | | [optional] |
|
94
|
-
| **teller_application_id** | **String** | | [optional] |
|
95
|
-
| **teller_certificate** | **String** | | [optional] |
|
96
|
-
| **teller_private_key** | **String** | | [optional] |
|
97
|
-
| **teller_token_signing_key** | **String** | | [optional] |
|
98
|
-
| **teller_signing_secret** | **String** | | [optional] |
|
99
|
-
| **mx_client_id** | **String** | | [optional] |
|
100
|
-
| **mx_api_key** | **String** | | [optional] |
|
101
|
-
| **snaptrade_client_id** | **String** | | [optional] |
|
102
|
-
| **snaptrade_consumer_key** | **String** | | [optional] |
|
103
|
-
| **flinks_customer_id** | **String** | | [optional] |
|
104
|
-
| **flinks_us_instance_id** | **String** | | [optional] |
|
105
|
-
| **flinks_ca_instance_id** | **String** | | [optional] |
|
106
|
-
| **finicity_partner_id** | **String** | | [optional] |
|
107
|
-
| **finicity_partner_secret** | **String** | | [optional] |
|
108
|
-
| **finicity_app_key** | **String** | | [optional] |
|
109
74
|
|
110
75
|
### Return type
|
111
76
|
|
@@ -120,3 +85,81 @@ end
|
|
120
85
|
- **Content-Type**: Not defined
|
121
86
|
- **Accept**: application/json
|
122
87
|
|
88
|
+
|
89
|
+
## get_spend_power_customization
|
90
|
+
|
91
|
+
> <GetSpendPowerCustomizationResponse> get_spend_power_customization(spend_power_customization_id, fuse_client_id, fuse_api_key)
|
92
|
+
|
93
|
+
Get spend power customization
|
94
|
+
|
95
|
+
### Examples
|
96
|
+
|
97
|
+
```ruby
|
98
|
+
require 'time'
|
99
|
+
require 'fuse_client'
|
100
|
+
# setup authorization
|
101
|
+
FuseClient.configure do |config|
|
102
|
+
# Configure API key authorization: fuseApiKey
|
103
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
104
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
105
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
106
|
+
|
107
|
+
# Configure API key authorization: fuseClientId
|
108
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
109
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
110
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
111
|
+
end
|
112
|
+
|
113
|
+
api_instance = FuseClient::SpendPowerApi.new
|
114
|
+
spend_power_customization_id = 'spend_power_customization_id_example' # String |
|
115
|
+
fuse_client_id = 'fuse_client_id_example' # String |
|
116
|
+
fuse_api_key = 'fuse_api_key_example' # String |
|
117
|
+
|
118
|
+
begin
|
119
|
+
# Get spend power customization
|
120
|
+
result = api_instance.get_spend_power_customization(spend_power_customization_id, fuse_client_id, fuse_api_key)
|
121
|
+
p result
|
122
|
+
rescue FuseClient::ApiError => e
|
123
|
+
puts "Error when calling SpendPowerApi->get_spend_power_customization: #{e}"
|
124
|
+
end
|
125
|
+
```
|
126
|
+
|
127
|
+
#### Using the get_spend_power_customization_with_http_info variant
|
128
|
+
|
129
|
+
This returns an Array which contains the response data, status code and headers.
|
130
|
+
|
131
|
+
> <Array(<GetSpendPowerCustomizationResponse>, Integer, Hash)> get_spend_power_customization_with_http_info(spend_power_customization_id, fuse_client_id, fuse_api_key)
|
132
|
+
|
133
|
+
```ruby
|
134
|
+
begin
|
135
|
+
# Get spend power customization
|
136
|
+
data, status_code, headers = api_instance.get_spend_power_customization_with_http_info(spend_power_customization_id, fuse_client_id, fuse_api_key)
|
137
|
+
p status_code # => 2xx
|
138
|
+
p headers # => { ... }
|
139
|
+
p data # => <GetSpendPowerCustomizationResponse>
|
140
|
+
rescue FuseClient::ApiError => e
|
141
|
+
puts "Error when calling SpendPowerApi->get_spend_power_customization_with_http_info: #{e}"
|
142
|
+
end
|
143
|
+
```
|
144
|
+
|
145
|
+
### Parameters
|
146
|
+
|
147
|
+
| Name | Type | Description | Notes |
|
148
|
+
| ---- | ---- | ----------- | ----- |
|
149
|
+
| **spend_power_customization_id** | **String** | | |
|
150
|
+
| **fuse_client_id** | **String** | | |
|
151
|
+
| **fuse_api_key** | **String** | | |
|
152
|
+
|
153
|
+
### Return type
|
154
|
+
|
155
|
+
[**GetSpendPowerCustomizationResponse**](GetSpendPowerCustomizationResponse.md)
|
156
|
+
|
157
|
+
### Authorization
|
158
|
+
|
159
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
160
|
+
|
161
|
+
### HTTP request headers
|
162
|
+
|
163
|
+
- **Content-Type**: Not defined
|
164
|
+
- **Accept**: application/json
|
165
|
+
|
@@ -4,9 +4,10 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
9
|
-
| **
|
7
|
+
| **id** | **String** | The id of the spend power customization | |
|
8
|
+
| **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | |
|
9
|
+
| **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | |
|
10
|
+
| **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | |
|
10
11
|
|
11
12
|
## Example
|
12
13
|
|
@@ -14,6 +15,7 @@
|
|
14
15
|
require 'fuse_client'
|
15
16
|
|
16
17
|
instance = FuseClient::SpendPowerCustomization.new(
|
18
|
+
id: null,
|
17
19
|
timeframe: null,
|
18
20
|
min_limit: null,
|
19
21
|
max_limit: null
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::SpendPowerTimeFrame
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::SpendPowerTimeFrame.new()
|
14
|
+
```
|
15
|
+
|
data/docs/Transaction.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **remote_id** | **String** | Remote Id of the transaction, ie Plaid or Teller Id | |
|
8
8
|
| **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
|
9
|
-
| **amount** | **Float** | Amount in cents associated with the transaction. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. | |
|
9
|
+
| **amount** | **Float** | Amount in cents associated with the transaction. The format of this value is a double. Positive values when money moves out of the account; negative values when money moves in. For example, debit card purchases are positive; credit card payments, direct deposits, and refunds are negative. | |
|
10
10
|
| **date** | **String** | Date of the transaction (YYYY-MM-DD) | |
|
11
11
|
| **description** | **String** | Description of the transaction | |
|
12
12
|
| **category** | **Array<String>** | Categories of the transaction, ie Computers and Electronics | |
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::TransactionCategory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **primary** | [**TransactionCategoryPrimary**](TransactionCategoryPrimary.md) | | |
|
8
|
+
| **detailed** | [**TransactionCategoryDetailed**](TransactionCategoryDetailed.md) | | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::TransactionCategory.new(
|
16
|
+
primary: null,
|
17
|
+
detailed: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::TransactionCategoryDetailed
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::TransactionCategoryDetailed.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::TransactionCategoryPrimary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::TransactionCategoryPrimary.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# FuseClient::TransactionEventType
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
|
8
|
+
## Example
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
require 'fuse_client'
|
12
|
+
|
13
|
+
instance = FuseClient::TransactionEventType.new()
|
14
|
+
```
|
15
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# FuseClient::TransactionToEnrich
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | A unique ID for the transaction that to help you tie data back to your systems. | |
|
8
|
+
| **merchant_name** | **String** | The name of the merchant. | |
|
9
|
+
| **mcc** | **String** | The merchant category code. | [optional] |
|
10
|
+
| **amount** | **Float** | The amount of the transaction in cents, in the currency of the account. | [optional] |
|
11
|
+
| **type** | **String** | The type of the transaction | [optional] |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'fuse_client'
|
17
|
+
|
18
|
+
instance = FuseClient::TransactionToEnrich.new(
|
19
|
+
id: null,
|
20
|
+
merchant_name: null,
|
21
|
+
mcc: null,
|
22
|
+
amount: null,
|
23
|
+
type: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::UpdateSpendPowerCustomizationRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **timeframe** | [**SpendPowerTimeFrame**](SpendPowerTimeFrame.md) | | [optional] |
|
8
|
+
| **min_limit** | **Float** | The minimum allowed limit for the spend power, in cents. | [optional] |
|
9
|
+
| **max_limit** | **Float** | The maximum allowed limit for the spend power, in cents. | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::UpdateSpendPowerCustomizationRequest.new(
|
17
|
+
timeframe: null,
|
18
|
+
min_limit: null,
|
19
|
+
max_limit: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
# FuseClient::UpdatedBalanceEvent
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **event_type** | **String** | | |
|
8
|
+
| **available** | **Float** | The current balance of the account factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
|
9
|
+
| **current** | **Float** | The current balance of the account without factoring in pending transactions. Use positive values to represent money going out and negative to represent money going in. | [optional] |
|
10
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code. | |
|
11
|
+
| **timestamp** | **String** | Datetime that the balance is accurate for In ISO-8601 format | |
|
12
|
+
|
13
|
+
## Example
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'fuse_client'
|
17
|
+
|
18
|
+
instance = FuseClient::UpdatedBalanceEvent.new(
|
19
|
+
event_type: null,
|
20
|
+
available: null,
|
21
|
+
current: null,
|
22
|
+
iso_currency_code: null,
|
23
|
+
timestamp: null
|
24
|
+
)
|
25
|
+
```
|
26
|
+
|