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
data/docs/FuseApi.md
CHANGED
@@ -5,12 +5,13 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**create_asset_report**](FuseApi.md#create_asset_report) | **POST** /v1/asset_report/create | |
|
8
|
-
| [**create_entity**](FuseApi.md#create_entity) | **POST** /v1/entities | Create entity |
|
9
8
|
| [**create_link_token**](FuseApi.md#create_link_token) | **POST** /v1/link/token | |
|
10
9
|
| [**create_session**](FuseApi.md#create_session) | **POST** /v1/session | |
|
10
|
+
| [**delete_financial_connection**](FuseApi.md#delete_financial_connection) | **DELETE** /v1/financial_connections/{financial_connection_id_to_delete} | Delete a financial connection |
|
11
11
|
| [**exchange_financial_connections_public_token**](FuseApi.md#exchange_financial_connections_public_token) | **POST** /v1/financial_connections/public_token/exchange | |
|
12
12
|
| [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/asset_report | |
|
13
13
|
| [**get_entity**](FuseApi.md#get_entity) | **GET** /v1/entities/{entity_id} | Get entity |
|
14
|
+
| [**get_financial_connection**](FuseApi.md#get_financial_connection) | **GET** /v1/financial_connections/{financial_connection_id} | Get financial connection details |
|
14
15
|
| [**get_financial_connections_account_details**](FuseApi.md#get_financial_connections_account_details) | **POST** /v1/financial_connections/accounts/details | Get account details |
|
15
16
|
| [**get_financial_connections_accounts**](FuseApi.md#get_financial_connections_accounts) | **POST** /v1/financial_connections/accounts | Get accounts |
|
16
17
|
| [**get_financial_connections_balances**](FuseApi.md#get_financial_connections_balances) | **POST** /v1/financial_connections/balances | Get balances |
|
@@ -19,10 +20,9 @@ All URIs are relative to *https://sandbox-api.letsfuse.com*
|
|
19
20
|
| [**get_financial_institution**](FuseApi.md#get_financial_institution) | **GET** /v1/financial_connections/institutions/{institution_id} | Get a financial institution |
|
20
21
|
| [**get_investment_holdings**](FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings |
|
21
22
|
| [**get_investment_transactions**](FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment transactions |
|
23
|
+
| [**migrate_financial_connection**](FuseApi.md#migrate_financial_connection) | **POST** /v1/financial_connections/migrate | Migrate financial connection |
|
22
24
|
| [**refresh_asset_report**](FuseApi.md#refresh_asset_report) | **POST** /v1/asset_report/refresh | |
|
23
25
|
| [**sync_financial_connections_data**](FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data |
|
24
|
-
| [**sync_financial_connections_transactions**](FuseApi.md#sync_financial_connections_transactions) | **POST** /v1/financial_connections/transactions/sync | Sync transactions |
|
25
|
-
| [**update_entity**](FuseApi.md#update_entity) | **PUT** /v1/entities/{entity_id_to_update} | Update entity |
|
26
26
|
| [**v1_financial_connections_liabilities_post**](FuseApi.md#v1_financial_connections_liabilities_post) | **POST** /v1/financial_connections/liabilities | Get liabilities |
|
27
27
|
|
28
28
|
|
@@ -104,11 +104,13 @@ end
|
|
104
104
|
- **Accept**: application/json
|
105
105
|
|
106
106
|
|
107
|
-
##
|
107
|
+
## create_link_token
|
108
|
+
|
109
|
+
> <CreateLinkTokenResponse> create_link_token(opts)
|
110
|
+
|
108
111
|
|
109
|
-
> <CreateEntityResponse> create_entity(create_entity_request)
|
110
112
|
|
111
|
-
Create
|
113
|
+
Create a link token to start the process of a user connecting to a specific financial institution.
|
112
114
|
|
113
115
|
### Examples
|
114
116
|
|
@@ -129,32 +131,34 @@ FuseClient.configure do |config|
|
|
129
131
|
end
|
130
132
|
|
131
133
|
api_instance = FuseClient::FuseApi.new
|
132
|
-
|
134
|
+
opts = {
|
135
|
+
create_link_token_request: FuseClient::CreateLinkTokenRequest.new({institution_id: 'institution_id_example', entity: FuseClient::Entity.new({id: 'id_example'}), client_name: 'client_name_example', session_client_secret: 'session_client_secret_example'}) # CreateLinkTokenRequest |
|
136
|
+
}
|
133
137
|
|
134
138
|
begin
|
135
|
-
|
136
|
-
result = api_instance.
|
139
|
+
|
140
|
+
result = api_instance.create_link_token(opts)
|
137
141
|
p result
|
138
142
|
rescue FuseClient::ApiError => e
|
139
|
-
puts "Error when calling FuseApi->
|
143
|
+
puts "Error when calling FuseApi->create_link_token: #{e}"
|
140
144
|
end
|
141
145
|
```
|
142
146
|
|
143
|
-
#### Using the
|
147
|
+
#### Using the create_link_token_with_http_info variant
|
144
148
|
|
145
149
|
This returns an Array which contains the response data, status code and headers.
|
146
150
|
|
147
|
-
> <Array(<
|
151
|
+
> <Array(<CreateLinkTokenResponse>, Integer, Hash)> create_link_token_with_http_info(opts)
|
148
152
|
|
149
153
|
```ruby
|
150
154
|
begin
|
151
|
-
|
152
|
-
data, status_code, headers = api_instance.
|
155
|
+
|
156
|
+
data, status_code, headers = api_instance.create_link_token_with_http_info(opts)
|
153
157
|
p status_code # => 2xx
|
154
158
|
p headers # => { ... }
|
155
|
-
p data # => <
|
159
|
+
p data # => <CreateLinkTokenResponse>
|
156
160
|
rescue FuseClient::ApiError => e
|
157
|
-
puts "Error when calling FuseApi->
|
161
|
+
puts "Error when calling FuseApi->create_link_token_with_http_info: #{e}"
|
158
162
|
end
|
159
163
|
```
|
160
164
|
|
@@ -162,11 +166,11 @@ end
|
|
162
166
|
|
163
167
|
| Name | Type | Description | Notes |
|
164
168
|
| ---- | ---- | ----------- | ----- |
|
165
|
-
| **
|
169
|
+
| **create_link_token_request** | [**CreateLinkTokenRequest**](CreateLinkTokenRequest.md) | | [optional] |
|
166
170
|
|
167
171
|
### Return type
|
168
172
|
|
169
|
-
[**
|
173
|
+
[**CreateLinkTokenResponse**](CreateLinkTokenResponse.md)
|
170
174
|
|
171
175
|
### Authorization
|
172
176
|
|
@@ -178,13 +182,13 @@ end
|
|
178
182
|
- **Accept**: application/json
|
179
183
|
|
180
184
|
|
181
|
-
##
|
185
|
+
## create_session
|
182
186
|
|
183
|
-
> <
|
187
|
+
> <CreateSessionResponse> create_session(opts)
|
184
188
|
|
185
189
|
|
186
190
|
|
187
|
-
|
191
|
+
Creates a session that returns a client_secret which is required as a parameter when initializing the Fuse SDK.
|
188
192
|
|
189
193
|
### Examples
|
190
194
|
|
@@ -206,33 +210,33 @@ end
|
|
206
210
|
|
207
211
|
api_instance = FuseClient::FuseApi.new
|
208
212
|
opts = {
|
209
|
-
|
213
|
+
create_session_request: FuseClient::CreateSessionRequest.new # CreateSessionRequest |
|
210
214
|
}
|
211
215
|
|
212
216
|
begin
|
213
217
|
|
214
|
-
result = api_instance.
|
218
|
+
result = api_instance.create_session(opts)
|
215
219
|
p result
|
216
220
|
rescue FuseClient::ApiError => e
|
217
|
-
puts "Error when calling FuseApi->
|
221
|
+
puts "Error when calling FuseApi->create_session: #{e}"
|
218
222
|
end
|
219
223
|
```
|
220
224
|
|
221
|
-
#### Using the
|
225
|
+
#### Using the create_session_with_http_info variant
|
222
226
|
|
223
227
|
This returns an Array which contains the response data, status code and headers.
|
224
228
|
|
225
|
-
> <Array(<
|
229
|
+
> <Array(<CreateSessionResponse>, Integer, Hash)> create_session_with_http_info(opts)
|
226
230
|
|
227
231
|
```ruby
|
228
232
|
begin
|
229
233
|
|
230
|
-
data, status_code, headers = api_instance.
|
234
|
+
data, status_code, headers = api_instance.create_session_with_http_info(opts)
|
231
235
|
p status_code # => 2xx
|
232
236
|
p headers # => { ... }
|
233
|
-
p data # => <
|
237
|
+
p data # => <CreateSessionResponse>
|
234
238
|
rescue FuseClient::ApiError => e
|
235
|
-
puts "Error when calling FuseApi->
|
239
|
+
puts "Error when calling FuseApi->create_session_with_http_info: #{e}"
|
236
240
|
end
|
237
241
|
```
|
238
242
|
|
@@ -240,11 +244,11 @@ end
|
|
240
244
|
|
241
245
|
| Name | Type | Description | Notes |
|
242
246
|
| ---- | ---- | ----------- | ----- |
|
243
|
-
| **
|
247
|
+
| **create_session_request** | [**CreateSessionRequest**](CreateSessionRequest.md) | | [optional] |
|
244
248
|
|
245
249
|
### Return type
|
246
250
|
|
247
|
-
[**
|
251
|
+
[**CreateSessionResponse**](CreateSessionResponse.md)
|
248
252
|
|
249
253
|
### Authorization
|
250
254
|
|
@@ -256,13 +260,11 @@ end
|
|
256
260
|
- **Accept**: application/json
|
257
261
|
|
258
262
|
|
259
|
-
##
|
263
|
+
## delete_financial_connection
|
260
264
|
|
261
|
-
> <
|
265
|
+
> <DeleteFinancialConnectionResponse> delete_financial_connection(financial_connection_id_to_delete)
|
262
266
|
|
263
|
-
|
264
|
-
|
265
|
-
Creates a session that returns a client_secret which is required as a parameter when initializing the Fuse SDK.
|
267
|
+
Delete a financial connection
|
266
268
|
|
267
269
|
### Examples
|
268
270
|
|
@@ -283,34 +285,32 @@ FuseClient.configure do |config|
|
|
283
285
|
end
|
284
286
|
|
285
287
|
api_instance = FuseClient::FuseApi.new
|
286
|
-
|
287
|
-
create_session_request: FuseClient::CreateSessionRequest.new # CreateSessionRequest |
|
288
|
-
}
|
288
|
+
financial_connection_id_to_delete = 'financial_connection_id_to_delete_example' # String |
|
289
289
|
|
290
290
|
begin
|
291
|
-
|
292
|
-
result = api_instance.
|
291
|
+
# Delete a financial connection
|
292
|
+
result = api_instance.delete_financial_connection(financial_connection_id_to_delete)
|
293
293
|
p result
|
294
294
|
rescue FuseClient::ApiError => e
|
295
|
-
puts "Error when calling FuseApi->
|
295
|
+
puts "Error when calling FuseApi->delete_financial_connection: #{e}"
|
296
296
|
end
|
297
297
|
```
|
298
298
|
|
299
|
-
#### Using the
|
299
|
+
#### Using the delete_financial_connection_with_http_info variant
|
300
300
|
|
301
301
|
This returns an Array which contains the response data, status code and headers.
|
302
302
|
|
303
|
-
> <Array(<
|
303
|
+
> <Array(<DeleteFinancialConnectionResponse>, Integer, Hash)> delete_financial_connection_with_http_info(financial_connection_id_to_delete)
|
304
304
|
|
305
305
|
```ruby
|
306
306
|
begin
|
307
|
-
|
308
|
-
data, status_code, headers = api_instance.
|
307
|
+
# Delete a financial connection
|
308
|
+
data, status_code, headers = api_instance.delete_financial_connection_with_http_info(financial_connection_id_to_delete)
|
309
309
|
p status_code # => 2xx
|
310
310
|
p headers # => { ... }
|
311
|
-
p data # => <
|
311
|
+
p data # => <DeleteFinancialConnectionResponse>
|
312
312
|
rescue FuseClient::ApiError => e
|
313
|
-
puts "Error when calling FuseApi->
|
313
|
+
puts "Error when calling FuseApi->delete_financial_connection_with_http_info: #{e}"
|
314
314
|
end
|
315
315
|
```
|
316
316
|
|
@@ -318,11 +318,11 @@ end
|
|
318
318
|
|
319
319
|
| Name | Type | Description | Notes |
|
320
320
|
| ---- | ---- | ----------- | ----- |
|
321
|
-
| **
|
321
|
+
| **financial_connection_id_to_delete** | **String** | | |
|
322
322
|
|
323
323
|
### Return type
|
324
324
|
|
325
|
-
[**
|
325
|
+
[**DeleteFinancialConnectionResponse**](DeleteFinancialConnectionResponse.md)
|
326
326
|
|
327
327
|
### Authorization
|
328
328
|
|
@@ -330,7 +330,7 @@ end
|
|
330
330
|
|
331
331
|
### HTTP request headers
|
332
332
|
|
333
|
-
- **Content-Type**:
|
333
|
+
- **Content-Type**: Not defined
|
334
334
|
- **Accept**: application/json
|
335
335
|
|
336
336
|
|
@@ -496,6 +496,8 @@ end
|
|
496
496
|
|
497
497
|
Get entity
|
498
498
|
|
499
|
+
An entity is automatically created after a successful connection. The id of the entity is what is set when calling the 'create session' endpoint
|
500
|
+
|
499
501
|
### Examples
|
500
502
|
|
501
503
|
```ruby
|
@@ -564,6 +566,80 @@ end
|
|
564
566
|
- **Accept**: application/json
|
565
567
|
|
566
568
|
|
569
|
+
## get_financial_connection
|
570
|
+
|
571
|
+
> <GetFinancialConnectionResponse> get_financial_connection(financial_connection_id)
|
572
|
+
|
573
|
+
Get financial connection details
|
574
|
+
|
575
|
+
### Examples
|
576
|
+
|
577
|
+
```ruby
|
578
|
+
require 'time'
|
579
|
+
require 'fuse_client'
|
580
|
+
# setup authorization
|
581
|
+
FuseClient.configure do |config|
|
582
|
+
# Configure API key authorization: fuseApiKey
|
583
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
584
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
585
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
586
|
+
|
587
|
+
# Configure API key authorization: fuseClientId
|
588
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
589
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
590
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
591
|
+
end
|
592
|
+
|
593
|
+
api_instance = FuseClient::FuseApi.new
|
594
|
+
financial_connection_id = 'financial_connection_id_example' # String |
|
595
|
+
|
596
|
+
begin
|
597
|
+
# Get financial connection details
|
598
|
+
result = api_instance.get_financial_connection(financial_connection_id)
|
599
|
+
p result
|
600
|
+
rescue FuseClient::ApiError => e
|
601
|
+
puts "Error when calling FuseApi->get_financial_connection: #{e}"
|
602
|
+
end
|
603
|
+
```
|
604
|
+
|
605
|
+
#### Using the get_financial_connection_with_http_info variant
|
606
|
+
|
607
|
+
This returns an Array which contains the response data, status code and headers.
|
608
|
+
|
609
|
+
> <Array(<GetFinancialConnectionResponse>, Integer, Hash)> get_financial_connection_with_http_info(financial_connection_id)
|
610
|
+
|
611
|
+
```ruby
|
612
|
+
begin
|
613
|
+
# Get financial connection details
|
614
|
+
data, status_code, headers = api_instance.get_financial_connection_with_http_info(financial_connection_id)
|
615
|
+
p status_code # => 2xx
|
616
|
+
p headers # => { ... }
|
617
|
+
p data # => <GetFinancialConnectionResponse>
|
618
|
+
rescue FuseClient::ApiError => e
|
619
|
+
puts "Error when calling FuseApi->get_financial_connection_with_http_info: #{e}"
|
620
|
+
end
|
621
|
+
```
|
622
|
+
|
623
|
+
### Parameters
|
624
|
+
|
625
|
+
| Name | Type | Description | Notes |
|
626
|
+
| ---- | ---- | ----------- | ----- |
|
627
|
+
| **financial_connection_id** | **String** | | |
|
628
|
+
|
629
|
+
### Return type
|
630
|
+
|
631
|
+
[**GetFinancialConnectionResponse**](GetFinancialConnectionResponse.md)
|
632
|
+
|
633
|
+
### Authorization
|
634
|
+
|
635
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
636
|
+
|
637
|
+
### HTTP request headers
|
638
|
+
|
639
|
+
- **Content-Type**: Not defined
|
640
|
+
- **Accept**: application/json
|
641
|
+
|
642
|
+
|
567
643
|
## get_financial_connections_account_details
|
568
644
|
|
569
645
|
> <GetFinancialConnectionsAccountDetailsResponse> get_financial_connections_account_details(get_financial_connections_account_details_request)
|
@@ -714,7 +790,7 @@ end
|
|
714
790
|
|
715
791
|
## get_financial_connections_balances
|
716
792
|
|
717
|
-
> <
|
793
|
+
> <GetFinancialConnectionsBalanceResponse> get_financial_connections_balances(get_financial_connections_balance_request)
|
718
794
|
|
719
795
|
Get balances
|
720
796
|
|
@@ -752,7 +828,7 @@ end
|
|
752
828
|
|
753
829
|
This returns an Array which contains the response data, status code and headers.
|
754
830
|
|
755
|
-
> <Array(<
|
831
|
+
> <Array(<GetFinancialConnectionsBalanceResponse>, Integer, Hash)> get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
|
756
832
|
|
757
833
|
```ruby
|
758
834
|
begin
|
@@ -760,7 +836,7 @@ begin
|
|
760
836
|
data, status_code, headers = api_instance.get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
|
761
837
|
p status_code # => 2xx
|
762
838
|
p headers # => { ... }
|
763
|
-
p data # => <
|
839
|
+
p data # => <GetFinancialConnectionsBalanceResponse>
|
764
840
|
rescue FuseClient::ApiError => e
|
765
841
|
puts "Error when calling FuseApi->get_financial_connections_balances_with_http_info: #{e}"
|
766
842
|
end
|
@@ -774,7 +850,7 @@ end
|
|
774
850
|
|
775
851
|
### Return type
|
776
852
|
|
777
|
-
[**
|
853
|
+
[**GetFinancialConnectionsBalanceResponse**](GetFinancialConnectionsBalanceResponse.md)
|
778
854
|
|
779
855
|
### Authorization
|
780
856
|
|
@@ -862,7 +938,7 @@ end
|
|
862
938
|
|
863
939
|
## get_financial_connections_transactions
|
864
940
|
|
865
|
-
> <
|
941
|
+
> <GetFinancialConnectionsTransactionsResponse> get_financial_connections_transactions(get_financial_connections_transactions_request)
|
866
942
|
|
867
943
|
Get transactions
|
868
944
|
|
@@ -885,11 +961,11 @@ FuseClient.configure do |config|
|
|
885
961
|
end
|
886
962
|
|
887
963
|
api_instance = FuseClient::FuseApi.new
|
888
|
-
|
964
|
+
get_financial_connections_transactions_request = FuseClient::GetFinancialConnectionsTransactionsRequest.new({access_token: 'access_token_example', start_date: 'start_date_example', end_date: 'end_date_example', page: 37, records_per_page: 37}) # GetFinancialConnectionsTransactionsRequest |
|
889
965
|
|
890
966
|
begin
|
891
967
|
# Get transactions
|
892
|
-
result = api_instance.get_financial_connections_transactions(
|
968
|
+
result = api_instance.get_financial_connections_transactions(get_financial_connections_transactions_request)
|
893
969
|
p result
|
894
970
|
rescue FuseClient::ApiError => e
|
895
971
|
puts "Error when calling FuseApi->get_financial_connections_transactions: #{e}"
|
@@ -900,15 +976,15 @@ end
|
|
900
976
|
|
901
977
|
This returns an Array which contains the response data, status code and headers.
|
902
978
|
|
903
|
-
> <Array(<
|
979
|
+
> <Array(<GetFinancialConnectionsTransactionsResponse>, Integer, Hash)> get_financial_connections_transactions_with_http_info(get_financial_connections_transactions_request)
|
904
980
|
|
905
981
|
```ruby
|
906
982
|
begin
|
907
983
|
# Get transactions
|
908
|
-
data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(
|
984
|
+
data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(get_financial_connections_transactions_request)
|
909
985
|
p status_code # => 2xx
|
910
986
|
p headers # => { ... }
|
911
|
-
p data # => <
|
987
|
+
p data # => <GetFinancialConnectionsTransactionsResponse>
|
912
988
|
rescue FuseClient::ApiError => e
|
913
989
|
puts "Error when calling FuseApi->get_financial_connections_transactions_with_http_info: #{e}"
|
914
990
|
end
|
@@ -918,11 +994,11 @@ end
|
|
918
994
|
|
919
995
|
| Name | Type | Description | Notes |
|
920
996
|
| ---- | ---- | ----------- | ----- |
|
921
|
-
| **
|
997
|
+
| **get_financial_connections_transactions_request** | [**GetFinancialConnectionsTransactionsRequest**](GetFinancialConnectionsTransactionsRequest.md) | | |
|
922
998
|
|
923
999
|
### Return type
|
924
1000
|
|
925
|
-
[**
|
1001
|
+
[**GetFinancialConnectionsTransactionsResponse**](GetFinancialConnectionsTransactionsResponse.md)
|
926
1002
|
|
927
1003
|
### Authorization
|
928
1004
|
|
@@ -1158,13 +1234,13 @@ end
|
|
1158
1234
|
- **Accept**: application/json
|
1159
1235
|
|
1160
1236
|
|
1161
|
-
##
|
1162
|
-
|
1163
|
-
> <CreateAssetReportResponse> refresh_asset_report(opts)
|
1237
|
+
## migrate_financial_connection
|
1164
1238
|
|
1239
|
+
> <MigrateFinancialConnectionsTokenResponse> migrate_financial_connection(opts)
|
1165
1240
|
|
1241
|
+
Migrate financial connection
|
1166
1242
|
|
1167
|
-
|
1243
|
+
This endpoint migrates financial connections from Plaid or MX into the unified Fuse API. It accepts a POST request with connection data, aggregator, entity, and Fuse products, and responds with a JSON payload containing the migrated connection's data, access token, ID, and request ID.
|
1168
1244
|
|
1169
1245
|
### Examples
|
1170
1246
|
|
@@ -1186,33 +1262,33 @@ end
|
|
1186
1262
|
|
1187
1263
|
api_instance = FuseClient::FuseApi.new
|
1188
1264
|
opts = {
|
1189
|
-
|
1265
|
+
migrate_financial_connections_token_request: FuseClient::MigrateFinancialConnectionsTokenRequest.new({connection_data: FuseClient::MigrateFinancialConnectionsAggregatorConnectionData.new, aggregator: 'plaid', entity: FuseClient::MigrateFinancialConnectionsTokenRequestEntity.new, fuse_products: [FuseClient::Product::ACCOUNT_DETAILS]}) # MigrateFinancialConnectionsTokenRequest |
|
1190
1266
|
}
|
1191
1267
|
|
1192
1268
|
begin
|
1193
|
-
|
1194
|
-
result = api_instance.
|
1269
|
+
# Migrate financial connection
|
1270
|
+
result = api_instance.migrate_financial_connection(opts)
|
1195
1271
|
p result
|
1196
1272
|
rescue FuseClient::ApiError => e
|
1197
|
-
puts "Error when calling FuseApi->
|
1273
|
+
puts "Error when calling FuseApi->migrate_financial_connection: #{e}"
|
1198
1274
|
end
|
1199
1275
|
```
|
1200
1276
|
|
1201
|
-
#### Using the
|
1277
|
+
#### Using the migrate_financial_connection_with_http_info variant
|
1202
1278
|
|
1203
1279
|
This returns an Array which contains the response data, status code and headers.
|
1204
1280
|
|
1205
|
-
> <Array(<
|
1281
|
+
> <Array(<MigrateFinancialConnectionsTokenResponse>, Integer, Hash)> migrate_financial_connection_with_http_info(opts)
|
1206
1282
|
|
1207
1283
|
```ruby
|
1208
1284
|
begin
|
1209
|
-
|
1210
|
-
data, status_code, headers = api_instance.
|
1285
|
+
# Migrate financial connection
|
1286
|
+
data, status_code, headers = api_instance.migrate_financial_connection_with_http_info(opts)
|
1211
1287
|
p status_code # => 2xx
|
1212
1288
|
p headers # => { ... }
|
1213
|
-
p data # => <
|
1289
|
+
p data # => <MigrateFinancialConnectionsTokenResponse>
|
1214
1290
|
rescue FuseClient::ApiError => e
|
1215
|
-
puts "Error when calling FuseApi->
|
1291
|
+
puts "Error when calling FuseApi->migrate_financial_connection_with_http_info: #{e}"
|
1216
1292
|
end
|
1217
1293
|
```
|
1218
1294
|
|
@@ -1220,11 +1296,11 @@ end
|
|
1220
1296
|
|
1221
1297
|
| Name | Type | Description | Notes |
|
1222
1298
|
| ---- | ---- | ----------- | ----- |
|
1223
|
-
| **
|
1299
|
+
| **migrate_financial_connections_token_request** | [**MigrateFinancialConnectionsTokenRequest**](MigrateFinancialConnectionsTokenRequest.md) | | [optional] |
|
1224
1300
|
|
1225
1301
|
### Return type
|
1226
1302
|
|
1227
|
-
[**
|
1303
|
+
[**MigrateFinancialConnectionsTokenResponse**](MigrateFinancialConnectionsTokenResponse.md)
|
1228
1304
|
|
1229
1305
|
### Authorization
|
1230
1306
|
|
@@ -1236,87 +1312,13 @@ end
|
|
1236
1312
|
- **Accept**: application/json
|
1237
1313
|
|
1238
1314
|
|
1239
|
-
##
|
1240
|
-
|
1241
|
-
> <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
|
1242
|
-
|
1243
|
-
Sync financial connections data
|
1244
|
-
|
1245
|
-
Call this endpoint upon receiving a SYNC_REQUIRED webhook. This will keep the financial connections data up to date.
|
1246
|
-
|
1247
|
-
### Examples
|
1248
|
-
|
1249
|
-
```ruby
|
1250
|
-
require 'time'
|
1251
|
-
require 'fuse_client'
|
1252
|
-
# setup authorization
|
1253
|
-
FuseClient.configure do |config|
|
1254
|
-
# Configure API key authorization: fuseApiKey
|
1255
|
-
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
1256
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1257
|
-
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
1258
|
-
|
1259
|
-
# Configure API key authorization: fuseClientId
|
1260
|
-
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
1261
|
-
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1262
|
-
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
1263
|
-
end
|
1264
|
-
|
1265
|
-
api_instance = FuseClient::FuseApi.new
|
1266
|
-
body = { ... } # Object |
|
1267
|
-
|
1268
|
-
begin
|
1269
|
-
# Sync financial connections data
|
1270
|
-
result = api_instance.sync_financial_connections_data(body)
|
1271
|
-
p result
|
1272
|
-
rescue FuseClient::ApiError => e
|
1273
|
-
puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
|
1274
|
-
end
|
1275
|
-
```
|
1276
|
-
|
1277
|
-
#### Using the sync_financial_connections_data_with_http_info variant
|
1278
|
-
|
1279
|
-
This returns an Array which contains the response data, status code and headers.
|
1280
|
-
|
1281
|
-
> <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
|
1282
|
-
|
1283
|
-
```ruby
|
1284
|
-
begin
|
1285
|
-
# Sync financial connections data
|
1286
|
-
data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
|
1287
|
-
p status_code # => 2xx
|
1288
|
-
p headers # => { ... }
|
1289
|
-
p data # => <SyncFinancialConnectionsDataResponse>
|
1290
|
-
rescue FuseClient::ApiError => e
|
1291
|
-
puts "Error when calling FuseApi->sync_financial_connections_data_with_http_info: #{e}"
|
1292
|
-
end
|
1293
|
-
```
|
1294
|
-
|
1295
|
-
### Parameters
|
1296
|
-
|
1297
|
-
| Name | Type | Description | Notes |
|
1298
|
-
| ---- | ---- | ----------- | ----- |
|
1299
|
-
| **body** | **Object** | | |
|
1300
|
-
|
1301
|
-
### Return type
|
1302
|
-
|
1303
|
-
[**SyncFinancialConnectionsDataResponse**](SyncFinancialConnectionsDataResponse.md)
|
1304
|
-
|
1305
|
-
### Authorization
|
1306
|
-
|
1307
|
-
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1308
|
-
|
1309
|
-
### HTTP request headers
|
1310
|
-
|
1311
|
-
- **Content-Type**: application/json
|
1312
|
-
- **Accept**: application/json
|
1315
|
+
## refresh_asset_report
|
1313
1316
|
|
1317
|
+
> <CreateAssetReportResponse> refresh_asset_report(opts)
|
1314
1318
|
|
1315
|
-
## sync_financial_connections_transactions
|
1316
1319
|
|
1317
|
-
> <SyncTransactionsResponse> sync_financial_connections_transactions(sync_transactions_request)
|
1318
1320
|
|
1319
|
-
|
1321
|
+
Refreshes the Asset Report in JSON format.
|
1320
1322
|
|
1321
1323
|
### Examples
|
1322
1324
|
|
@@ -1337,32 +1339,34 @@ FuseClient.configure do |config|
|
|
1337
1339
|
end
|
1338
1340
|
|
1339
1341
|
api_instance = FuseClient::FuseApi.new
|
1340
|
-
|
1342
|
+
opts = {
|
1343
|
+
refresh_asset_report_request: FuseClient::RefreshAssetReportRequest.new({days_requested: 3.56}) # RefreshAssetReportRequest |
|
1344
|
+
}
|
1341
1345
|
|
1342
1346
|
begin
|
1343
|
-
|
1344
|
-
result = api_instance.
|
1347
|
+
|
1348
|
+
result = api_instance.refresh_asset_report(opts)
|
1345
1349
|
p result
|
1346
1350
|
rescue FuseClient::ApiError => e
|
1347
|
-
puts "Error when calling FuseApi->
|
1351
|
+
puts "Error when calling FuseApi->refresh_asset_report: #{e}"
|
1348
1352
|
end
|
1349
1353
|
```
|
1350
1354
|
|
1351
|
-
#### Using the
|
1355
|
+
#### Using the refresh_asset_report_with_http_info variant
|
1352
1356
|
|
1353
1357
|
This returns an Array which contains the response data, status code and headers.
|
1354
1358
|
|
1355
|
-
> <Array(<
|
1359
|
+
> <Array(<CreateAssetReportResponse>, Integer, Hash)> refresh_asset_report_with_http_info(opts)
|
1356
1360
|
|
1357
1361
|
```ruby
|
1358
1362
|
begin
|
1359
|
-
|
1360
|
-
data, status_code, headers = api_instance.
|
1363
|
+
|
1364
|
+
data, status_code, headers = api_instance.refresh_asset_report_with_http_info(opts)
|
1361
1365
|
p status_code # => 2xx
|
1362
1366
|
p headers # => { ... }
|
1363
|
-
p data # => <
|
1367
|
+
p data # => <CreateAssetReportResponse>
|
1364
1368
|
rescue FuseClient::ApiError => e
|
1365
|
-
puts "Error when calling FuseApi->
|
1369
|
+
puts "Error when calling FuseApi->refresh_asset_report_with_http_info: #{e}"
|
1366
1370
|
end
|
1367
1371
|
```
|
1368
1372
|
|
@@ -1370,11 +1374,11 @@ end
|
|
1370
1374
|
|
1371
1375
|
| Name | Type | Description | Notes |
|
1372
1376
|
| ---- | ---- | ----------- | ----- |
|
1373
|
-
| **
|
1377
|
+
| **refresh_asset_report_request** | [**RefreshAssetReportRequest**](RefreshAssetReportRequest.md) | | [optional] |
|
1374
1378
|
|
1375
1379
|
### Return type
|
1376
1380
|
|
1377
|
-
[**
|
1381
|
+
[**CreateAssetReportResponse**](CreateAssetReportResponse.md)
|
1378
1382
|
|
1379
1383
|
### Authorization
|
1380
1384
|
|
@@ -1386,11 +1390,13 @@ end
|
|
1386
1390
|
- **Accept**: application/json
|
1387
1391
|
|
1388
1392
|
|
1389
|
-
##
|
1393
|
+
## sync_financial_connections_data
|
1390
1394
|
|
1391
|
-
> <
|
1395
|
+
> <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
|
1396
|
+
|
1397
|
+
Sync financial connections data
|
1392
1398
|
|
1393
|
-
|
1399
|
+
Call this endpoint upon receiving a financial_connection.sync_data webhook. This will keep the financial connections data up to date.
|
1394
1400
|
|
1395
1401
|
### Examples
|
1396
1402
|
|
@@ -1411,33 +1417,32 @@ FuseClient.configure do |config|
|
|
1411
1417
|
end
|
1412
1418
|
|
1413
1419
|
api_instance = FuseClient::FuseApi.new
|
1414
|
-
|
1415
|
-
update_entity_request = FuseClient::UpdateEntityRequest.new # UpdateEntityRequest |
|
1420
|
+
body = { ... } # Object |
|
1416
1421
|
|
1417
1422
|
begin
|
1418
|
-
#
|
1419
|
-
result = api_instance.
|
1423
|
+
# Sync financial connections data
|
1424
|
+
result = api_instance.sync_financial_connections_data(body)
|
1420
1425
|
p result
|
1421
1426
|
rescue FuseClient::ApiError => e
|
1422
|
-
puts "Error when calling FuseApi->
|
1427
|
+
puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
|
1423
1428
|
end
|
1424
1429
|
```
|
1425
1430
|
|
1426
|
-
#### Using the
|
1431
|
+
#### Using the sync_financial_connections_data_with_http_info variant
|
1427
1432
|
|
1428
1433
|
This returns an Array which contains the response data, status code and headers.
|
1429
1434
|
|
1430
|
-
> <Array(<
|
1435
|
+
> <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
|
1431
1436
|
|
1432
1437
|
```ruby
|
1433
1438
|
begin
|
1434
|
-
#
|
1435
|
-
data, status_code, headers = api_instance.
|
1439
|
+
# Sync financial connections data
|
1440
|
+
data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
|
1436
1441
|
p status_code # => 2xx
|
1437
1442
|
p headers # => { ... }
|
1438
|
-
p data # => <
|
1443
|
+
p data # => <SyncFinancialConnectionsDataResponse>
|
1439
1444
|
rescue FuseClient::ApiError => e
|
1440
|
-
puts "Error when calling FuseApi->
|
1445
|
+
puts "Error when calling FuseApi->sync_financial_connections_data_with_http_info: #{e}"
|
1441
1446
|
end
|
1442
1447
|
```
|
1443
1448
|
|
@@ -1445,12 +1450,11 @@ end
|
|
1445
1450
|
|
1446
1451
|
| Name | Type | Description | Notes |
|
1447
1452
|
| ---- | ---- | ----------- | ----- |
|
1448
|
-
| **
|
1449
|
-
| **update_entity_request** | [**UpdateEntityRequest**](UpdateEntityRequest.md) | | |
|
1453
|
+
| **body** | **Object** | | |
|
1450
1454
|
|
1451
1455
|
### Return type
|
1452
1456
|
|
1453
|
-
[**
|
1457
|
+
[**SyncFinancialConnectionsDataResponse**](SyncFinancialConnectionsDataResponse.md)
|
1454
1458
|
|
1455
1459
|
### Authorization
|
1456
1460
|
|