treezor_client 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +11 -0
- data/Gemfile.lock +71 -0
- data/README.md +275 -0
- data/Rakefile +13 -0
- data/doc/TreezorClient.html +251 -0
- data/doc/TreezorClient/ApiClient.html +2600 -0
- data/doc/TreezorClient/ApiError.html +464 -0
- data/doc/TreezorClient/Balance.html +2042 -0
- data/doc/TreezorClient/BalanceApi.html +760 -0
- data/doc/TreezorClient/Bankaccount.html +2560 -0
- data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/BankaccountApi.html +2450 -0
- data/doc/TreezorClient/BeneficiariesApi.html +2387 -0
- data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +1816 -0
- data/doc/TreezorClient/Beneficiary.html +2574 -0
- data/doc/TreezorClient/Body.html +1826 -0
- data/doc/TreezorClient/Body/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Body1.html +2596 -0
- data/doc/TreezorClient/Body10.html +2069 -0
- data/doc/TreezorClient/Body10/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Body2.html +2492 -0
- data/doc/TreezorClient/Body3.html +1726 -0
- data/doc/TreezorClient/Body4.html +1726 -0
- data/doc/TreezorClient/Body5.html +2001 -0
- data/doc/TreezorClient/Body5/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Body6.html +2069 -0
- data/doc/TreezorClient/Body6/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Body7.html +2002 -0
- data/doc/TreezorClient/Body7/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Body8.html +1981 -0
- data/doc/TreezorClient/Body8/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Body9.html +2001 -0
- data/doc/TreezorClient/Body9/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/BusinessApi.html +1548 -0
- data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +2822 -0
- data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/Card.html +6928 -0
- data/doc/TreezorClient/Card/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/CardApi.html +9907 -0
- data/doc/TreezorClient/CardDigitalization.html +2126 -0
- data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +4343 -0
- data/doc/TreezorClient/CardDigitalizationsApi.html +1542 -0
- data/doc/TreezorClient/CardReserveApi.html +1622 -0
- data/doc/TreezorClient/CardtransactionApi.html +1243 -0
- data/doc/TreezorClient/Configuration.html +2459 -0
- data/doc/TreezorClient/CountryRestrictionGroupsApi.html +2602 -0
- data/doc/TreezorClient/Document.html +2812 -0
- data/doc/TreezorClient/Document/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/DocumentApi.html +2878 -0
- data/doc/TreezorClient/Error.html +1794 -0
- data/doc/TreezorClient/HeartbeatApi.html +702 -0
- data/doc/TreezorClient/InlineResponse200.html +1626 -0
- data/doc/TreezorClient/InlineResponse2001.html +1626 -0
- data/doc/TreezorClient/InlineResponse20010.html +1626 -0
- data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +5844 -0
- data/doc/TreezorClient/InlineResponse20011.html +1626 -0
- data/doc/TreezorClient/InlineResponse20012.html +1626 -0
- data/doc/TreezorClient/InlineResponse20013.html +1626 -0
- data/doc/TreezorClient/InlineResponse20014.html +1626 -0
- data/doc/TreezorClient/InlineResponse20015.html +1626 -0
- data/doc/TreezorClient/InlineResponse20016.html +1626 -0
- data/doc/TreezorClient/InlineResponse20017.html +1626 -0
- data/doc/TreezorClient/InlineResponse20018.html +1626 -0
- data/doc/TreezorClient/InlineResponse20019.html +1626 -0
- data/doc/TreezorClient/InlineResponse2002.html +1626 -0
- data/doc/TreezorClient/InlineResponse20020.html +1626 -0
- data/doc/TreezorClient/InlineResponse20021.html +1626 -0
- data/doc/TreezorClient/InlineResponse20022.html +1626 -0
- data/doc/TreezorClient/InlineResponse20023.html +1626 -0
- data/doc/TreezorClient/InlineResponse20024.html +1626 -0
- data/doc/TreezorClient/InlineResponse20025.html +1626 -0
- data/doc/TreezorClient/InlineResponse2003.html +1626 -0
- data/doc/TreezorClient/InlineResponse2004.html +1626 -0
- data/doc/TreezorClient/InlineResponse2005.html +1626 -0
- data/doc/TreezorClient/InlineResponse2005Businessinformations.html +3561 -0
- data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/InlineResponse2005Users.html +1972 -0
- data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/InlineResponse2006.html +1626 -0
- data/doc/TreezorClient/InlineResponse2007.html +1626 -0
- data/doc/TreezorClient/InlineResponse2007Cardimages.html +1800 -0
- data/doc/TreezorClient/InlineResponse2008.html +1626 -0
- data/doc/TreezorClient/InlineResponse2009.html +1790 -0
- data/doc/TreezorClient/InlineResponseDefault.html +1626 -0
- data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +1371 -0
- data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +1803 -0
- data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +1804 -0
- data/doc/TreezorClient/Mandate.html +4584 -0
- data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/MandateApi.html +3787 -0
- data/doc/TreezorClient/MccRestrictionGroup.html +2144 -0
- data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/MccRestrictionGroupsApi.html +2598 -0
- data/doc/TreezorClient/MerchantIdRestrictionGroup.html +2144 -0
- data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +2638 -0
- data/doc/TreezorClient/Payin.html +5584 -0
- data/doc/TreezorClient/Payin/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/PayinApi.html +2963 -0
- data/doc/TreezorClient/Payinrefund.html +2476 -0
- data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/PayinrefundApi.html +2449 -0
- data/doc/TreezorClient/Payout.html +3488 -0
- data/doc/TreezorClient/Payout/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/PayoutApi.html +2737 -0
- data/doc/TreezorClient/Tav.html +2130 -0
- data/doc/TreezorClient/Transaction.html +2798 -0
- data/doc/TreezorClient/TransactionApi.html +1491 -0
- data/doc/TreezorClient/Transfer.html +3158 -0
- data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/TransferApi.html +2725 -0
- data/doc/TreezorClient/Transferrefund.html +2644 -0
- data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/TransferrefundApi.html +2450 -0
- data/doc/TreezorClient/User.html +5844 -0
- data/doc/TreezorClient/User/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/UserApi.html +6647 -0
- data/doc/TreezorClient/Virtualiban.html +2462 -0
- data/doc/TreezorClient/VirtualibansApi.html +2845 -0
- data/doc/TreezorClient/Wallet.html +4076 -0
- data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +455 -0
- data/doc/TreezorClient/WalletApi.html +3944 -0
- data/doc/_index.html +1025 -0
- data/doc/class_list.html +51 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +58 -0
- data/doc/css/style.css +496 -0
- data/doc/file.README.html +636 -0
- data/doc/file_list.html +56 -0
- data/doc/frames.html +17 -0
- data/doc/index.html +636 -0
- data/doc/js/app.js +292 -0
- data/doc/js/full_list.js +216 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +15699 -0
- data/doc/top-level-namespace.html +110 -0
- data/docs/Balance.md +13 -0
- data/docs/BalanceApi.md +74 -0
- data/docs/Bankaccount.md +19 -0
- data/docs/BankaccountApi.md +288 -0
- data/docs/BeneficiariesApi.md +284 -0
- data/docs/BeneficiariesSddB2bWhitelist.md +10 -0
- data/docs/Beneficiary.md +19 -0
- data/docs/Body.md +10 -0
- data/docs/Body1.md +19 -0
- data/docs/Body10.md +13 -0
- data/docs/Body2.md +18 -0
- data/docs/Body3.md +9 -0
- data/docs/Body4.md +9 -0
- data/docs/Body5.md +12 -0
- data/docs/Body6.md +13 -0
- data/docs/Body7.md +12 -0
- data/docs/Body8.md +12 -0
- data/docs/Body9.md +12 -0
- data/docs/BusinessApi.md +162 -0
- data/docs/BusinesssearchsBusinessinformations.md +22 -0
- data/docs/Card.md +71 -0
- data/docs/CardApi.md +1202 -0
- data/docs/CardDigitalization.md +14 -0
- data/docs/CardDigitalizationDetailsFromGPS.md +40 -0
- data/docs/CardDigitalizationsApi.md +195 -0
- data/docs/CardReserveApi.md +201 -0
- data/docs/CardtransactionApi.md +141 -0
- data/docs/CountryRestrictionGroupsApi.md +333 -0
- data/docs/Document.md +22 -0
- data/docs/DocumentApi.md +351 -0
- data/docs/Error.md +10 -0
- data/docs/HeartbeatApi.md +69 -0
- data/docs/InlineResponse200.md +8 -0
- data/docs/InlineResponse2001.md +8 -0
- data/docs/InlineResponse20010.md +8 -0
- data/docs/InlineResponse20010Cardtransactions.md +58 -0
- data/docs/InlineResponse20011.md +8 -0
- data/docs/InlineResponse20012.md +8 -0
- data/docs/InlineResponse20013.md +8 -0
- data/docs/InlineResponse20014.md +8 -0
- data/docs/InlineResponse20015.md +8 -0
- data/docs/InlineResponse20016.md +8 -0
- data/docs/InlineResponse20017.md +8 -0
- data/docs/InlineResponse20018.md +8 -0
- data/docs/InlineResponse20019.md +8 -0
- data/docs/InlineResponse2002.md +8 -0
- data/docs/InlineResponse20020.md +8 -0
- data/docs/InlineResponse20021.md +8 -0
- data/docs/InlineResponse20022.md +8 -0
- data/docs/InlineResponse20023.md +8 -0
- data/docs/InlineResponse20024.md +8 -0
- data/docs/InlineResponse20025.md +8 -0
- data/docs/InlineResponse2003.md +8 -0
- data/docs/InlineResponse2004.md +8 -0
- data/docs/InlineResponse2005.md +8 -0
- data/docs/InlineResponse2005Businessinformations.md +26 -0
- data/docs/InlineResponse2005Users.md +12 -0
- data/docs/InlineResponse2006.md +8 -0
- data/docs/InlineResponse2007.md +8 -0
- data/docs/InlineResponse2007Cardimages.md +10 -0
- data/docs/InlineResponse2008.md +8 -0
- data/docs/InlineResponse2009.md +10 -0
- data/docs/InlineResponseDefault.md +8 -0
- data/docs/IssuerInitiatedDigitizationDataApi.md +146 -0
- data/docs/IssuerInitiatedDigitizationDatasAdditionnalData.md +10 -0
- data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +10 -0
- data/docs/Mandate.md +43 -0
- data/docs/MandateApi.md +443 -0
- data/docs/MccRestrictionGroup.md +14 -0
- data/docs/MccRestrictionGroupsApi.md +333 -0
- data/docs/MerchantIdRestrictionGroup.md +14 -0
- data/docs/MerchantIdRestrictionGroupsApi.md +335 -0
- data/docs/Payin.md +55 -0
- data/docs/PayinApi.md +321 -0
- data/docs/Payinrefund.md +18 -0
- data/docs/PayinrefundApi.md +289 -0
- data/docs/Payout.md +30 -0
- data/docs/PayoutApi.md +309 -0
- data/docs/Tav.md +14 -0
- data/docs/Transaction.md +22 -0
- data/docs/TransactionApi.md +157 -0
- data/docs/Transfer.md +26 -0
- data/docs/TransferApi.md +308 -0
- data/docs/Transferrefund.md +20 -0
- data/docs/TransferrefundApi.md +289 -0
- data/docs/User.md +58 -0
- data/docs/UserApi.md +568 -0
- data/docs/Virtualiban.md +18 -0
- data/docs/VirtualibansApi.md +315 -0
- data/docs/Wallet.md +37 -0
- data/docs/WalletApi.md +423 -0
- data/git_push.sh +55 -0
- data/lib/treezor_client.rb +130 -0
- data/lib/treezor_client/api/balance_api.rb +90 -0
- data/lib/treezor_client/api/bankaccount_api.rb +343 -0
- data/lib/treezor_client/api/beneficiaries_api.rb +310 -0
- data/lib/treezor_client/api/business_api.rb +187 -0
- data/lib/treezor_client/api/card_api.rb +1321 -0
- data/lib/treezor_client/api/card_digitalizations_api.rb +213 -0
- data/lib/treezor_client/api/card_reserve_api.rb +216 -0
- data/lib/treezor_client/api/cardtransaction_api.rb +163 -0
- data/lib/treezor_client/api/country_restriction_groups_api.rb +353 -0
- data/lib/treezor_client/api/document_api.rb +404 -0
- data/lib/treezor_client/api/heartbeat_api.rb +83 -0
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +165 -0
- data/lib/treezor_client/api/mandate_api.rb +543 -0
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +353 -0
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +356 -0
- data/lib/treezor_client/api/payin_api.rb +389 -0
- data/lib/treezor_client/api/payinrefund_api.rb +333 -0
- data/lib/treezor_client/api/payout_api.rb +363 -0
- data/lib/treezor_client/api/transaction_api.rb +187 -0
- data/lib/treezor_client/api/transfer_api.rb +364 -0
- data/lib/treezor_client/api/transferrefund_api.rb +333 -0
- data/lib/treezor_client/api/user_api.rb +708 -0
- data/lib/treezor_client/api/virtualibans_api.rb +369 -0
- data/lib/treezor_client/api/wallet_api.rb +505 -0
- data/lib/treezor_client/api_client.rb +389 -0
- data/lib/treezor_client/api_error.rb +38 -0
- data/lib/treezor_client/configuration.rb +209 -0
- data/lib/treezor_client/models/balance.rb +234 -0
- data/lib/treezor_client/models/bankaccount.rb +322 -0
- data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +219 -0
- data/lib/treezor_client/models/beneficiary.rb +306 -0
- data/lib/treezor_client/models/body.rb +251 -0
- data/lib/treezor_client/models/body_1.rb +317 -0
- data/lib/treezor_client/models/body_10.rb +278 -0
- data/lib/treezor_client/models/body_2.rb +297 -0
- data/lib/treezor_client/models/body_3.rb +209 -0
- data/lib/treezor_client/models/body_4.rb +209 -0
- data/lib/treezor_client/models/body_5.rb +276 -0
- data/lib/treezor_client/models/body_6.rb +278 -0
- data/lib/treezor_client/models/body_7.rb +276 -0
- data/lib/treezor_client/models/body_8.rb +266 -0
- data/lib/treezor_client/models/body_9.rb +276 -0
- data/lib/treezor_client/models/businesssearchs_businessinformations.rb +362 -0
- data/lib/treezor_client/models/card.rb +793 -0
- data/lib/treezor_client/models/card_digitalization.rb +242 -0
- data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +509 -0
- data/lib/treezor_client/models/document.rb +349 -0
- data/lib/treezor_client/models/error.rb +208 -0
- data/lib/treezor_client/models/inline_response_200.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_1.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_10.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +642 -0
- data/lib/treezor_client/models/inline_response_200_11.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_12.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_13.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_14.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_15.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_16.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_17.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_18.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_19.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_2.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_20.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_21.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_22.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_23.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_24.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_25.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_3.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_4.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_5.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +451 -0
- data/lib/treezor_client/models/inline_response_200_5_users.rb +262 -0
- data/lib/treezor_client/models/inline_response_200_6.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_7.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +225 -0
- data/lib/treezor_client/models/inline_response_200_8.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_9.rb +209 -0
- data/lib/treezor_client/models/inline_response_default.rb +190 -0
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +208 -0
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +209 -0
- data/lib/treezor_client/models/mandate.rb +564 -0
- data/lib/treezor_client/models/mcc_restriction_group.rb +284 -0
- data/lib/treezor_client/models/merchant_id_restriction_group.rb +284 -0
- data/lib/treezor_client/models/payin.rb +646 -0
- data/lib/treezor_client/models/payinrefund.rb +313 -0
- data/lib/treezor_client/models/payout.rb +434 -0
- data/lib/treezor_client/models/tav.rb +246 -0
- data/lib/treezor_client/models/transaction.rb +317 -0
- data/lib/treezor_client/models/transfer.rb +389 -0
- data/lib/treezor_client/models/transferrefund.rb +331 -0
- data/lib/treezor_client/models/user.rb +688 -0
- data/lib/treezor_client/models/virtualiban.rb +278 -0
- data/lib/treezor_client/models/wallet.rb +488 -0
- data/lib/treezor_client/version.rb +15 -0
- data/pkg/treezor_client-1.0.0.gem +0 -0
- data/spec/api/balance_api_spec.rb +52 -0
- data/spec/api/bankaccount_api_spec.rb +109 -0
- data/spec/api/beneficiaries_api_spec.rb +108 -0
- data/spec/api/business_api_spec.rb +79 -0
- data/spec/api/card_api_spec.rb +365 -0
- data/spec/api/card_digitalizations_api_spec.rb +79 -0
- data/spec/api/card_reserve_api_spec.rb +83 -0
- data/spec/api/cardtransaction_api_spec.rb +70 -0
- data/spec/api/country_restriction_groups_api_spec.rb +116 -0
- data/spec/api/document_api_spec.rb +126 -0
- data/spec/api/heartbeat_api_spec.rb +50 -0
- data/spec/api/issuer_initiated_digitization_data_api_spec.rb +72 -0
- data/spec/api/mandate_api_spec.rb +147 -0
- data/spec/api/mcc_restriction_groups_api_spec.rb +116 -0
- data/spec/api/merchant_id_restriction_groups_api_spec.rb +117 -0
- data/spec/api/payin_api_spec.rb +126 -0
- data/spec/api/payinrefund_api_spec.rb +111 -0
- data/spec/api/payout_api_spec.rb +121 -0
- data/spec/api/transaction_api_spec.rb +78 -0
- data/spec/api/transfer_api_spec.rb +120 -0
- data/spec/api/transferrefund_api_spec.rb +111 -0
- data/spec/api/user_api_spec.rb +216 -0
- data/spec/api/virtualibans_api_spec.rb +123 -0
- data/spec/api/wallet_api_spec.rb +158 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/balance_spec.rb +72 -0
- data/spec/models/bankaccount_spec.rb +112 -0
- data/spec/models/beneficiaries_sdd_b2b_whitelist_spec.rb +54 -0
- data/spec/models/beneficiary_spec.rb +108 -0
- data/spec/models/body_10_spec.rb +76 -0
- data/spec/models/body_1_spec.rb +108 -0
- data/spec/models/body_2_spec.rb +102 -0
- data/spec/models/body_3_spec.rb +48 -0
- data/spec/models/body_4_spec.rb +48 -0
- data/spec/models/body_5_spec.rb +70 -0
- data/spec/models/body_6_spec.rb +76 -0
- data/spec/models/body_7_spec.rb +70 -0
- data/spec/models/body_8_spec.rb +70 -0
- data/spec/models/body_9_spec.rb +70 -0
- data/spec/models/body_spec.rb +58 -0
- data/spec/models/businesssearchs_businessinformations_spec.rb +130 -0
- data/spec/models/card_digitalization_details_from_gps_spec.rb +234 -0
- data/spec/models/card_digitalization_spec.rb +78 -0
- data/spec/models/card_spec.rb +424 -0
- data/spec/models/document_spec.rb +130 -0
- data/spec/models/error_spec.rb +54 -0
- data/spec/models/inline_response_200_10_cardtransactions_spec.rb +342 -0
- data/spec/models/inline_response_200_10_spec.rb +42 -0
- data/spec/models/inline_response_200_11_spec.rb +42 -0
- data/spec/models/inline_response_200_12_spec.rb +42 -0
- data/spec/models/inline_response_200_13_spec.rb +42 -0
- data/spec/models/inline_response_200_14_spec.rb +42 -0
- data/spec/models/inline_response_200_15_spec.rb +42 -0
- data/spec/models/inline_response_200_16_spec.rb +42 -0
- data/spec/models/inline_response_200_17_spec.rb +42 -0
- data/spec/models/inline_response_200_18_spec.rb +42 -0
- data/spec/models/inline_response_200_19_spec.rb +42 -0
- data/spec/models/inline_response_200_1_spec.rb +42 -0
- data/spec/models/inline_response_200_20_spec.rb +42 -0
- data/spec/models/inline_response_200_21_spec.rb +42 -0
- data/spec/models/inline_response_200_22_spec.rb +42 -0
- data/spec/models/inline_response_200_23_spec.rb +42 -0
- data/spec/models/inline_response_200_24_spec.rb +42 -0
- data/spec/models/inline_response_200_25_spec.rb +42 -0
- data/spec/models/inline_response_200_2_spec.rb +42 -0
- data/spec/models/inline_response_200_3_spec.rb +42 -0
- data/spec/models/inline_response_200_4_spec.rb +42 -0
- data/spec/models/inline_response_200_5_businessinformations_spec.rb +170 -0
- data/spec/models/inline_response_200_5_spec.rb +42 -0
- data/spec/models/inline_response_200_5_users_spec.rb +70 -0
- data/spec/models/inline_response_200_6_spec.rb +42 -0
- data/spec/models/inline_response_200_7_cardimages_spec.rb +54 -0
- data/spec/models/inline_response_200_7_spec.rb +42 -0
- data/spec/models/inline_response_200_8_spec.rb +42 -0
- data/spec/models/inline_response_200_9_spec.rb +54 -0
- data/spec/models/inline_response_200_spec.rb +42 -0
- data/spec/models/inline_response_default_spec.rb +42 -0
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +54 -0
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +54 -0
- data/spec/models/mandate_spec.rb +264 -0
- data/spec/models/mcc_restriction_group_spec.rb +82 -0
- data/spec/models/merchant_id_restriction_group_spec.rb +82 -0
- data/spec/models/payin_spec.rb +328 -0
- data/spec/models/payinrefund_spec.rb +106 -0
- data/spec/models/payout_spec.rb +182 -0
- data/spec/models/tav_spec.rb +78 -0
- data/spec/models/transaction_spec.rb +126 -0
- data/spec/models/transfer_spec.rb +154 -0
- data/spec/models/transferrefund_spec.rb +118 -0
- data/spec/models/user_spec.rb +350 -0
- data/spec/models/virtualiban_spec.rb +102 -0
- data/spec/models/wallet_spec.rb +220 -0
- data/spec/spec_helper.rb +111 -0
- data/treezor_client.gemspec +47 -0
- metadata +739 -0
data/docs/Virtualiban.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
# TreezorClient::Virtualiban
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**virtual_iban_id** | **Integer** | | [optional]
|
7
|
+
**wallet_id** | **Integer** | | [optional]
|
8
|
+
**type_id** | **Integer** | | [optional]
|
9
|
+
**tag** | **String** | | [optional]
|
10
|
+
**reference** | **String** | | [optional]
|
11
|
+
**valid_from** | **Date** | | [optional]
|
12
|
+
**valid_to** | **Date** | | [optional]
|
13
|
+
**max_usage** | **Integer** | | [optional]
|
14
|
+
**max_amount** | **String** | | [optional]
|
15
|
+
**iban** | **String** | | [optional]
|
16
|
+
**created_date** | **String** | | [optional]
|
17
|
+
|
18
|
+
|
@@ -0,0 +1,315 @@
|
|
1
|
+
# TreezorClient::VirtualibansApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://sandbox.treezor.com/v1/index.php*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**getvirtualiban**](VirtualibansApi.md#getvirtualiban) | **GET** /virtualibans/{id} | get a virtualiban by Id
|
8
|
+
[**getvirtualibans**](VirtualibansApi.md#getvirtualibans) | **GET** /virtualibans | search virtualibans
|
9
|
+
[**post_virtual_iban**](VirtualibansApi.md#post_virtual_iban) | **POST** /virtualibans | create a virtual IBAN
|
10
|
+
[**put_virtual_iban**](VirtualibansApi.md#put_virtual_iban) | **PUT** /virtualibans/{id} | update a Virtual IBAN
|
11
|
+
|
12
|
+
|
13
|
+
# **getvirtualiban**
|
14
|
+
> InlineResponse20017 getvirtualiban(id)
|
15
|
+
|
16
|
+
get a virtualiban by Id
|
17
|
+
|
18
|
+
Get a virtualiban from the system by its id.
|
19
|
+
|
20
|
+
### Example
|
21
|
+
```ruby
|
22
|
+
# load the gem
|
23
|
+
require 'treezor_client'
|
24
|
+
# setup authorization
|
25
|
+
TreezorClient.configure do |config|
|
26
|
+
# Configure API key authorization: api_key
|
27
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
28
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
29
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
30
|
+
end
|
31
|
+
|
32
|
+
api_instance = TreezorClient::VirtualibansApi.new
|
33
|
+
|
34
|
+
id = 789 # Integer | VirtualIban's id.
|
35
|
+
|
36
|
+
|
37
|
+
begin
|
38
|
+
#get a virtualiban by Id
|
39
|
+
result = api_instance.getvirtualiban(id)
|
40
|
+
p result
|
41
|
+
rescue TreezorClient::ApiError => e
|
42
|
+
puts "Exception when calling VirtualibansApi->getvirtualiban: #{e}"
|
43
|
+
end
|
44
|
+
```
|
45
|
+
|
46
|
+
### Parameters
|
47
|
+
|
48
|
+
Name | Type | Description | Notes
|
49
|
+
------------- | ------------- | ------------- | -------------
|
50
|
+
**id** | **Integer**| VirtualIban's id. |
|
51
|
+
|
52
|
+
### Return type
|
53
|
+
|
54
|
+
[**InlineResponse20017**](InlineResponse20017.md)
|
55
|
+
|
56
|
+
### Authorization
|
57
|
+
|
58
|
+
[api_key](../README.md#api_key)
|
59
|
+
|
60
|
+
### HTTP request headers
|
61
|
+
|
62
|
+
- **Content-Type**: application/json
|
63
|
+
- **Accept**: application/json
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
# **getvirtualibans**
|
68
|
+
> InlineResponse20017 getvirtualibans(valid_from, opts)
|
69
|
+
|
70
|
+
search virtualibans
|
71
|
+
|
72
|
+
Get virtualiban that match search criteria.
|
73
|
+
|
74
|
+
### Example
|
75
|
+
```ruby
|
76
|
+
# load the gem
|
77
|
+
require 'treezor_client'
|
78
|
+
# setup authorization
|
79
|
+
TreezorClient.configure do |config|
|
80
|
+
# Configure API key authorization: api_key
|
81
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
82
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
83
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
84
|
+
end
|
85
|
+
|
86
|
+
api_instance = TreezorClient::VirtualibansApi.new
|
87
|
+
|
88
|
+
valid_from = Date.parse("2013-10-20") # Date | The beginning date of validity.
|
89
|
+
|
90
|
+
opts = {
|
91
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
92
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
93
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
94
|
+
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
95
|
+
virtual_iban_id: 56, # Integer | VirtualIban's id.
|
96
|
+
wallet_id: 56, # Integer | VirtualIban's wallet id.
|
97
|
+
type_id: 56, # Integer | VirtualIban's type id.
|
98
|
+
tag: 56, # Integer | A tag generated by the client
|
99
|
+
reference: "reference_example", # String | The client's internal reference of the vitual IBAN.
|
100
|
+
valid_to: Date.parse("2013-10-20"), # Date | The limit date of validity.
|
101
|
+
max_usage: "max_usage_example", # String | The maximum number of usage authorized.
|
102
|
+
max_amount: 3.4, # Float | The maximum amount authorized.
|
103
|
+
created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
104
|
+
created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
105
|
+
updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
106
|
+
updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
107
|
+
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
108
|
+
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
109
|
+
sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : createdDate. More info [here](https://agent.treezor.com/lists).
|
110
|
+
sort_order: "sort_order_example" # String | The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
111
|
+
}
|
112
|
+
|
113
|
+
begin
|
114
|
+
#search virtualibans
|
115
|
+
result = api_instance.getvirtualibans(valid_from, opts)
|
116
|
+
p result
|
117
|
+
rescue TreezorClient::ApiError => e
|
118
|
+
puts "Exception when calling VirtualibansApi->getvirtualibans: #{e}"
|
119
|
+
end
|
120
|
+
```
|
121
|
+
|
122
|
+
### Parameters
|
123
|
+
|
124
|
+
Name | Type | Description | Notes
|
125
|
+
------------- | ------------- | ------------- | -------------
|
126
|
+
**valid_from** | **Date**| The beginning date of validity. |
|
127
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
128
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
129
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
130
|
+
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
131
|
+
**virtual_iban_id** | **Integer**| VirtualIban's id. | [optional]
|
132
|
+
**wallet_id** | **Integer**| VirtualIban's wallet id. | [optional]
|
133
|
+
**type_id** | **Integer**| VirtualIban's type id. | [optional]
|
134
|
+
**tag** | **Integer**| A tag generated by the client | [optional]
|
135
|
+
**reference** | **String**| The client's internal reference of the vitual IBAN. | [optional]
|
136
|
+
**valid_to** | **Date**| The limit date of validity. | [optional]
|
137
|
+
**max_usage** | **String**| The maximum number of usage authorized. | [optional]
|
138
|
+
**max_amount** | **Float**| The maximum amount authorized. | [optional]
|
139
|
+
**created_date_from** | **DateTime**| The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
140
|
+
**created_date_to** | **DateTime**| The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
141
|
+
**updated_date_from** | **DateTime**| The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
142
|
+
**updated_date_to** | **DateTime**| The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
143
|
+
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
|
144
|
+
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
|
145
|
+
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : createdDate. More info [here](https://agent.treezor.com/lists). | [optional]
|
146
|
+
**sort_order** | **String**| The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists). | [optional]
|
147
|
+
|
148
|
+
### Return type
|
149
|
+
|
150
|
+
[**InlineResponse20017**](InlineResponse20017.md)
|
151
|
+
|
152
|
+
### Authorization
|
153
|
+
|
154
|
+
[api_key](../README.md#api_key)
|
155
|
+
|
156
|
+
### HTTP request headers
|
157
|
+
|
158
|
+
- **Content-Type**: application/json
|
159
|
+
- **Accept**: application/json
|
160
|
+
|
161
|
+
|
162
|
+
|
163
|
+
# **post_virtual_iban**
|
164
|
+
> InlineResponse20017 post_virtual_iban(wallet_id, type_id, opts)
|
165
|
+
|
166
|
+
create a virtual IBAN
|
167
|
+
|
168
|
+
Create a new virtual IBAN in in the system.
|
169
|
+
|
170
|
+
### Example
|
171
|
+
```ruby
|
172
|
+
# load the gem
|
173
|
+
require 'treezor_client'
|
174
|
+
# setup authorization
|
175
|
+
TreezorClient.configure do |config|
|
176
|
+
# Configure API key authorization: api_key
|
177
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
178
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
179
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
180
|
+
end
|
181
|
+
|
182
|
+
api_instance = TreezorClient::VirtualibansApi.new
|
183
|
+
|
184
|
+
wallet_id = 56 # Integer | The Id Of the Wallet. The Wallet must be in validated status. The wallet must be of type \"payment\" or \"electronic money\"
|
185
|
+
|
186
|
+
type_id = 56 # Integer | | Type Id | Virtual IBAN Type| | ---| --- | | 1 | DEBIT | | 2 | CREDIT |
|
187
|
+
|
188
|
+
opts = {
|
189
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
190
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
191
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
192
|
+
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
193
|
+
tag: 56, # Integer | A tag generated by the client
|
194
|
+
reference: "reference_example", # String | The client's internal reference of the vitual IBAN. Less than 255 characters.
|
195
|
+
valid_from: Date.parse("2013-10-20"), # Date | The beginning date of validity. The beginning date must not be less than today's date.
|
196
|
+
valid_to: Date.parse("2013-10-20"), # Date | The limit date of validity. Cannot be less or equal to the validFrom date.
|
197
|
+
max_usage: 56, # Integer | The maximum number of usage authorized. If you want to set no maximum usage limitation you can omit the parameter or set it to null. If you want to limit usage please send an integer in that field. This integer cannot be less than 1.
|
198
|
+
max_amount: 3.4 # Float | The maximum amount authorized.If you want to set no maximum usage amount limitation you can omit the parameter or set it to null. If you want to limit the amount please send a DECIMAL (with a point as separator) in that field. This decimal cannot be less than 0.00.
|
199
|
+
}
|
200
|
+
|
201
|
+
begin
|
202
|
+
#create a virtual IBAN
|
203
|
+
result = api_instance.post_virtual_iban(wallet_id, type_id, opts)
|
204
|
+
p result
|
205
|
+
rescue TreezorClient::ApiError => e
|
206
|
+
puts "Exception when calling VirtualibansApi->post_virtual_iban: #{e}"
|
207
|
+
end
|
208
|
+
```
|
209
|
+
|
210
|
+
### Parameters
|
211
|
+
|
212
|
+
Name | Type | Description | Notes
|
213
|
+
------------- | ------------- | ------------- | -------------
|
214
|
+
**wallet_id** | **Integer**| The Id Of the Wallet. The Wallet must be in validated status. The wallet must be of type \"payment\" or \"electronic money\" |
|
215
|
+
**type_id** | **Integer**| | Type Id | Virtual IBAN Type| | ---| --- | | 1 | DEBIT | | 2 | CREDIT | |
|
216
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
217
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
218
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
219
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
220
|
+
**tag** | **Integer**| A tag generated by the client | [optional]
|
221
|
+
**reference** | **String**| The client's internal reference of the vitual IBAN. Less than 255 characters. | [optional]
|
222
|
+
**valid_from** | **Date**| The beginning date of validity. The beginning date must not be less than today's date. | [optional]
|
223
|
+
**valid_to** | **Date**| The limit date of validity. Cannot be less or equal to the validFrom date. | [optional]
|
224
|
+
**max_usage** | **Integer**| The maximum number of usage authorized. If you want to set no maximum usage limitation you can omit the parameter or set it to null. If you want to limit usage please send an integer in that field. This integer cannot be less than 1. | [optional]
|
225
|
+
**max_amount** | **Float**| The maximum amount authorized.If you want to set no maximum usage amount limitation you can omit the parameter or set it to null. If you want to limit the amount please send a DECIMAL (with a point as separator) in that field. This decimal cannot be less than 0.00. | [optional]
|
226
|
+
|
227
|
+
### Return type
|
228
|
+
|
229
|
+
[**InlineResponse20017**](InlineResponse20017.md)
|
230
|
+
|
231
|
+
### Authorization
|
232
|
+
|
233
|
+
[api_key](../README.md#api_key)
|
234
|
+
|
235
|
+
### HTTP request headers
|
236
|
+
|
237
|
+
- **Content-Type**: application/json
|
238
|
+
- **Accept**: application/json
|
239
|
+
|
240
|
+
|
241
|
+
|
242
|
+
# **put_virtual_iban**
|
243
|
+
> InlineResponse20017 put_virtual_iban(id, opts)
|
244
|
+
|
245
|
+
update a Virtual IBAN
|
246
|
+
|
247
|
+
Update Virtual IBAN's information.
|
248
|
+
|
249
|
+
### Example
|
250
|
+
```ruby
|
251
|
+
# load the gem
|
252
|
+
require 'treezor_client'
|
253
|
+
# setup authorization
|
254
|
+
TreezorClient.configure do |config|
|
255
|
+
# Configure API key authorization: api_key
|
256
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
257
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
258
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
259
|
+
end
|
260
|
+
|
261
|
+
api_instance = TreezorClient::VirtualibansApi.new
|
262
|
+
|
263
|
+
id = 56 # Integer | VirtualIban's id.
|
264
|
+
|
265
|
+
opts = {
|
266
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
267
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
268
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
269
|
+
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
270
|
+
reference: "reference_example", # String | The client's internal reference of the vitual IBAN.
|
271
|
+
valid_from: Date.parse("2013-10-20"), # Date | The beginning date of validity. Date of validity can be changed. It must follow the rules explained in the POST endpoint.
|
272
|
+
valid_to: Date.parse("2013-10-20"), # Date | The limit date of validity. It must follow the rules of creation. It must follow the rules explained in the POST endpoint.
|
273
|
+
max_usage: 56, # Integer | The maximum number of usage authorized. It must follow the rules explained in the POST endpoint AND the maximum usage cannot be strictly less than the transaction counter of the Virtual Iban.
|
274
|
+
max_amount: 3.4 # Float | The maximum amount authorized. It must follow the rules explained in the POST endpoint AND the maximum amount cannot be strictly less than the cumulated amount of this Virtual Iban.
|
275
|
+
}
|
276
|
+
|
277
|
+
begin
|
278
|
+
#update a Virtual IBAN
|
279
|
+
result = api_instance.put_virtual_iban(id, opts)
|
280
|
+
p result
|
281
|
+
rescue TreezorClient::ApiError => e
|
282
|
+
puts "Exception when calling VirtualibansApi->put_virtual_iban: #{e}"
|
283
|
+
end
|
284
|
+
```
|
285
|
+
|
286
|
+
### Parameters
|
287
|
+
|
288
|
+
Name | Type | Description | Notes
|
289
|
+
------------- | ------------- | ------------- | -------------
|
290
|
+
**id** | **Integer**| VirtualIban's id. |
|
291
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
292
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
293
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
294
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
295
|
+
**reference** | **String**| The client's internal reference of the vitual IBAN. | [optional]
|
296
|
+
**valid_from** | **Date**| The beginning date of validity. Date of validity can be changed. It must follow the rules explained in the POST endpoint. | [optional]
|
297
|
+
**valid_to** | **Date**| The limit date of validity. It must follow the rules of creation. It must follow the rules explained in the POST endpoint. | [optional]
|
298
|
+
**max_usage** | **Integer**| The maximum number of usage authorized. It must follow the rules explained in the POST endpoint AND the maximum usage cannot be strictly less than the transaction counter of the Virtual Iban. | [optional]
|
299
|
+
**max_amount** | **Float**| The maximum amount authorized. It must follow the rules explained in the POST endpoint AND the maximum amount cannot be strictly less than the cumulated amount of this Virtual Iban. | [optional]
|
300
|
+
|
301
|
+
### Return type
|
302
|
+
|
303
|
+
[**InlineResponse20017**](InlineResponse20017.md)
|
304
|
+
|
305
|
+
### Authorization
|
306
|
+
|
307
|
+
[api_key](../README.md#api_key)
|
308
|
+
|
309
|
+
### HTTP request headers
|
310
|
+
|
311
|
+
- **Content-Type**: application/json
|
312
|
+
- **Accept**: application/json
|
313
|
+
|
314
|
+
|
315
|
+
|
data/docs/Wallet.md
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# TreezorClient::Wallet
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**wallet_id** | **Integer** | | [optional]
|
7
|
+
**wallet_type_id** | **Integer** | | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) | | [optional]
|
8
|
+
**wallet_status** | **String** | | [optional]
|
9
|
+
**code_status** | **Integer** | | [optional]
|
10
|
+
**information_status** | **String** | | [optional]
|
11
|
+
**wallet_tag** | **String** | | [optional]
|
12
|
+
**user_id** | **Integer** | | [optional]
|
13
|
+
**user_lastname** | **String** | | [optional]
|
14
|
+
**user_firstname** | **String** | | [optional]
|
15
|
+
**joint_user_id** | **Integer** | | [optional]
|
16
|
+
**tariff_id** | **Integer** | | [optional]
|
17
|
+
**event_name** | **String** | | [optional]
|
18
|
+
**event_alias** | **String** | | [optional]
|
19
|
+
**event_date** | **String** | Date YYYY-MM-DD | [optional]
|
20
|
+
**event_message** | **String** | | [optional]
|
21
|
+
**event_payin_start_date** | **String** | Date YYYY-MM-DD | [optional]
|
22
|
+
**event_payin_end_date** | **String** | Date YYYY-MM-DD | [optional]
|
23
|
+
**contract_signed** | **Integer** | | [optional]
|
24
|
+
**bic** | **String** | | [optional]
|
25
|
+
**iban** | **String** | | [optional]
|
26
|
+
**url_image** | **String** | | [optional]
|
27
|
+
**currency** | **String** | | [optional]
|
28
|
+
**created_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
|
29
|
+
**modified_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
|
30
|
+
**payin_count** | **Integer** | | [optional]
|
31
|
+
**payout_count** | **Integer** | | [optional]
|
32
|
+
**transfer_count** | **Integer** | | [optional]
|
33
|
+
**solde** | **Integer** | | [optional]
|
34
|
+
**authorized_balance** | **Integer** | | [optional]
|
35
|
+
**total_rows** | **Integer** | | [optional]
|
36
|
+
|
37
|
+
|
data/docs/WalletApi.md
ADDED
@@ -0,0 +1,423 @@
|
|
1
|
+
# TreezorClient::WalletApi
|
2
|
+
|
3
|
+
All URIs are relative to *https://sandbox.treezor.com/v1/index.php*
|
4
|
+
|
5
|
+
Method | HTTP request | Description
|
6
|
+
------------- | ------------- | -------------
|
7
|
+
[**delete_wallet**](WalletApi.md#delete_wallet) | **DELETE** /wallets/{id} | delete a wallet
|
8
|
+
[**get_wallet**](WalletApi.md#get_wallet) | **GET** /wallets/{id} | get a wallet
|
9
|
+
[**get_wallets**](WalletApi.md#get_wallets) | **GET** /wallets | search wallets
|
10
|
+
[**post_wallets**](WalletApi.md#post_wallets) | **POST** /wallets | create a wallet
|
11
|
+
[**put_wallet**](WalletApi.md#put_wallet) | **PUT** /wallets/{id} | update a wallet
|
12
|
+
|
13
|
+
|
14
|
+
# **delete_wallet**
|
15
|
+
> InlineResponse20025 delete_wallet(id, origin, opts)
|
16
|
+
|
17
|
+
delete a wallet
|
18
|
+
|
19
|
+
Change wallet's status to **CANCELED**.
|
20
|
+
|
21
|
+
### Example
|
22
|
+
```ruby
|
23
|
+
# load the gem
|
24
|
+
require 'treezor_client'
|
25
|
+
# setup authorization
|
26
|
+
TreezorClient.configure do |config|
|
27
|
+
# Configure API key authorization: api_key
|
28
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
29
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
30
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
31
|
+
end
|
32
|
+
|
33
|
+
api_instance = TreezorClient::WalletApi.new
|
34
|
+
|
35
|
+
id = 56 # Integer | Wallet's id
|
36
|
+
|
37
|
+
origin = "origin_example" # String | Request's origin. Possible values are: * OPERATOR * USER
|
38
|
+
|
39
|
+
opts = {
|
40
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
41
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
42
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
43
|
+
access_user_ip: "access_user_ip_example" # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
44
|
+
}
|
45
|
+
|
46
|
+
begin
|
47
|
+
#delete a wallet
|
48
|
+
result = api_instance.delete_wallet(id, origin, opts)
|
49
|
+
p result
|
50
|
+
rescue TreezorClient::ApiError => e
|
51
|
+
puts "Exception when calling WalletApi->delete_wallet: #{e}"
|
52
|
+
end
|
53
|
+
```
|
54
|
+
|
55
|
+
### Parameters
|
56
|
+
|
57
|
+
Name | Type | Description | Notes
|
58
|
+
------------- | ------------- | ------------- | -------------
|
59
|
+
**id** | **Integer**| Wallet's id |
|
60
|
+
**origin** | **String**| Request's origin. Possible values are: * OPERATOR * USER |
|
61
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
62
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
63
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
64
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
65
|
+
|
66
|
+
### Return type
|
67
|
+
|
68
|
+
[**InlineResponse20025**](InlineResponse20025.md)
|
69
|
+
|
70
|
+
### Authorization
|
71
|
+
|
72
|
+
[api_key](../README.md#api_key)
|
73
|
+
|
74
|
+
### HTTP request headers
|
75
|
+
|
76
|
+
- **Content-Type**: application/json
|
77
|
+
- **Accept**: application/json
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
# **get_wallet**
|
82
|
+
> InlineResponse20025 get_wallet(id, opts)
|
83
|
+
|
84
|
+
get a wallet
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
### Example
|
89
|
+
```ruby
|
90
|
+
# load the gem
|
91
|
+
require 'treezor_client'
|
92
|
+
# setup authorization
|
93
|
+
TreezorClient.configure do |config|
|
94
|
+
# Configure API key authorization: api_key
|
95
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
96
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
97
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
98
|
+
end
|
99
|
+
|
100
|
+
api_instance = TreezorClient::WalletApi.new
|
101
|
+
|
102
|
+
id = 789 # Integer | Object internal id.
|
103
|
+
|
104
|
+
opts = {
|
105
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
106
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
107
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
108
|
+
access_user_ip: "access_user_ip_example" # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
109
|
+
}
|
110
|
+
|
111
|
+
begin
|
112
|
+
#get a wallet
|
113
|
+
result = api_instance.get_wallet(id, opts)
|
114
|
+
p result
|
115
|
+
rescue TreezorClient::ApiError => e
|
116
|
+
puts "Exception when calling WalletApi->get_wallet: #{e}"
|
117
|
+
end
|
118
|
+
```
|
119
|
+
|
120
|
+
### Parameters
|
121
|
+
|
122
|
+
Name | Type | Description | Notes
|
123
|
+
------------- | ------------- | ------------- | -------------
|
124
|
+
**id** | **Integer**| Object internal id. |
|
125
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
126
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
127
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
128
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
129
|
+
|
130
|
+
### Return type
|
131
|
+
|
132
|
+
[**InlineResponse20025**](InlineResponse20025.md)
|
133
|
+
|
134
|
+
### Authorization
|
135
|
+
|
136
|
+
[api_key](../README.md#api_key)
|
137
|
+
|
138
|
+
### HTTP request headers
|
139
|
+
|
140
|
+
- **Content-Type**: application/json
|
141
|
+
- **Accept**: application/json
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
# **get_wallets**
|
146
|
+
> InlineResponse20025 get_wallets(opts)
|
147
|
+
|
148
|
+
search wallets
|
149
|
+
|
150
|
+
Get wallets from the system that match the search criteria.
|
151
|
+
|
152
|
+
### Example
|
153
|
+
```ruby
|
154
|
+
# load the gem
|
155
|
+
require 'treezor_client'
|
156
|
+
# setup authorization
|
157
|
+
TreezorClient.configure do |config|
|
158
|
+
# Configure API key authorization: api_key
|
159
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
160
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
161
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
162
|
+
end
|
163
|
+
|
164
|
+
api_instance = TreezorClient::WalletApi.new
|
165
|
+
|
166
|
+
opts = {
|
167
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
168
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
169
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
170
|
+
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
171
|
+
wallet_id: 56, # Integer | Wallet's unique id.
|
172
|
+
wallet_status: "wallet_status_example", # String | Wallet's status: * **validated**: Wallet is active. It is possible to deposit to or retrieve money from the wallet. * **cancelled**: Wallet is closed. No action possible, there is no money in the wallet, it was closed by an operator or by the user. * **pending**: Wallet being validated (e.g. suspected fraud, late submission of documents' validation ... KYC ). In this case, it is not possible to use the wallet for transactions.
|
173
|
+
user_id: 56, # Integer | Wallet owner's id.
|
174
|
+
parent_user_id: 56, # Integer | Parent user id of the wallet owner
|
175
|
+
wallet_tag: "wallet_tag_example", # String | Custom data.
|
176
|
+
wallet_type_id: 56, # Integer | Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
|
177
|
+
event_name: "event_name_example", # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
178
|
+
event_alias: "event_alias_example", # String | Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding
|
179
|
+
event_payin_start_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
180
|
+
event_payin_end_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
181
|
+
tariff_id: 56, # Integer | Wallet pricing id.
|
182
|
+
payin_count: 56, # Integer | Number of payin done on the wallet.
|
183
|
+
solde: "solde_example", # String | Wallet current balance.
|
184
|
+
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
185
|
+
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
186
|
+
sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
187
|
+
sort_order: "sort_order_example", # String | The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
188
|
+
created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
189
|
+
created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
190
|
+
updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
191
|
+
updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
192
|
+
}
|
193
|
+
|
194
|
+
begin
|
195
|
+
#search wallets
|
196
|
+
result = api_instance.get_wallets(opts)
|
197
|
+
p result
|
198
|
+
rescue TreezorClient::ApiError => e
|
199
|
+
puts "Exception when calling WalletApi->get_wallets: #{e}"
|
200
|
+
end
|
201
|
+
```
|
202
|
+
|
203
|
+
### Parameters
|
204
|
+
|
205
|
+
Name | Type | Description | Notes
|
206
|
+
------------- | ------------- | ------------- | -------------
|
207
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
208
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
209
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
210
|
+
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
211
|
+
**wallet_id** | **Integer**| Wallet's unique id. | [optional]
|
212
|
+
**wallet_status** | **String**| Wallet's status: * **validated**: Wallet is active. It is possible to deposit to or retrieve money from the wallet. * **cancelled**: Wallet is closed. No action possible, there is no money in the wallet, it was closed by an operator or by the user. * **pending**: Wallet being validated (e.g. suspected fraud, late submission of documents' validation ... KYC ). In this case, it is not possible to use the wallet for transactions. | [optional]
|
213
|
+
**user_id** | **Integer**| Wallet owner's id. | [optional]
|
214
|
+
**parent_user_id** | **Integer**| Parent user id of the wallet owner | [optional]
|
215
|
+
**wallet_tag** | **String**| Custom data. | [optional]
|
216
|
+
**wallet_type_id** | **Integer**| Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) | | [optional]
|
217
|
+
**event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y | [optional]
|
218
|
+
**event_alias** | **String**| Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding | [optional]
|
219
|
+
**event_payin_start_date** | **DateTime**| Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS | [optional]
|
220
|
+
**event_payin_end_date** | **DateTime**| Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS | [optional]
|
221
|
+
**tariff_id** | **Integer**| Wallet pricing id. | [optional]
|
222
|
+
**payin_count** | **Integer**| Number of payin done on the wallet. | [optional]
|
223
|
+
**solde** | **String**| Wallet current balance. | [optional]
|
224
|
+
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
|
225
|
+
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
|
226
|
+
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists). | [optional]
|
227
|
+
**sort_order** | **String**| The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists). | [optional]
|
228
|
+
**created_date_from** | **DateTime**| The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
229
|
+
**created_date_to** | **DateTime**| The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
230
|
+
**updated_date_from** | **DateTime**| The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
231
|
+
**updated_date_to** | **DateTime**| The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
|
232
|
+
|
233
|
+
### Return type
|
234
|
+
|
235
|
+
[**InlineResponse20025**](InlineResponse20025.md)
|
236
|
+
|
237
|
+
### Authorization
|
238
|
+
|
239
|
+
[api_key](../README.md#api_key)
|
240
|
+
|
241
|
+
### HTTP request headers
|
242
|
+
|
243
|
+
- **Content-Type**: application/json
|
244
|
+
- **Accept**: application/json
|
245
|
+
|
246
|
+
|
247
|
+
|
248
|
+
# **post_wallets**
|
249
|
+
> InlineResponse20025 post_wallets(wallet_type_id, tariff_id, user_id, currency, event_name, opts)
|
250
|
+
|
251
|
+
create a wallet
|
252
|
+
|
253
|
+
Create a new wallet in the system..
|
254
|
+
|
255
|
+
### Example
|
256
|
+
```ruby
|
257
|
+
# load the gem
|
258
|
+
require 'treezor_client'
|
259
|
+
# setup authorization
|
260
|
+
TreezorClient.configure do |config|
|
261
|
+
# Configure API key authorization: api_key
|
262
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
263
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
264
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
265
|
+
end
|
266
|
+
|
267
|
+
api_instance = TreezorClient::WalletApi.new
|
268
|
+
|
269
|
+
wallet_type_id = 56 # Integer | Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
|
270
|
+
|
271
|
+
tariff_id = 56 # Integer | Wallet pricing id.
|
272
|
+
|
273
|
+
user_id = 56 # Integer | Wallet owner's id.
|
274
|
+
|
275
|
+
currency = "currency_example" # String | The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD … Default currency will be same as the wallet
|
276
|
+
|
277
|
+
event_name = "event_name_example" # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
278
|
+
|
279
|
+
opts = {
|
280
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
281
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
282
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
283
|
+
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
284
|
+
joint_user_id: 56, # Integer | Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
|
285
|
+
wallet_tag: "wallet_tag_example", # String | Custom data
|
286
|
+
load: 3.4, # Float | Initial loading amount.
|
287
|
+
event_alias: "event_alias_example", # String | Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding. Please note that the eventAlias must be unique.
|
288
|
+
event_date: Date.parse("2013-10-20"), # Date | Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
|
289
|
+
event_message: "event_message_example", # String | It can be a description of the wallet.
|
290
|
+
event_payin_start_date: Date.parse("2013-10-20"), # Date | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD. If null, the default date will be the created date of the wallet.
|
291
|
+
event_payin_end_date: Date.parse("2013-10-20") # Date | Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet
|
292
|
+
}
|
293
|
+
|
294
|
+
begin
|
295
|
+
#create a wallet
|
296
|
+
result = api_instance.post_wallets(wallet_type_id, tariff_id, user_id, currency, event_name, opts)
|
297
|
+
p result
|
298
|
+
rescue TreezorClient::ApiError => e
|
299
|
+
puts "Exception when calling WalletApi->post_wallets: #{e}"
|
300
|
+
end
|
301
|
+
```
|
302
|
+
|
303
|
+
### Parameters
|
304
|
+
|
305
|
+
Name | Type | Description | Notes
|
306
|
+
------------- | ------------- | ------------- | -------------
|
307
|
+
**wallet_type_id** | **Integer**| Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) | |
|
308
|
+
**tariff_id** | **Integer**| Wallet pricing id. |
|
309
|
+
**user_id** | **Integer**| Wallet owner's id. |
|
310
|
+
**currency** | **String**| The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD … Default currency will be same as the wallet |
|
311
|
+
**event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y |
|
312
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
313
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
314
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
315
|
+
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
316
|
+
**joint_user_id** | **Integer**| Wallet co-owner's id. This user will not be allowed to collect the money from the wallet. | [optional]
|
317
|
+
**wallet_tag** | **String**| Custom data | [optional]
|
318
|
+
**load** | **Float**| Initial loading amount. | [optional]
|
319
|
+
**event_alias** | **String**| Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding. Please note that the eventAlias must be unique. | [optional]
|
320
|
+
**event_date** | **Date**| Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days. | [optional]
|
321
|
+
**event_message** | **String**| It can be a description of the wallet. | [optional]
|
322
|
+
**event_payin_start_date** | **Date**| Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD. If null, the default date will be the created date of the wallet. | [optional]
|
323
|
+
**event_payin_end_date** | **Date**| Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet | [optional]
|
324
|
+
|
325
|
+
### Return type
|
326
|
+
|
327
|
+
[**InlineResponse20025**](InlineResponse20025.md)
|
328
|
+
|
329
|
+
### Authorization
|
330
|
+
|
331
|
+
[api_key](../README.md#api_key)
|
332
|
+
|
333
|
+
### HTTP request headers
|
334
|
+
|
335
|
+
- **Content-Type**: application/json
|
336
|
+
- **Accept**: application/json
|
337
|
+
|
338
|
+
|
339
|
+
|
340
|
+
# **put_wallet**
|
341
|
+
> InlineResponse20025 put_wallet(id, opts)
|
342
|
+
|
343
|
+
update a wallet
|
344
|
+
|
345
|
+
Modifiy wallet information
|
346
|
+
|
347
|
+
### Example
|
348
|
+
```ruby
|
349
|
+
# load the gem
|
350
|
+
require 'treezor_client'
|
351
|
+
# setup authorization
|
352
|
+
TreezorClient.configure do |config|
|
353
|
+
# Configure API key authorization: api_key
|
354
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
355
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
356
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
357
|
+
end
|
358
|
+
|
359
|
+
api_instance = TreezorClient::WalletApi.new
|
360
|
+
|
361
|
+
id = 789 # Integer | Object internal id.
|
362
|
+
|
363
|
+
opts = {
|
364
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
365
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
366
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
367
|
+
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
368
|
+
wallet_type_id: "wallet_type_id_example", # String | Change wallet type id
|
369
|
+
event_name: "event_name_example", # String | Change event name
|
370
|
+
event_alias: "event_alias_example", # String | Change event alias. Please note that the eventAlias must be unique.
|
371
|
+
event_date: "event_date_example", # String | Change event date
|
372
|
+
event_message: "event_message_example", # String | Change event message
|
373
|
+
event_payin_start_date: "event_payin_start_date_example", # String | Change event payin starting date
|
374
|
+
event_payin_end_date: "event_payin_end_date_example", # String | Change event payin end date
|
375
|
+
url_image: "url_image_example", # String | Change URL image
|
376
|
+
image_name: "image_name_example", # String | Change image name
|
377
|
+
tariff_id: "tariff_id_example" # String | Change tariff id
|
378
|
+
}
|
379
|
+
|
380
|
+
begin
|
381
|
+
#update a wallet
|
382
|
+
result = api_instance.put_wallet(id, opts)
|
383
|
+
p result
|
384
|
+
rescue TreezorClient::ApiError => e
|
385
|
+
puts "Exception when calling WalletApi->put_wallet: #{e}"
|
386
|
+
end
|
387
|
+
```
|
388
|
+
|
389
|
+
### Parameters
|
390
|
+
|
391
|
+
Name | Type | Description | Notes
|
392
|
+
------------- | ------------- | ------------- | -------------
|
393
|
+
**id** | **Integer**| Object internal id. |
|
394
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
395
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
396
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
397
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
398
|
+
**wallet_type_id** | **String**| Change wallet type id | [optional]
|
399
|
+
**event_name** | **String**| Change event name | [optional]
|
400
|
+
**event_alias** | **String**| Change event alias. Please note that the eventAlias must be unique. | [optional]
|
401
|
+
**event_date** | **String**| Change event date | [optional]
|
402
|
+
**event_message** | **String**| Change event message | [optional]
|
403
|
+
**event_payin_start_date** | **String**| Change event payin starting date | [optional]
|
404
|
+
**event_payin_end_date** | **String**| Change event payin end date | [optional]
|
405
|
+
**url_image** | **String**| Change URL image | [optional]
|
406
|
+
**image_name** | **String**| Change image name | [optional]
|
407
|
+
**tariff_id** | **String**| Change tariff id | [optional]
|
408
|
+
|
409
|
+
### Return type
|
410
|
+
|
411
|
+
[**InlineResponse20025**](InlineResponse20025.md)
|
412
|
+
|
413
|
+
### Authorization
|
414
|
+
|
415
|
+
[api_key](../README.md#api_key)
|
416
|
+
|
417
|
+
### HTTP request headers
|
418
|
+
|
419
|
+
- **Content-Type**: application/json
|
420
|
+
- **Accept**: application/json
|
421
|
+
|
422
|
+
|
423
|
+
|