treezor_client 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- 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
@@ -24,10 +24,10 @@ module TreezorClient
|
|
24
24
|
# Return virtual card's image
|
25
25
|
# @param card_id Vitual card's id.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @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).
|
28
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
29
|
-
# @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).
|
30
|
-
# @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).
|
27
|
+
# @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).
|
28
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
29
|
+
# @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).
|
30
|
+
# @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).
|
31
31
|
# @return [InlineResponse2007]
|
32
32
|
def cardimages_get(card_id, opts = {})
|
33
33
|
data, _status_code, _headers = cardimages_get_with_http_info(card_id, opts)
|
@@ -38,10 +38,10 @@ module TreezorClient
|
|
38
38
|
# Return virtual card's image
|
39
39
|
# @param card_id Vitual card's id.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @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).
|
42
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
43
|
-
# @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).
|
44
|
-
# @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).
|
41
|
+
# @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).
|
42
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
43
|
+
# @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).
|
44
|
+
# @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).
|
45
45
|
# @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
|
46
46
|
def cardimages_get_with_http_info(card_id, opts = {})
|
47
47
|
if @api_client.config.debugging
|
@@ -91,18 +91,18 @@ module TreezorClient
|
|
91
91
|
# @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|
|
92
92
|
# @param card_print Card appareance code, also used to choose the program ID of the card
|
93
93
|
# @param [Hash] opts the optional parameters
|
94
|
-
# @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_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
95
95
|
# @option opts [String] :card_tag Custom field
|
96
|
-
# @option opts [
|
96
|
+
# @option opts [Integer] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
|
97
97
|
# @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
|
98
98
|
# @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
|
99
|
-
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000
|
100
|
-
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000
|
99
|
+
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
|
100
|
+
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000€.
|
101
101
|
# @option opts [Integer] :limit_atm_all ATM operations limit from beginning. No default value.
|
102
102
|
# @option opts [Integer] :limit_payment_year POS operations limit for a sliding year. No default value.
|
103
103
|
# @option opts [Integer] :limit_payment_month POS operations limit for a sliding month. No default value.
|
104
|
-
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000
|
105
|
-
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000
|
104
|
+
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
|
105
|
+
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
|
106
106
|
# @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
|
107
107
|
# @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
|
108
108
|
# @option opts [String] :pin Card's PIN code value.
|
@@ -111,9 +111,9 @@ module TreezorClient
|
|
111
111
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId you want to apply
|
112
112
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId you want to apply
|
113
113
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId you want to apply
|
114
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
115
|
-
# @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).
|
116
|
-
# @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).
|
114
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
115
|
+
# @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).
|
116
|
+
# @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).
|
117
117
|
# @return [InlineResponse2006]
|
118
118
|
def cards_create_virtual_post(user_id, wallet_id, perms_group, card_print, opts = {})
|
119
119
|
data, _status_code, _headers = cards_create_virtual_post_with_http_info(user_id, wallet_id, perms_group, card_print, opts)
|
@@ -127,18 +127,18 @@ module TreezorClient
|
|
127
127
|
# @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|
|
128
128
|
# @param card_print Card appareance code, also used to choose the program ID of the card
|
129
129
|
# @param [Hash] opts the optional parameters
|
130
|
-
# @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_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
131
131
|
# @option opts [String] :card_tag Custom field
|
132
|
-
# @option opts [
|
132
|
+
# @option opts [Integer] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
|
133
133
|
# @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
|
134
134
|
# @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
|
135
|
-
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000
|
136
|
-
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000
|
135
|
+
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
|
136
|
+
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000€.
|
137
137
|
# @option opts [Integer] :limit_atm_all ATM operations limit from beginning. No default value.
|
138
138
|
# @option opts [Integer] :limit_payment_year POS operations limit for a sliding year. No default value.
|
139
139
|
# @option opts [Integer] :limit_payment_month POS operations limit for a sliding month. No default value.
|
140
|
-
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000
|
141
|
-
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000
|
140
|
+
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
|
141
|
+
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
|
142
142
|
# @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
|
143
143
|
# @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
|
144
144
|
# @option opts [String] :pin Card's PIN code value.
|
@@ -147,9 +147,9 @@ module TreezorClient
|
|
147
147
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId you want to apply
|
148
148
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId you want to apply
|
149
149
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId you want to apply
|
150
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
151
|
-
# @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).
|
152
|
-
# @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
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
151
|
+
# @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).
|
152
|
+
# @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).
|
153
153
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
154
154
|
def cards_create_virtual_post_with_http_info(user_id, wallet_id, perms_group, card_print, opts = {})
|
155
155
|
if @api_client.config.debugging
|
@@ -229,10 +229,10 @@ module TreezorClient
|
|
229
229
|
# search cards
|
230
230
|
#
|
231
231
|
# @param [Hash] opts the optional parameters
|
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).
|
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).
|
236
236
|
# @option opts [Integer] :card_id Card's id
|
237
237
|
# @option opts [Integer] :user_id User's id of cardholder
|
238
238
|
# @option opts [String] :embossed_name Embossed name of the card
|
@@ -244,14 +244,14 @@ module TreezorClient
|
|
244
244
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId of the card
|
245
245
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId of the card
|
246
246
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId of the card
|
247
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
248
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
249
|
-
# @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).
|
247
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
248
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
249
|
+
# @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).
|
250
250
|
# @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).
|
251
|
-
# @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)
|
252
|
-
# @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)
|
253
|
-
# @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)
|
254
|
-
# @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)
|
251
|
+
# @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)
|
252
|
+
# @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)
|
253
|
+
# @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)
|
254
|
+
# @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)
|
255
255
|
# @return [InlineResponse2006]
|
256
256
|
def cards_get(opts = {})
|
257
257
|
data, _status_code, _headers = cards_get_with_http_info(opts)
|
@@ -261,10 +261,10 @@ module TreezorClient
|
|
261
261
|
# search cards
|
262
262
|
#
|
263
263
|
# @param [Hash] opts the optional parameters
|
264
|
-
# @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).
|
265
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
266
|
-
# @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).
|
267
|
-
# @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).
|
264
|
+
# @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).
|
265
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
266
|
+
# @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).
|
267
|
+
# @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).
|
268
268
|
# @option opts [Integer] :card_id Card's id
|
269
269
|
# @option opts [Integer] :user_id User's id of cardholder
|
270
270
|
# @option opts [String] :embossed_name Embossed name of the card
|
@@ -276,14 +276,14 @@ module TreezorClient
|
|
276
276
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId of the card
|
277
277
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId of the card
|
278
278
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId of the card
|
279
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
280
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
281
|
-
# @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).
|
279
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
280
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
281
|
+
# @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).
|
282
282
|
# @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).
|
283
|
-
# @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)
|
284
|
-
# @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)
|
285
|
-
# @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)
|
286
|
-
# @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)
|
283
|
+
# @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)
|
284
|
+
# @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)
|
285
|
+
# @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)
|
286
|
+
# @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)
|
287
287
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
288
288
|
def cards_get_with_http_info(opts = {})
|
289
289
|
if @api_client.config.debugging
|
@@ -341,14 +341,14 @@ module TreezorClient
|
|
341
341
|
end
|
342
342
|
|
343
343
|
# activate a card
|
344
|
-
# The Activate endpoint change card status to activate. An activated card can be freely used.
|
344
|
+
# The Activate endpoint change card status to activate. An activated card can be freely used.
|
345
345
|
# @param id Card's id.
|
346
346
|
# @param [Hash] opts the optional parameters
|
347
|
-
# @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).
|
348
|
-
# @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).
|
349
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
350
|
-
# @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).
|
351
|
-
# @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).
|
347
|
+
# @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).
|
348
|
+
# @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).
|
349
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
350
|
+
# @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).
|
351
|
+
# @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).
|
352
352
|
# @return [InlineResponse2006]
|
353
353
|
def cards_id_activate_put(id, opts = {})
|
354
354
|
data, _status_code, _headers = cards_id_activate_put_with_http_info(id, opts)
|
@@ -356,14 +356,14 @@ module TreezorClient
|
|
356
356
|
end
|
357
357
|
|
358
358
|
# activate a card
|
359
|
-
# The Activate endpoint change card status to activate. An activated card can be freely used.
|
359
|
+
# The Activate endpoint change card status to activate. An activated card can be freely used.
|
360
360
|
# @param id Card's id.
|
361
361
|
# @param [Hash] opts the optional parameters
|
362
|
-
# @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).
|
363
|
-
# @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).
|
364
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
365
|
-
# @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).
|
366
|
-
# @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).
|
362
|
+
# @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).
|
363
|
+
# @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).
|
364
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
365
|
+
# @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).
|
366
|
+
# @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).
|
367
367
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
368
368
|
def cards_id_activate_put_with_http_info(id, opts = {})
|
369
369
|
if @api_client.config.debugging
|
@@ -413,10 +413,10 @@ module TreezorClient
|
|
413
413
|
# @param new_pin Card's new PIN
|
414
414
|
# @param confirm_pin Card's new PIN confirmation value
|
415
415
|
# @param [Hash] opts the optional parameters
|
416
|
-
# @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).
|
417
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
418
|
-
# @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).
|
419
|
-
# @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).
|
416
|
+
# @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).
|
417
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
418
|
+
# @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).
|
419
|
+
# @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).
|
420
420
|
# @return [InlineResponse2006]
|
421
421
|
def cards_id_change_pin_put(id, current_pin, new_pin, confirm_pin, opts = {})
|
422
422
|
data, _status_code, _headers = cards_id_change_pin_put_with_http_info(id, current_pin, new_pin, confirm_pin, opts)
|
@@ -430,10 +430,10 @@ module TreezorClient
|
|
430
430
|
# @param new_pin Card's new PIN
|
431
431
|
# @param confirm_pin Card's new PIN confirmation value
|
432
432
|
# @param [Hash] opts the optional parameters
|
433
|
-
# @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).
|
434
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
435
|
-
# @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).
|
436
|
-
# @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).
|
433
|
+
# @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).
|
434
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
435
|
+
# @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).
|
436
|
+
# @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).
|
437
437
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
438
438
|
def cards_id_change_pin_put_with_http_info(id, current_pin, new_pin, confirm_pin, opts = {})
|
439
439
|
if @api_client.config.debugging
|
@@ -491,13 +491,13 @@ module TreezorClient
|
|
491
491
|
end
|
492
492
|
|
493
493
|
# convert card to virtual
|
494
|
-
# Convert a virtual card into a physical one. The converted card will be both virtual and physical.
|
494
|
+
# Convert a virtual card into a physical one. The converted card will be both virtual and physical.
|
495
495
|
# @param id Card's id.
|
496
496
|
# @param [Hash] opts the optional parameters
|
497
|
-
# @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).
|
498
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
499
|
-
# @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).
|
500
|
-
# @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).
|
497
|
+
# @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).
|
498
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
499
|
+
# @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).
|
500
|
+
# @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).
|
501
501
|
# @return [InlineResponse2006]
|
502
502
|
def cards_id_convert_virtual_put(id, opts = {})
|
503
503
|
data, _status_code, _headers = cards_id_convert_virtual_put_with_http_info(id, opts)
|
@@ -505,13 +505,13 @@ module TreezorClient
|
|
505
505
|
end
|
506
506
|
|
507
507
|
# convert card to virtual
|
508
|
-
# Convert a virtual card into a physical one. The converted card will be both virtual and physical.
|
508
|
+
# Convert a virtual card into a physical one. The converted card will be both virtual and physical.
|
509
509
|
# @param id Card's id.
|
510
510
|
# @param [Hash] opts the optional parameters
|
511
|
-
# @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).
|
512
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
513
|
-
# @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).
|
514
|
-
# @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).
|
511
|
+
# @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).
|
512
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
513
|
+
# @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).
|
514
|
+
# @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).
|
515
515
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
516
516
|
def cards_id_convert_virtual_put_with_http_info(id, opts = {})
|
517
517
|
if @api_client.config.debugging
|
@@ -659,7 +659,7 @@ module TreezorClient
|
|
659
659
|
# Update of the card limits.
|
660
660
|
# @param id Card's id.
|
661
661
|
# @param [Hash] opts the optional parameters
|
662
|
-
# @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).
|
662
|
+
# @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).
|
663
663
|
# @option opts [Integer] :limit_atm_year ATM year limit
|
664
664
|
# @option opts [Integer] :limit_atm_month ATM month limit
|
665
665
|
# @option opts [Integer] :limit_atm_week ATM week limit
|
@@ -671,9 +671,9 @@ module TreezorClient
|
|
671
671
|
# @option opts [Integer] :limit_payment_day Payment day limit
|
672
672
|
# @option opts [Integer] :limit_payment_all Payment from beginning limit
|
673
673
|
# @option opts [Float] :payment_daily_limit Payment day limit including cents. The decimal delimiter must be \".\"
|
674
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
675
|
-
# @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).
|
676
|
-
# @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).
|
674
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
675
|
+
# @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).
|
676
|
+
# @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).
|
677
677
|
# @return [InlineResponse2006]
|
678
678
|
def cards_id_limits_put(id, opts = {})
|
679
679
|
data, _status_code, _headers = cards_id_limits_put_with_http_info(id, opts)
|
@@ -684,7 +684,7 @@ module TreezorClient
|
|
684
684
|
# Update of the card limits.
|
685
685
|
# @param id Card's id.
|
686
686
|
# @param [Hash] opts the optional parameters
|
687
|
-
# @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).
|
687
|
+
# @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).
|
688
688
|
# @option opts [Integer] :limit_atm_year ATM year limit
|
689
689
|
# @option opts [Integer] :limit_atm_month ATM month limit
|
690
690
|
# @option opts [Integer] :limit_atm_week ATM week limit
|
@@ -696,9 +696,9 @@ module TreezorClient
|
|
696
696
|
# @option opts [Integer] :limit_payment_day Payment day limit
|
697
697
|
# @option opts [Integer] :limit_payment_all Payment from beginning limit
|
698
698
|
# @option opts [Float] :payment_daily_limit Payment day limit including cents. The decimal delimiter must be \".\"
|
699
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
700
|
-
# @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).
|
701
|
-
# @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).
|
699
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
700
|
+
# @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).
|
701
|
+
# @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).
|
702
702
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
703
703
|
def cards_id_limits_put_with_http_info(id, opts = {})
|
704
704
|
if @api_client.config.debugging
|
@@ -756,10 +756,10 @@ module TreezorClient
|
|
756
756
|
# @param id Card's id.
|
757
757
|
# @param lock_status | Value | Type | | --- | --- | | 1 | Block the card| | 0 | Unblock the card | | 2 | Lost card | | 3 | Stolen card |
|
758
758
|
# @param [Hash] opts the optional parameters
|
759
|
-
# @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).
|
760
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
761
|
-
# @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).
|
762
|
-
# @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).
|
759
|
+
# @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).
|
760
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
761
|
+
# @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).
|
762
|
+
# @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).
|
763
763
|
# @return [InlineResponse2006]
|
764
764
|
def cards_id_lock_unlock_put(id, lock_status, opts = {})
|
765
765
|
data, _status_code, _headers = cards_id_lock_unlock_put_with_http_info(id, lock_status, opts)
|
@@ -771,10 +771,10 @@ module TreezorClient
|
|
771
771
|
# @param id Card's id.
|
772
772
|
# @param lock_status | Value | Type | | --- | --- | | 1 | Block the card| | 0 | Unblock the card | | 2 | Lost card | | 3 | Stolen card |
|
773
773
|
# @param [Hash] opts the optional parameters
|
774
|
-
# @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).
|
775
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
776
|
-
# @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).
|
777
|
-
# @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).
|
774
|
+
# @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).
|
775
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
776
|
+
# @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).
|
777
|
+
# @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).
|
778
778
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
779
779
|
def cards_id_lock_unlock_put_with_http_info(id, lock_status, opts = {})
|
780
780
|
if @api_client.config.debugging
|
@@ -829,10 +829,10 @@ module TreezorClient
|
|
829
829
|
# @param atm Card usable on ATM (withdrawals)
|
830
830
|
# @param nfc Card usable on contactless compatible POS machine machine\"
|
831
831
|
# @param [Hash] opts the optional parameters
|
832
|
-
# @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).
|
833
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
834
|
-
# @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).
|
835
|
-
# @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).
|
832
|
+
# @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).
|
833
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
834
|
+
# @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).
|
835
|
+
# @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).
|
836
836
|
# @return [InlineResponse2006]
|
837
837
|
def cards_id_options_put(id, foreign, online, atm, nfc, opts = {})
|
838
838
|
data, _status_code, _headers = cards_id_options_put_with_http_info(id, foreign, online, atm, nfc, opts)
|
@@ -847,10 +847,10 @@ module TreezorClient
|
|
847
847
|
# @param atm Card usable on ATM (withdrawals)
|
848
848
|
# @param nfc Card usable on contactless compatible POS machine machine\"
|
849
849
|
# @param [Hash] opts the optional parameters
|
850
|
-
# @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).
|
851
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
852
|
-
# @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).
|
853
|
-
# @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).
|
850
|
+
# @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).
|
851
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
852
|
+
# @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).
|
853
|
+
# @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).
|
854
854
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
855
855
|
def cards_id_options_put_with_http_info(id, foreign, online, atm, nfc, opts = {})
|
856
856
|
if @api_client.config.debugging
|
@@ -916,13 +916,13 @@ module TreezorClient
|
|
916
916
|
# Actually update mccRestrictionGroupId and merchantRestrictionGroupId of a card
|
917
917
|
# @param id Card's id.
|
918
918
|
# @param [Hash] opts the optional parameters
|
919
|
-
# @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).
|
919
|
+
# @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).
|
920
920
|
# @option opts [Integer] :mcc_restriction_group_id card's mccRestrictionGroupId
|
921
921
|
# @option opts [Integer] :merchant_restriction_group_id card's merchantRestrictionGroupId
|
922
922
|
# @option opts [Integer] :country_restriction_group_id card's countryRestrictionGroupId
|
923
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
924
|
-
# @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).
|
925
|
-
# @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).
|
923
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
924
|
+
# @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).
|
925
|
+
# @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).
|
926
926
|
# @return [InlineResponse2006]
|
927
927
|
def cards_id_put(id, opts = {})
|
928
928
|
data, _status_code, _headers = cards_id_put_with_http_info(id, opts)
|
@@ -933,13 +933,13 @@ module TreezorClient
|
|
933
933
|
# Actually update mccRestrictionGroupId and merchantRestrictionGroupId of a card
|
934
934
|
# @param id Card's id.
|
935
935
|
# @param [Hash] opts the optional parameters
|
936
|
-
# @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).
|
936
|
+
# @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).
|
937
937
|
# @option opts [Integer] :mcc_restriction_group_id card's mccRestrictionGroupId
|
938
938
|
# @option opts [Integer] :merchant_restriction_group_id card's merchantRestrictionGroupId
|
939
939
|
# @option opts [Integer] :country_restriction_group_id card's countryRestrictionGroupId
|
940
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
941
|
-
# @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).
|
942
|
-
# @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).
|
940
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
941
|
+
# @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).
|
942
|
+
# @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).
|
943
943
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
944
944
|
def cards_id_put_with_http_info(id, opts = {})
|
945
945
|
if @api_client.config.debugging
|
@@ -985,13 +985,13 @@ module TreezorClient
|
|
985
985
|
end
|
986
986
|
|
987
987
|
# regenerate card
|
988
|
-
# If card is Lost or Stolen (card's status), the card itself will get regenerated. Otherwise only the card image gets recreated.
|
988
|
+
# If card is Lost or Stolen (card's status), the card itself will get regenerated. Otherwise only the card image gets recreated.
|
989
989
|
# @param id Card's id.
|
990
990
|
# @param [Hash] opts the optional parameters
|
991
|
-
# @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).
|
992
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
993
|
-
# @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).
|
994
|
-
# @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).
|
991
|
+
# @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).
|
992
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
993
|
+
# @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).
|
994
|
+
# @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).
|
995
995
|
# @return [InlineResponse2006]
|
996
996
|
def cards_id_regenerate_put(id, opts = {})
|
997
997
|
data, _status_code, _headers = cards_id_regenerate_put_with_http_info(id, opts)
|
@@ -999,13 +999,13 @@ module TreezorClient
|
|
999
999
|
end
|
1000
1000
|
|
1001
1001
|
# regenerate card
|
1002
|
-
# If card is Lost or Stolen (card's status), the card itself will get regenerated. Otherwise only the card image gets recreated.
|
1002
|
+
# If card is Lost or Stolen (card's status), the card itself will get regenerated. Otherwise only the card image gets recreated.
|
1003
1003
|
# @param id Card's id.
|
1004
1004
|
# @param [Hash] opts the optional parameters
|
1005
|
-
# @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).
|
1006
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1007
|
-
# @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).
|
1008
|
-
# @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).
|
1005
|
+
# @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).
|
1006
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1007
|
+
# @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).
|
1008
|
+
# @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).
|
1009
1009
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
1010
1010
|
def cards_id_regenerate_put_with_http_info(id, opts = {})
|
1011
1011
|
if @api_client.config.debugging
|
@@ -1053,10 +1053,10 @@ module TreezorClient
|
|
1053
1053
|
# @param new_pin Card's new PIN.
|
1054
1054
|
# @param confirm_pin Card's new PIN confirmation value
|
1055
1055
|
# @param [Hash] opts the optional parameters
|
1056
|
-
# @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).
|
1057
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1058
|
-
# @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).
|
1059
|
-
# @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).
|
1056
|
+
# @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).
|
1057
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1058
|
+
# @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).
|
1059
|
+
# @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).
|
1060
1060
|
# @return [InlineResponse2006]
|
1061
1061
|
def cards_id_set_pin_put(id, new_pin, confirm_pin, opts = {})
|
1062
1062
|
data, _status_code, _headers = cards_id_set_pin_put_with_http_info(id, new_pin, confirm_pin, opts)
|
@@ -1069,10 +1069,10 @@ module TreezorClient
|
|
1069
1069
|
# @param new_pin Card's new PIN.
|
1070
1070
|
# @param confirm_pin Card's new PIN confirmation value
|
1071
1071
|
# @param [Hash] opts the optional parameters
|
1072
|
-
# @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).
|
1073
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1074
|
-
# @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).
|
1075
|
-
# @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).
|
1072
|
+
# @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).
|
1073
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1074
|
+
# @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).
|
1075
|
+
# @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).
|
1076
1076
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
1077
1077
|
def cards_id_set_pin_put_with_http_info(id, new_pin, confirm_pin, opts = {})
|
1078
1078
|
if @api_client.config.debugging
|
@@ -1128,10 +1128,10 @@ module TreezorClient
|
|
1128
1128
|
# Unblock card's PIN code.
|
1129
1129
|
# @param id Card's id.
|
1130
1130
|
# @param [Hash] opts the optional parameters
|
1131
|
-
# @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).
|
1132
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1133
|
-
# @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).
|
1134
|
-
# @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).
|
1131
|
+
# @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).
|
1132
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1133
|
+
# @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).
|
1134
|
+
# @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).
|
1135
1135
|
# @return [InlineResponse2006]
|
1136
1136
|
def cards_id_unblock_pin_put(id, opts = {})
|
1137
1137
|
data, _status_code, _headers = cards_id_unblock_pin_put_with_http_info(id, opts)
|
@@ -1142,10 +1142,10 @@ module TreezorClient
|
|
1142
1142
|
# Unblock card's PIN code.
|
1143
1143
|
# @param id Card's id.
|
1144
1144
|
# @param [Hash] opts the optional parameters
|
1145
|
-
# @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).
|
1146
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1147
|
-
# @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).
|
1148
|
-
# @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).
|
1145
|
+
# @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).
|
1146
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1147
|
+
# @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).
|
1148
|
+
# @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).
|
1149
1149
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
1150
1150
|
def cards_id_unblock_pin_put_with_http_info(id, opts = {})
|
1151
1151
|
if @api_client.config.debugging
|
@@ -1187,6 +1187,61 @@ module TreezorClient
|
|
1187
1187
|
return data, status_code, headers
|
1188
1188
|
end
|
1189
1189
|
|
1190
|
+
# Register 3D secure
|
1191
|
+
# Register a card to 3D secure service.
|
1192
|
+
# @param card_id Card's ID to register
|
1193
|
+
# @param [Hash] opts the optional parameters
|
1194
|
+
# @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).
|
1195
|
+
# @return [InlineResponse2006]
|
1196
|
+
def cards_register3_ds_post(card_id, opts = {})
|
1197
|
+
data, _status_code, _headers = cards_register3_ds_post_with_http_info(card_id, opts)
|
1198
|
+
return data
|
1199
|
+
end
|
1200
|
+
|
1201
|
+
# Register 3D secure
|
1202
|
+
# Register a card to 3D secure service.
|
1203
|
+
# @param card_id Card's ID to register
|
1204
|
+
# @param [Hash] opts the optional parameters
|
1205
|
+
# @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).
|
1206
|
+
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
1207
|
+
def cards_register3_ds_post_with_http_info(card_id, opts = {})
|
1208
|
+
if @api_client.config.debugging
|
1209
|
+
@api_client.config.logger.debug "Calling API: CardApi.cards_register3_ds_post ..."
|
1210
|
+
end
|
1211
|
+
# verify the required parameter 'card_id' is set
|
1212
|
+
if @api_client.config.client_side_validation && card_id.nil?
|
1213
|
+
fail ArgumentError, "Missing the required parameter 'card_id' when calling CardApi.cards_register3_ds_post"
|
1214
|
+
end
|
1215
|
+
# resource path
|
1216
|
+
local_var_path = "/cards/Register3DS"
|
1217
|
+
|
1218
|
+
# query parameters
|
1219
|
+
query_params = {}
|
1220
|
+
query_params[:'cardId'] = card_id
|
1221
|
+
query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
|
1222
|
+
|
1223
|
+
# header parameters
|
1224
|
+
header_params = {}
|
1225
|
+
|
1226
|
+
# form parameters
|
1227
|
+
form_params = {}
|
1228
|
+
|
1229
|
+
# http body (model)
|
1230
|
+
post_body = nil
|
1231
|
+
auth_names = ['api_key']
|
1232
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path,
|
1233
|
+
:header_params => header_params,
|
1234
|
+
:query_params => query_params,
|
1235
|
+
:form_params => form_params,
|
1236
|
+
:body => post_body,
|
1237
|
+
:auth_names => auth_names,
|
1238
|
+
:return_type => 'InlineResponse2006')
|
1239
|
+
if @api_client.config.debugging
|
1240
|
+
@api_client.config.logger.debug "API called: CardApi#cards_register3_ds_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1241
|
+
end
|
1242
|
+
return data, status_code, headers
|
1243
|
+
end
|
1244
|
+
|
1190
1245
|
# create a physical card
|
1191
1246
|
# Create a new physical card. To use a card you will need to activate it (/cards/{id}/Activate/).
|
1192
1247
|
# @param user_id User's id of cardholder
|
@@ -1195,17 +1250,17 @@ module TreezorClient
|
|
1195
1250
|
# @param card_tag Custom field
|
1196
1251
|
# @param card_print Card appearance code, also used to choose the program ID of the card
|
1197
1252
|
# @param [Hash] opts the optional parameters
|
1198
|
-
# @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).
|
1199
|
-
# @option opts [
|
1253
|
+
# @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).
|
1254
|
+
# @option opts [Integer] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
|
1200
1255
|
# @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
|
1201
1256
|
# @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
|
1202
|
-
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000
|
1203
|
-
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000
|
1257
|
+
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
|
1258
|
+
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000€.
|
1204
1259
|
# @option opts [Integer] :limit_atm_all ATM operations limit from beginning. No default value.
|
1205
1260
|
# @option opts [Integer] :limit_payment_year POS operations limit for a sliding year. No default value.
|
1206
1261
|
# @option opts [Integer] :limit_payment_month POS operations limit for a sliding month. No default value.
|
1207
|
-
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000
|
1208
|
-
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000
|
1262
|
+
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
|
1263
|
+
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
|
1209
1264
|
# @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
|
1210
1265
|
# @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
|
1211
1266
|
# @option opts [String] :pin Card's PIN code value. Default random PIN.
|
@@ -1214,9 +1269,9 @@ module TreezorClient
|
|
1214
1269
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId you want to apply
|
1215
1270
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId you want to apply
|
1216
1271
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId you want to apply
|
1217
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1218
|
-
# @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).
|
1219
|
-
# @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).
|
1272
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1273
|
+
# @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).
|
1274
|
+
# @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).
|
1220
1275
|
# @return [InlineResponse2006]
|
1221
1276
|
def cards_request_physical_post(user_id, wallet_id, perms_group, card_tag, card_print, opts = {})
|
1222
1277
|
data, _status_code, _headers = cards_request_physical_post_with_http_info(user_id, wallet_id, perms_group, card_tag, card_print, opts)
|
@@ -1231,17 +1286,17 @@ module TreezorClient
|
|
1231
1286
|
# @param card_tag Custom field
|
1232
1287
|
# @param card_print Card appearance code, also used to choose the program ID of the card
|
1233
1288
|
# @param [Hash] opts the optional parameters
|
1234
|
-
# @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).
|
1235
|
-
# @option opts [
|
1289
|
+
# @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).
|
1290
|
+
# @option opts [Integer] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
|
1236
1291
|
# @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
|
1237
1292
|
# @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
|
1238
|
-
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000
|
1239
|
-
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000
|
1293
|
+
# @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
|
1294
|
+
# @option opts [Integer] :limit_atm_day ATM operations limit for a single day. Default value 1000€.
|
1240
1295
|
# @option opts [Integer] :limit_atm_all ATM operations limit from beginning. No default value.
|
1241
1296
|
# @option opts [Integer] :limit_payment_year POS operations limit for a sliding year. No default value.
|
1242
1297
|
# @option opts [Integer] :limit_payment_month POS operations limit for a sliding month. No default value.
|
1243
|
-
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000
|
1244
|
-
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000
|
1298
|
+
# @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
|
1299
|
+
# @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
|
1245
1300
|
# @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
|
1246
1301
|
# @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
|
1247
1302
|
# @option opts [String] :pin Card's PIN code value. Default random PIN.
|
@@ -1250,9 +1305,9 @@ module TreezorClient
|
|
1250
1305
|
# @option opts [Integer] :mcc_restriction_group_id mccRestrictionGroupId you want to apply
|
1251
1306
|
# @option opts [Integer] :merchant_restriction_group_id merchantRestrictionGroupId you want to apply
|
1252
1307
|
# @option opts [Integer] :country_restriction_group_id countryRestrictionGroupId you want to apply
|
1253
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1254
|
-
# @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).
|
1255
|
-
# @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).
|
1308
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
1309
|
+
# @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).
|
1310
|
+
# @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).
|
1256
1311
|
# @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
|
1257
1312
|
def cards_request_physical_post_with_http_info(user_id, wallet_id, perms_group, card_tag, card_print, opts = {})
|
1258
1313
|
if @api_client.config.debugging
|