fuse_client 1.0.6 → 1.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -5
- data/README.md +82 -1
- data/docs/AccountSubType.md +15 -0
- data/docs/AccountType.md +15 -0
- data/docs/CountryCode.md +15 -0
- data/docs/CreateAssetReportResponse.md +3 -1
- data/docs/CreateEntityResponse.md +3 -1
- data/docs/CreateLinkTokenRequest.md +0 -2
- data/docs/CreateLinkTokenResponse.md +2 -2
- data/docs/CreateSessionRequest.md +9 -1
- data/docs/CreateSessionResponse.md +3 -3
- data/docs/Currency.md +20 -0
- data/docs/DeleteFinancialConnectionResponse.md +22 -0
- data/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +3 -3
- data/docs/FinancialConnectionData.md +2 -2
- data/docs/FinancialConnectionDetails.md +32 -0
- data/docs/FinancialConnectionDetailsMx.md +20 -0
- data/docs/FinancialConnectionDetailsPlaid.md +20 -0
- data/docs/FinancialConnectionDetailsTeller.md +20 -0
- data/docs/FinancialConnectionsAccount.md +8 -8
- data/docs/FinancialConnectionsAccountBalance.md +5 -3
- data/docs/FinancialConnectionsAccountCachedBalance.md +24 -0
- data/docs/FinancialConnectionsAccountDetails.md +2 -2
- data/docs/FinancialConnectionsAccountLiability.md +8 -8
- data/docs/FinancialConnectionsHolding.md +8 -8
- data/docs/FinancialConnectionsInvestmentSecurity.md +17 -7
- data/docs/FinancialConnectionsInvestmentSecurityExchange.md +18 -0
- data/docs/FinancialConnectionsInvestmentTransaction.md +22 -2
- data/docs/FinancialConnectionsOwner.md +4 -4
- data/docs/FinancialConnectionsOwnerEmailsInner.md +1 -1
- data/docs/FinancialConnectionsOwnerNamesInner.md +1 -1
- data/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +1 -1
- data/docs/FinancialInstitution.md +3 -1
- data/docs/FuseApi.md +189 -185
- data/docs/FuseApiErrorData.md +1 -1
- data/docs/FuseApiWarningData.md +1 -1
- data/docs/GetAssetReportResponse.md +3 -1
- data/docs/GetEntityResponse.md +6 -2
- data/docs/GetFinancialConnectionResponse.md +20 -0
- data/docs/GetFinancialConnectionsAccountDetailsResponse.md +5 -3
- data/docs/GetFinancialConnectionsAccountsResponse.md +5 -3
- data/docs/GetFinancialConnectionsBalanceRequest.md +3 -1
- data/docs/GetFinancialConnectionsBalanceRequestOptions.md +18 -0
- data/docs/GetFinancialConnectionsBalanceResponse.md +20 -0
- data/docs/GetFinancialConnectionsOwnersResponse.md +1 -1
- data/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +5 -3
- data/docs/GetFinancialConnectionsTransactionsRequest.md +26 -0
- data/docs/GetFinancialConnectionsTransactionsResponse.md +22 -0
- data/docs/GetFinancialInstitutionResponse.md +4 -2
- data/docs/GetInvestmentHoldingsRequest.md +3 -3
- data/docs/GetInvestmentHoldingsRequestOptions.md +18 -0
- data/docs/GetInvestmentHoldingsResponse.md +4 -4
- data/docs/GetInvestmentTransactionsRequest.md +11 -1
- data/docs/GetInvestmentTransactionsRequestOptions.md +18 -0
- data/docs/GetInvestmentTransactionsResponse.md +4 -4
- data/docs/GetLiabilitiesResponse.md +3 -1
- data/docs/MigrateFinancialConnectionsAggregatorConnectionData.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataMx.md +20 -0
- data/docs/MigrateFinancialConnectionsAggregatorConnectionDataPlaid.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenRequest.md +24 -0
- data/docs/MigrateFinancialConnectionsTokenRequestEntity.md +18 -0
- data/docs/MigrateFinancialConnectionsTokenResponse.md +24 -0
- data/docs/SyncFinancialConnectionsDataResponse.md +3 -1
- data/docs/SyncTransactionsResponse.md +5 -3
- data/docs/{GetTransactionsResponseDataInner.md → Transaction.md} +16 -14
- data/docs/{GetTransactionsResponseDataInnerMerchant.md → TransactionMerchant.md} +2 -2
- data/docs/UpdateEntityResponse.md +3 -1
- data/docs/WebhookEvent.md +28 -0
- data/docs/WebhookSource.md +15 -0
- data/docs/WebhookType.md +15 -0
- data/fuse_client.gemspec +1 -1
- data/lib/fuse_client/api/fuse_api.rb +181 -197
- data/lib/fuse_client/api_client.rb +1 -1
- data/lib/fuse_client/api_error.rb +1 -1
- data/lib/fuse_client/configuration.rb +39 -18
- data/lib/fuse_client/models/account_subtype.rb +178 -0
- data/lib/fuse_client/models/account_type.rb +45 -0
- data/lib/fuse_client/models/aggregator.rb +3 -3
- data/lib/fuse_client/models/country_code.rb +40 -0
- data/lib/fuse_client/models/create_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/create_asset_report_response.rb +15 -5
- data/lib/fuse_client/models/create_entity_request.rb +1 -1
- data/lib/fuse_client/models/create_entity_response.rb +15 -5
- data/lib/fuse_client/models/create_link_token_request.rb +2 -12
- data/lib/fuse_client/models/create_link_token_request_mx.rb +1 -1
- data/lib/fuse_client/models/create_link_token_request_plaid.rb +1 -1
- data/lib/fuse_client/models/create_link_token_response.rb +12 -2
- data/lib/fuse_client/models/create_session_request.rb +46 -5
- data/lib/fuse_client/models/create_session_response.rb +17 -2
- data/lib/fuse_client/models/{get_transactions_response.rb → currency.rb} +24 -30
- data/lib/fuse_client/models/delete_financial_connection_response.rb +255 -0
- data/lib/fuse_client/models/entity.rb +1 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +1 -1
- data/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +17 -2
- data/lib/fuse_client/models/financial_connection_data.rb +11 -1
- data/lib/fuse_client/models/financial_connection_details.rb +345 -0
- data/lib/fuse_client/models/financial_connection_details_mx.rb +241 -0
- data/lib/fuse_client/models/{get_transactions_request.rb → financial_connection_details_plaid.rb} +19 -23
- data/lib/fuse_client/models/financial_connection_details_teller.rb +241 -0
- data/lib/fuse_client/models/financial_connections_account.rb +59 -14
- data/lib/fuse_client/models/financial_connections_account_balance.rb +21 -6
- data/lib/fuse_client/models/financial_connections_account_cached_balance.rb +250 -0
- data/lib/fuse_client/models/financial_connections_account_details.rb +11 -1
- data/lib/fuse_client/models/financial_connections_account_details_ach.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_institution.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability.rb +59 -14
- data/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +1 -1
- data/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +1 -1
- data/lib/fuse_client/models/financial_connections_holding.rb +52 -23
- data/lib/fuse_client/models/financial_connections_investment_security.rb +92 -24
- data/lib/fuse_client/models/{transaction_common_model.rb → financial_connections_investment_security_exchange.rb} +12 -13
- data/lib/fuse_client/models/financial_connections_investment_transaction.rb +158 -10
- data/lib/fuse_client/models/financial_connections_owner.rb +21 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +1 -1
- data/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +6 -1
- data/lib/fuse_client/models/financial_connections_owner_names_inner.rb +6 -1
- data/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +6 -1
- data/lib/fuse_client/models/financial_institution.rb +22 -5
- data/lib/fuse_client/models/financial_institution_logo.rb +1 -1
- data/lib/fuse_client/models/fuse_api_error.rb +25 -1
- data/lib/fuse_client/models/fuse_api_error_data.rb +24 -2
- data/lib/fuse_client/models/fuse_api_warning.rb +1 -1
- data/lib/fuse_client/models/fuse_api_warning_data.rb +24 -2
- data/lib/fuse_client/models/fuse_api_warning_data_warnings_inner.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response.rb +15 -5
- data/lib/fuse_client/models/get_asset_report_response_report.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +1 -1
- data/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +1 -1
- data/lib/fuse_client/models/get_entity_response.rb +42 -5
- data/lib/fuse_client/models/get_financial_connection_response.rb +239 -0
- data/lib/fuse_client/models/get_financial_connections_account_details_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_account_details_response.rb +30 -5
- data/lib/fuse_client/models/get_financial_connections_accounts_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_accounts_response.rb +30 -5
- data/lib/fuse_client/models/get_financial_connections_balance_request.rb +14 -5
- data/lib/fuse_client/models/get_financial_connections_balance_request_options.rb +222 -0
- data/lib/fuse_client/models/get_financial_connections_balance_response.rb +241 -0
- data/lib/fuse_client/models/get_financial_connections_owners_request.rb +1 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response.rb +6 -1
- data/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +30 -5
- data/lib/fuse_client/models/get_financial_connections_transactions_request.rb +334 -0
- data/lib/fuse_client/models/get_financial_connections_transactions_response.rb +256 -0
- data/lib/fuse_client/models/get_financial_institution_response.rb +25 -5
- data/lib/fuse_client/models/get_investment_holdings_request.rb +9 -10
- data/lib/fuse_client/models/get_investment_holdings_request_options.rb +222 -0
- data/lib/fuse_client/models/get_investment_holdings_response.rb +25 -11
- data/lib/fuse_client/models/get_investment_transactions_request.rb +95 -5
- data/lib/fuse_client/models/get_investment_transactions_request_options.rb +222 -0
- data/lib/fuse_client/models/get_investment_transactions_response.rb +25 -11
- data/lib/fuse_client/models/get_liabilities_request.rb +1 -1
- data/lib/fuse_client/models/get_liabilities_response.rb +15 -5
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data.rb +229 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_mx.rb +236 -0
- data/lib/fuse_client/models/migrate_financial_connections_aggregator_connection_data_plaid.rb +226 -0
- data/lib/fuse_client/models/{financial_connections_investment_account.rb → migrate_financial_connections_token_request.rb} +86 -70
- data/lib/fuse_client/models/{get_financial_connections_account_balance_response.rb → migrate_financial_connections_token_request_entity.rb} +12 -13
- data/lib/fuse_client/models/migrate_financial_connections_token_response.rb +264 -0
- data/lib/fuse_client/models/product.rb +3 -3
- data/lib/fuse_client/models/refresh_asset_report_request.rb +1 -1
- data/lib/fuse_client/models/sync_financial_connections_data_response.rb +15 -5
- data/lib/fuse_client/models/sync_transactions_request.rb +1 -1
- data/lib/fuse_client/models/sync_transactions_response.rb +17 -7
- data/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +1 -1
- data/lib/fuse_client/models/{get_transactions_response_data_inner.rb → transaction.rb} +110 -21
- data/lib/fuse_client/models/{get_transactions_response_data_inner_merchant.rb → transaction_merchant.rb} +4 -4
- data/lib/fuse_client/models/update_entity_request.rb +1 -1
- data/lib/fuse_client/models/update_entity_response.rb +15 -5
- data/lib/fuse_client/models/{financial_connections_investment_transaction_data_inner.rb → webhook_event.rb} +94 -63
- data/lib/fuse_client/models/webhook_source.rb +43 -0
- data/lib/fuse_client/models/webhook_type.rb +42 -0
- data/lib/fuse_client/version.rb +2 -2
- data/lib/fuse_client.rb +30 -9
- data/spec/api/fuse_api_spec.rb +40 -39
- data/spec/api_client_spec.rb +3 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/account_subtype_spec.rb +28 -0
- data/spec/models/account_type_spec.rb +28 -0
- data/spec/models/aggregator_spec.rb +1 -1
- data/spec/models/country_code_spec.rb +28 -0
- data/spec/models/create_asset_report_request_spec.rb +1 -1
- data/spec/models/create_asset_report_response_spec.rb +7 -1
- data/spec/models/create_entity_request_spec.rb +1 -1
- data/spec/models/create_entity_response_spec.rb +7 -1
- data/spec/models/create_link_token_request_mx_spec.rb +1 -1
- data/spec/models/create_link_token_request_plaid_spec.rb +1 -1
- data/spec/models/create_link_token_request_spec.rb +1 -7
- data/spec/models/create_link_token_response_spec.rb +1 -1
- data/spec/models/create_session_request_spec.rb +25 -1
- data/spec/models/create_session_response_spec.rb +1 -1
- data/spec/models/{get_transactions_response_data_inner_merchant_spec.rb → currency_spec.rb} +13 -7
- data/spec/models/{get_transactions_request_spec.rb → delete_financial_connection_response_spec.rb} +10 -10
- data/spec/models/entity_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_request_spec.rb +1 -1
- data/spec/models/exchange_financial_connections_public_token_response_spec.rb +1 -1
- data/spec/models/financial_connection_data_spec.rb +1 -1
- data/spec/models/financial_connection_details_mx_spec.rb +40 -0
- data/spec/models/financial_connection_details_plaid_spec.rb +40 -0
- data/spec/models/{financial_connections_investment_transaction_data_inner_spec.rb → financial_connection_details_spec.rb} +18 -14
- data/spec/models/financial_connection_details_teller_spec.rb +40 -0
- data/spec/models/financial_connections_account_balance_spec.rb +7 -1
- data/spec/models/financial_connections_account_cached_balance_spec.rb +52 -0
- data/spec/models/financial_connections_account_details_ach_spec.rb +1 -1
- data/spec/models/financial_connections_account_details_spec.rb +1 -1
- data/spec/models/financial_connections_account_institution_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_all_of_spec.rb +1 -1
- data/spec/models/financial_connections_account_liability_spec.rb +2 -2
- data/spec/models/financial_connections_account_spec.rb +2 -2
- data/spec/models/financial_connections_holding_spec.rb +4 -4
- data/spec/models/financial_connections_investment_security_exchange_spec.rb +34 -0
- data/spec/models/financial_connections_investment_security_spec.rb +34 -4
- data/spec/models/financial_connections_investment_transaction_spec.rb +62 -2
- data/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +1 -1
- data/spec/models/financial_connections_owner_addresses_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_emails_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_names_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +1 -1
- data/spec/models/financial_connections_owner_spec.rb +1 -1
- data/spec/models/financial_institution_logo_spec.rb +1 -1
- data/spec/models/financial_institution_spec.rb +7 -1
- data/spec/models/fuse_api_error_data_spec.rb +1 -1
- data/spec/models/fuse_api_error_spec.rb +9 -1
- data/spec/models/fuse_api_warning_data_spec.rb +1 -1
- data/spec/models/fuse_api_warning_data_warnings_inner_spec.rb +1 -1
- data/spec/models/fuse_api_warning_spec.rb +1 -1
- data/spec/models/get_asset_report_request_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +1 -1
- data/spec/models/get_asset_report_response_report_spec.rb +1 -1
- data/spec/models/get_asset_report_response_spec.rb +7 -1
- data/spec/models/get_entity_response_spec.rb +13 -1
- data/spec/models/get_financial_connection_response_spec.rb +40 -0
- data/spec/models/get_financial_connections_account_details_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_account_details_response_spec.rb +7 -1
- data/spec/models/get_financial_connections_accounts_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_accounts_response_spec.rb +7 -1
- data/spec/models/{get_financial_connections_account_balance_response_spec.rb → get_financial_connections_balance_request_options_spec.rb} +8 -8
- data/spec/models/get_financial_connections_balance_request_spec.rb +7 -1
- data/spec/models/get_financial_connections_balance_response_spec.rb +40 -0
- data/spec/models/get_financial_connections_owners_request_spec.rb +1 -1
- data/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +7 -1
- data/spec/models/get_financial_connections_owners_response_spec.rb +1 -1
- data/spec/models/get_financial_connections_transactions_request_spec.rb +58 -0
- data/spec/models/{get_transactions_response_spec.rb → get_financial_connections_transactions_response_spec.rb} +10 -10
- data/spec/models/get_financial_institution_response_spec.rb +7 -1
- data/spec/models/get_investment_holdings_request_options_spec.rb +34 -0
- data/spec/models/get_investment_holdings_request_spec.rb +2 -2
- data/spec/models/get_investment_holdings_response_spec.rb +2 -2
- data/spec/models/get_investment_transactions_request_options_spec.rb +34 -0
- data/spec/models/get_investment_transactions_request_spec.rb +31 -1
- data/spec/models/get_investment_transactions_response_spec.rb +2 -2
- data/spec/models/get_liabilities_request_spec.rb +1 -1
- data/spec/models/get_liabilities_response_spec.rb +7 -1
- data/spec/models/migrate_financial_connections_aggregator_connection_data_mx_spec.rb +40 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_plaid_spec.rb +34 -0
- data/spec/models/migrate_financial_connections_aggregator_connection_data_spec.rb +40 -0
- data/spec/models/migrate_financial_connections_token_request_entity_spec.rb +34 -0
- data/spec/models/migrate_financial_connections_token_request_spec.rb +56 -0
- data/spec/models/migrate_financial_connections_token_response_spec.rb +52 -0
- data/spec/models/product_spec.rb +1 -1
- data/spec/models/refresh_asset_report_request_spec.rb +1 -1
- data/spec/models/sync_financial_connections_data_response_spec.rb +7 -1
- data/spec/models/sync_transactions_request_spec.rb +1 -1
- data/spec/models/sync_transactions_response_removed_inner_spec.rb +1 -1
- data/spec/models/sync_transactions_response_spec.rb +7 -1
- data/spec/models/{transaction_common_model_spec.rb → transaction_merchant_spec.rb} +8 -8
- data/spec/models/{get_transactions_response_data_inner_spec.rb → transaction_spec.rb} +23 -13
- data/spec/models/update_entity_request_spec.rb +1 -1
- data/spec/models/update_entity_response_spec.rb +7 -1
- data/spec/models/{financial_connections_investment_account_spec.rb → webhook_event_spec.rb} +17 -25
- data/spec/models/webhook_source_spec.rb +28 -0
- data/spec/models/webhook_type_spec.rb +28 -0
- data/spec/spec_helper.rb +1 -1
- metadata +118 -34
- data/docs/FinancialConnectionsInvestmentAccount.md +0 -32
- data/docs/FinancialConnectionsInvestmentTransactionDataInner.md +0 -32
- data/docs/GetFinancialConnectionsAccountBalanceResponse.md +0 -18
- data/docs/GetTransactionsRequest.md +0 -22
- data/docs/GetTransactionsResponse.md +0 -22
- data/docs/TransactionCommonModel.md +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b2c9207b8ab31a2ee25afa15ef60282765b154bda1d9f066028fc16c0f55b371
|
4
|
+
data.tar.gz: 0e20c5e9848dc79bd9311cc26c5cc7e1155537d0784254452f374a0b4f582ae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b83cd6d3f93021538a0d02e7b11561110a98c2248f8cd4dc63f9367e17a6cd52df956eede9c8d46d8d1bd560283dd7b390ffaf2fbe95720a9431a7e13c00eb5
|
7
|
+
data.tar.gz: 626ba9c000770719143d68258f42cfaf431f0471aa8ceb87a169f4a39c7029d83694176fdc0a35bd83223e98e2909af587c891167af1dafdcdad49a2be624f1e
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fuse_client (1.0.
|
4
|
+
fuse_client (1.0.31)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -17,7 +17,7 @@ GEM
|
|
17
17
|
jaro_winkler (1.5.4)
|
18
18
|
method_source (1.0.0)
|
19
19
|
parallel (1.22.1)
|
20
|
-
parser (3.2.
|
20
|
+
parser (3.2.2.0)
|
21
21
|
ast (~> 2.4.1)
|
22
22
|
pry (0.14.2)
|
23
23
|
coderay (~> 1.1)
|
@@ -38,7 +38,7 @@ GEM
|
|
38
38
|
rspec-expectations (3.12.2)
|
39
39
|
diff-lcs (>= 1.2.0, < 2.0)
|
40
40
|
rspec-support (~> 3.12.0)
|
41
|
-
rspec-mocks (3.12.
|
41
|
+
rspec-mocks (3.12.5)
|
42
42
|
diff-lcs (>= 1.2.0, < 2.0)
|
43
43
|
rspec-support (~> 3.12.0)
|
44
44
|
rspec-support (3.12.0)
|
@@ -50,13 +50,14 @@ GEM
|
|
50
50
|
rainbow (>= 2.2.2, < 4.0)
|
51
51
|
ruby-progressbar (~> 1.7)
|
52
52
|
unicode-display_width (>= 1.4.0, < 1.6)
|
53
|
-
ruby-progressbar (1.
|
53
|
+
ruby-progressbar (1.13.0)
|
54
54
|
stringio (3.0.5)
|
55
55
|
typhoeus (1.4.0)
|
56
56
|
ethon (>= 0.9.0)
|
57
57
|
unicode-display_width (1.5.0)
|
58
58
|
|
59
59
|
PLATFORMS
|
60
|
+
arm64-darwin-21
|
60
61
|
x86_64-darwin-21
|
61
62
|
|
62
63
|
DEPENDENCIES
|
@@ -67,4 +68,4 @@ DEPENDENCIES
|
|
67
68
|
rubocop (~> 0.66.0)
|
68
69
|
|
69
70
|
BUNDLED WITH
|
70
|
-
2.4.
|
71
|
+
2.4.10
|
data/README.md
CHANGED
@@ -1 +1,82 @@
|
|
1
|
-
# fuse-ruby
|
1
|
+
# fuse-ruby
|
2
|
+
|
3
|
+
### Add to gem file
|
4
|
+
|
5
|
+
```ruby
|
6
|
+
gem 'fuse_client', "~> 1.0.6"
|
7
|
+
```
|
8
|
+
|
9
|
+
### Setup fuse client
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'fuse_client'
|
13
|
+
|
14
|
+
class FuseService
|
15
|
+
attr_reader :client, :auth_names
|
16
|
+
|
17
|
+
def initialize()
|
18
|
+
# Setup authorization
|
19
|
+
FuseClient.configure do |config|
|
20
|
+
config.host = ENV['FUSE_BASE_PATH']
|
21
|
+
config.server_index = nil
|
22
|
+
config.api_key['fuseApiKey'] = ENV['FUSE_API_KEY']
|
23
|
+
config.api_key['fuseClientId'] = ENV['FUSE_CLIENT_ID']
|
24
|
+
config.api_key['plaidClientId'] = ENV['PLAID_CLIENT_ID']
|
25
|
+
config.api_key['plaidSecret'] = ENV['PLAID_SECRET']
|
26
|
+
config.api_key['mxClientId'] = ENV['MX_CLIENT_ID']
|
27
|
+
config.api_key['mxApiKey'] = ENV['MX_API_KEY']
|
28
|
+
config.api_key['tellerApplicationId'] = ENV['TELLER_APPLICATION_ID']
|
29
|
+
config.api_key['tellerCertificate'] = ENV['TELLER_CERTIFICATE']
|
30
|
+
config.api_key['tellerPrivateKey'] = ENV['TELLER_PRIVATE_KEY']
|
31
|
+
end
|
32
|
+
|
33
|
+
@client = FuseClient::FuseApi.new
|
34
|
+
|
35
|
+
@auth_names = %w[fuseApiKey fuseClientId plaidClientId plaidSecret mxClientId mxApiKey tellerApplicationId tellerCertificate tellerPrivateKey]
|
36
|
+
end
|
37
|
+
|
38
|
+
def create_session
|
39
|
+
opts = {
|
40
|
+
create_session_request: FuseClient::CreateSessionRequest.new(
|
41
|
+
supported_financial_institution_aggregators: %w[plaid teller mx],
|
42
|
+
products: ['account_details']
|
43
|
+
)
|
44
|
+
}
|
45
|
+
client.create_session(populate_opts(opts))
|
46
|
+
end
|
47
|
+
|
48
|
+
def create_link_token(session_client_secret, institution_id)
|
49
|
+
opts = {
|
50
|
+
create_link_token_request: FuseClient::CreateLinkTokenRequest.new(
|
51
|
+
entity: {
|
52
|
+
id: 'my entity id'
|
53
|
+
},
|
54
|
+
session_client_secret: session_client_secret,
|
55
|
+
client_name: 'My client name',
|
56
|
+
institution_id: institution_id
|
57
|
+
)
|
58
|
+
}
|
59
|
+
|
60
|
+
client.create_link_token(populate_opts(opts))
|
61
|
+
end
|
62
|
+
|
63
|
+
def exchange_public_token(public_token)
|
64
|
+
opts = {
|
65
|
+
exchange_financial_connections_public_token_request: FuseClient::ExchangeFinancialConnectionsPublicTokenRequest.new(
|
66
|
+
public_token:
|
67
|
+
public_token
|
68
|
+
)
|
69
|
+
}
|
70
|
+
client.exchange_financial_connections_public_token(populate_opts(opts))
|
71
|
+
end
|
72
|
+
|
73
|
+
private
|
74
|
+
|
75
|
+
def populate_opts(opts = {})
|
76
|
+
opts.merge(
|
77
|
+
debug_auth_names: auth_names
|
78
|
+
)
|
79
|
+
end
|
80
|
+
|
81
|
+
end
|
82
|
+
```
|
data/docs/AccountType.md
ADDED
data/docs/CountryCode.md
ADDED
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **asset_report_token** | **String** | A token that can be provided to endpoints such as /asset_report or /asset_report/pdf to fetch an Asset Report. | [optional] |
|
8
8
|
| **asset_report_id** | **String** | A unique ID identifying an Asset Report. | [optional] |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'fuse_client'
|
|
14
15
|
|
15
16
|
instance = FuseClient::CreateAssetReportResponse.new(
|
16
17
|
asset_report_token: null,
|
17
|
-
asset_report_id: null
|
18
|
+
asset_report_id: null,
|
19
|
+
request_id: null
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **email** | **String** | Email of the entity | [optional] |
|
9
9
|
| **aggregators** | [**Array<Aggregator>**](Aggregator.md) | These will force the user to connect through all of these aggregators | [optional] |
|
10
10
|
| **institution_ids** | **Array<String>** | | [optional] |
|
11
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -18,7 +19,8 @@ instance = FuseClient::CreateEntityResponse.new(
|
|
18
19
|
id: null,
|
19
20
|
email: null,
|
20
21
|
aggregators: null,
|
21
|
-
institution_ids: null
|
22
|
+
institution_ids: null,
|
23
|
+
request_id: null
|
22
24
|
)
|
23
25
|
```
|
24
26
|
|
@@ -6,7 +6,6 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **institution_id** | **String** | An id that is unique for an institution. | |
|
8
8
|
| **entity** | [**Entity**](Entity.md) | | |
|
9
|
-
| **reconnection_url** | **String** | This field is used to provide the user with a link to reconnect their financial account. It may be included in an automated email sent by Fuse to the entity's registered email address. It's important to note that the reconnection_url should be a valid URL and can only be used once to reconnect the disconnected account. | [optional] |
|
10
9
|
| **client_name** | **String** | The name of your application. | |
|
11
10
|
| **session_client_secret** | **String** | The session client secret created from the 'Create session client secret' endpoint | |
|
12
11
|
| **mx** | [**CreateLinkTokenRequestMx**](CreateLinkTokenRequestMx.md) | | [optional] |
|
@@ -20,7 +19,6 @@ require 'fuse_client'
|
|
20
19
|
instance = FuseClient::CreateLinkTokenRequest.new(
|
21
20
|
institution_id: null,
|
22
21
|
entity: null,
|
23
|
-
reconnection_url: null,
|
24
22
|
client_name: null,
|
25
23
|
session_client_secret: null,
|
26
24
|
mx: null,
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **link_token** | **String** | Token needed by the frontend sdk to initiate the connection |
|
8
|
-
| **request_id** | **String** |
|
7
|
+
| **link_token** | **String** | Token needed by the frontend sdk to initiate the connection | |
|
8
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -6,6 +6,10 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **supported_financial_institution_aggregators** | [**Array<Aggregator>**](Aggregator.md) | | [optional] |
|
8
8
|
| **products** | [**Array<Product>**](Product.md) | List of products that you would like the institutions to support | [optional] |
|
9
|
+
| **country_codes** | [**Array<CountryCode>**](CountryCode.md) | List of country codes that you would like the institutions to support | [optional] |
|
10
|
+
| **entity** | [**Entity**](Entity.md) | | [optional] |
|
11
|
+
| **access_token** | **String** | The fuse access token for an existing account integration. This will perform the process to reconnect an existing disconnected account. | [optional] |
|
12
|
+
| **is_web_view** | **Boolean** | True if the fuse sdk is using a web view. Defaults to true. | [optional] |
|
9
13
|
|
10
14
|
## Example
|
11
15
|
|
@@ -14,7 +18,11 @@ require 'fuse_client'
|
|
14
18
|
|
15
19
|
instance = FuseClient::CreateSessionRequest.new(
|
16
20
|
supported_financial_institution_aggregators: null,
|
17
|
-
products: null
|
21
|
+
products: null,
|
22
|
+
country_codes: null,
|
23
|
+
entity: null,
|
24
|
+
access_token: null,
|
25
|
+
is_web_view: null
|
18
26
|
)
|
19
27
|
```
|
20
28
|
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **expiration** | **String** | 4 hours from the point of creation |
|
8
|
-
| **client_secret** | **String** | Token needed by the frontend sdk to start the process |
|
9
|
-
| **request_id** | **String** |
|
7
|
+
| **expiration** | **String** | 4 hours from the point of creation | |
|
8
|
+
| **client_secret** | **String** | Token needed by the frontend sdk to start the process | |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
data/docs/Currency.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::Currency
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **code** | **String** | The ISO-4217 currency code | |
|
8
|
+
| **name** | **String** | The name of the currency | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::Currency.new(
|
16
|
+
code: null,
|
17
|
+
name: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# FuseClient::DeleteFinancialConnectionResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **financial_connection_id** | **String** | Id of the deleted financial connection | |
|
8
|
+
| **access_token** | **String** | Access token of the deleted financial connection | |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'fuse_client'
|
15
|
+
|
16
|
+
instance = FuseClient::DeleteFinancialConnectionResponse.new(
|
17
|
+
financial_connection_id: null,
|
18
|
+
access_token: null,
|
19
|
+
request_id: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -4,9 +4,9 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **access_token** | **String** | Token used for querying data on the user |
|
8
|
-
| **financial_connection_id** | **String** | The id of the new financial connection. Every webhook will be sent with this id. |
|
9
|
-
| **request_id** | **String** |
|
7
|
+
| **access_token** | **String** | Token used for querying data on the user | |
|
8
|
+
| **financial_connection_id** | **String** | The id of the new financial connection. Every webhook will be sent with this id. | |
|
9
|
+
| **request_id** | **String** | An identifier that is exclusive to the request and can serve as a means for investigating and resolving issues. | |
|
10
10
|
|
11
11
|
## Example
|
12
12
|
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **id** | **String** | The financial connection id. |
|
8
|
-
| **institution_id** | **String** | The Fuse Institution ID associated with the financial connection |
|
7
|
+
| **id** | **String** | The financial connection id. | |
|
8
|
+
| **institution_id** | **String** | The Fuse Institution ID associated with the financial connection | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetails
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **id** | **String** | The fuse financial connection id. | |
|
8
|
+
| **connection_status** | **String** | Connection status of the current financial connection | |
|
9
|
+
| **connection_status_updated_at** | **String** | Last time the connection status was updated in ISO-8601 format. | |
|
10
|
+
| **is_oauth** | **Boolean** | Whether this is an oauth connection | |
|
11
|
+
| **aggregator** | [**Aggregator**](Aggregator.md) | | |
|
12
|
+
| **plaid** | [**FinancialConnectionDetailsPlaid**](FinancialConnectionDetailsPlaid.md) | | [optional] |
|
13
|
+
| **teller** | [**FinancialConnectionDetailsTeller**](FinancialConnectionDetailsTeller.md) | | [optional] |
|
14
|
+
| **mx** | [**FinancialConnectionDetailsMx**](FinancialConnectionDetailsMx.md) | | [optional] |
|
15
|
+
|
16
|
+
## Example
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'fuse_client'
|
20
|
+
|
21
|
+
instance = FuseClient::FinancialConnectionDetails.new(
|
22
|
+
id: null,
|
23
|
+
connection_status: null,
|
24
|
+
connection_status_updated_at: null,
|
25
|
+
is_oauth: null,
|
26
|
+
aggregator: null,
|
27
|
+
plaid: null,
|
28
|
+
teller: null,
|
29
|
+
mx: null
|
30
|
+
)
|
31
|
+
```
|
32
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsMx
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **user_guid** | **String** | User GUID for MX | |
|
8
|
+
| **member_guid** | **String** | Member GUID for MX | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinancialConnectionDetailsMx.new(
|
16
|
+
user_guid: null,
|
17
|
+
member_guid: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsPlaid
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_token** | **String** | Access token for Plaid | |
|
8
|
+
| **item_id** | **String** | ID of the item associated with the access token in Plaid | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinancialConnectionDetailsPlaid.new(
|
16
|
+
access_token: null,
|
17
|
+
item_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FuseClient::FinancialConnectionDetailsTeller
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **access_token** | **String** | Access token for Teller | |
|
8
|
+
| **enrollment_id** | **String** | Enrollment ID associated with the access token in Teller | |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'fuse_client'
|
14
|
+
|
15
|
+
instance = FuseClient::FinancialConnectionDetailsTeller.new(
|
16
|
+
access_token: null,
|
17
|
+
enrollment_id: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id |
|
8
|
-
| **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts |
|
7
|
+
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
|
+
| **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
|
9
9
|
| **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
|
10
|
-
| **
|
11
|
-
| **name** | **String** | The account's name, ie 'My Checking' |
|
12
|
-
| **type** | **
|
13
|
-
| **subtype** | **
|
14
|
-
| **balance** | [**
|
10
|
+
| **mask** | **String** | The partial account number. | [optional] |
|
11
|
+
| **name** | **String** | The account's name, ie 'My Checking' | |
|
12
|
+
| **type** | [**AccountType**](AccountType.md) | | |
|
13
|
+
| **subtype** | [**AccountSubtype**](AccountSubtype.md) | | [optional] |
|
14
|
+
| **balance** | [**FinancialConnectionsAccountCachedBalance**](FinancialConnectionsAccountCachedBalance.md) | | |
|
15
15
|
|
16
16
|
## Example
|
17
17
|
|
@@ -22,7 +22,7 @@ instance = FuseClient::FinancialConnectionsAccount.new(
|
|
22
22
|
remote_id: null,
|
23
23
|
fingerprint: null,
|
24
24
|
institution: null,
|
25
|
-
|
25
|
+
mask: null,
|
26
26
|
name: null,
|
27
27
|
type: null,
|
28
28
|
subtype: null,
|
@@ -4,10 +4,11 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **
|
8
|
-
| **
|
7
|
+
| **remote_account_id** | **String** | Remote Account Id of the transaction, ie Plaid Account Id | |
|
8
|
+
| **available** | **Float** | Amount in cents after factoring in pending balances | [optional] |
|
9
|
+
| **current** | **Float** | Amount in cents without factoring in pending balances | [optional] |
|
9
10
|
| **iso_currency_code** | **String** | The ISO-4217 currency code of the balance. | [optional] |
|
10
|
-
| **last_updated_date** | **String** | The
|
11
|
+
| **last_updated_date** | **String** | The last time the account balance was updated, represented as an ISO 8601 timestamp (YYYY-MM-DDTHH:mm:ssZ). This value may not be available for some accounts. | [optional] |
|
11
12
|
|
12
13
|
## Example
|
13
14
|
|
@@ -15,6 +16,7 @@
|
|
15
16
|
require 'fuse_client'
|
16
17
|
|
17
18
|
instance = FuseClient::FinancialConnectionsAccountBalance.new(
|
19
|
+
remote_account_id: null,
|
18
20
|
available: null,
|
19
21
|
current: null,
|
20
22
|
iso_currency_code: null,
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# FuseClient::FinancialConnectionsAccountCachedBalance
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **available** | **Float** | The amount of funds available to be withdrawn from the account, as determined by the financial institution Available balance may be cached and is not guaranteed to be up-to-date in realtime unless the value was returned by /financial_connections/balances. | [optional] |
|
8
|
+
| **current** | **Float** | Amount without factoring in pending balances | [optional] |
|
9
|
+
| **iso_currency_code** | **String** | The ISO-4217 currency code of the balance. | [optional] |
|
10
|
+
| **last_updated_date** | **String** | The date of the last update to the balance. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'fuse_client'
|
16
|
+
|
17
|
+
instance = FuseClient::FinancialConnectionsAccountCachedBalance.new(
|
18
|
+
available: null,
|
19
|
+
current: null,
|
20
|
+
iso_currency_code: null,
|
21
|
+
last_updated_date: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id |
|
8
|
-
| **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | |
|
7
|
+
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
|
+
| **ach** | [**FinancialConnectionsAccountDetailsAch**](FinancialConnectionsAccountDetailsAch.md) | | |
|
9
9
|
|
10
10
|
## Example
|
11
11
|
|
@@ -4,14 +4,14 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id |
|
8
|
-
| **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts |
|
7
|
+
| **remote_id** | **String** | Remote Id of the account, ie Plaid or Teller account id | |
|
8
|
+
| **fingerprint** | **String** | Uniquely identifies this account across all accounts associated with your organization. See more information here: https://letsfuse.readme.io/docs/duplicate-accounts | |
|
9
9
|
| **institution** | [**FinancialConnectionsAccountInstitution**](FinancialConnectionsAccountInstitution.md) | | [optional] |
|
10
|
-
| **
|
11
|
-
| **name** | **String** | The account's name, ie 'My Checking' |
|
12
|
-
| **type** | **
|
13
|
-
| **subtype** | **
|
14
|
-
| **balance** | [**
|
10
|
+
| **mask** | **String** | The partial account number. | [optional] |
|
11
|
+
| **name** | **String** | The account's name, ie 'My Checking' | |
|
12
|
+
| **type** | [**AccountType**](AccountType.md) | | |
|
13
|
+
| **subtype** | [**AccountSubtype**](AccountSubtype.md) | | [optional] |
|
14
|
+
| **balance** | [**FinancialConnectionsAccountCachedBalance**](FinancialConnectionsAccountCachedBalance.md) | | |
|
15
15
|
| **aprs** | [**Array<FinancialConnectionsAccountLiabilityAllOfAprs>**](FinancialConnectionsAccountLiabilityAllOfAprs.md) | The various interest rates that apply to the account. If APR data is not available, this array will be empty. | [optional] |
|
16
16
|
| **interest_rate_percentage** | **Float** | The interest rate on the loan as a percentage. | [optional] |
|
17
17
|
| **origination_principal_amount** | **Float** | The original principal balance of the loan. | [optional] |
|
@@ -29,7 +29,7 @@ instance = FuseClient::FinancialConnectionsAccountLiability.new(
|
|
29
29
|
remote_id: null,
|
30
30
|
fingerprint: null,
|
31
31
|
institution: null,
|
32
|
-
|
32
|
+
mask: null,
|
33
33
|
name: null,
|
34
34
|
type: null,
|
35
35
|
subtype: null,
|
@@ -4,12 +4,12 @@
|
|
4
4
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
|
-
| **remote_account_id** | **String** |
|
8
|
-
| **cost_basis** | **Float** | The original total value of the holding
|
9
|
-
| **value** | **Float** | The value of the holding |
|
10
|
-
| **
|
11
|
-
| **
|
12
|
-
| **
|
7
|
+
| **remote_account_id** | **String** | The remote account ID associated with this holding. | |
|
8
|
+
| **cost_basis** | **Float** | The original total value of the holding when it was purchased. | |
|
9
|
+
| **value** | **Float** | The current market value of the holding. | |
|
10
|
+
| **quantity** | **Float** | The number of units of the security held in this holding. | |
|
11
|
+
| **institution_price** | **Float** | The price of the security as provided by the financial institution managing the holding. | |
|
12
|
+
| **security** | [**FinancialConnectionsInvestmentSecurity**](FinancialConnectionsInvestmentSecurity.md) | | |
|
13
13
|
|
14
14
|
## Example
|
15
15
|
|
@@ -20,9 +20,9 @@ instance = FuseClient::FinancialConnectionsHolding.new(
|
|
20
20
|
remote_account_id: null,
|
21
21
|
cost_basis: null,
|
22
22
|
value: null,
|
23
|
-
iso_currency_code: null,
|
24
23
|
quantity: null,
|
25
|
-
|
24
|
+
institution_price: null,
|
25
|
+
security: null
|
26
26
|
)
|
27
27
|
```
|
28
28
|
|