Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

merge_accounting_client

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

merge_accounting_client

  • 1.1.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

merge_accounting_client

MergeAccountingClient - the Ruby gem for the Merge Accounting API

The unified API for building rich integrations with multiple Accounting & Finance platforms.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 1.1.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://www.merge.dev/

Installation

Build a gem

To build the Ruby code into a gem:

gem build merge_accounting_client.gemspec

Then either install the gem locally:

gem install ./merge_accounting_client-1.1.0.gem

(for development, run gem install --dev ./merge_accounting_client-1.1.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'merge_accounting_client', '~> 1.1.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/merge-api/merge-accounting-ruby, then add the following in the Gemfile:

gem 'merge_accounting_client', :git => 'https://github.com/merge-api/merge-accounting-ruby.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'merge_accounting_client'

# Setup authorization
MergeAccountingClient.configure do |config|
  # Configure API key authorization: tokenAuth
  config.api_key['tokenAuth'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  # config.api_key_prefix['tokenAuth'] = 'Bearer'
end

api_instance = MergeAccountingClient::AccountDetailsApi.new
x_account_token = 'x_account_token_example' # String | Token identifying the end user.

begin
  result = api_instance.account_details_retrieve(x_account_token)
  p result
rescue MergeAccountingClient::ApiError => e
  puts "Exception when calling AccountDetailsApi->account_details_retrieve: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.merge.dev/api/accounting/v1

ClassMethodHTTP requestDescription
MergeAccountingClient::AccountDetailsApiaccount_details_retrieveGET /account-details
MergeAccountingClient::AccountTokenApiaccount_token_retrieveGET /account-token/{public_token}
MergeAccountingClient::AccountingPeriodsApiaccounting_periods_listGET /accounting-periods
MergeAccountingClient::AccountingPeriodsApiaccounting_periods_retrieveGET /accounting-periods/{id}
MergeAccountingClient::AccountsApiaccounts_createPOST /accounts
MergeAccountingClient::AccountsApiaccounts_listGET /accounts
MergeAccountingClient::AccountsApiaccounts_meta_post_retrieveGET /accounts/meta/post
MergeAccountingClient::AccountsApiaccounts_retrieveGET /accounts/{id}
MergeAccountingClient::AddressesApiaddresses_retrieveGET /addresses/{id}
MergeAccountingClient::AsyncPassthroughApiasync_passthrough_createPOST /async-passthrough
MergeAccountingClient::AsyncPassthroughApiasync_passthrough_retrieveGET /async-passthrough/{async_passthrough_receipt_id}
MergeAccountingClient::AttachmentsApiattachments_createPOST /attachments
MergeAccountingClient::AttachmentsApiattachments_listGET /attachments
MergeAccountingClient::AttachmentsApiattachments_meta_post_retrieveGET /attachments/meta/post
MergeAccountingClient::AttachmentsApiattachments_retrieveGET /attachments/{id}
MergeAccountingClient::AuditTrailApiaudit_trail_listGET /audit-trail
MergeAccountingClient::AvailableActionsApiavailable_actions_retrieveGET /available-actions
MergeAccountingClient::BalanceSheetsApibalance_sheets_listGET /balance-sheets
MergeAccountingClient::BalanceSheetsApibalance_sheets_retrieveGET /balance-sheets/{id}
MergeAccountingClient::CashFlowStatementsApicash_flow_statements_listGET /cash-flow-statements
MergeAccountingClient::CashFlowStatementsApicash_flow_statements_retrieveGET /cash-flow-statements/{id}
MergeAccountingClient::CompanyInfoApicompany_info_listGET /company-info
MergeAccountingClient::CompanyInfoApicompany_info_retrieveGET /company-info/{id}
MergeAccountingClient::ContactsApicontacts_createPOST /contacts
MergeAccountingClient::ContactsApicontacts_listGET /contacts
MergeAccountingClient::ContactsApicontacts_meta_post_retrieveGET /contacts/meta/post
MergeAccountingClient::ContactsApicontacts_retrieveGET /contacts/{id}
MergeAccountingClient::CreditNotesApicredit_notes_listGET /credit-notes
MergeAccountingClient::CreditNotesApicredit_notes_retrieveGET /credit-notes/{id}
MergeAccountingClient::DeleteAccountApidelete_account_deletePOST /delete-account
MergeAccountingClient::ExpensesApiexpenses_createPOST /expenses
MergeAccountingClient::ExpensesApiexpenses_listGET /expenses
MergeAccountingClient::ExpensesApiexpenses_meta_post_retrieveGET /expenses/meta/post
MergeAccountingClient::ExpensesApiexpenses_retrieveGET /expenses/{id}
MergeAccountingClient::ForceResyncApisync_status_resync_createPOST /sync-status/resync
MergeAccountingClient::GenerateKeyApigenerate_key_createPOST /generate-key
MergeAccountingClient::IncomeStatementsApiincome_statements_listGET /income-statements
MergeAccountingClient::IncomeStatementsApiincome_statements_retrieveGET /income-statements/{id}
MergeAccountingClient::InvoicesApiinvoices_createPOST /invoices
MergeAccountingClient::InvoicesApiinvoices_listGET /invoices
MergeAccountingClient::InvoicesApiinvoices_meta_post_retrieveGET /invoices/meta/post
MergeAccountingClient::InvoicesApiinvoices_retrieveGET /invoices/{id}
MergeAccountingClient::IssuesApiissues_listGET /issues
MergeAccountingClient::IssuesApiissues_retrieveGET /issues/{id}
MergeAccountingClient::ItemsApiitems_listGET /items
MergeAccountingClient::ItemsApiitems_retrieveGET /items/{id}
MergeAccountingClient::JournalEntriesApijournal_entries_createPOST /journal-entries
MergeAccountingClient::JournalEntriesApijournal_entries_listGET /journal-entries
MergeAccountingClient::JournalEntriesApijournal_entries_meta_post_retrieveGET /journal-entries/meta/post
MergeAccountingClient::JournalEntriesApijournal_entries_retrieveGET /journal-entries/{id}
MergeAccountingClient::LinkTokenApilink_token_createPOST /link-token
MergeAccountingClient::LinkedAccountsApilinked_accounts_listGET /linked-accounts
MergeAccountingClient::PassthroughApipassthrough_createPOST /passthrough
MergeAccountingClient::PaymentsApipayments_createPOST /payments
MergeAccountingClient::PaymentsApipayments_listGET /payments
MergeAccountingClient::PaymentsApipayments_meta_post_retrieveGET /payments/meta/post
MergeAccountingClient::PaymentsApipayments_retrieveGET /payments/{id}
MergeAccountingClient::PhoneNumbersApiphone_numbers_retrieveGET /phone-numbers/{id}
MergeAccountingClient::PurchaseOrdersApipurchase_orders_createPOST /purchase-orders
MergeAccountingClient::PurchaseOrdersApipurchase_orders_listGET /purchase-orders
MergeAccountingClient::PurchaseOrdersApipurchase_orders_meta_post_retrieveGET /purchase-orders/meta/post
MergeAccountingClient::PurchaseOrdersApipurchase_orders_retrieveGET /purchase-orders/{id}
MergeAccountingClient::RegenerateKeyApiregenerate_key_createPOST /regenerate-key
MergeAccountingClient::SelectiveSyncApiselective_sync_configurations_listGET /selective-sync/configurations
MergeAccountingClient::SelectiveSyncApiselective_sync_configurations_updatePUT /selective-sync/configurations
MergeAccountingClient::SelectiveSyncApiselective_sync_meta_listGET /selective-sync/meta
MergeAccountingClient::SyncStatusApisync_status_listGET /sync-status
MergeAccountingClient::TaxRatesApitax_rates_listGET /tax-rates
MergeAccountingClient::TaxRatesApitax_rates_retrieveGET /tax-rates/{id}
MergeAccountingClient::TrackingCategoriesApitracking_categories_listGET /tracking-categories
MergeAccountingClient::TrackingCategoriesApitracking_categories_retrieveGET /tracking-categories/{id}
MergeAccountingClient::TransactionsApitransactions_listGET /transactions
MergeAccountingClient::TransactionsApitransactions_retrieveGET /transactions/{id}
MergeAccountingClient::VendorCreditsApivendor_credits_listGET /vendor-credits
MergeAccountingClient::VendorCreditsApivendor_credits_retrieveGET /vendor-credits/{id}
MergeAccountingClient::WebhookReceiversApiwebhook_receivers_createPOST /webhook-receivers
MergeAccountingClient::WebhookReceiversApiwebhook_receivers_listGET /webhook-receivers

Documentation for Models

Documentation for Authorization

tokenAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

FAQs

Package last updated on 04 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc