treezor_client 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -5
- data/Gemfile.lock +4 -6
- data/README.md +19 -5
- data/config.json +10 -0
- data/docs/BalanceApi.md +8 -8
- data/docs/BankaccountApi.md +30 -30
- data/docs/BeneficiariesApi.md +30 -30
- data/docs/Beneficiary.md +1 -0
- data/docs/BusinessApi.md +26 -26
- data/docs/Card.md +2 -2
- data/docs/CardApi.md +209 -150
- data/docs/CardDigitalization.md +1 -3
- data/docs/CardDigitalizationsApi.md +73 -16
- data/docs/CardReserveApi.md +24 -24
- data/docs/CardtransactionApi.md +16 -14
- data/docs/CountryRestrictionGroup.md +14 -0
- data/docs/CountryRestrictionGroupsApi.md +40 -40
- data/docs/Document.md +1 -0
- data/docs/DocumentApi.md +46 -44
- data/docs/HeartbeatApi.md +8 -8
- data/docs/InlineResponse20010Cardtransactions.md +3 -3
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20011Cardtransactions.md +58 -0
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +1 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +1 -1
- data/docs/InlineResponse20026.md +8 -0
- data/docs/InlineResponse20027.md +8 -0
- data/docs/InlineResponse20028.md +8 -0
- data/docs/InlineResponse2005Businessinformations.md +2 -2
- data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
- data/docs/MandateApi.md +50 -50
- data/docs/MccRestrictionGroupsApi.md +40 -40
- data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
- data/docs/PayinApi.md +38 -38
- data/docs/PayinrefundApi.md +38 -38
- data/docs/PayoutApi.md +38 -38
- data/docs/PayoutRefund.md +22 -0
- data/docs/PayoutRefundsApi.md +82 -0
- data/docs/TaxResidence.md +15 -0
- data/docs/TaxResidenceApi.md +319 -0
- data/docs/TransactionApi.md +22 -22
- data/docs/TransferApi.md +42 -42
- data/docs/TransferrefundApi.md +42 -42
- data/docs/User.md +3 -0
- data/docs/UserApi.md +104 -85
- data/docs/VirtualibansApi.md +46 -46
- data/docs/WalletApi.md +84 -84
- data/lib/treezor_client/api/balance_api.rb +8 -8
- data/lib/treezor_client/api/bankaccount_api.rb +30 -30
- data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
- data/lib/treezor_client/api/business_api.rb +26 -26
- data/lib/treezor_client/api/card_api.rb +209 -154
- data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
- data/lib/treezor_client/api/card_reserve_api.rb +24 -24
- data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
- data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/document_api.rb +64 -57
- data/lib/treezor_client/api/heartbeat_api.rb +8 -8
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
- data/lib/treezor_client/api/mandate_api.rb +58 -58
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/payin_api.rb +42 -42
- data/lib/treezor_client/api/payinrefund_api.rb +42 -42
- data/lib/treezor_client/api/payout_api.rb +42 -42
- data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
- data/lib/treezor_client/api/tax_residence_api.rb +319 -0
- data/lib/treezor_client/api/transaction_api.rb +24 -24
- data/lib/treezor_client/api/transfer_api.rb +46 -46
- data/lib/treezor_client/api/transferrefund_api.rb +46 -46
- data/lib/treezor_client/api/user_api.rb +124 -93
- data/lib/treezor_client/api/virtualibans_api.rb +50 -50
- data/lib/treezor_client/api/wallet_api.rb +89 -89
- data/lib/treezor_client/models/beneficiary.rb +11 -1
- data/lib/treezor_client/models/card.rb +2 -2
- data/lib/treezor_client/models/card_digitalization.rb +3 -20
- data/lib/treezor_client/models/country_restriction_group.rb +284 -0
- data/lib/treezor_client/models/document.rb +10 -1
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
- data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +642 -0
- data/lib/treezor_client/models/inline_response_200_12.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_14.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
- data/lib/treezor_client/models/payout_refund.rb +347 -0
- data/lib/treezor_client/models/tax_residence.rb +259 -0
- data/lib/treezor_client/models/user.rb +28 -1
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +9 -1
- data/pkg/treezor_client-1.0.0.gem +0 -0
- data/pkg/treezor_client-1.1.0.gem +0 -0
- data/pkg/treezor_client-1.2.0.gem +0 -0
- data/spec/api/balance_api_spec.rb +4 -4
- data/spec/api/bankaccount_api_spec.rb +15 -15
- data/spec/api/beneficiaries_api_spec.rb +15 -15
- data/spec/api/business_api_spec.rb +13 -13
- data/spec/api/card_api_spec.rb +93 -75
- data/spec/api/card_digitalizations_api_spec.rb +19 -6
- data/spec/api/card_reserve_api_spec.rb +12 -12
- data/spec/api/cardtransaction_api_spec.rb +8 -7
- data/spec/api/country_restriction_groups_api_spec.rb +20 -20
- data/spec/api/document_api_spec.rb +22 -21
- data/spec/api/heartbeat_api_spec.rb +4 -4
- data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
- data/spec/api/mandate_api_spec.rb +26 -26
- data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
- data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
- data/spec/api/payin_api_spec.rb +19 -19
- data/spec/api/payinrefund_api_spec.rb +19 -19
- data/spec/api/payout_api_spec.rb +19 -19
- data/spec/api/payout_refunds_api_spec.rb +56 -0
- data/spec/api/tax_residence_api_spec.rb +108 -0
- data/spec/api/transaction_api_spec.rb +11 -11
- data/spec/api/transfer_api_spec.rb +21 -21
- data/spec/api/transferrefund_api_spec.rb +21 -21
- data/spec/api/user_api_spec.rb +58 -41
- data/spec/api/virtualibans_api_spec.rb +23 -23
- data/spec/api/wallet_api_spec.rb +42 -42
- data/spec/models/beneficiary_spec.rb +6 -0
- data/spec/models/card_digitalization_spec.rb +0 -12
- data/spec/models/card_spec.rb +6 -0
- data/spec/models/country_restriction_group_spec.rb +82 -0
- data/spec/models/document_spec.rb +6 -0
- data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
- data/spec/models/inline_response_200_11_spec.rb +1 -1
- data/spec/models/inline_response_200_12_spec.rb +1 -1
- data/spec/models/inline_response_200_13_spec.rb +1 -1
- data/spec/models/inline_response_200_16_spec.rb +1 -1
- data/spec/models/inline_response_200_17_spec.rb +1 -1
- data/spec/models/inline_response_200_18_spec.rb +1 -1
- data/spec/models/inline_response_200_19_spec.rb +1 -1
- data/spec/models/inline_response_200_20_spec.rb +1 -1
- data/spec/models/inline_response_200_21_spec.rb +1 -1
- data/spec/models/inline_response_200_22_spec.rb +1 -1
- data/spec/models/inline_response_200_24_spec.rb +1 -1
- data/spec/models/inline_response_200_25_spec.rb +1 -1
- data/spec/models/inline_response_200_26_spec.rb +42 -0
- data/spec/models/inline_response_200_27_spec.rb +42 -0
- data/spec/models/inline_response_200_28_spec.rb +42 -0
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
- data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
- data/spec/models/payout_refund_spec.rb +130 -0
- data/spec/models/tax_residence_spec.rb +84 -0
- data/spec/models/user_spec.rb +42 -0
- data/treezor_api_spec.yaml +1841 -1207
- data/treezor_client.gemspec +1 -3
- metadata +45 -9
- data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
data/lib/treezor_client.rb
CHANGED
|
@@ -35,7 +35,7 @@ require 'treezor_client/models/body_9'
|
|
|
35
35
|
require 'treezor_client/models/businesssearchs_businessinformations'
|
|
36
36
|
require 'treezor_client/models/card'
|
|
37
37
|
require 'treezor_client/models/card_digitalization'
|
|
38
|
-
require 'treezor_client/models/
|
|
38
|
+
require 'treezor_client/models/country_restriction_group'
|
|
39
39
|
require 'treezor_client/models/document'
|
|
40
40
|
require 'treezor_client/models/error'
|
|
41
41
|
require 'treezor_client/models/inline_response_200'
|
|
@@ -43,6 +43,7 @@ require 'treezor_client/models/inline_response_200_1'
|
|
|
43
43
|
require 'treezor_client/models/inline_response_200_10'
|
|
44
44
|
require 'treezor_client/models/inline_response_200_10_cardtransactions'
|
|
45
45
|
require 'treezor_client/models/inline_response_200_11'
|
|
46
|
+
require 'treezor_client/models/inline_response_200_11_cardtransactions'
|
|
46
47
|
require 'treezor_client/models/inline_response_200_12'
|
|
47
48
|
require 'treezor_client/models/inline_response_200_13'
|
|
48
49
|
require 'treezor_client/models/inline_response_200_14'
|
|
@@ -58,6 +59,9 @@ require 'treezor_client/models/inline_response_200_22'
|
|
|
58
59
|
require 'treezor_client/models/inline_response_200_23'
|
|
59
60
|
require 'treezor_client/models/inline_response_200_24'
|
|
60
61
|
require 'treezor_client/models/inline_response_200_25'
|
|
62
|
+
require 'treezor_client/models/inline_response_200_26'
|
|
63
|
+
require 'treezor_client/models/inline_response_200_27'
|
|
64
|
+
require 'treezor_client/models/inline_response_200_28'
|
|
61
65
|
require 'treezor_client/models/inline_response_200_3'
|
|
62
66
|
require 'treezor_client/models/inline_response_200_4'
|
|
63
67
|
require 'treezor_client/models/inline_response_200_5'
|
|
@@ -76,7 +80,9 @@ require 'treezor_client/models/merchant_id_restriction_group'
|
|
|
76
80
|
require 'treezor_client/models/payin'
|
|
77
81
|
require 'treezor_client/models/payinrefund'
|
|
78
82
|
require 'treezor_client/models/payout'
|
|
83
|
+
require 'treezor_client/models/payout_refund'
|
|
79
84
|
require 'treezor_client/models/tav'
|
|
85
|
+
require 'treezor_client/models/tax_residence'
|
|
80
86
|
require 'treezor_client/models/transaction'
|
|
81
87
|
require 'treezor_client/models/transfer'
|
|
82
88
|
require 'treezor_client/models/transferrefund'
|
|
@@ -103,6 +109,8 @@ require 'treezor_client/api/merchant_id_restriction_groups_api'
|
|
|
103
109
|
require 'treezor_client/api/payin_api'
|
|
104
110
|
require 'treezor_client/api/payinrefund_api'
|
|
105
111
|
require 'treezor_client/api/payout_api'
|
|
112
|
+
require 'treezor_client/api/payout_refunds_api'
|
|
113
|
+
require 'treezor_client/api/tax_residence_api'
|
|
106
114
|
require 'treezor_client/api/transaction_api'
|
|
107
115
|
require 'treezor_client/api/transfer_api'
|
|
108
116
|
require 'treezor_client/api/transferrefund_api'
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -36,10 +36,10 @@ describe 'BalanceApi' do
|
|
|
36
36
|
# search balances
|
|
37
37
|
# Get balances that match search criteria.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
40
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
41
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
42
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
39
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
40
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
41
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
42
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
43
43
|
# @option opts [Integer] :wallet_id Wallet's ID of wanted balance
|
|
44
44
|
# @option opts [Integer] :user_id Wallet's user id of wanted balanced
|
|
45
45
|
# @return [InlineResponse2002]
|
|
@@ -60,22 +60,22 @@ describe 'BankaccountApi' do
|
|
|
60
60
|
# search bank accounts
|
|
61
61
|
# Get bank accounts that match search criteria.
|
|
62
62
|
# @param [Hash] opts the optional parameters
|
|
63
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
64
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
65
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
66
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
63
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
64
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
65
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
66
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
67
67
|
# @option opts [Integer] :bankaccount_id bank account id.
|
|
68
68
|
# @option opts [String] :bankaccount_status bank account status. Possible values: * CANCELED * PENDING * VALIDATED
|
|
69
69
|
# @option opts [Integer] :user_id Bank account owner user's id
|
|
70
70
|
# @option opts [String] :bankaccount_iban Bank account IBAN
|
|
71
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
72
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
73
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
71
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
72
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
73
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
74
74
|
# @option opts [String] :sort_order 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).
|
|
75
|
-
# @option opts [DateTime] :created_date_from 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)
|
|
76
|
-
# @option opts [DateTime] :created_date_to 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)
|
|
77
|
-
# @option opts [DateTime] :updated_date_from 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)
|
|
78
|
-
# @option opts [DateTime] :updated_date_to 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)
|
|
75
|
+
# @option opts [DateTime] :created_date_from 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)
|
|
76
|
+
# @option opts [DateTime] :created_date_to 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)
|
|
77
|
+
# @option opts [DateTime] :updated_date_from 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)
|
|
78
|
+
# @option opts [DateTime] :updated_date_to 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)
|
|
79
79
|
# @return [InlineResponse2003]
|
|
80
80
|
describe 'get_bankaccounts test' do
|
|
81
81
|
it "should work" do
|
|
@@ -93,10 +93,10 @@ describe 'BankaccountApi' do
|
|
|
93
93
|
# @param bankaccount_bic Beneficiary bank account's BIC (or SWIFT).
|
|
94
94
|
# @param bankaccount_type Beneficiary bank account's type.
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
97
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
98
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
99
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
96
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
97
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
98
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
99
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
100
100
|
# @option opts [String] :bankaccount_tag Custom data.
|
|
101
101
|
# @option opts [String] :name Bank account's name.
|
|
102
102
|
# @return [InlineResponse2003]
|
|
@@ -36,10 +36,10 @@ describe 'BeneficiariesApi' do
|
|
|
36
36
|
# search beneficiary bank accounts
|
|
37
37
|
# Get beneficiary bank accounts that match search criteria.
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
39
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
40
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
41
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
42
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
39
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
40
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
41
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
42
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
43
43
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
|
44
44
|
# @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - tag - userId - isActive - nickName - address - iban (encrypted IBAN) - IbanInClear - bic - sepaCreditorIdentifier - usableForSct Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 |
|
|
45
45
|
# @option opts [Integer] :id Beneficiary bank account id.
|
|
@@ -48,9 +48,9 @@ describe 'BeneficiariesApi' do
|
|
|
48
48
|
# @option opts [String] :bic Beneficiary bank account BIC. (deprecated, you must use the parameter filter)
|
|
49
49
|
# @option opts [String] :nick_name Beneficiary bank account's nick name. (deprecated, you must use the parameter filter)
|
|
50
50
|
# @option opts [String] :name Beneficiary bank account owner's name. (deprecated, you must use the parameter filter)
|
|
51
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
52
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
53
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
51
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
52
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
53
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
54
54
|
# @option opts [String] :sort_order 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).
|
|
55
55
|
# @return [InlineResponse2001]
|
|
56
56
|
describe 'get_beneficiaries test' do
|
|
@@ -76,10 +76,10 @@ describe 'BeneficiariesApi' do
|
|
|
76
76
|
# create a beneficiary
|
|
77
77
|
# Create a new benefeciary bank account in the system.
|
|
78
78
|
# @param [Hash] opts the optional parameters
|
|
79
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
80
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
81
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
82
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
79
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
80
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
81
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
82
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
83
83
|
# @option opts [Body1] :body
|
|
84
84
|
# @return [InlineResponse2001]
|
|
85
85
|
describe 'post_beneficiary test' do
|
|
@@ -93,10 +93,10 @@ describe 'BeneficiariesApi' do
|
|
|
93
93
|
# Edit a benefeciary bank account in the system.
|
|
94
94
|
# @param id Beneficiary's id.
|
|
95
95
|
# @param [Hash] opts the optional parameters
|
|
96
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
97
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
98
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
99
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
96
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
97
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
98
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
99
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
100
100
|
# @option opts [Body2] :body
|
|
101
101
|
# @return [InlineResponse2001]
|
|
102
102
|
describe 'put_beneficiary test' do
|
|
@@ -35,12 +35,12 @@ describe 'BusinessApi' do
|
|
|
35
35
|
# unit tests for businessinformations_get
|
|
36
36
|
# get business information
|
|
37
37
|
# The get business information endpoint returns all already known business information. End user will have then to verify/correct it.
|
|
38
|
-
# @param country In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
38
|
+
# @param country In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
41
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
42
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
43
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
40
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
41
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
42
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
43
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
44
44
|
# @option opts [String] :external_id External unique business id. As given in businesssearch reponse.
|
|
45
45
|
# @option opts [String] :registration_number Unique business registration number.
|
|
46
46
|
# @option opts [String] :vat_number Unique business VAT number.
|
|
@@ -54,15 +54,15 @@ describe 'BusinessApi' do
|
|
|
54
54
|
# unit tests for businesssearchs_get
|
|
55
55
|
# search businesses
|
|
56
56
|
# The search endpoint returns some business information.
|
|
57
|
-
# @param country In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
57
|
+
# @param country In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
58
58
|
# @param [Hash] opts the optional parameters
|
|
59
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
60
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
61
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
62
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
63
|
-
# @option opts [String] :name_exact Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords.
|
|
64
|
-
# @option opts [String] :name_match_beginning Business names begin with. Exclusive with nameExact and nameClosestKeywords.
|
|
65
|
-
# @option opts [String] :name_closest_keywords Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning.
|
|
59
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
60
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
61
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
62
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
63
|
+
# @option opts [String] :name_exact Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords.
|
|
64
|
+
# @option opts [String] :name_match_beginning Business names begin with. Exclusive with nameExact and nameClosestKeywords.
|
|
65
|
+
# @option opts [String] :name_closest_keywords Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning.
|
|
66
66
|
# @option opts [String] :registration_number Business registration number.
|
|
67
67
|
# @option opts [String] :vat_number Business VAT number.
|
|
68
68
|
# @option opts [String] :phone_number Business phone number.
|
data/spec/api/card_api_spec.rb
CHANGED
|
@@ -37,10 +37,10 @@ describe 'CardApi' do
|
|
|
37
37
|
# Return virtual card's image
|
|
38
38
|
# @param card_id Vitual card's id.
|
|
39
39
|
# @param [Hash] opts the optional parameters
|
|
40
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
41
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
42
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
43
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
40
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
41
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
42
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
43
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
44
44
|
# @return [InlineResponse2007]
|
|
45
45
|
describe 'cardimages_get test' do
|
|
46
46
|
it "should work" do
|
|
@@ -56,27 +56,29 @@ describe 'CardApi' do
|
|
|
56
56
|
# @param perms_group Permissions group of the card. There is 4 usages which create 16 possible groups: | group | NFC | ATM | On-line | Foreign | |-----|-----|-----|-----|------| |TRZ-CU-001|KO|KO|KO|KO| |TRZ-CU-002|KO|KO|KO|OK| |TRZ-CU-003|KO|KO|OK|KO| |TRZ-CU-004|KO|KO|OK|OK| |TRZ-CU-005|KO|OK|KO|KO| |TRZ-CU-006|KO|OK|KO|OK| |TRZ-CU-007|KO|OK|OK|KO| |TRZ-CU-008|KO|OK|OK|OK| |TRZ-CU-009|OK|KO|KO|KO| |TRZ-CU-010|OK|KO|KO|OK| |TRZ-CU-011|OK|KO|OK|KO| |TRZ-CU-012|OK|KO|OK|OK| |TRZ-CU-013|OK|OK|KO|KO| |TRZ-CU-014|OK|OK|KO|OK| |TRZ-CU-015|OK|OK|OK|KO| |TRZ-CU-016|OK|OK|OK|OK|
|
|
57
57
|
# @param card_print Card appareance code, also used to choose the program ID of the card
|
|
58
58
|
# @param [Hash] opts the optional parameters
|
|
59
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
59
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
60
60
|
# @option opts [String] :card_tag Custom field
|
|
61
|
+
# @option opts [Integer] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
|
|
61
62
|
# @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
|
|
62
63
|
# @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
|
|
63
|
-
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000
|
|
64
|
-
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000
|
|
64
|
+
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
|
|
65
|
+
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000€.
|
|
65
66
|
# @option opts [Integer] :limit_atm_all ATM operations limit from beginning. No default value.
|
|
66
67
|
# @option opts [Integer] :limit_payment_year POS operations limit for a sliding year. No default value.
|
|
67
68
|
# @option opts [Integer] :limit_payment_month POS operations limit for a sliding month. No default value.
|
|
68
|
-
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000
|
|
69
|
-
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000
|
|
69
|
+
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
|
|
70
|
+
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
|
|
70
71
|
# @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
|
|
72
|
+
# @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
|
|
71
73
|
# @option opts [String] :pin Card's PIN code value.
|
|
72
74
|
# @option opts [Integer] :anonymous Card is anonymous. If value is 1 there will be no embossed name.
|
|
73
75
|
# @option opts [Integer] :send_to_parent If you put the value 1 the delivery address will be the parent user's.
|
|
74
76
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId you want to apply
|
|
75
77
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId you want to apply
|
|
76
78
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId you want to apply
|
|
77
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
78
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
79
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
79
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
80
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
81
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
80
82
|
# @return [InlineResponse2006]
|
|
81
83
|
describe 'cards_create_virtual_post test' do
|
|
82
84
|
it "should work" do
|
|
@@ -88,10 +90,10 @@ describe 'CardApi' do
|
|
|
88
90
|
# search cards
|
|
89
91
|
#
|
|
90
92
|
# @param [Hash] opts the optional parameters
|
|
91
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
92
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
93
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
94
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
93
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
94
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
95
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
96
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
95
97
|
# @option opts [Integer] :card_id Card's id
|
|
96
98
|
# @option opts [Integer] :user_id User's id of cardholder
|
|
97
99
|
# @option opts [String] :embossed_name Embossed name of the card
|
|
@@ -103,14 +105,14 @@ describe 'CardApi' do
|
|
|
103
105
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId of the card
|
|
104
106
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId of the card
|
|
105
107
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId of the card
|
|
106
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
107
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
108
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
108
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
109
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
110
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
109
111
|
# @option opts [String] :sort_order 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).
|
|
110
|
-
# @option opts [DateTime] :created_date_from 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)
|
|
111
|
-
# @option opts [DateTime] :created_date_to 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)
|
|
112
|
-
# @option opts [DateTime] :updated_date_from 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)
|
|
113
|
-
# @option opts [DateTime] :updated_date_to 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)
|
|
112
|
+
# @option opts [DateTime] :created_date_from 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)
|
|
113
|
+
# @option opts [DateTime] :created_date_to 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)
|
|
114
|
+
# @option opts [DateTime] :updated_date_from 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)
|
|
115
|
+
# @option opts [DateTime] :updated_date_to 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)
|
|
114
116
|
# @return [InlineResponse2006]
|
|
115
117
|
describe 'cards_get test' do
|
|
116
118
|
it "should work" do
|
|
@@ -120,14 +122,14 @@ describe 'CardApi' do
|
|
|
120
122
|
|
|
121
123
|
# unit tests for cards_id_activate_put
|
|
122
124
|
# activate a card
|
|
123
|
-
# The Activate endpoint change card status to activate. An activated card can be freely used.
|
|
125
|
+
# The Activate endpoint change card status to activate. An activated card can be freely used.
|
|
124
126
|
# @param id Card's id.
|
|
125
127
|
# @param [Hash] opts the optional parameters
|
|
126
|
-
# @option opts [String] :access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
|
127
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
128
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
129
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
130
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
128
|
+
# @option opts [String] :access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
|
129
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
130
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
131
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
132
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
131
133
|
# @return [InlineResponse2006]
|
|
132
134
|
describe 'cards_id_activate_put test' do
|
|
133
135
|
it "should work" do
|
|
@@ -143,10 +145,10 @@ describe 'CardApi' do
|
|
|
143
145
|
# @param new_pin Card's new PIN
|
|
144
146
|
# @param confirm_pin Card's new PIN confirmation value
|
|
145
147
|
# @param [Hash] opts the optional parameters
|
|
146
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
147
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
148
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
149
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
148
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
149
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
150
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
151
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
150
152
|
# @return [InlineResponse2006]
|
|
151
153
|
describe 'cards_id_change_pin_put test' do
|
|
152
154
|
it "should work" do
|
|
@@ -156,13 +158,13 @@ describe 'CardApi' do
|
|
|
156
158
|
|
|
157
159
|
# unit tests for cards_id_convert_virtual_put
|
|
158
160
|
# convert card to virtual
|
|
159
|
-
# Convert a virtual card into a physical one. The converted card will be both virtual and physical.
|
|
161
|
+
# Convert a virtual card into a physical one. The converted card will be both virtual and physical.
|
|
160
162
|
# @param id Card's id.
|
|
161
163
|
# @param [Hash] opts the optional parameters
|
|
162
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
163
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
164
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
165
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
164
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
165
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
166
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
167
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
166
168
|
# @return [InlineResponse2006]
|
|
167
169
|
describe 'cards_id_convert_virtual_put test' do
|
|
168
170
|
it "should work" do
|
|
@@ -199,7 +201,7 @@ describe 'CardApi' do
|
|
|
199
201
|
# Update of the card limits.
|
|
200
202
|
# @param id Card's id.
|
|
201
203
|
# @param [Hash] opts the optional parameters
|
|
202
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
204
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
203
205
|
# @option opts [Integer] :limit_atm_year ATM year limit
|
|
204
206
|
# @option opts [Integer] :limit_atm_month ATM month limit
|
|
205
207
|
# @option opts [Integer] :limit_atm_week ATM week limit
|
|
@@ -210,9 +212,10 @@ describe 'CardApi' do
|
|
|
210
212
|
# @option opts [Integer] :limit_payment_week Payment week limit
|
|
211
213
|
# @option opts [Integer] :limit_payment_day Payment day limit
|
|
212
214
|
# @option opts [Integer] :limit_payment_all Payment from beginning limit
|
|
213
|
-
# @option opts [
|
|
214
|
-
# @option opts [
|
|
215
|
-
# @option opts [
|
|
215
|
+
# @option opts [Float] :payment_daily_limit Payment day limit including cents. The decimal delimiter must be \".\"
|
|
216
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
217
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
218
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
216
219
|
# @return [InlineResponse2006]
|
|
217
220
|
describe 'cards_id_limits_put test' do
|
|
218
221
|
it "should work" do
|
|
@@ -226,10 +229,10 @@ describe 'CardApi' do
|
|
|
226
229
|
# @param id Card's id.
|
|
227
230
|
# @param lock_status | Value | Type | | --- | --- | | 1 | Block the card| | 0 | Unblock the card | | 2 | Lost card | | 3 | Stolen card |
|
|
228
231
|
# @param [Hash] opts the optional parameters
|
|
229
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
230
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
231
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
232
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
232
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
233
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
234
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
235
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
233
236
|
# @return [InlineResponse2006]
|
|
234
237
|
describe 'cards_id_lock_unlock_put test' do
|
|
235
238
|
it "should work" do
|
|
@@ -246,10 +249,10 @@ describe 'CardApi' do
|
|
|
246
249
|
# @param atm Card usable on ATM (withdrawals)
|
|
247
250
|
# @param nfc Card usable on contactless compatible POS machine machine\"
|
|
248
251
|
# @param [Hash] opts the optional parameters
|
|
249
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
250
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
251
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
252
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
252
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
253
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
254
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
255
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
253
256
|
# @return [InlineResponse2006]
|
|
254
257
|
describe 'cards_id_options_put test' do
|
|
255
258
|
it "should work" do
|
|
@@ -262,13 +265,13 @@ describe 'CardApi' do
|
|
|
262
265
|
# Actually update mccRestrictionGroupId and merchantRestrictionGroupId of a card
|
|
263
266
|
# @param id Card's id.
|
|
264
267
|
# @param [Hash] opts the optional parameters
|
|
265
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
268
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
266
269
|
# @option opts [Integer] :mcc_restriction_group_id card's mccRestrictionGroupId
|
|
267
270
|
# @option opts [Integer] :merchant_restriction_group_id card's merchantRestrictionGroupId
|
|
268
271
|
# @option opts [Integer] :country_restriction_group_id card's countryRestrictionGroupId
|
|
269
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
270
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
271
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
272
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
273
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
274
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
272
275
|
# @return [InlineResponse2006]
|
|
273
276
|
describe 'cards_id_put test' do
|
|
274
277
|
it "should work" do
|
|
@@ -278,13 +281,13 @@ describe 'CardApi' do
|
|
|
278
281
|
|
|
279
282
|
# unit tests for cards_id_regenerate_put
|
|
280
283
|
# regenerate card
|
|
281
|
-
# If card is Lost or Stolen (card's status), the card itself will get regenerated. Otherwise only the card image gets recreated.
|
|
284
|
+
# If card is Lost or Stolen (card's status), the card itself will get regenerated. Otherwise only the card image gets recreated.
|
|
282
285
|
# @param id Card's id.
|
|
283
286
|
# @param [Hash] opts the optional parameters
|
|
284
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
285
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
286
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
287
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
287
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
288
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
289
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
290
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
288
291
|
# @return [InlineResponse2006]
|
|
289
292
|
describe 'cards_id_regenerate_put test' do
|
|
290
293
|
it "should work" do
|
|
@@ -299,10 +302,10 @@ describe 'CardApi' do
|
|
|
299
302
|
# @param new_pin Card's new PIN.
|
|
300
303
|
# @param confirm_pin Card's new PIN confirmation value
|
|
301
304
|
# @param [Hash] opts the optional parameters
|
|
302
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
303
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
304
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
305
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
305
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
306
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
307
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
308
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
306
309
|
# @return [InlineResponse2006]
|
|
307
310
|
describe 'cards_id_set_pin_put test' do
|
|
308
311
|
it "should work" do
|
|
@@ -315,10 +318,10 @@ describe 'CardApi' do
|
|
|
315
318
|
# Unblock card's PIN code.
|
|
316
319
|
# @param id Card's id.
|
|
317
320
|
# @param [Hash] opts the optional parameters
|
|
318
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
319
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
320
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
321
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
321
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
322
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
323
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
324
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
322
325
|
# @return [InlineResponse2006]
|
|
323
326
|
describe 'cards_id_unblock_pin_put test' do
|
|
324
327
|
it "should work" do
|
|
@@ -326,6 +329,19 @@ describe 'CardApi' do
|
|
|
326
329
|
end
|
|
327
330
|
end
|
|
328
331
|
|
|
332
|
+
# unit tests for cards_register3_ds_post
|
|
333
|
+
# Register 3D secure
|
|
334
|
+
# Register a card to 3D secure service.
|
|
335
|
+
# @param card_id Card's ID to register
|
|
336
|
+
# @param [Hash] opts the optional parameters
|
|
337
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
338
|
+
# @return [InlineResponse2006]
|
|
339
|
+
describe 'cards_register3_ds_post test' do
|
|
340
|
+
it "should work" do
|
|
341
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
342
|
+
end
|
|
343
|
+
end
|
|
344
|
+
|
|
329
345
|
# unit tests for cards_request_physical_post
|
|
330
346
|
# create a physical card
|
|
331
347
|
# Create a new physical card. To use a card you will need to activate it (/cards/{id}/Activate/).
|
|
@@ -335,26 +351,28 @@ describe 'CardApi' do
|
|
|
335
351
|
# @param card_tag Custom field
|
|
336
352
|
# @param card_print Card appearance code, also used to choose the program ID of the card
|
|
337
353
|
# @param [Hash] opts the optional parameters
|
|
338
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
354
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
355
|
+
# @option opts [Integer] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
|
|
339
356
|
# @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
|
|
340
357
|
# @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
|
|
341
|
-
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000
|
|
342
|
-
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000
|
|
358
|
+
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
|
|
359
|
+
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000€.
|
|
343
360
|
# @option opts [Integer] :limit_atm_all ATM operations limit from beginning. No default value.
|
|
344
361
|
# @option opts [Integer] :limit_payment_year POS operations limit for a sliding year. No default value.
|
|
345
362
|
# @option opts [Integer] :limit_payment_month POS operations limit for a sliding month. No default value.
|
|
346
|
-
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000
|
|
347
|
-
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000
|
|
363
|
+
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
|
|
364
|
+
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
|
|
348
365
|
# @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
|
|
366
|
+
# @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
|
|
349
367
|
# @option opts [String] :pin Card's PIN code value. Default random PIN.
|
|
350
368
|
# @option opts [Integer] :anonymous Card is anonymous. If value is 1 there will be no embossed name.
|
|
351
369
|
# @option opts [Integer] :send_to_parent If you put the value 1 the delivery address will be the parent user's.
|
|
352
370
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId you want to apply
|
|
353
371
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId you want to apply
|
|
354
372
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId you want to apply
|
|
355
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
356
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
357
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
373
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
374
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
375
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
358
376
|
# @return [InlineResponse2006]
|
|
359
377
|
describe 'cards_request_physical_post test' do
|
|
360
378
|
it "should work" do
|