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

up_banking

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

up_banking

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

up_banking

UpBankingClient - the Ruby gem for the Up API

The Up API gives you programmatic access to your balances and transaction data. You can request past transactions or set up webhooks to receive real-time events when new transactions hit your account. It’s new, it’s exciting and it’s just the beginning.

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: v1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen For more information, please visit https://github.com/up-banking/api

Installation

Build a gem

To build the Ruby code into a gem:

gem build up_banking.gemspec

Then either install the gem locally:

gem install ./up_banking-1.0.0.gem

(for development, run gem install --dev ./up_banking-1.0.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 'up_banking', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:

gem 'up_banking', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.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 'up_banking'

# Setup authorization
UpBankingClient.configure do |config|
  # Configure Bearer authorization: bearer_auth
  config.access_token = 'YOUR_BEARER_TOKEN'
end

api_instance = UpBankingClient::AccountsApi.new
opts = {
  page_size: 30, # Integer | The number of records to return in each page. 
  filter_account_type: UpBankingClient::AccountTypeEnum::SAVER, # AccountTypeEnum | The type of account for which to return records. This can be used to filter Savers from spending accounts. 
  filter_ownership_type: UpBankingClient::OwnershipTypeEnum::INDIVIDUAL # OwnershipTypeEnum | The account ownership structure for which to return records. This can be used to filter 2Up accounts from Up accounts. 
}

begin
  #List accounts
  result = api_instance.accounts_get(opts)
  p result
rescue UpBankingClient::ApiError => e
  puts "Exception when calling AccountsApi->accounts_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.up.com.au/api/v1

ClassMethodHTTP requestDescription
UpBankingClient::AccountsApiaccounts_getGET /accountsList accounts
UpBankingClient::AccountsApiaccounts_id_getGET /accounts/{id}Retrieve account
UpBankingClient::CategoriesApicategories_getGET /categoriesList categories
UpBankingClient::CategoriesApicategories_id_getGET /categories/{id}Retrieve category
UpBankingClient::CategoriesApitransactions_transaction_id_relationships_category_patchPATCH /transactions/{transactionId}/relationships/categoryCategorize transaction
UpBankingClient::TagsApitags_getGET /tagsList tags
UpBankingClient::TagsApitransactions_transaction_id_relationships_tags_deleteDELETE /transactions/{transactionId}/relationships/tagsRemove tags from transaction
UpBankingClient::TagsApitransactions_transaction_id_relationships_tags_postPOST /transactions/{transactionId}/relationships/tagsAdd tags to transaction
UpBankingClient::TransactionsApiaccounts_account_id_transactions_getGET /accounts/{accountId}/transactionsList transactions by account
UpBankingClient::TransactionsApitransactions_getGET /transactionsList transactions
UpBankingClient::TransactionsApitransactions_id_getGET /transactions/{id}Retrieve transaction
UpBankingClient::UtilityEndpointsApiutil_ping_getGET /util/pingPing
UpBankingClient::WebhooksApiwebhooks_getGET /webhooksList webhooks
UpBankingClient::WebhooksApiwebhooks_id_deleteDELETE /webhooks/{id}Delete webhook
UpBankingClient::WebhooksApiwebhooks_id_getGET /webhooks/{id}Retrieve webhook
UpBankingClient::WebhooksApiwebhooks_postPOST /webhooksCreate webhook
UpBankingClient::WebhooksApiwebhooks_webhook_id_logs_getGET /webhooks/{webhookId}/logsList webhook logs
UpBankingClient::WebhooksApiwebhooks_webhook_id_ping_postPOST /webhooks/{webhookId}/pingPing webhook

Documentation for Models

Documentation for Authorization

bearer_auth

  • Type: Bearer authentication

FAQs

Package last updated on 05 Oct 2022

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