cybrid_api_bank_ruby 0.27.0 → 0.37.25
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 +4 -4
- data/Gemfile.lock +5 -5
- data/README.md +101 -42
- data/cybrid_api_bank_ruby.gemspec +2 -2
- data/docs/AccountBankModel.md +5 -1
- data/docs/AccountsBankApi.md +3 -3
- data/docs/AssetsBankApi.md +2 -2
- data/docs/BankBankModel.md +4 -2
- data/docs/BanksBankApi.md +78 -3
- data/docs/CustomerBankModel.md +2 -2
- data/docs/CustomersBankApi.md +2 -2
- data/docs/{TradingConfigurationBankModel.md → FeeConfigurationBankModel.md} +6 -2
- data/docs/{TradingConfigurationListBankModel.md → FeeConfigurationListBankModel.md} +3 -3
- data/docs/FeeConfigurationsBankApi.md +230 -0
- data/docs/IdentityRecordsBankApi.md +3 -3
- data/docs/PatchBankBankModel.md +22 -0
- data/docs/PostAccountBankModel.md +2 -0
- data/docs/PostBankBankModel.md +4 -2
- data/docs/PostFeeConfigurationBankModel.md +24 -0
- data/docs/PostQuoteBankModel.md +11 -5
- data/docs/PostRewardBankModel.md +24 -0
- data/docs/QuoteBankModel.md +13 -7
- data/docs/QuotesBankApi.md +3 -3
- data/docs/RewardBankModel.md +36 -0
- data/docs/{ExchangeListBankModel.md → RewardListBankModel.md} +3 -3
- data/docs/RewardsBankApi.md +236 -0
- data/docs/TradesBankApi.md +2 -2
- data/docs/VerificationKeysBankApi.md +2 -2
- data/lib/cybrid_api_bank_ruby/api/accounts_bank_api.rb +6 -6
- data/lib/cybrid_api_bank_ruby/api/assets_bank_api.rb +6 -6
- data/lib/cybrid_api_bank_ruby/api/banks_bank_api.rb +80 -6
- data/lib/cybrid_api_bank_ruby/api/customers_bank_api.rb +6 -6
- data/lib/cybrid_api_bank_ruby/api/fee_configurations_bank_api.rb +228 -0
- data/lib/cybrid_api_bank_ruby/api/identity_records_bank_api.rb +8 -8
- data/lib/cybrid_api_bank_ruby/api/prices_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/quotes_bank_api.rb +6 -6
- data/lib/cybrid_api_bank_ruby/api/rewards_bank_api.rb +237 -0
- data/lib/cybrid_api_bank_ruby/api/symbols_bank_api.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api/trades_bank_api.rb +6 -6
- data/lib/cybrid_api_bank_ruby/api/verification_keys_bank_api.rb +6 -6
- data/lib/cybrid_api_bank_ruby/api_client.rb +2 -2
- data/lib/cybrid_api_bank_ruby/api_error.rb +2 -2
- data/lib/cybrid_api_bank_ruby/configuration.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/account_bank_model.rb +53 -8
- data/lib/cybrid_api_bank_ruby/models/account_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/asset_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/asset_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/attestation_details_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/bank_bank_model.rb +25 -13
- data/lib/cybrid_api_bank_ruby/models/bank_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/customer_bank_model.rb +16 -16
- data/lib/cybrid_api_bank_ruby/models/customer_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/error_response_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/fee_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/fee_configuration_bank_model.rb +402 -0
- data/lib/cybrid_api_bank_ruby/models/fee_configuration_list_bank_model.rb +296 -0
- data/lib/cybrid_api_bank_ruby/models/identity_record_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/identity_record_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/patch_bank_bank_model.rb +268 -0
- data/lib/cybrid_api_bank_ruby/models/post_account_bank_model.rb +27 -5
- data/lib/cybrid_api_bank_ruby/models/post_bank_bank_model.rb +28 -16
- data/lib/cybrid_api_bank_ruby/models/post_customer_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_fee_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_fee_configuration_bank_model.rb +342 -0
- data/lib/cybrid_api_bank_ruby/models/post_identity_record_attestation_details_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_identity_record_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_quote_bank_model.rb +97 -26
- data/lib/cybrid_api_bank_ruby/models/post_reward_bank_model.rb +316 -0
- data/lib/cybrid_api_bank_ruby/models/post_trade_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/post_verification_key_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/quote_bank_model.rb +96 -14
- data/lib/cybrid_api_bank_ruby/models/quote_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/reward_bank_model.rb +440 -0
- data/lib/cybrid_api_bank_ruby/models/reward_list_bank_model.rb +329 -0
- data/lib/cybrid_api_bank_ruby/models/symbol_price_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/trade_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/trade_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/verification_key_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/models/verification_key_list_bank_model.rb +2 -2
- data/lib/cybrid_api_bank_ruby/version.rb +3 -3
- data/lib/cybrid_api_bank_ruby.rb +11 -11
- data/spec/api/accounts_bank_api_spec.rb +2 -2
- data/spec/api/assets_bank_api_spec.rb +2 -2
- data/spec/api/banks_bank_api_spec.rb +15 -2
- data/spec/api/customers_bank_api_spec.rb +2 -2
- data/spec/api/fee_configurations_bank_api_spec.rb +72 -0
- data/spec/api/identity_records_bank_api_spec.rb +3 -3
- data/spec/api/prices_bank_api_spec.rb +2 -2
- data/spec/api/quotes_bank_api_spec.rb +2 -2
- data/spec/api/rewards_bank_api_spec.rb +75 -0
- data/spec/api/symbols_bank_api_spec.rb +2 -2
- data/spec/api/trades_bank_api_spec.rb +2 -2
- data/spec/api/verification_keys_bank_api_spec.rb +2 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/account_bank_model_spec.rb +23 -3
- data/spec/models/account_list_bank_model_spec.rb +2 -2
- data/spec/models/asset_bank_model_spec.rb +2 -2
- data/spec/models/asset_list_bank_model_spec.rb +2 -2
- data/spec/models/attestation_details_bank_model_spec.rb +2 -2
- data/spec/models/bank_bank_model_spec.rb +10 -4
- data/spec/models/bank_list_bank_model_spec.rb +2 -2
- data/spec/models/customer_bank_model_spec.rb +4 -4
- data/spec/models/customer_list_bank_model_spec.rb +2 -2
- data/spec/models/error_response_bank_model_spec.rb +2 -2
- data/spec/models/fee_bank_model_spec.rb +2 -2
- data/spec/models/fee_configuration_bank_model_spec.rb +78 -0
- data/spec/models/fee_configuration_list_bank_model_spec.rb +52 -0
- data/spec/models/identity_record_bank_model_spec.rb +2 -2
- data/spec/models/identity_record_list_bank_model_spec.rb +2 -2
- data/spec/models/patch_bank_bank_model_spec.rb +46 -0
- data/spec/models/post_account_bank_model_spec.rb +13 -3
- data/spec/models/post_bank_bank_model_spec.rb +10 -4
- data/spec/models/post_customer_bank_model_spec.rb +2 -2
- data/spec/models/post_fee_bank_model_spec.rb +2 -2
- data/spec/models/post_fee_configuration_bank_model_spec.rb +60 -0
- data/spec/models/post_identity_record_attestation_details_bank_model_spec.rb +2 -2
- data/spec/models/post_identity_record_bank_model_spec.rb +2 -2
- data/spec/models/post_quote_bank_model_spec.rb +29 -3
- data/spec/models/post_reward_bank_model_spec.rb +52 -0
- data/spec/models/post_trade_bank_model_spec.rb +2 -2
- data/spec/models/post_verification_key_bank_model_spec.rb +2 -2
- data/spec/models/quote_bank_model_spec.rb +29 -3
- data/spec/models/quote_list_bank_model_spec.rb +2 -2
- data/spec/models/reward_bank_model_spec.rb +92 -0
- data/spec/models/reward_list_bank_model_spec.rb +52 -0
- data/spec/models/symbol_price_bank_model_spec.rb +2 -2
- data/spec/models/trade_bank_model_spec.rb +2 -2
- data/spec/models/trade_list_bank_model_spec.rb +2 -2
- data/spec/models/verification_key_bank_model_spec.rb +2 -2
- data/spec/models/verification_key_list_bank_model_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/vendor/bundle/ruby/3.1.0/cache/parser-3.1.2.1.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/pry-0.14.1.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/pry-byebug-3.10.1.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/byebug-11.1.3/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/ffi-1.15.5/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/jaro_winkler-1.5.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/psych-4.0.4/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0-static/stringio-3.0.2/gem_make.out +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/ext/byebug/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext/ffi_c/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.4/ext/jaro_winkler/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby31.rb +4 -0
- data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby32.rb +4 -0
- data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/version.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/CHANGELOG.md +34 -0
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/README.md +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/cli.rb +7 -27
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/code.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/show_doc.rb +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/show_source.rb +1 -0
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/config.rb +0 -4
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/documentation_helpers.rb +2 -1
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/text.rb +6 -6
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/pry_class.rb +0 -5
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/version.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry.rb +0 -1
- data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/CHANGELOG.md +16 -0
- data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/README.md +2 -5
- data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/byebug/processors/pry_processor.rb +2 -10
- data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/pry_ext.rb +5 -3
- data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/version.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/gems/psych-4.0.4/ext/psych/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/gems/stringio-3.0.2/ext/stringio/Makefile +2 -2
- data/vendor/bundle/ruby/3.1.0/specifications/{parser-3.1.2.0.gemspec → parser-3.1.2.1.gemspec} +4 -4
- data/vendor/bundle/ruby/3.1.0/specifications/{pry-0.13.1.gemspec → pry-0.14.1.gemspec} +3 -3
- data/vendor/bundle/ruby/3.1.0/specifications/{pry-byebug-3.9.0.gemspec → pry-byebug-3.10.1.gemspec} +6 -6
- metadata +285 -286
- data/docs/CybridAccountBankModel.md +0 -28
- data/docs/ExchangeAccountBankModel.md +0 -26
- data/docs/ExchangeBankModel.md +0 -26
- data/docs/PostTradingConfigurationBankModel.md +0 -20
- data/docs/SystemAccountBankModel.md +0 -26
- data/docs/TradingConfigurationsBankApi.md +0 -230
- data/lib/cybrid_api_bank_ruby/api/trading_configurations_bank_api.rb +0 -228
- data/lib/cybrid_api_bank_ruby/models/cybrid_account_bank_model.rb +0 -388
- data/lib/cybrid_api_bank_ruby/models/exchange_account_bank_model.rb +0 -366
- data/lib/cybrid_api_bank_ruby/models/exchange_bank_model.rb +0 -354
- data/lib/cybrid_api_bank_ruby/models/exchange_list_bank_model.rb +0 -329
- data/lib/cybrid_api_bank_ruby/models/post_trading_configuration_bank_model.rb +0 -270
- data/lib/cybrid_api_bank_ruby/models/system_account_bank_model.rb +0 -366
- data/lib/cybrid_api_bank_ruby/models/trading_configuration_bank_model.rb +0 -335
- data/lib/cybrid_api_bank_ruby/models/trading_configuration_list_bank_model.rb +0 -296
- data/spec/api/trading_configurations_bank_api_spec.rb +0 -72
- data/spec/models/cybrid_account_bank_model_spec.rb +0 -72
- data/spec/models/exchange_account_bank_model_spec.rb +0 -62
- data/spec/models/exchange_bank_model_spec.rb +0 -66
- data/spec/models/exchange_list_bank_model_spec.rb +0 -52
- data/spec/models/post_trading_configuration_bank_model_spec.rb +0 -40
- data/spec/models/system_account_bank_model_spec.rb +0 -62
- data/spec/models/trading_configuration_bank_model_spec.rb +0 -58
- data/spec/models/trading_configuration_list_bank_model_spec.rb +0 -52
- data/vendor/bundle/ruby/3.1.0/cache/parser-3.1.2.0.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/pry-0.13.1.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/cache/pry-byebug-3.9.0.gem +0 -0
- data/vendor/bundle/ruby/3.1.0/gems/pry-0.13.1/lib/pry/plugins.rb +0 -139
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/LICENSE.txt +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-parse +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/bin/ruby-rewrite +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/gauntlet_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/all.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/node.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ast/processor.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/base.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/builders/default.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/clobbering_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/color.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/context.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/current_arg_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/deprecation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic/engine.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/diagnostic.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/dedenter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/explanation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/literal.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer/stack_state.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/lexer.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/macruby.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/max_numparam_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/meta.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby18.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby19.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby20.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby21.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby22.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby23.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby24.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby25.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby26.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby27.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby28.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/ruby30.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/rubymotion.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_parse.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/buffer.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment/associator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/comment.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/collection.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/condition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/constant.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/definition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/for.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/heredoc.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/index.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/keyword.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/method_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/operator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/rescue_body.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/send.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/ternary.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map/variable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/map.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/range.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/source/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/static_environment.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/syntax_error.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/tree_rewriter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser/variables_stack.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/lib/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{parser-3.1.2.0 → parser-3.1.2.1}/parser.gemspec +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/bin/pry +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/basic_object.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/block_command.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/class_command.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/code/code_file.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/code/code_range.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/code/loc.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/code_object.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/color_printer.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/command.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/command_set.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/command_state.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/amend_line.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/bang.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/bang_pry.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/cat/abstract_formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/cat/exception_formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/cat/file_formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/cat/input_expression_formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/cat.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/cd.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/change_inspector.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/change_prompt.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/clear_screen.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/code_collector.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/disable_pry.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/easter_eggs.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/edit/exception_patcher.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/edit/file_and_line_locator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/edit.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/exit.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/exit_all.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/exit_program.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/find_method.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/fix_indent.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/help.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/hist.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/import_set.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/jump_to.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/list_inspectors.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/constants.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/globals.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/grep.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/instance_vars.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/interrogatable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/jruby_hacks.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/local_names.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/local_vars.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/ls_entity.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/methods.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/methods_helper.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls/self_methods.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ls.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/nesting.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/play.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/pry_backtrace.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/pry_version.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/raise_up.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/reload_code.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/reset.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/ri.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/save_file.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/shell_command.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/shell_mode.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/show_info.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/show_input.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/stat.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/switch_to.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/toggle_color.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/watch_expression/expression.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/watch_expression.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/whereami.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/commands/wtf.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/config/attributable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/config/lazy_value.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/config/memoized_value.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/config/value.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/control_d_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/core_extensions.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/editor.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/env.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/exception_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/exceptions.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/forwardable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/base_helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/command_helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/options_helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/platform.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers/table.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/history.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/indent.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/input_completer.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/input_lock.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/inspector.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/last_exception.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/method/disowned.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/method/patcher.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/method/weird_method_locator.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/method.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/object_path.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/output.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/pager.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/prompt.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/pry_instance.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/repl.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/repl_file_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/ring.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/slop/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/slop/commands.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/slop/option.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/slop.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/syntax_highlighter.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/system_command_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/testable/evalable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/testable/mockable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/testable/pry_tester.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/testable/utility.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/testable/variables.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/testable.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/warning.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/wrapped_module/candidate.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-0.13.1 → pry-0.14.1}/lib/pry/wrapped_module.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/LICENSE +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry/byebug/breakpoints.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/base.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/cli.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/backtrace.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/breakpoint.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/continue.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/down.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/exit_all.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/finish.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/frame.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/next.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/step.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands/up.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/commands.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/control_d_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/helpers/breakpoints.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/helpers/location.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/helpers/multiline.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/helpers/navigation.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug/pry_remote_ext.rb +0 -0
- /data/vendor/bundle/ruby/3.1.0/gems/{pry-byebug-3.9.0 → pry-byebug-3.10.1}/lib/pry-byebug.rb +0 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
# CybridApiBank::RewardsBankApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://bank.demo.cybrid.app*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
| ------ | ------------ | ----------- |
|
|
7
|
+
| [**create_rewards**](RewardsBankApi.md#create_rewards) | **POST** /api/rewards | Create Reward |
|
|
8
|
+
| [**get_reward**](RewardsBankApi.md#get_reward) | **GET** /api/rewards/{reward_guid} | Get Reward |
|
|
9
|
+
| [**list_rewards**](RewardsBankApi.md#list_rewards) | **GET** /api/rewards | Get rewards list |
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## create_rewards
|
|
13
|
+
|
|
14
|
+
> <RewardBankModel> create_rewards(post_reward_bank_model)
|
|
15
|
+
|
|
16
|
+
Create Reward
|
|
17
|
+
|
|
18
|
+
Creates a reward. Required scope: **rewards:execute**
|
|
19
|
+
|
|
20
|
+
### Examples
|
|
21
|
+
|
|
22
|
+
```ruby
|
|
23
|
+
require 'time'
|
|
24
|
+
require 'cybrid_api_bank_ruby'
|
|
25
|
+
# setup authorization
|
|
26
|
+
CybridApiBank.configure do |config|
|
|
27
|
+
# Configure Bearer authorization (JWT): BearerAuth
|
|
28
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
29
|
+
|
|
30
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
31
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
api_instance = CybridApiBank::RewardsBankApi.new
|
|
35
|
+
post_reward_bank_model = CybridApiBank::PostRewardBankModel.new({customer_guid: 'customer_guid_example', symbol: 'symbol_example'}) # PostRewardBankModel |
|
|
36
|
+
|
|
37
|
+
begin
|
|
38
|
+
# Create Reward
|
|
39
|
+
result = api_instance.create_rewards(post_reward_bank_model)
|
|
40
|
+
p result
|
|
41
|
+
rescue CybridApiBank::ApiError => e
|
|
42
|
+
puts "Error when calling RewardsBankApi->create_rewards: #{e}"
|
|
43
|
+
end
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
#### Using the create_rewards_with_http_info variant
|
|
47
|
+
|
|
48
|
+
This returns an Array which contains the response data, status code and headers.
|
|
49
|
+
|
|
50
|
+
> <Array(<RewardBankModel>, Integer, Hash)> create_rewards_with_http_info(post_reward_bank_model)
|
|
51
|
+
|
|
52
|
+
```ruby
|
|
53
|
+
begin
|
|
54
|
+
# Create Reward
|
|
55
|
+
data, status_code, headers = api_instance.create_rewards_with_http_info(post_reward_bank_model)
|
|
56
|
+
p status_code # => 2xx
|
|
57
|
+
p headers # => { ... }
|
|
58
|
+
p data # => <RewardBankModel>
|
|
59
|
+
rescue CybridApiBank::ApiError => e
|
|
60
|
+
puts "Error when calling RewardsBankApi->create_rewards_with_http_info: #{e}"
|
|
61
|
+
end
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Parameters
|
|
65
|
+
|
|
66
|
+
| Name | Type | Description | Notes |
|
|
67
|
+
| ---- | ---- | ----------- | ----- |
|
|
68
|
+
| **post_reward_bank_model** | [**PostRewardBankModel**](PostRewardBankModel.md) | | |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**RewardBankModel**](RewardBankModel.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: application/json
|
|
81
|
+
- **Accept**: application/json
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
## get_reward
|
|
85
|
+
|
|
86
|
+
> <RewardBankModel> get_reward(reward_guid)
|
|
87
|
+
|
|
88
|
+
Get Reward
|
|
89
|
+
|
|
90
|
+
Retrieves a reward. Required scope: **rewards:read**
|
|
91
|
+
|
|
92
|
+
### Examples
|
|
93
|
+
|
|
94
|
+
```ruby
|
|
95
|
+
require 'time'
|
|
96
|
+
require 'cybrid_api_bank_ruby'
|
|
97
|
+
# setup authorization
|
|
98
|
+
CybridApiBank.configure do |config|
|
|
99
|
+
# Configure Bearer authorization (JWT): BearerAuth
|
|
100
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
101
|
+
|
|
102
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
103
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
api_instance = CybridApiBank::RewardsBankApi.new
|
|
107
|
+
reward_guid = 'reward_guid_example' # String | Identifier for the reward.
|
|
108
|
+
|
|
109
|
+
begin
|
|
110
|
+
# Get Reward
|
|
111
|
+
result = api_instance.get_reward(reward_guid)
|
|
112
|
+
p result
|
|
113
|
+
rescue CybridApiBank::ApiError => e
|
|
114
|
+
puts "Error when calling RewardsBankApi->get_reward: #{e}"
|
|
115
|
+
end
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
#### Using the get_reward_with_http_info variant
|
|
119
|
+
|
|
120
|
+
This returns an Array which contains the response data, status code and headers.
|
|
121
|
+
|
|
122
|
+
> <Array(<RewardBankModel>, Integer, Hash)> get_reward_with_http_info(reward_guid)
|
|
123
|
+
|
|
124
|
+
```ruby
|
|
125
|
+
begin
|
|
126
|
+
# Get Reward
|
|
127
|
+
data, status_code, headers = api_instance.get_reward_with_http_info(reward_guid)
|
|
128
|
+
p status_code # => 2xx
|
|
129
|
+
p headers # => { ... }
|
|
130
|
+
p data # => <RewardBankModel>
|
|
131
|
+
rescue CybridApiBank::ApiError => e
|
|
132
|
+
puts "Error when calling RewardsBankApi->get_reward_with_http_info: #{e}"
|
|
133
|
+
end
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Parameters
|
|
137
|
+
|
|
138
|
+
| Name | Type | Description | Notes |
|
|
139
|
+
| ---- | ---- | ----------- | ----- |
|
|
140
|
+
| **reward_guid** | **String** | Identifier for the reward. | |
|
|
141
|
+
|
|
142
|
+
### Return type
|
|
143
|
+
|
|
144
|
+
[**RewardBankModel**](RewardBankModel.md)
|
|
145
|
+
|
|
146
|
+
### Authorization
|
|
147
|
+
|
|
148
|
+
[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
|
|
149
|
+
|
|
150
|
+
### HTTP request headers
|
|
151
|
+
|
|
152
|
+
- **Content-Type**: Not defined
|
|
153
|
+
- **Accept**: application/json
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
## list_rewards
|
|
157
|
+
|
|
158
|
+
> <RewardListBankModel> list_rewards(opts)
|
|
159
|
+
|
|
160
|
+
Get rewards list
|
|
161
|
+
|
|
162
|
+
Retrieves a listing of rewards. Required scope: **rewards:read**
|
|
163
|
+
|
|
164
|
+
### Examples
|
|
165
|
+
|
|
166
|
+
```ruby
|
|
167
|
+
require 'time'
|
|
168
|
+
require 'cybrid_api_bank_ruby'
|
|
169
|
+
# setup authorization
|
|
170
|
+
CybridApiBank.configure do |config|
|
|
171
|
+
# Configure Bearer authorization (JWT): BearerAuth
|
|
172
|
+
config.access_token = 'YOUR_BEARER_TOKEN'
|
|
173
|
+
|
|
174
|
+
# Configure OAuth2 access token for authorization: oauth2
|
|
175
|
+
config.access_token = 'YOUR ACCESS TOKEN'
|
|
176
|
+
end
|
|
177
|
+
|
|
178
|
+
api_instance = CybridApiBank::RewardsBankApi.new
|
|
179
|
+
opts = {
|
|
180
|
+
page: 56, # Integer | The page index to retrieve.
|
|
181
|
+
per_page: 56, # Integer | The number of entities per page to return.
|
|
182
|
+
guid: 'guid_example', # String | Comma separated reward_guids to list rewards for.
|
|
183
|
+
bank_guid: 'bank_guid_example', # String | Comma separated bank_guids to list rewards for.
|
|
184
|
+
customer_guid: 'customer_guid_example' # String | Comma separated customer_guids to list rewards for.
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
begin
|
|
188
|
+
# Get rewards list
|
|
189
|
+
result = api_instance.list_rewards(opts)
|
|
190
|
+
p result
|
|
191
|
+
rescue CybridApiBank::ApiError => e
|
|
192
|
+
puts "Error when calling RewardsBankApi->list_rewards: #{e}"
|
|
193
|
+
end
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
#### Using the list_rewards_with_http_info variant
|
|
197
|
+
|
|
198
|
+
This returns an Array which contains the response data, status code and headers.
|
|
199
|
+
|
|
200
|
+
> <Array(<RewardListBankModel>, Integer, Hash)> list_rewards_with_http_info(opts)
|
|
201
|
+
|
|
202
|
+
```ruby
|
|
203
|
+
begin
|
|
204
|
+
# Get rewards list
|
|
205
|
+
data, status_code, headers = api_instance.list_rewards_with_http_info(opts)
|
|
206
|
+
p status_code # => 2xx
|
|
207
|
+
p headers # => { ... }
|
|
208
|
+
p data # => <RewardListBankModel>
|
|
209
|
+
rescue CybridApiBank::ApiError => e
|
|
210
|
+
puts "Error when calling RewardsBankApi->list_rewards_with_http_info: #{e}"
|
|
211
|
+
end
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Parameters
|
|
215
|
+
|
|
216
|
+
| Name | Type | Description | Notes |
|
|
217
|
+
| ---- | ---- | ----------- | ----- |
|
|
218
|
+
| **page** | **Integer** | The page index to retrieve. | [optional] |
|
|
219
|
+
| **per_page** | **Integer** | The number of entities per page to return. | [optional] |
|
|
220
|
+
| **guid** | **String** | Comma separated reward_guids to list rewards for. | [optional] |
|
|
221
|
+
| **bank_guid** | **String** | Comma separated bank_guids to list rewards for. | [optional] |
|
|
222
|
+
| **customer_guid** | **String** | Comma separated customer_guids to list rewards for. | [optional] |
|
|
223
|
+
|
|
224
|
+
### Return type
|
|
225
|
+
|
|
226
|
+
[**RewardListBankModel**](RewardListBankModel.md)
|
|
227
|
+
|
|
228
|
+
### Authorization
|
|
229
|
+
|
|
230
|
+
[BearerAuth](../README.md#BearerAuth), [oauth2](../README.md#oauth2)
|
|
231
|
+
|
|
232
|
+
### HTTP request headers
|
|
233
|
+
|
|
234
|
+
- **Content-Type**: Not defined
|
|
235
|
+
- **Accept**: application/json
|
|
236
|
+
|
data/docs/TradesBankApi.md
CHANGED
|
@@ -216,8 +216,8 @@ end
|
|
|
216
216
|
|
|
217
217
|
| Name | Type | Description | Notes |
|
|
218
218
|
| ---- | ---- | ----------- | ----- |
|
|
219
|
-
| **page** | **Integer** | The page index to retrieve. | [optional]
|
|
220
|
-
| **per_page** | **Integer** | The number of entities per page to return. | [optional]
|
|
219
|
+
| **page** | **Integer** | The page index to retrieve. | [optional] |
|
|
220
|
+
| **per_page** | **Integer** | The number of entities per page to return. | [optional] |
|
|
221
221
|
| **guid** | **String** | Comma separated trade_guids to list trades for. | [optional] |
|
|
222
222
|
| **bank_guid** | **String** | Comma separated bank_guids to list trades for. | [optional] |
|
|
223
223
|
| **customer_guid** | **String** | Comma separated customer_guids to list trades for. | [optional] |
|
|
@@ -212,8 +212,8 @@ end
|
|
|
212
212
|
|
|
213
213
|
| Name | Type | Description | Notes |
|
|
214
214
|
| ---- | ---- | ----------- | ----- |
|
|
215
|
-
| **page** | **Integer** | | [optional]
|
|
216
|
-
| **per_page** | **Integer** | | [optional]
|
|
215
|
+
| **page** | **Integer** | | [optional] |
|
|
216
|
+
| **per_page** | **Integer** | | [optional] |
|
|
217
217
|
|
|
218
218
|
### Return type
|
|
219
219
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Cybrid Bank API
|
|
3
3
|
|
|
4
|
-
## Welcome Welcome to the Cybrid platform; enabling turnkey crypto banking services! In these documents, you will find information on the operations provided by our platform, as well as details on how our REST API operates more generally. Our complete set of APIs allows you to manage all your resources: your Organization, your banks and your identities. The complete set of APIs can be found on the following pages: | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage identities | When you're ready, [request access](https://www.cybrid.xyz/access) to your Dashboard to view and administer your Organization. Once you've logged in, you can begin creating Banks, either for sandbox or production usage, and start enabling your customers to leverage DeFi and web3 with confidence. If you have any questions, please contact [Support](mailto:support@cybrid.app) at any time so that we can help. ## Authentication The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create Organization and Bank tokens can be generated via your Dashboard ([request access](https://www.cybrid.xyz/access)). An Organization Token applies broadly to the whole Organization and all of its Banks, whereas, a Bank Token is specific to an individual Bank. Both Organization and Bank tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique Client ID and Secret that allows for machine-to-machine authentication. **Never share your Client ID or Secret publicly or in your source code repository** Your Client ID and Secret can be exchanged for a time-limited Bearer Token by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document: ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"<Your requested scopes -- space separated>\" }' -H \"Content-Type: application/json\" ``` ## Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | ## Organizations An Organization is meant to model the organization partnering with Cybrid to use our platform. An Organization does not directly interact with customers. Instead, an Organization has one or more banks, which encompass the financial service offerings of the platform. ## Banks A Bank is owned by an Organization and can be thought of as an environment or container for Customers and product offerings. An example of a Bank would be your customer facing banking website, or an internal staging environment for testing and integration. An Organization can have multiple banks, in sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, identity record and funding source processes will be simulated rather than performed. ## Customers Customers represent your banking users on the platform. At present, we offer support for Individuals as Customers. Customers must be verified in our system before they can play any part on the platform. See the Identity Records section for more details on how a customer can be verified. Customers must also have an account to be able to transact. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
4
|
+
## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v0.
|
|
6
|
+
The version of the OpenAPI document: v0.37.25
|
|
7
7
|
Contact: support@cybrid.app
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0
|
|
@@ -153,8 +153,8 @@ module CybridApiBank
|
|
|
153
153
|
# List Accounts
|
|
154
154
|
# Retrieves a list of accounts. Required scope: **accounts:read**
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [Integer] :page The page index to retrieve.
|
|
157
|
-
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
156
|
+
# @option opts [Integer] :page The page index to retrieve.
|
|
157
|
+
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
158
158
|
# @option opts [String] :guid Comma separated account_guids to list accounts for.
|
|
159
159
|
# @option opts [String] :bank_guid Comma separated bank_guids to list accounts for.
|
|
160
160
|
# @option opts [String] :customer_guid Comma separated customer_guids to list accounts for.
|
|
@@ -167,8 +167,8 @@ module CybridApiBank
|
|
|
167
167
|
# List Accounts
|
|
168
168
|
# Retrieves a list of accounts. Required scope: **accounts:read**
|
|
169
169
|
# @param [Hash] opts the optional parameters
|
|
170
|
-
# @option opts [Integer] :page The page index to retrieve.
|
|
171
|
-
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
170
|
+
# @option opts [Integer] :page The page index to retrieve.
|
|
171
|
+
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
172
172
|
# @option opts [String] :guid Comma separated account_guids to list accounts for.
|
|
173
173
|
# @option opts [String] :bank_guid Comma separated bank_guids to list accounts for.
|
|
174
174
|
# @option opts [String] :customer_guid Comma separated customer_guids to list accounts for.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Cybrid Bank API
|
|
3
3
|
|
|
4
|
-
## Welcome Welcome to the Cybrid platform; enabling turnkey crypto banking services! In these documents, you will find information on the operations provided by our platform, as well as details on how our REST API operates more generally. Our complete set of APIs allows you to manage all your resources: your Organization, your banks and your identities. The complete set of APIs can be found on the following pages: | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage identities | When you're ready, [request access](https://www.cybrid.xyz/access) to your Dashboard to view and administer your Organization. Once you've logged in, you can begin creating Banks, either for sandbox or production usage, and start enabling your customers to leverage DeFi and web3 with confidence. If you have any questions, please contact [Support](mailto:support@cybrid.app) at any time so that we can help. ## Authentication The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create Organization and Bank tokens can be generated via your Dashboard ([request access](https://www.cybrid.xyz/access)). An Organization Token applies broadly to the whole Organization and all of its Banks, whereas, a Bank Token is specific to an individual Bank. Both Organization and Bank tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique Client ID and Secret that allows for machine-to-machine authentication. **Never share your Client ID or Secret publicly or in your source code repository** Your Client ID and Secret can be exchanged for a time-limited Bearer Token by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document: ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"<Your requested scopes -- space separated>\" }' -H \"Content-Type: application/json\" ``` ## Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | ## Organizations An Organization is meant to model the organization partnering with Cybrid to use our platform. An Organization does not directly interact with customers. Instead, an Organization has one or more banks, which encompass the financial service offerings of the platform. ## Banks A Bank is owned by an Organization and can be thought of as an environment or container for Customers and product offerings. An example of a Bank would be your customer facing banking website, or an internal staging environment for testing and integration. An Organization can have multiple banks, in sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, identity record and funding source processes will be simulated rather than performed. ## Customers Customers represent your banking users on the platform. At present, we offer support for Individuals as Customers. Customers must be verified in our system before they can play any part on the platform. See the Identity Records section for more details on how a customer can be verified. Customers must also have an account to be able to transact. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
4
|
+
## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v0.
|
|
6
|
+
The version of the OpenAPI document: v0.37.25
|
|
7
7
|
Contact: support@cybrid.app
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0
|
|
@@ -22,8 +22,8 @@ module CybridApiBank
|
|
|
22
22
|
# Get assets list
|
|
23
23
|
# Retrieves a listing of assets. Required scope: **prices:read**
|
|
24
24
|
# @param [Hash] opts the optional parameters
|
|
25
|
-
# @option opts [Integer] :page The page index to retrieve.
|
|
26
|
-
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
25
|
+
# @option opts [Integer] :page The page index to retrieve.
|
|
26
|
+
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
27
27
|
# @return [AssetListBankModel]
|
|
28
28
|
def list_assets(opts = {})
|
|
29
29
|
data, _status_code, _headers = list_assets_with_http_info(opts)
|
|
@@ -33,8 +33,8 @@ module CybridApiBank
|
|
|
33
33
|
# Get assets list
|
|
34
34
|
# Retrieves a listing of assets. Required scope: **prices:read**
|
|
35
35
|
# @param [Hash] opts the optional parameters
|
|
36
|
-
# @option opts [Integer] :page The page index to retrieve.
|
|
37
|
-
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
36
|
+
# @option opts [Integer] :page The page index to retrieve.
|
|
37
|
+
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
38
38
|
# @return [Array<(AssetListBankModel, Integer, Hash)>] AssetListBankModel data, response status code and response headers
|
|
39
39
|
def list_assets_with_http_info(opts = {})
|
|
40
40
|
if @api_client.config.debugging
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Cybrid Bank API
|
|
3
3
|
|
|
4
|
-
## Welcome Welcome to the Cybrid platform; enabling turnkey crypto banking services! In these documents, you will find information on the operations provided by our platform, as well as details on how our REST API operates more generally. Our complete set of APIs allows you to manage all your resources: your Organization, your banks and your identities. The complete set of APIs can be found on the following pages: | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage identities | When you're ready, [request access](https://www.cybrid.xyz/access) to your Dashboard to view and administer your Organization. Once you've logged in, you can begin creating Banks, either for sandbox or production usage, and start enabling your customers to leverage DeFi and web3 with confidence. If you have any questions, please contact [Support](mailto:support@cybrid.app) at any time so that we can help. ## Authentication The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create Organization and Bank tokens can be generated via your Dashboard ([request access](https://www.cybrid.xyz/access)). An Organization Token applies broadly to the whole Organization and all of its Banks, whereas, a Bank Token is specific to an individual Bank. Both Organization and Bank tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique Client ID and Secret that allows for machine-to-machine authentication. **Never share your Client ID or Secret publicly or in your source code repository** Your Client ID and Secret can be exchanged for a time-limited Bearer Token by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document: ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"<Your requested scopes -- space separated>\" }' -H \"Content-Type: application/json\" ``` ## Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | ## Organizations An Organization is meant to model the organization partnering with Cybrid to use our platform. An Organization does not directly interact with customers. Instead, an Organization has one or more banks, which encompass the financial service offerings of the platform. ## Banks A Bank is owned by an Organization and can be thought of as an environment or container for Customers and product offerings. An example of a Bank would be your customer facing banking website, or an internal staging environment for testing and integration. An Organization can have multiple banks, in sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, identity record and funding source processes will be simulated rather than performed. ## Customers Customers represent your banking users on the platform. At present, we offer support for Individuals as Customers. Customers must be verified in our system before they can play any part on the platform. See the Identity Records section for more details on how a customer can be verified. Customers must also have an account to be able to transact. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
4
|
+
## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v0.
|
|
6
|
+
The version of the OpenAPI document: v0.37.25
|
|
7
7
|
Contact: support@cybrid.app
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0
|
|
@@ -153,8 +153,8 @@ module CybridApiBank
|
|
|
153
153
|
# Get banks list
|
|
154
154
|
# Retrieves a listing of bank. Required scope: **banks:read**
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [Integer] :page The page index to retrieve.
|
|
157
|
-
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
156
|
+
# @option opts [Integer] :page The page index to retrieve.
|
|
157
|
+
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
158
158
|
# @option opts [String] :guid Comma separated bank_guids to list banks for.
|
|
159
159
|
# @return [BankListBankModel]
|
|
160
160
|
def list_banks(opts = {})
|
|
@@ -165,8 +165,8 @@ module CybridApiBank
|
|
|
165
165
|
# Get banks list
|
|
166
166
|
# Retrieves a listing of bank. Required scope: **banks:read**
|
|
167
167
|
# @param [Hash] opts the optional parameters
|
|
168
|
-
# @option opts [Integer] :page The page index to retrieve.
|
|
169
|
-
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
168
|
+
# @option opts [Integer] :page The page index to retrieve.
|
|
169
|
+
# @option opts [Integer] :per_page The number of entities per page to return.
|
|
170
170
|
# @option opts [String] :guid Comma separated bank_guids to list banks for.
|
|
171
171
|
# @return [Array<(BankListBankModel, Integer, Hash)>] BankListBankModel data, response status code and response headers
|
|
172
172
|
def list_banks_with_http_info(opts = {})
|
|
@@ -227,5 +227,79 @@ module CybridApiBank
|
|
|
227
227
|
end
|
|
228
228
|
return data, status_code, headers
|
|
229
229
|
end
|
|
230
|
+
|
|
231
|
+
# Patch Bank
|
|
232
|
+
# Update a bank. Required scope: **banks:write**
|
|
233
|
+
# @param bank_guid [String] Identifier for the bank.
|
|
234
|
+
# @param patch_bank_bank_model [PatchBankBankModel]
|
|
235
|
+
# @param [Hash] opts the optional parameters
|
|
236
|
+
# @return [BankBankModel]
|
|
237
|
+
def update_bank(bank_guid, patch_bank_bank_model, opts = {})
|
|
238
|
+
data, _status_code, _headers = update_bank_with_http_info(bank_guid, patch_bank_bank_model, opts)
|
|
239
|
+
data
|
|
240
|
+
end
|
|
241
|
+
|
|
242
|
+
# Patch Bank
|
|
243
|
+
# Update a bank. Required scope: **banks:write**
|
|
244
|
+
# @param bank_guid [String] Identifier for the bank.
|
|
245
|
+
# @param patch_bank_bank_model [PatchBankBankModel]
|
|
246
|
+
# @param [Hash] opts the optional parameters
|
|
247
|
+
# @return [Array<(BankBankModel, Integer, Hash)>] BankBankModel data, response status code and response headers
|
|
248
|
+
def update_bank_with_http_info(bank_guid, patch_bank_bank_model, opts = {})
|
|
249
|
+
if @api_client.config.debugging
|
|
250
|
+
@api_client.config.logger.debug 'Calling API: BanksBankApi.update_bank ...'
|
|
251
|
+
end
|
|
252
|
+
# verify the required parameter 'bank_guid' is set
|
|
253
|
+
if @api_client.config.client_side_validation && bank_guid.nil?
|
|
254
|
+
fail ArgumentError, "Missing the required parameter 'bank_guid' when calling BanksBankApi.update_bank"
|
|
255
|
+
end
|
|
256
|
+
# verify the required parameter 'patch_bank_bank_model' is set
|
|
257
|
+
if @api_client.config.client_side_validation && patch_bank_bank_model.nil?
|
|
258
|
+
fail ArgumentError, "Missing the required parameter 'patch_bank_bank_model' when calling BanksBankApi.update_bank"
|
|
259
|
+
end
|
|
260
|
+
# resource path
|
|
261
|
+
local_var_path = '/api/banks/{bank_guid}'.sub('{' + 'bank_guid' + '}', CGI.escape(bank_guid.to_s))
|
|
262
|
+
|
|
263
|
+
# query parameters
|
|
264
|
+
query_params = opts[:query_params] || {}
|
|
265
|
+
|
|
266
|
+
# header parameters
|
|
267
|
+
header_params = opts[:header_params] || {}
|
|
268
|
+
# HTTP header 'Accept' (if needed)
|
|
269
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
|
270
|
+
# HTTP header 'Content-Type'
|
|
271
|
+
content_type = @api_client.select_header_content_type(['application/json'])
|
|
272
|
+
if !content_type.nil?
|
|
273
|
+
header_params['Content-Type'] = content_type
|
|
274
|
+
end
|
|
275
|
+
|
|
276
|
+
# form parameters
|
|
277
|
+
form_params = opts[:form_params] || {}
|
|
278
|
+
|
|
279
|
+
# http body (model)
|
|
280
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(patch_bank_bank_model)
|
|
281
|
+
|
|
282
|
+
# return_type
|
|
283
|
+
return_type = opts[:debug_return_type] || 'BankBankModel'
|
|
284
|
+
|
|
285
|
+
# auth_names
|
|
286
|
+
auth_names = opts[:debug_auth_names] || ['BearerAuth', 'oauth2']
|
|
287
|
+
|
|
288
|
+
new_options = opts.merge(
|
|
289
|
+
:operation => :"BanksBankApi.update_bank",
|
|
290
|
+
:header_params => header_params,
|
|
291
|
+
:query_params => query_params,
|
|
292
|
+
:form_params => form_params,
|
|
293
|
+
:body => post_body,
|
|
294
|
+
:auth_names => auth_names,
|
|
295
|
+
:return_type => return_type
|
|
296
|
+
)
|
|
297
|
+
|
|
298
|
+
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
|
299
|
+
if @api_client.config.debugging
|
|
300
|
+
@api_client.config.logger.debug "API called: BanksBankApi#update_bank\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
301
|
+
end
|
|
302
|
+
return data, status_code, headers
|
|
303
|
+
end
|
|
230
304
|
end
|
|
231
305
|
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#Cybrid Bank API
|
|
3
3
|
|
|
4
|
-
## Welcome Welcome to the Cybrid platform; enabling turnkey crypto banking services! In these documents, you will find information on the operations provided by our platform, as well as details on how our REST API operates more generally. Our complete set of APIs allows you to manage all your resources: your Organization, your banks and your identities. The complete set of APIs can be found on the following pages: | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage identities | When you're ready, [request access](https://www.cybrid.xyz/access) to your Dashboard to view and administer your Organization. Once you've logged in, you can begin creating Banks, either for sandbox or production usage, and start enabling your customers to leverage DeFi and web3 with confidence. If you have any questions, please contact [Support](mailto:support@cybrid.app) at any time so that we can help. ## Authentication The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create Organization and Bank tokens can be generated via your Dashboard ([request access](https://www.cybrid.xyz/access)). An Organization Token applies broadly to the whole Organization and all of its Banks, whereas, a Bank Token is specific to an individual Bank. Both Organization and Bank tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique Client ID and Secret that allows for machine-to-machine authentication. **Never share your Client ID or Secret publicly or in your source code repository** Your Client ID and Secret can be exchanged for a time-limited Bearer Token by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document: ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"<Your requested scopes -- space separated>\" }' -H \"Content-Type: application/json\" ``` ## Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | ## Organizations An Organization is meant to model the organization partnering with Cybrid to use our platform. An Organization does not directly interact with customers. Instead, an Organization has one or more banks, which encompass the financial service offerings of the platform. ## Banks A Bank is owned by an Organization and can be thought of as an environment or container for Customers and product offerings. An example of a Bank would be your customer facing banking website, or an internal staging environment for testing and integration. An Organization can have multiple banks, in sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, identity record and funding source processes will be simulated rather than performed. ## Customers Customers represent your banking users on the platform. At present, we offer support for Individuals as Customers. Customers must be verified in our system before they can play any part on the platform. See the Identity Records section for more details on how a customer can be verified. Customers must also have an account to be able to transact. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
4
|
+
## Cybrid API documentation Welcome to Cybrid, an all-in-one crypto platform that enables you to easily **build** and **launch** white-lable crypto products or services. In these documents, you'll find details on how our REST API operates and generally how our platform functions. If you're looking for our UI SDK Widgets for Web or Mobile (iOS/Android), generated API clients, or demo applications, head over to our [Github repo](https://github.com/Cybrid-app). 💡 We recommend bookmarking the [Cybrid LinkTree](https://linktr.ee/cybridtechnologies) which contains many helpful links to platform resources. ## Getting Started This is Cybrid's public interactive API documentation, which allows you to fully test our API's. If you'd like to use a different tool to exercise our API's, you can download the [Open API 3.0 yaml](https://bank.demo.cybrid.app/api/schema/v1/swagger.yaml) for import. If you're new to our API's and the Cybrid Platform, follow the below guides to get set up and familiar with the platform: 1. [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started) 2. [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading) 3. [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) (or, alternatively, [Testing with Hosted Web Demo App](https://www.cybrid.xyz/guides/testing-with-the-web-demo-crypo-app)) In [Getting Started in the Cybrid Sandbox](https://www.cybrid.xyz/guides/getting-started), we walk you through how to use the [Cybrid Sandbox](https://id.demo.cybrid.app/) to create a test bank, generate API keys, and set banks fees. In [Getting Ready for Trading](https://www.cybrid.xyz/guides/getting-ready-for-trading), we walk through creating customers, customer identities, accounts, as well as executing quotes and trades. If you've already run through the first two guides, you can follow the [Running the Web Demo App](https://www.cybrid.xyz/guides/running-the-cybrid-web-demo-crypto-app) guide to test our web SDK with your sandbox `bank` and `customer`. ## Working with the Cybrid Platform There are three primary ways you can interact with the Cybrid platform: 1. Directly via our RESTful API (this documentation) 2. Using our API Clients available in a variety of languages ([Angular](https://github.com/Cybrid-app/cybrid-api-bank-angular), [Java](https://github.com/Cybrid-app/cybrid-api-bank-java), [Kotlin](https://github.com/Cybrid-app/cybrid-api-bank-kotlin), [Python](https://github.com/Cybrid-app/cybrid-api-bank-python), [Ruby](https://github.com/Cybrid-app/cybrid-api-bank-ruby), [Swift](https://github.com/Cybrid-app/cybrid-api-bank-swift) or [Typescript](https://github.com/Cybrid-app/cybrid-api-bank-typescript)) 3. Integrating a platform specific SDK ([Web](https://github.com/Cybrid-app/cybrid-sdk-web), [Android](https://github.com/Cybrid-app/cybrid-sdk-android), Apple-coming soon) Our complete set of APIs allows you to manage resources across three distinct areas: your `Organization`, your `Banks` and your `Identities`. For most of your testing and interaction you'll be using the `Bank` API, which is where the majority of API's reside. *The complete set of APIs can be found on the following pages:* | API | Description | |----------------------------------------------------------------|------------------------------| | [Organization API](https://organization.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organizations | | [Bank API](https://bank.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage banks (and all downstream customer activity) | | [Identities API](https://id.demo.cybrid.app/api/schema/swagger-ui) | APIs to manage organization and bank identities | For questions please contact [Support](mailto:support@cybrid.xyz) at any time for assistance, or contact the [Product Team](mailto:product@cybrid.xyz) for product suggestions. ## Authenticating with the API The Cybrid Platform uses OAuth 2.0 Bearer Tokens to authenticate requests to the platform. Credentials to create `Organization` and `Bank` tokens can be generated via the [Cybrid Sandbox](https://id.demo.cybrid.app). An `Organization` Token applies broadly to the whole Organization and all of its `Banks`, whereas, a `Bank` Token is specific to an individual Bank. Both `Organization` and `Bank` tokens can be created using the OAuth Client Credential Grant flow. Each Organization and Bank has its own unique `Client ID` and `Secret` that allows for machine-to-machine authentication. <font color=\"orange\">**⚠️ Never share your Client ID or Secret publicly or in your source code repository.**</font> Your `Client ID` and `Secret` can be exchanged for a time-limited `Bearer Token` by interacting with the Cybrid Identity Provider or through interacting with the **Authorize** button in this document. The following curl command can be used to quickly generate a `bearer token` for use in testing the API or demo applications. ``` curl -X POST https://id.demo.cybrid.app/oauth/token -d '{ \"grant_type\": \"client_credentials\", \"client_id\": \"<Your Client ID>\", \"client_secret\": \"<Your Secret>\", \"scope\": \"banks:read banks:write accounts:read accounts:execute customers:read customers:write customers:execute prices:read quotes:execute trades:execute trades:read\" }' -H \"Content-Type: application/json\" ``` <font color=\"orange\">**⚠️ Note: The above curl will create a bearer token with full scope access. Delete scopes if you'd like to restrict access.**</font> ## Authentication Scopes The Cybrid platform supports the use of scopes to control the level of access a token is limited to. Scopes do not grant access to resources; instead, they provide limits, in support of the least privilege principal. The following scopes are available on the platform and can be requested when generating either an Organization or a Bank token. Generally speaking, the _Read_ scope is required to read and list resources, the _Write_ scope is required to update a resource and the _Execute_ scope is required to create a resource. | Resource | Read scope | Write scope | Execute scope | Token Type | |---------------|--------------------|----------------------|-------------------|--------------------| | Organizations | organizations:read | organizations:write | | Organization/ Bank | | Banks | banks:read | banks:write | banks:execute | Organization/ Bank | | Customers | customers:read | customers:write | customers:execute | Bank | | Assets | prices:read | | | Bank | | Accounts | accounts:read | | accounts:execute | Bank | | Prices | prices:read | | | Bank | | Symbols | prices:read | | | Bank | | Quotes | quotes:read | | quotes:execute | Bank | | Trades | trades:read | | trades:execute | Bank | | Rewards | rewards:read | | rewards:execute | Bank | ## Available Endpoints The available API's for the [Identity](https://id.demo.cybrid.app/api/schema/swagger-ui), [Organization](https://organization.demo.cybrid.app/api/schema/swagger-ui) and [Bank](https://bank.demo.cybrid.app/api/schema/swagger-ui) API services are listed below: | API Sevice | Model | API Endpoint Path | Description | | ------------ | ---------------- | ------------------------------ | ------------------------------------------------------------------------- | | Identity | Bank | /api/bank_applications | Create and list banks | | Identity | Organization | /api/organization_applications | Create and list organizations | | Organization | Organization | /api/organizations | API's to retrieve and update organization name | | Bank | Asset | /api/assets | Get a list of assets supported by the platform (ex: BTC, ETH) | | Bank | VerificationKey | /api/bank_verification_keys | Create, list and retrive verification keys, used for signing identities | | Bank | Banks | /api/banks | Create, update and list banks, the parent to customers, accounts, etc | | Bank | FeeConfiguration | /api/fee_configurations | Create and list bank fees (spread or fixed) | | Bank | Customers | /api/customers | Create and list customers | | Bank | IdentityRecord | /api/identity_records | Create and list identity records, which are attached to customers for KYC | | Bank | Accounts | /api/accounts | Create and list accounts, which hold a specific asset for a customers | | Bank | Symbols | /api/symbols | Get a list of symbols supported for trade (ex: BTC-USD) | | Bank | Prices | /api/prices | Get the current prices for assets on the platform | | Bank | Quotes | /api/quotes | Create and list quotes, which are required to execute trades | | Bank | Trades | /api/trades | Create and list trades, which buy or sell cryptocurrency | | Bank | Rewards | /api/rewards | Create a new reward (automates quote/trade for simplicity) | ## Understanding Object Models & Endpoints **Organizations** An `Organization` is meant to represent the organization partnering with Cybrid to use our platform. An `Organization` does not directly interact with `customers`. Instead, an Organization has one or more `banks`, which encompass the financial service offerings of the platform. **Banks** A `Bank` is owned by an `Organization` and can be thought of as an environment or container for `Customers` and product offerings. Banks are created in either `Sandbox` or `Production` mode, where Sandbox is the environment that you would test, prototype and build in prior to production. An `Organization` can have multiple `banks`, in either sandbox or production environments. A sandbox Bank will be backed by stubbed data and process flows. For instance, funding source processes will be simulated rather than performed, however asset prices are representative of real-world values. You have an unlimited amout of simulated fiat currency for testing purposes. ## Customers `Customers` represent your banking users on the platform. At present, we offer support for `Individuals` as Customers. `Customers` must be verified in our system before they can play any part on the platform, which means they must have an associated and valid `Identity Record`. See the Identity Records section for more details on how a customer can be verified. `Customers` must also have an `account` to be able to transact, in the desired asset class. See the Accounts APIs for more details on setting up accounts for the customer.
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: v0.
|
|
6
|
+
The version of the OpenAPI document: v0.37.25
|
|
7
7
|
Contact: support@cybrid.app
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
OpenAPI Generator version: 6.0.0
|
|
@@ -153,8 +153,8 @@ module CybridApiBank
|
|
|
153
153
|
# Get customers list
|
|
154
154
|
# Retrieves a listing of customers. Required scope: **customers:read**
|
|
155
155
|
# @param [Hash] opts the optional parameters
|
|
156
|
-
# @option opts [Integer] :page
|
|
157
|
-
# @option opts [Integer] :per_page
|
|
156
|
+
# @option opts [Integer] :page
|
|
157
|
+
# @option opts [Integer] :per_page
|
|
158
158
|
# @option opts [String] :bank_guid Comma separated bank_guids to list customers for.
|
|
159
159
|
# @option opts [String] :guid Comma separated customer_guids to list customers for.
|
|
160
160
|
# @return [CustomerListBankModel]
|
|
@@ -166,8 +166,8 @@ module CybridApiBank
|
|
|
166
166
|
# Get customers list
|
|
167
167
|
# Retrieves a listing of customers. Required scope: **customers:read**
|
|
168
168
|
# @param [Hash] opts the optional parameters
|
|
169
|
-
# @option opts [Integer] :page
|
|
170
|
-
# @option opts [Integer] :per_page
|
|
169
|
+
# @option opts [Integer] :page
|
|
170
|
+
# @option opts [Integer] :per_page
|
|
171
171
|
# @option opts [String] :bank_guid Comma separated bank_guids to list customers for.
|
|
172
172
|
# @option opts [String] :guid Comma separated customer_guids to list customers for.
|
|
173
173
|
# @return [Array<(CustomerListBankModel, Integer, Hash)>] CustomerListBankModel data, response status code and response headers
|