fuse_client 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/2023-01-25.json +1736 -0
- data/fuse-ruby-openapi/.gitignore +39 -0
- data/fuse-ruby-openapi/.gitlab-ci.yml +26 -0
- data/fuse-ruby-openapi/.openapi-generator/FILES +220 -0
- data/fuse-ruby-openapi/.openapi-generator/VERSION +1 -0
- data/fuse-ruby-openapi/.openapi-generator-ignore +23 -0
- data/fuse-ruby-openapi/.rspec +2 -0
- data/fuse-ruby-openapi/.rubocop.yml +148 -0
- data/fuse-ruby-openapi/.travis.yml +14 -0
- data/fuse-ruby-openapi/Gemfile +9 -0
- data/fuse-ruby-openapi/README.md +258 -0
- data/fuse-ruby-openapi/Rakefile +10 -0
- data/fuse-ruby-openapi/docs/CreateAssetReportRequest.md +20 -0
- data/fuse-ruby-openapi/docs/CreateAssetReportResponse.md +20 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequest.md +28 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestMx.md +18 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaid.md +18 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaidConfig.md +18 -0
- data/fuse-ruby-openapi/docs/CreateLinkTokenResponse.md +20 -0
- data/fuse-ruby-openapi/docs/CreateSessionRequest.md +22 -0
- data/fuse-ruby-openapi/docs/CreateSessionRequestMx.md +24 -0
- data/fuse-ruby-openapi/docs/CreateSessionRequestPlaid.md +18 -0
- data/fuse-ruby-openapi/docs/CreateSessionResponse.md +22 -0
- data/fuse-ruby-openapi/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +18 -0
- data/fuse-ruby-openapi/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +22 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccount.md +32 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountBalance.md +24 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountDetails.md +22 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountDetailsAch.md +24 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountInstitution.md +18 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiability.md +46 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiabilityAllOf.md +30 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiabilityAllOfAprs.md +20 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsHolding.md +26 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentAccount.md +32 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentSecurity.md +26 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentTransaction.md +18 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentTransactionDataInner.md +32 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwner.md +24 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerAddressesInner.md +20 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerAddressesInnerData.md +26 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerEmailsInner.md +22 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerNamesInner.md +20 -0
- data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +22 -0
- data/fuse-ruby-openapi/docs/FuseApi.md +1154 -0
- data/fuse-ruby-openapi/docs/FuseApiError.md +28 -0
- data/fuse-ruby-openapi/docs/FuseApiErrorData.md +20 -0
- data/fuse-ruby-openapi/docs/FuseApiWarning.md +28 -0
- data/fuse-ruby-openapi/docs/FuseApiWarningData.md +20 -0
- data/fuse-ruby-openapi/docs/GetAssetReportRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReport.md +28 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInner.md +24 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInnerBalances.md +22 -0
- data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md +22 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountBalanceResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountDetailsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountDetailsResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountsResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsBalanceRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersResponse.md +18 -0
- data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +20 -0
- data/fuse-ruby-openapi/docs/GetInvestmentHoldingsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetInvestmentHoldingsResponse.md +24 -0
- data/fuse-ruby-openapi/docs/GetInvestmentTransactionsRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetInvestmentTransactionsResponse.md +24 -0
- data/fuse-ruby-openapi/docs/GetLiabilitiesRequest.md +18 -0
- data/fuse-ruby-openapi/docs/GetLiabilitiesResponse.md +20 -0
- data/fuse-ruby-openapi/docs/GetTransactionsRequest.md +22 -0
- data/fuse-ruby-openapi/docs/GetTransactionsResponse.md +22 -0
- data/fuse-ruby-openapi/docs/GetTransactionsResponseDataInner.md +38 -0
- data/fuse-ruby-openapi/docs/GetTransactionsResponseDataInnerMerchant.md +18 -0
- data/fuse-ruby-openapi/docs/SyncFinancialConnectionsDataResponse.md +18 -0
- data/fuse-ruby-openapi/docs/SyncTransactionsRequest.md +22 -0
- data/fuse-ruby-openapi/docs/SyncTransactionsResponse.md +26 -0
- data/fuse-ruby-openapi/docs/SyncTransactionsResponseRemovedInner.md +18 -0
- data/fuse-ruby-openapi/docs/TransactionCommonModel.md +18 -0
- data/fuse-ruby-openapi/fuse_client.gemspec +38 -0
- data/fuse-ruby-openapi/git_push.sh +57 -0
- data/fuse-ruby-openapi/lib/fuse_client/api/fuse_api.rb +994 -0
- data/fuse-ruby-openapi/lib/fuse_client/api_client.rb +392 -0
- data/fuse-ruby-openapi/lib/fuse_client/api_error.rb +57 -0
- data/fuse-ruby-openapi/lib/fuse_client/configuration.rb +349 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_asset_report_request.rb +268 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_asset_report_response.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request.rb +277 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_mx.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid_config.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_response.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request.rb +266 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_mx.rb +247 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_plaid.rb +238 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/create_session_response.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account.rb +288 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_balance.rb +250 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_details.rb +239 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_details_ach.rb +250 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_institution.rb +219 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability.rb +368 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +282 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_holding.rb +260 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_account.rb +288 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_security.rb +260 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_transaction.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_transaction_data_inner.rb +290 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner.rb +255 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +229 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +260 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +274 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_names_inner.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +274 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_error.rb +298 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_error_data.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_warning.rb +298 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_warning_data.rb +230 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response.rb +219 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report.rb +275 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +252 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +240 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_balance_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_details_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_details_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_accounts_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_accounts_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_balance_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_response.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +231 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_holdings_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_holdings_response.rb +253 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_transactions_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_transactions_response.rb +253 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_liabilities_request.rb +225 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_liabilities_response.rb +231 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_request.rb +245 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response.rb +241 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response_data_inner.rb +321 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response_data_inner_merchant.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_financial_connections_data_response.rb +220 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_request.rb +245 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_response.rb +266 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +219 -0
- data/fuse-ruby-openapi/lib/fuse_client/models/transaction_common_model.rb +221 -0
- data/fuse-ruby-openapi/lib/fuse_client/version.rb +15 -0
- data/fuse-ruby-openapi/lib/fuse_client.rb +106 -0
- data/fuse-ruby-openapi/spec/api/fuse_api_spec.rb +201 -0
- data/fuse-ruby-openapi/spec/api_client_spec.rb +226 -0
- data/fuse-ruby-openapi/spec/configuration_spec.rb +42 -0
- data/fuse-ruby-openapi/spec/models/create_asset_report_request_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/create_asset_report_response_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_mx_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_config_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_request_spec.rb +64 -0
- data/fuse-ruby-openapi/spec/models/create_link_token_response_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/create_session_request_mx_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/create_session_request_plaid_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/create_session_request_spec.rb +50 -0
- data/fuse-ruby-openapi/spec/models/create_session_response_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/exchange_financial_connections_public_token_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/exchange_financial_connections_public_token_response_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_balance_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_details_ach_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_details_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_institution_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_all_of_spec.rb +70 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_spec.rb +118 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_account_spec.rb +76 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_holding_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_account_spec.rb +76 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_security_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_transaction_data_inner_spec.rb +76 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_investment_transaction_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_addresses_inner_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_emails_inner_spec.rb +50 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_names_inner_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +50 -0
- data/fuse-ruby-openapi/spec/models/financial_connections_owner_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_error_data_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_error_spec.rb +68 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_warning_data_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/fuse_api_warning_spec.rb +68 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_spec.rb +64 -0
- data/fuse-ruby-openapi/spec/models/get_asset_report_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_account_balance_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_account_details_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_account_details_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_accounts_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_accounts_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_balance_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_investment_holdings_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_investment_holdings_response_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/get_investment_transactions_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_investment_transactions_response_spec.rb +52 -0
- data/fuse-ruby-openapi/spec/models/get_liabilities_request_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_liabilities_response_spec.rb +40 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_request_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_response_data_inner_merchant_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_response_data_inner_spec.rb +94 -0
- data/fuse-ruby-openapi/spec/models/get_transactions_response_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/sync_financial_connections_data_response_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/sync_transactions_request_spec.rb +46 -0
- data/fuse-ruby-openapi/spec/models/sync_transactions_response_removed_inner_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/models/sync_transactions_response_spec.rb +58 -0
- data/fuse-ruby-openapi/spec/models/transaction_common_model_spec.rb +34 -0
- data/fuse-ruby-openapi/spec/spec_helper.rb +111 -0
- data/generate-fuse-openapi-spec.js +136 -0
- metadata +307 -0
@@ -0,0 +1,1154 @@
|
|
1
|
+
# FuseClient::FuseApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://yz9sph5c42.execute-api.us-east-1.amazonaws.com*
|
4
|
+
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create_asset_report**](FuseApi.md#create_asset_report) | **POST** /v1/asset_report/create | |
|
8
|
+
| [**create_link_token**](FuseApi.md#create_link_token) | **POST** /v1/link/token | |
|
9
|
+
| [**create_session**](FuseApi.md#create_session) | **POST** /v1/session | |
|
10
|
+
| [**exchange_public_token**](FuseApi.md#exchange_public_token) | **POST** /v1/financial_connections/public_token/exchange | |
|
11
|
+
| [**get_asset_report**](FuseApi.md#get_asset_report) | **POST** /v1/asset_report | |
|
12
|
+
| [**get_financial_connections_account_details**](FuseApi.md#get_financial_connections_account_details) | **POST** /v1/financial_connections/accounts/details | Get account details |
|
13
|
+
| [**get_financial_connections_accounts**](FuseApi.md#get_financial_connections_accounts) | **POST** /v1/financial_connections/accounts | Get accounts |
|
14
|
+
| [**get_financial_connections_balances**](FuseApi.md#get_financial_connections_balances) | **POST** /v1/financial_connections/balances | Get balances |
|
15
|
+
| [**get_financial_connections_owners**](FuseApi.md#get_financial_connections_owners) | **POST** /v1/financial_connections/owners | Get account owners |
|
16
|
+
| [**get_financial_connections_transactions**](FuseApi.md#get_financial_connections_transactions) | **POST** /v1/financial_connections/transactions | Get transactions |
|
17
|
+
| [**get_investment_holdings**](FuseApi.md#get_investment_holdings) | **POST** /v1/financial_connections/investments/holdings | Get investment holdings |
|
18
|
+
| [**get_investment_transactions**](FuseApi.md#get_investment_transactions) | **POST** /v1/financial_connections/investments/transactions | Get investment holdings |
|
19
|
+
| [**sync_financial_connections_data**](FuseApi.md#sync_financial_connections_data) | **POST** /v1/financial_connections/sync | Sync financial connections data |
|
20
|
+
| [**sync_financial_connections_transactions**](FuseApi.md#sync_financial_connections_transactions) | **POST** /v1/financial_connections/transactions/sync | Sync transactions |
|
21
|
+
| [**v1_financial_connections_liabilities_post**](FuseApi.md#v1_financial_connections_liabilities_post) | **POST** /v1/financial_connections/liabilities | Get liabilities |
|
22
|
+
|
23
|
+
|
24
|
+
## create_asset_report
|
25
|
+
|
26
|
+
> <CreateAssetReportResponse> create_asset_report(opts)
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
Use this endpoint to generate an Asset Report for a user.
|
31
|
+
|
32
|
+
### Examples
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
require 'time'
|
36
|
+
require 'fuse_client'
|
37
|
+
# setup authorization
|
38
|
+
FuseClient.configure do |config|
|
39
|
+
# Configure API key authorization: fuseApiKey
|
40
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
41
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
42
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
43
|
+
|
44
|
+
# Configure API key authorization: fuseClientId
|
45
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
46
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
47
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
48
|
+
end
|
49
|
+
|
50
|
+
api_instance = FuseClient::FuseApi.new
|
51
|
+
opts = {
|
52
|
+
create_asset_report_request: FuseClient::CreateAssetReportRequest.new({access_token: 'access_token_example', days_requested: 3.56}) # CreateAssetReportRequest |
|
53
|
+
}
|
54
|
+
|
55
|
+
begin
|
56
|
+
|
57
|
+
result = api_instance.create_asset_report(opts)
|
58
|
+
p result
|
59
|
+
rescue FuseClient::ApiError => e
|
60
|
+
puts "Error when calling FuseApi->create_asset_report: #{e}"
|
61
|
+
end
|
62
|
+
```
|
63
|
+
|
64
|
+
#### Using the create_asset_report_with_http_info variant
|
65
|
+
|
66
|
+
This returns an Array which contains the response data, status code and headers.
|
67
|
+
|
68
|
+
> <Array(<CreateAssetReportResponse>, Integer, Hash)> create_asset_report_with_http_info(opts)
|
69
|
+
|
70
|
+
```ruby
|
71
|
+
begin
|
72
|
+
|
73
|
+
data, status_code, headers = api_instance.create_asset_report_with_http_info(opts)
|
74
|
+
p status_code # => 2xx
|
75
|
+
p headers # => { ... }
|
76
|
+
p data # => <CreateAssetReportResponse>
|
77
|
+
rescue FuseClient::ApiError => e
|
78
|
+
puts "Error when calling FuseApi->create_asset_report_with_http_info: #{e}"
|
79
|
+
end
|
80
|
+
```
|
81
|
+
|
82
|
+
### Parameters
|
83
|
+
|
84
|
+
| Name | Type | Description | Notes |
|
85
|
+
| ---- | ---- | ----------- | ----- |
|
86
|
+
| **create_asset_report_request** | [**CreateAssetReportRequest**](CreateAssetReportRequest.md) | | [optional] |
|
87
|
+
|
88
|
+
### Return type
|
89
|
+
|
90
|
+
[**CreateAssetReportResponse**](CreateAssetReportResponse.md)
|
91
|
+
|
92
|
+
### Authorization
|
93
|
+
|
94
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
95
|
+
|
96
|
+
### HTTP request headers
|
97
|
+
|
98
|
+
- **Content-Type**: application/json
|
99
|
+
- **Accept**: application/json
|
100
|
+
|
101
|
+
|
102
|
+
## create_link_token
|
103
|
+
|
104
|
+
> <CreateLinkTokenResponse> create_link_token(opts)
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
Create a link token to start the process of a user connecting to a specific financial institution.
|
109
|
+
|
110
|
+
### Examples
|
111
|
+
|
112
|
+
```ruby
|
113
|
+
require 'time'
|
114
|
+
require 'fuse_client'
|
115
|
+
# setup authorization
|
116
|
+
FuseClient.configure do |config|
|
117
|
+
# Configure API key authorization: fuseApiKey
|
118
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
119
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
120
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
121
|
+
|
122
|
+
# Configure API key authorization: fuseClientId
|
123
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
124
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
125
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
126
|
+
end
|
127
|
+
|
128
|
+
api_instance = FuseClient::FuseApi.new
|
129
|
+
opts = {
|
130
|
+
create_link_token_request: FuseClient::CreateLinkTokenRequest.new({user_id: 'user_id_example', session_client_secret: 'session_client_secret_example'}) # CreateLinkTokenRequest |
|
131
|
+
}
|
132
|
+
|
133
|
+
begin
|
134
|
+
|
135
|
+
result = api_instance.create_link_token(opts)
|
136
|
+
p result
|
137
|
+
rescue FuseClient::ApiError => e
|
138
|
+
puts "Error when calling FuseApi->create_link_token: #{e}"
|
139
|
+
end
|
140
|
+
```
|
141
|
+
|
142
|
+
#### Using the create_link_token_with_http_info variant
|
143
|
+
|
144
|
+
This returns an Array which contains the response data, status code and headers.
|
145
|
+
|
146
|
+
> <Array(<CreateLinkTokenResponse>, Integer, Hash)> create_link_token_with_http_info(opts)
|
147
|
+
|
148
|
+
```ruby
|
149
|
+
begin
|
150
|
+
|
151
|
+
data, status_code, headers = api_instance.create_link_token_with_http_info(opts)
|
152
|
+
p status_code # => 2xx
|
153
|
+
p headers # => { ... }
|
154
|
+
p data # => <CreateLinkTokenResponse>
|
155
|
+
rescue FuseClient::ApiError => e
|
156
|
+
puts "Error when calling FuseApi->create_link_token_with_http_info: #{e}"
|
157
|
+
end
|
158
|
+
```
|
159
|
+
|
160
|
+
### Parameters
|
161
|
+
|
162
|
+
| Name | Type | Description | Notes |
|
163
|
+
| ---- | ---- | ----------- | ----- |
|
164
|
+
| **create_link_token_request** | [**CreateLinkTokenRequest**](CreateLinkTokenRequest.md) | | [optional] |
|
165
|
+
|
166
|
+
### Return type
|
167
|
+
|
168
|
+
[**CreateLinkTokenResponse**](CreateLinkTokenResponse.md)
|
169
|
+
|
170
|
+
### Authorization
|
171
|
+
|
172
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
173
|
+
|
174
|
+
### HTTP request headers
|
175
|
+
|
176
|
+
- **Content-Type**: application/json
|
177
|
+
- **Accept**: application/json
|
178
|
+
|
179
|
+
|
180
|
+
## create_session
|
181
|
+
|
182
|
+
> <CreateSessionResponse> create_session(opts)
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
Creates a session that returns a client_secret which is required as a parameter when initializing the Fuse SDK.
|
187
|
+
|
188
|
+
### Examples
|
189
|
+
|
190
|
+
```ruby
|
191
|
+
require 'time'
|
192
|
+
require 'fuse_client'
|
193
|
+
# setup authorization
|
194
|
+
FuseClient.configure do |config|
|
195
|
+
# Configure API key authorization: fuseApiKey
|
196
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
197
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
198
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
199
|
+
|
200
|
+
# Configure API key authorization: fuseClientId
|
201
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
202
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
203
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
204
|
+
end
|
205
|
+
|
206
|
+
api_instance = FuseClient::FuseApi.new
|
207
|
+
opts = {
|
208
|
+
create_session_request: FuseClient::CreateSessionRequest.new # CreateSessionRequest |
|
209
|
+
}
|
210
|
+
|
211
|
+
begin
|
212
|
+
|
213
|
+
result = api_instance.create_session(opts)
|
214
|
+
p result
|
215
|
+
rescue FuseClient::ApiError => e
|
216
|
+
puts "Error when calling FuseApi->create_session: #{e}"
|
217
|
+
end
|
218
|
+
```
|
219
|
+
|
220
|
+
#### Using the create_session_with_http_info variant
|
221
|
+
|
222
|
+
This returns an Array which contains the response data, status code and headers.
|
223
|
+
|
224
|
+
> <Array(<CreateSessionResponse>, Integer, Hash)> create_session_with_http_info(opts)
|
225
|
+
|
226
|
+
```ruby
|
227
|
+
begin
|
228
|
+
|
229
|
+
data, status_code, headers = api_instance.create_session_with_http_info(opts)
|
230
|
+
p status_code # => 2xx
|
231
|
+
p headers # => { ... }
|
232
|
+
p data # => <CreateSessionResponse>
|
233
|
+
rescue FuseClient::ApiError => e
|
234
|
+
puts "Error when calling FuseApi->create_session_with_http_info: #{e}"
|
235
|
+
end
|
236
|
+
```
|
237
|
+
|
238
|
+
### Parameters
|
239
|
+
|
240
|
+
| Name | Type | Description | Notes |
|
241
|
+
| ---- | ---- | ----------- | ----- |
|
242
|
+
| **create_session_request** | [**CreateSessionRequest**](CreateSessionRequest.md) | | [optional] |
|
243
|
+
|
244
|
+
### Return type
|
245
|
+
|
246
|
+
[**CreateSessionResponse**](CreateSessionResponse.md)
|
247
|
+
|
248
|
+
### Authorization
|
249
|
+
|
250
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
251
|
+
|
252
|
+
### HTTP request headers
|
253
|
+
|
254
|
+
- **Content-Type**: application/json
|
255
|
+
- **Accept**: application/json
|
256
|
+
|
257
|
+
|
258
|
+
## exchange_public_token
|
259
|
+
|
260
|
+
> <ExchangeFinancialConnectionsPublicTokenResponse> exchange_public_token(opts)
|
261
|
+
|
262
|
+
|
263
|
+
|
264
|
+
API to exchange a public token for an access token and financial connection id
|
265
|
+
|
266
|
+
### Examples
|
267
|
+
|
268
|
+
```ruby
|
269
|
+
require 'time'
|
270
|
+
require 'fuse_client'
|
271
|
+
# setup authorization
|
272
|
+
FuseClient.configure do |config|
|
273
|
+
# Configure API key authorization: fuseApiKey
|
274
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
275
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
276
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
277
|
+
|
278
|
+
# Configure API key authorization: fuseClientId
|
279
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
280
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
281
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
282
|
+
end
|
283
|
+
|
284
|
+
api_instance = FuseClient::FuseApi.new
|
285
|
+
opts = {
|
286
|
+
exchange_financial_connections_public_token_request: FuseClient::ExchangeFinancialConnectionsPublicTokenRequest.new # ExchangeFinancialConnectionsPublicTokenRequest |
|
287
|
+
}
|
288
|
+
|
289
|
+
begin
|
290
|
+
|
291
|
+
result = api_instance.exchange_public_token(opts)
|
292
|
+
p result
|
293
|
+
rescue FuseClient::ApiError => e
|
294
|
+
puts "Error when calling FuseApi->exchange_public_token: #{e}"
|
295
|
+
end
|
296
|
+
```
|
297
|
+
|
298
|
+
#### Using the exchange_public_token_with_http_info variant
|
299
|
+
|
300
|
+
This returns an Array which contains the response data, status code and headers.
|
301
|
+
|
302
|
+
> <Array(<ExchangeFinancialConnectionsPublicTokenResponse>, Integer, Hash)> exchange_public_token_with_http_info(opts)
|
303
|
+
|
304
|
+
```ruby
|
305
|
+
begin
|
306
|
+
|
307
|
+
data, status_code, headers = api_instance.exchange_public_token_with_http_info(opts)
|
308
|
+
p status_code # => 2xx
|
309
|
+
p headers # => { ... }
|
310
|
+
p data # => <ExchangeFinancialConnectionsPublicTokenResponse>
|
311
|
+
rescue FuseClient::ApiError => e
|
312
|
+
puts "Error when calling FuseApi->exchange_public_token_with_http_info: #{e}"
|
313
|
+
end
|
314
|
+
```
|
315
|
+
|
316
|
+
### Parameters
|
317
|
+
|
318
|
+
| Name | Type | Description | Notes |
|
319
|
+
| ---- | ---- | ----------- | ----- |
|
320
|
+
| **exchange_financial_connections_public_token_request** | [**ExchangeFinancialConnectionsPublicTokenRequest**](ExchangeFinancialConnectionsPublicTokenRequest.md) | | [optional] |
|
321
|
+
|
322
|
+
### Return type
|
323
|
+
|
324
|
+
[**ExchangeFinancialConnectionsPublicTokenResponse**](ExchangeFinancialConnectionsPublicTokenResponse.md)
|
325
|
+
|
326
|
+
### Authorization
|
327
|
+
|
328
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
329
|
+
|
330
|
+
### HTTP request headers
|
331
|
+
|
332
|
+
- **Content-Type**: application/json
|
333
|
+
- **Accept**: application/json
|
334
|
+
|
335
|
+
|
336
|
+
## get_asset_report
|
337
|
+
|
338
|
+
> <GetAssetReportResponse> get_asset_report(opts)
|
339
|
+
|
340
|
+
|
341
|
+
|
342
|
+
Retrieves the Asset Report in JSON format.
|
343
|
+
|
344
|
+
### Examples
|
345
|
+
|
346
|
+
```ruby
|
347
|
+
require 'time'
|
348
|
+
require 'fuse_client'
|
349
|
+
# setup authorization
|
350
|
+
FuseClient.configure do |config|
|
351
|
+
# Configure API key authorization: fuseApiKey
|
352
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
353
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
354
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
355
|
+
|
356
|
+
# Configure API key authorization: fuseClientId
|
357
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
358
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
359
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
360
|
+
end
|
361
|
+
|
362
|
+
api_instance = FuseClient::FuseApi.new
|
363
|
+
opts = {
|
364
|
+
get_asset_report_request: FuseClient::GetAssetReportRequest.new({asset_report_token: 'asset_report_token_example'}) # GetAssetReportRequest |
|
365
|
+
}
|
366
|
+
|
367
|
+
begin
|
368
|
+
|
369
|
+
result = api_instance.get_asset_report(opts)
|
370
|
+
p result
|
371
|
+
rescue FuseClient::ApiError => e
|
372
|
+
puts "Error when calling FuseApi->get_asset_report: #{e}"
|
373
|
+
end
|
374
|
+
```
|
375
|
+
|
376
|
+
#### Using the get_asset_report_with_http_info variant
|
377
|
+
|
378
|
+
This returns an Array which contains the response data, status code and headers.
|
379
|
+
|
380
|
+
> <Array(<GetAssetReportResponse>, Integer, Hash)> get_asset_report_with_http_info(opts)
|
381
|
+
|
382
|
+
```ruby
|
383
|
+
begin
|
384
|
+
|
385
|
+
data, status_code, headers = api_instance.get_asset_report_with_http_info(opts)
|
386
|
+
p status_code # => 2xx
|
387
|
+
p headers # => { ... }
|
388
|
+
p data # => <GetAssetReportResponse>
|
389
|
+
rescue FuseClient::ApiError => e
|
390
|
+
puts "Error when calling FuseApi->get_asset_report_with_http_info: #{e}"
|
391
|
+
end
|
392
|
+
```
|
393
|
+
|
394
|
+
### Parameters
|
395
|
+
|
396
|
+
| Name | Type | Description | Notes |
|
397
|
+
| ---- | ---- | ----------- | ----- |
|
398
|
+
| **get_asset_report_request** | [**GetAssetReportRequest**](GetAssetReportRequest.md) | | [optional] |
|
399
|
+
|
400
|
+
### Return type
|
401
|
+
|
402
|
+
[**GetAssetReportResponse**](GetAssetReportResponse.md)
|
403
|
+
|
404
|
+
### Authorization
|
405
|
+
|
406
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
407
|
+
|
408
|
+
### HTTP request headers
|
409
|
+
|
410
|
+
- **Content-Type**: application/json
|
411
|
+
- **Accept**: application/json
|
412
|
+
|
413
|
+
|
414
|
+
## get_financial_connections_account_details
|
415
|
+
|
416
|
+
> <GetFinancialConnectionsAccountDetailsResponse> get_financial_connections_account_details(get_financial_connections_account_details_request)
|
417
|
+
|
418
|
+
Get account details
|
419
|
+
|
420
|
+
### Examples
|
421
|
+
|
422
|
+
```ruby
|
423
|
+
require 'time'
|
424
|
+
require 'fuse_client'
|
425
|
+
# setup authorization
|
426
|
+
FuseClient.configure do |config|
|
427
|
+
# Configure API key authorization: fuseApiKey
|
428
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
429
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
430
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
431
|
+
|
432
|
+
# Configure API key authorization: fuseClientId
|
433
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
434
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
435
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
436
|
+
end
|
437
|
+
|
438
|
+
api_instance = FuseClient::FuseApi.new
|
439
|
+
get_financial_connections_account_details_request = FuseClient::GetFinancialConnectionsAccountDetailsRequest.new({access_token: 'access_token_example'}) # GetFinancialConnectionsAccountDetailsRequest |
|
440
|
+
|
441
|
+
begin
|
442
|
+
# Get account details
|
443
|
+
result = api_instance.get_financial_connections_account_details(get_financial_connections_account_details_request)
|
444
|
+
p result
|
445
|
+
rescue FuseClient::ApiError => e
|
446
|
+
puts "Error when calling FuseApi->get_financial_connections_account_details: #{e}"
|
447
|
+
end
|
448
|
+
```
|
449
|
+
|
450
|
+
#### Using the get_financial_connections_account_details_with_http_info variant
|
451
|
+
|
452
|
+
This returns an Array which contains the response data, status code and headers.
|
453
|
+
|
454
|
+
> <Array(<GetFinancialConnectionsAccountDetailsResponse>, Integer, Hash)> get_financial_connections_account_details_with_http_info(get_financial_connections_account_details_request)
|
455
|
+
|
456
|
+
```ruby
|
457
|
+
begin
|
458
|
+
# Get account details
|
459
|
+
data, status_code, headers = api_instance.get_financial_connections_account_details_with_http_info(get_financial_connections_account_details_request)
|
460
|
+
p status_code # => 2xx
|
461
|
+
p headers # => { ... }
|
462
|
+
p data # => <GetFinancialConnectionsAccountDetailsResponse>
|
463
|
+
rescue FuseClient::ApiError => e
|
464
|
+
puts "Error when calling FuseApi->get_financial_connections_account_details_with_http_info: #{e}"
|
465
|
+
end
|
466
|
+
```
|
467
|
+
|
468
|
+
### Parameters
|
469
|
+
|
470
|
+
| Name | Type | Description | Notes |
|
471
|
+
| ---- | ---- | ----------- | ----- |
|
472
|
+
| **get_financial_connections_account_details_request** | [**GetFinancialConnectionsAccountDetailsRequest**](GetFinancialConnectionsAccountDetailsRequest.md) | | |
|
473
|
+
|
474
|
+
### Return type
|
475
|
+
|
476
|
+
[**GetFinancialConnectionsAccountDetailsResponse**](GetFinancialConnectionsAccountDetailsResponse.md)
|
477
|
+
|
478
|
+
### Authorization
|
479
|
+
|
480
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
481
|
+
|
482
|
+
### HTTP request headers
|
483
|
+
|
484
|
+
- **Content-Type**: application/json
|
485
|
+
- **Accept**: application/json
|
486
|
+
|
487
|
+
|
488
|
+
## get_financial_connections_accounts
|
489
|
+
|
490
|
+
> <GetFinancialConnectionsAccountsResponse> get_financial_connections_accounts(get_financial_connections_accounts_request)
|
491
|
+
|
492
|
+
Get accounts
|
493
|
+
|
494
|
+
### Examples
|
495
|
+
|
496
|
+
```ruby
|
497
|
+
require 'time'
|
498
|
+
require 'fuse_client'
|
499
|
+
# setup authorization
|
500
|
+
FuseClient.configure do |config|
|
501
|
+
# Configure API key authorization: fuseApiKey
|
502
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
503
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
504
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
505
|
+
|
506
|
+
# Configure API key authorization: fuseClientId
|
507
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
508
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
509
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
510
|
+
end
|
511
|
+
|
512
|
+
api_instance = FuseClient::FuseApi.new
|
513
|
+
get_financial_connections_accounts_request = FuseClient::GetFinancialConnectionsAccountsRequest.new({access_token: 'access_token_example'}) # GetFinancialConnectionsAccountsRequest |
|
514
|
+
|
515
|
+
begin
|
516
|
+
# Get accounts
|
517
|
+
result = api_instance.get_financial_connections_accounts(get_financial_connections_accounts_request)
|
518
|
+
p result
|
519
|
+
rescue FuseClient::ApiError => e
|
520
|
+
puts "Error when calling FuseApi->get_financial_connections_accounts: #{e}"
|
521
|
+
end
|
522
|
+
```
|
523
|
+
|
524
|
+
#### Using the get_financial_connections_accounts_with_http_info variant
|
525
|
+
|
526
|
+
This returns an Array which contains the response data, status code and headers.
|
527
|
+
|
528
|
+
> <Array(<GetFinancialConnectionsAccountsResponse>, Integer, Hash)> get_financial_connections_accounts_with_http_info(get_financial_connections_accounts_request)
|
529
|
+
|
530
|
+
```ruby
|
531
|
+
begin
|
532
|
+
# Get accounts
|
533
|
+
data, status_code, headers = api_instance.get_financial_connections_accounts_with_http_info(get_financial_connections_accounts_request)
|
534
|
+
p status_code # => 2xx
|
535
|
+
p headers # => { ... }
|
536
|
+
p data # => <GetFinancialConnectionsAccountsResponse>
|
537
|
+
rescue FuseClient::ApiError => e
|
538
|
+
puts "Error when calling FuseApi->get_financial_connections_accounts_with_http_info: #{e}"
|
539
|
+
end
|
540
|
+
```
|
541
|
+
|
542
|
+
### Parameters
|
543
|
+
|
544
|
+
| Name | Type | Description | Notes |
|
545
|
+
| ---- | ---- | ----------- | ----- |
|
546
|
+
| **get_financial_connections_accounts_request** | [**GetFinancialConnectionsAccountsRequest**](GetFinancialConnectionsAccountsRequest.md) | | |
|
547
|
+
|
548
|
+
### Return type
|
549
|
+
|
550
|
+
[**GetFinancialConnectionsAccountsResponse**](GetFinancialConnectionsAccountsResponse.md)
|
551
|
+
|
552
|
+
### Authorization
|
553
|
+
|
554
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
555
|
+
|
556
|
+
### HTTP request headers
|
557
|
+
|
558
|
+
- **Content-Type**: application/json
|
559
|
+
- **Accept**: application/json
|
560
|
+
|
561
|
+
|
562
|
+
## get_financial_connections_balances
|
563
|
+
|
564
|
+
> <GetFinancialConnectionsAccountBalanceResponse> get_financial_connections_balances(get_financial_connections_balance_request)
|
565
|
+
|
566
|
+
Get balances
|
567
|
+
|
568
|
+
### Examples
|
569
|
+
|
570
|
+
```ruby
|
571
|
+
require 'time'
|
572
|
+
require 'fuse_client'
|
573
|
+
# setup authorization
|
574
|
+
FuseClient.configure do |config|
|
575
|
+
# Configure API key authorization: fuseApiKey
|
576
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
577
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
578
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
579
|
+
|
580
|
+
# Configure API key authorization: fuseClientId
|
581
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
582
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
583
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
584
|
+
end
|
585
|
+
|
586
|
+
api_instance = FuseClient::FuseApi.new
|
587
|
+
get_financial_connections_balance_request = FuseClient::GetFinancialConnectionsBalanceRequest.new({access_token: 'access_token_example'}) # GetFinancialConnectionsBalanceRequest |
|
588
|
+
|
589
|
+
begin
|
590
|
+
# Get balances
|
591
|
+
result = api_instance.get_financial_connections_balances(get_financial_connections_balance_request)
|
592
|
+
p result
|
593
|
+
rescue FuseClient::ApiError => e
|
594
|
+
puts "Error when calling FuseApi->get_financial_connections_balances: #{e}"
|
595
|
+
end
|
596
|
+
```
|
597
|
+
|
598
|
+
#### Using the get_financial_connections_balances_with_http_info variant
|
599
|
+
|
600
|
+
This returns an Array which contains the response data, status code and headers.
|
601
|
+
|
602
|
+
> <Array(<GetFinancialConnectionsAccountBalanceResponse>, Integer, Hash)> get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
|
603
|
+
|
604
|
+
```ruby
|
605
|
+
begin
|
606
|
+
# Get balances
|
607
|
+
data, status_code, headers = api_instance.get_financial_connections_balances_with_http_info(get_financial_connections_balance_request)
|
608
|
+
p status_code # => 2xx
|
609
|
+
p headers # => { ... }
|
610
|
+
p data # => <GetFinancialConnectionsAccountBalanceResponse>
|
611
|
+
rescue FuseClient::ApiError => e
|
612
|
+
puts "Error when calling FuseApi->get_financial_connections_balances_with_http_info: #{e}"
|
613
|
+
end
|
614
|
+
```
|
615
|
+
|
616
|
+
### Parameters
|
617
|
+
|
618
|
+
| Name | Type | Description | Notes |
|
619
|
+
| ---- | ---- | ----------- | ----- |
|
620
|
+
| **get_financial_connections_balance_request** | [**GetFinancialConnectionsBalanceRequest**](GetFinancialConnectionsBalanceRequest.md) | | |
|
621
|
+
|
622
|
+
### Return type
|
623
|
+
|
624
|
+
[**GetFinancialConnectionsAccountBalanceResponse**](GetFinancialConnectionsAccountBalanceResponse.md)
|
625
|
+
|
626
|
+
### Authorization
|
627
|
+
|
628
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
629
|
+
|
630
|
+
### HTTP request headers
|
631
|
+
|
632
|
+
- **Content-Type**: application/json
|
633
|
+
- **Accept**: application/json
|
634
|
+
|
635
|
+
|
636
|
+
## get_financial_connections_owners
|
637
|
+
|
638
|
+
> <GetFinancialConnectionsOwnersResponse> get_financial_connections_owners(get_financial_connections_owners_request)
|
639
|
+
|
640
|
+
Get account owners
|
641
|
+
|
642
|
+
### Examples
|
643
|
+
|
644
|
+
```ruby
|
645
|
+
require 'time'
|
646
|
+
require 'fuse_client'
|
647
|
+
# setup authorization
|
648
|
+
FuseClient.configure do |config|
|
649
|
+
# Configure API key authorization: fuseApiKey
|
650
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
651
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
652
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
653
|
+
|
654
|
+
# Configure API key authorization: fuseClientId
|
655
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
656
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
657
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
658
|
+
end
|
659
|
+
|
660
|
+
api_instance = FuseClient::FuseApi.new
|
661
|
+
get_financial_connections_owners_request = FuseClient::GetFinancialConnectionsOwnersRequest.new({access_token: 'access_token_example'}) # GetFinancialConnectionsOwnersRequest |
|
662
|
+
|
663
|
+
begin
|
664
|
+
# Get account owners
|
665
|
+
result = api_instance.get_financial_connections_owners(get_financial_connections_owners_request)
|
666
|
+
p result
|
667
|
+
rescue FuseClient::ApiError => e
|
668
|
+
puts "Error when calling FuseApi->get_financial_connections_owners: #{e}"
|
669
|
+
end
|
670
|
+
```
|
671
|
+
|
672
|
+
#### Using the get_financial_connections_owners_with_http_info variant
|
673
|
+
|
674
|
+
This returns an Array which contains the response data, status code and headers.
|
675
|
+
|
676
|
+
> <Array(<GetFinancialConnectionsOwnersResponse>, Integer, Hash)> get_financial_connections_owners_with_http_info(get_financial_connections_owners_request)
|
677
|
+
|
678
|
+
```ruby
|
679
|
+
begin
|
680
|
+
# Get account owners
|
681
|
+
data, status_code, headers = api_instance.get_financial_connections_owners_with_http_info(get_financial_connections_owners_request)
|
682
|
+
p status_code # => 2xx
|
683
|
+
p headers # => { ... }
|
684
|
+
p data # => <GetFinancialConnectionsOwnersResponse>
|
685
|
+
rescue FuseClient::ApiError => e
|
686
|
+
puts "Error when calling FuseApi->get_financial_connections_owners_with_http_info: #{e}"
|
687
|
+
end
|
688
|
+
```
|
689
|
+
|
690
|
+
### Parameters
|
691
|
+
|
692
|
+
| Name | Type | Description | Notes |
|
693
|
+
| ---- | ---- | ----------- | ----- |
|
694
|
+
| **get_financial_connections_owners_request** | [**GetFinancialConnectionsOwnersRequest**](GetFinancialConnectionsOwnersRequest.md) | | |
|
695
|
+
|
696
|
+
### Return type
|
697
|
+
|
698
|
+
[**GetFinancialConnectionsOwnersResponse**](GetFinancialConnectionsOwnersResponse.md)
|
699
|
+
|
700
|
+
### Authorization
|
701
|
+
|
702
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
703
|
+
|
704
|
+
### HTTP request headers
|
705
|
+
|
706
|
+
- **Content-Type**: application/json
|
707
|
+
- **Accept**: application/json
|
708
|
+
|
709
|
+
|
710
|
+
## get_financial_connections_transactions
|
711
|
+
|
712
|
+
> <GetTransactionsResponse> get_financial_connections_transactions(get_transactions_request)
|
713
|
+
|
714
|
+
Get transactions
|
715
|
+
|
716
|
+
### Examples
|
717
|
+
|
718
|
+
```ruby
|
719
|
+
require 'time'
|
720
|
+
require 'fuse_client'
|
721
|
+
# setup authorization
|
722
|
+
FuseClient.configure do |config|
|
723
|
+
# Configure API key authorization: fuseApiKey
|
724
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
725
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
726
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
727
|
+
|
728
|
+
# Configure API key authorization: fuseClientId
|
729
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
730
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
731
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
732
|
+
end
|
733
|
+
|
734
|
+
api_instance = FuseClient::FuseApi.new
|
735
|
+
get_transactions_request = FuseClient::GetTransactionsRequest.new({access_token: 'access_token_example'}) # GetTransactionsRequest |
|
736
|
+
|
737
|
+
begin
|
738
|
+
# Get transactions
|
739
|
+
result = api_instance.get_financial_connections_transactions(get_transactions_request)
|
740
|
+
p result
|
741
|
+
rescue FuseClient::ApiError => e
|
742
|
+
puts "Error when calling FuseApi->get_financial_connections_transactions: #{e}"
|
743
|
+
end
|
744
|
+
```
|
745
|
+
|
746
|
+
#### Using the get_financial_connections_transactions_with_http_info variant
|
747
|
+
|
748
|
+
This returns an Array which contains the response data, status code and headers.
|
749
|
+
|
750
|
+
> <Array(<GetTransactionsResponse>, Integer, Hash)> get_financial_connections_transactions_with_http_info(get_transactions_request)
|
751
|
+
|
752
|
+
```ruby
|
753
|
+
begin
|
754
|
+
# Get transactions
|
755
|
+
data, status_code, headers = api_instance.get_financial_connections_transactions_with_http_info(get_transactions_request)
|
756
|
+
p status_code # => 2xx
|
757
|
+
p headers # => { ... }
|
758
|
+
p data # => <GetTransactionsResponse>
|
759
|
+
rescue FuseClient::ApiError => e
|
760
|
+
puts "Error when calling FuseApi->get_financial_connections_transactions_with_http_info: #{e}"
|
761
|
+
end
|
762
|
+
```
|
763
|
+
|
764
|
+
### Parameters
|
765
|
+
|
766
|
+
| Name | Type | Description | Notes |
|
767
|
+
| ---- | ---- | ----------- | ----- |
|
768
|
+
| **get_transactions_request** | [**GetTransactionsRequest**](GetTransactionsRequest.md) | | |
|
769
|
+
|
770
|
+
### Return type
|
771
|
+
|
772
|
+
[**GetTransactionsResponse**](GetTransactionsResponse.md)
|
773
|
+
|
774
|
+
### Authorization
|
775
|
+
|
776
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
777
|
+
|
778
|
+
### HTTP request headers
|
779
|
+
|
780
|
+
- **Content-Type**: application/json
|
781
|
+
- **Accept**: application/json
|
782
|
+
|
783
|
+
|
784
|
+
## get_investment_holdings
|
785
|
+
|
786
|
+
> <GetInvestmentHoldingsResponse> get_investment_holdings(get_investment_holdings_request)
|
787
|
+
|
788
|
+
Get investment holdings
|
789
|
+
|
790
|
+
### Examples
|
791
|
+
|
792
|
+
```ruby
|
793
|
+
require 'time'
|
794
|
+
require 'fuse_client'
|
795
|
+
# setup authorization
|
796
|
+
FuseClient.configure do |config|
|
797
|
+
# Configure API key authorization: fuseApiKey
|
798
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
799
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
800
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
801
|
+
|
802
|
+
# Configure API key authorization: fuseClientId
|
803
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
804
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
805
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
806
|
+
end
|
807
|
+
|
808
|
+
api_instance = FuseClient::FuseApi.new
|
809
|
+
get_investment_holdings_request = FuseClient::GetInvestmentHoldingsRequest.new({access_token: 'access_token_example'}) # GetInvestmentHoldingsRequest |
|
810
|
+
|
811
|
+
begin
|
812
|
+
# Get investment holdings
|
813
|
+
result = api_instance.get_investment_holdings(get_investment_holdings_request)
|
814
|
+
p result
|
815
|
+
rescue FuseClient::ApiError => e
|
816
|
+
puts "Error when calling FuseApi->get_investment_holdings: #{e}"
|
817
|
+
end
|
818
|
+
```
|
819
|
+
|
820
|
+
#### Using the get_investment_holdings_with_http_info variant
|
821
|
+
|
822
|
+
This returns an Array which contains the response data, status code and headers.
|
823
|
+
|
824
|
+
> <Array(<GetInvestmentHoldingsResponse>, Integer, Hash)> get_investment_holdings_with_http_info(get_investment_holdings_request)
|
825
|
+
|
826
|
+
```ruby
|
827
|
+
begin
|
828
|
+
# Get investment holdings
|
829
|
+
data, status_code, headers = api_instance.get_investment_holdings_with_http_info(get_investment_holdings_request)
|
830
|
+
p status_code # => 2xx
|
831
|
+
p headers # => { ... }
|
832
|
+
p data # => <GetInvestmentHoldingsResponse>
|
833
|
+
rescue FuseClient::ApiError => e
|
834
|
+
puts "Error when calling FuseApi->get_investment_holdings_with_http_info: #{e}"
|
835
|
+
end
|
836
|
+
```
|
837
|
+
|
838
|
+
### Parameters
|
839
|
+
|
840
|
+
| Name | Type | Description | Notes |
|
841
|
+
| ---- | ---- | ----------- | ----- |
|
842
|
+
| **get_investment_holdings_request** | [**GetInvestmentHoldingsRequest**](GetInvestmentHoldingsRequest.md) | | |
|
843
|
+
|
844
|
+
### Return type
|
845
|
+
|
846
|
+
[**GetInvestmentHoldingsResponse**](GetInvestmentHoldingsResponse.md)
|
847
|
+
|
848
|
+
### Authorization
|
849
|
+
|
850
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
851
|
+
|
852
|
+
### HTTP request headers
|
853
|
+
|
854
|
+
- **Content-Type**: application/json
|
855
|
+
- **Accept**: application/json
|
856
|
+
|
857
|
+
|
858
|
+
## get_investment_transactions
|
859
|
+
|
860
|
+
> <GetInvestmentTransactionsResponse> get_investment_transactions(get_investment_transactions_request)
|
861
|
+
|
862
|
+
Get investment holdings
|
863
|
+
|
864
|
+
### Examples
|
865
|
+
|
866
|
+
```ruby
|
867
|
+
require 'time'
|
868
|
+
require 'fuse_client'
|
869
|
+
# setup authorization
|
870
|
+
FuseClient.configure do |config|
|
871
|
+
# Configure API key authorization: fuseApiKey
|
872
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
873
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
874
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
875
|
+
|
876
|
+
# Configure API key authorization: fuseClientId
|
877
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
878
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
879
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
880
|
+
end
|
881
|
+
|
882
|
+
api_instance = FuseClient::FuseApi.new
|
883
|
+
get_investment_transactions_request = FuseClient::GetInvestmentTransactionsRequest.new({access_token: 'access_token_example'}) # GetInvestmentTransactionsRequest |
|
884
|
+
|
885
|
+
begin
|
886
|
+
# Get investment holdings
|
887
|
+
result = api_instance.get_investment_transactions(get_investment_transactions_request)
|
888
|
+
p result
|
889
|
+
rescue FuseClient::ApiError => e
|
890
|
+
puts "Error when calling FuseApi->get_investment_transactions: #{e}"
|
891
|
+
end
|
892
|
+
```
|
893
|
+
|
894
|
+
#### Using the get_investment_transactions_with_http_info variant
|
895
|
+
|
896
|
+
This returns an Array which contains the response data, status code and headers.
|
897
|
+
|
898
|
+
> <Array(<GetInvestmentTransactionsResponse>, Integer, Hash)> get_investment_transactions_with_http_info(get_investment_transactions_request)
|
899
|
+
|
900
|
+
```ruby
|
901
|
+
begin
|
902
|
+
# Get investment holdings
|
903
|
+
data, status_code, headers = api_instance.get_investment_transactions_with_http_info(get_investment_transactions_request)
|
904
|
+
p status_code # => 2xx
|
905
|
+
p headers # => { ... }
|
906
|
+
p data # => <GetInvestmentTransactionsResponse>
|
907
|
+
rescue FuseClient::ApiError => e
|
908
|
+
puts "Error when calling FuseApi->get_investment_transactions_with_http_info: #{e}"
|
909
|
+
end
|
910
|
+
```
|
911
|
+
|
912
|
+
### Parameters
|
913
|
+
|
914
|
+
| Name | Type | Description | Notes |
|
915
|
+
| ---- | ---- | ----------- | ----- |
|
916
|
+
| **get_investment_transactions_request** | [**GetInvestmentTransactionsRequest**](GetInvestmentTransactionsRequest.md) | | |
|
917
|
+
|
918
|
+
### Return type
|
919
|
+
|
920
|
+
[**GetInvestmentTransactionsResponse**](GetInvestmentTransactionsResponse.md)
|
921
|
+
|
922
|
+
### Authorization
|
923
|
+
|
924
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
925
|
+
|
926
|
+
### HTTP request headers
|
927
|
+
|
928
|
+
- **Content-Type**: application/json
|
929
|
+
- **Accept**: application/json
|
930
|
+
|
931
|
+
|
932
|
+
## sync_financial_connections_data
|
933
|
+
|
934
|
+
> <SyncFinancialConnectionsDataResponse> sync_financial_connections_data(body)
|
935
|
+
|
936
|
+
Sync financial connections data
|
937
|
+
|
938
|
+
Call this endpoint upon receiving a SYNC_REQUIRED webhook. This will keep the financial connections data up to date.
|
939
|
+
|
940
|
+
### Examples
|
941
|
+
|
942
|
+
```ruby
|
943
|
+
require 'time'
|
944
|
+
require 'fuse_client'
|
945
|
+
# setup authorization
|
946
|
+
FuseClient.configure do |config|
|
947
|
+
# Configure API key authorization: fuseApiKey
|
948
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
949
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
950
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
951
|
+
|
952
|
+
# Configure API key authorization: fuseClientId
|
953
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
954
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
955
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
956
|
+
end
|
957
|
+
|
958
|
+
api_instance = FuseClient::FuseApi.new
|
959
|
+
body = { ... } # Object |
|
960
|
+
|
961
|
+
begin
|
962
|
+
# Sync financial connections data
|
963
|
+
result = api_instance.sync_financial_connections_data(body)
|
964
|
+
p result
|
965
|
+
rescue FuseClient::ApiError => e
|
966
|
+
puts "Error when calling FuseApi->sync_financial_connections_data: #{e}"
|
967
|
+
end
|
968
|
+
```
|
969
|
+
|
970
|
+
#### Using the sync_financial_connections_data_with_http_info variant
|
971
|
+
|
972
|
+
This returns an Array which contains the response data, status code and headers.
|
973
|
+
|
974
|
+
> <Array(<SyncFinancialConnectionsDataResponse>, Integer, Hash)> sync_financial_connections_data_with_http_info(body)
|
975
|
+
|
976
|
+
```ruby
|
977
|
+
begin
|
978
|
+
# Sync financial connections data
|
979
|
+
data, status_code, headers = api_instance.sync_financial_connections_data_with_http_info(body)
|
980
|
+
p status_code # => 2xx
|
981
|
+
p headers # => { ... }
|
982
|
+
p data # => <SyncFinancialConnectionsDataResponse>
|
983
|
+
rescue FuseClient::ApiError => e
|
984
|
+
puts "Error when calling FuseApi->sync_financial_connections_data_with_http_info: #{e}"
|
985
|
+
end
|
986
|
+
```
|
987
|
+
|
988
|
+
### Parameters
|
989
|
+
|
990
|
+
| Name | Type | Description | Notes |
|
991
|
+
| ---- | ---- | ----------- | ----- |
|
992
|
+
| **body** | **Object** | | |
|
993
|
+
|
994
|
+
### Return type
|
995
|
+
|
996
|
+
[**SyncFinancialConnectionsDataResponse**](SyncFinancialConnectionsDataResponse.md)
|
997
|
+
|
998
|
+
### Authorization
|
999
|
+
|
1000
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1001
|
+
|
1002
|
+
### HTTP request headers
|
1003
|
+
|
1004
|
+
- **Content-Type**: application/json
|
1005
|
+
- **Accept**: application/json
|
1006
|
+
|
1007
|
+
|
1008
|
+
## sync_financial_connections_transactions
|
1009
|
+
|
1010
|
+
> <SyncTransactionsResponse> sync_financial_connections_transactions(sync_transactions_request)
|
1011
|
+
|
1012
|
+
Sync transactions
|
1013
|
+
|
1014
|
+
### Examples
|
1015
|
+
|
1016
|
+
```ruby
|
1017
|
+
require 'time'
|
1018
|
+
require 'fuse_client'
|
1019
|
+
# setup authorization
|
1020
|
+
FuseClient.configure do |config|
|
1021
|
+
# Configure API key authorization: fuseApiKey
|
1022
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
1023
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1024
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
1025
|
+
|
1026
|
+
# Configure API key authorization: fuseClientId
|
1027
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
1028
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1029
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
1030
|
+
end
|
1031
|
+
|
1032
|
+
api_instance = FuseClient::FuseApi.new
|
1033
|
+
sync_transactions_request = FuseClient::SyncTransactionsRequest.new({access_token: 'access_token_example'}) # SyncTransactionsRequest |
|
1034
|
+
|
1035
|
+
begin
|
1036
|
+
# Sync transactions
|
1037
|
+
result = api_instance.sync_financial_connections_transactions(sync_transactions_request)
|
1038
|
+
p result
|
1039
|
+
rescue FuseClient::ApiError => e
|
1040
|
+
puts "Error when calling FuseApi->sync_financial_connections_transactions: #{e}"
|
1041
|
+
end
|
1042
|
+
```
|
1043
|
+
|
1044
|
+
#### Using the sync_financial_connections_transactions_with_http_info variant
|
1045
|
+
|
1046
|
+
This returns an Array which contains the response data, status code and headers.
|
1047
|
+
|
1048
|
+
> <Array(<SyncTransactionsResponse>, Integer, Hash)> sync_financial_connections_transactions_with_http_info(sync_transactions_request)
|
1049
|
+
|
1050
|
+
```ruby
|
1051
|
+
begin
|
1052
|
+
# Sync transactions
|
1053
|
+
data, status_code, headers = api_instance.sync_financial_connections_transactions_with_http_info(sync_transactions_request)
|
1054
|
+
p status_code # => 2xx
|
1055
|
+
p headers # => { ... }
|
1056
|
+
p data # => <SyncTransactionsResponse>
|
1057
|
+
rescue FuseClient::ApiError => e
|
1058
|
+
puts "Error when calling FuseApi->sync_financial_connections_transactions_with_http_info: #{e}"
|
1059
|
+
end
|
1060
|
+
```
|
1061
|
+
|
1062
|
+
### Parameters
|
1063
|
+
|
1064
|
+
| Name | Type | Description | Notes |
|
1065
|
+
| ---- | ---- | ----------- | ----- |
|
1066
|
+
| **sync_transactions_request** | [**SyncTransactionsRequest**](SyncTransactionsRequest.md) | | |
|
1067
|
+
|
1068
|
+
### Return type
|
1069
|
+
|
1070
|
+
[**SyncTransactionsResponse**](SyncTransactionsResponse.md)
|
1071
|
+
|
1072
|
+
### Authorization
|
1073
|
+
|
1074
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1075
|
+
|
1076
|
+
### HTTP request headers
|
1077
|
+
|
1078
|
+
- **Content-Type**: application/json
|
1079
|
+
- **Accept**: application/json
|
1080
|
+
|
1081
|
+
|
1082
|
+
## v1_financial_connections_liabilities_post
|
1083
|
+
|
1084
|
+
> <GetLiabilitiesResponse> v1_financial_connections_liabilities_post(get_liabilities_request)
|
1085
|
+
|
1086
|
+
Get liabilities
|
1087
|
+
|
1088
|
+
### Examples
|
1089
|
+
|
1090
|
+
```ruby
|
1091
|
+
require 'time'
|
1092
|
+
require 'fuse_client'
|
1093
|
+
# setup authorization
|
1094
|
+
FuseClient.configure do |config|
|
1095
|
+
# Configure API key authorization: fuseApiKey
|
1096
|
+
config.api_key['fuseApiKey'] = 'YOUR API KEY'
|
1097
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1098
|
+
# config.api_key_prefix['fuseApiKey'] = 'Bearer'
|
1099
|
+
|
1100
|
+
# Configure API key authorization: fuseClientId
|
1101
|
+
config.api_key['fuseClientId'] = 'YOUR API KEY'
|
1102
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
1103
|
+
# config.api_key_prefix['fuseClientId'] = 'Bearer'
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
api_instance = FuseClient::FuseApi.new
|
1107
|
+
get_liabilities_request = FuseClient::GetLiabilitiesRequest.new({access_token: 'access_token_example'}) # GetLiabilitiesRequest |
|
1108
|
+
|
1109
|
+
begin
|
1110
|
+
# Get liabilities
|
1111
|
+
result = api_instance.v1_financial_connections_liabilities_post(get_liabilities_request)
|
1112
|
+
p result
|
1113
|
+
rescue FuseClient::ApiError => e
|
1114
|
+
puts "Error when calling FuseApi->v1_financial_connections_liabilities_post: #{e}"
|
1115
|
+
end
|
1116
|
+
```
|
1117
|
+
|
1118
|
+
#### Using the v1_financial_connections_liabilities_post_with_http_info variant
|
1119
|
+
|
1120
|
+
This returns an Array which contains the response data, status code and headers.
|
1121
|
+
|
1122
|
+
> <Array(<GetLiabilitiesResponse>, Integer, Hash)> v1_financial_connections_liabilities_post_with_http_info(get_liabilities_request)
|
1123
|
+
|
1124
|
+
```ruby
|
1125
|
+
begin
|
1126
|
+
# Get liabilities
|
1127
|
+
data, status_code, headers = api_instance.v1_financial_connections_liabilities_post_with_http_info(get_liabilities_request)
|
1128
|
+
p status_code # => 2xx
|
1129
|
+
p headers # => { ... }
|
1130
|
+
p data # => <GetLiabilitiesResponse>
|
1131
|
+
rescue FuseClient::ApiError => e
|
1132
|
+
puts "Error when calling FuseApi->v1_financial_connections_liabilities_post_with_http_info: #{e}"
|
1133
|
+
end
|
1134
|
+
```
|
1135
|
+
|
1136
|
+
### Parameters
|
1137
|
+
|
1138
|
+
| Name | Type | Description | Notes |
|
1139
|
+
| ---- | ---- | ----------- | ----- |
|
1140
|
+
| **get_liabilities_request** | [**GetLiabilitiesRequest**](GetLiabilitiesRequest.md) | | |
|
1141
|
+
|
1142
|
+
### Return type
|
1143
|
+
|
1144
|
+
[**GetLiabilitiesResponse**](GetLiabilitiesResponse.md)
|
1145
|
+
|
1146
|
+
### Authorization
|
1147
|
+
|
1148
|
+
[fuseApiKey](../README.md#fuseApiKey), [fuseClientId](../README.md#fuseClientId)
|
1149
|
+
|
1150
|
+
### HTTP request headers
|
1151
|
+
|
1152
|
+
- **Content-Type**: application/json
|
1153
|
+
- **Accept**: application/json
|
1154
|
+
|