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
@@ -25,7 +25,7 @@ module TreezorClient
|
|
25
25
|
# @param id Merchant ID restriction Group internal id.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
28
|
-
# @return [
|
28
|
+
# @return [InlineResponse20015]
|
29
29
|
def delete_merchant_id_restriction_groups(id, opts = {})
|
30
30
|
data, _status_code, _headers = delete_merchant_id_restriction_groups_with_http_info(id, opts)
|
31
31
|
return data
|
@@ -36,7 +36,7 @@ module TreezorClient
|
|
36
36
|
# @param id Merchant ID restriction Group internal id.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
39
|
-
# @return [Array<(
|
39
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
40
40
|
def delete_merchant_id_restriction_groups_with_http_info(id, opts = {})
|
41
41
|
if @api_client.config.debugging
|
42
42
|
@api_client.config.logger.debug "Calling API: MerchantIdRestrictionGroupsApi.delete_merchant_id_restriction_groups ..."
|
@@ -71,7 +71,7 @@ module TreezorClient
|
|
71
71
|
:form_params => form_params,
|
72
72
|
:body => post_body,
|
73
73
|
:auth_names => auth_names,
|
74
|
-
:return_type => '
|
74
|
+
:return_type => 'InlineResponse20015')
|
75
75
|
if @api_client.config.debugging
|
76
76
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#delete_merchant_id_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
77
77
|
end
|
@@ -81,17 +81,17 @@ module TreezorClient
|
|
81
81
|
# search merchant id restriction groups
|
82
82
|
# Get merchant ID restriction groups that match search criteria.
|
83
83
|
# @param [Hash] opts the optional parameters
|
84
|
-
# @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).
|
85
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
86
|
-
# @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).
|
87
|
-
# @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).
|
84
|
+
# @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).
|
85
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
86
|
+
# @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).
|
87
|
+
# @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).
|
88
88
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
89
89
|
# @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate 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 |
|
90
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
91
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
92
|
-
# @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).
|
90
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
91
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
92
|
+
# @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).
|
93
93
|
# @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).
|
94
|
-
# @return [
|
94
|
+
# @return [InlineResponse20015]
|
95
95
|
def get_merchant_id_restriction_group(opts = {})
|
96
96
|
data, _status_code, _headers = get_merchant_id_restriction_group_with_http_info(opts)
|
97
97
|
return data
|
@@ -100,17 +100,17 @@ module TreezorClient
|
|
100
100
|
# search merchant id restriction groups
|
101
101
|
# Get merchant ID restriction groups that match search criteria.
|
102
102
|
# @param [Hash] opts the optional parameters
|
103
|
-
# @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).
|
104
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
105
|
-
# @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).
|
106
|
-
# @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).
|
103
|
+
# @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).
|
104
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
105
|
+
# @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).
|
106
|
+
# @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).
|
107
107
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
108
108
|
# @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate 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 |
|
109
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
110
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
111
|
-
# @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
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
110
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
111
|
+
# @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).
|
112
112
|
# @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).
|
113
|
-
# @return [Array<(
|
113
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
114
114
|
def get_merchant_id_restriction_group_with_http_info(opts = {})
|
115
115
|
if @api_client.config.debugging
|
116
116
|
@api_client.config.logger.debug "Calling API: MerchantIdRestrictionGroupsApi.get_merchant_id_restriction_group ..."
|
@@ -150,7 +150,7 @@ module TreezorClient
|
|
150
150
|
:form_params => form_params,
|
151
151
|
:body => post_body,
|
152
152
|
:auth_names => auth_names,
|
153
|
-
:return_type => '
|
153
|
+
:return_type => 'InlineResponse20015')
|
154
154
|
if @api_client.config.debugging
|
155
155
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#get_merchant_id_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
156
156
|
end
|
@@ -162,7 +162,7 @@ module TreezorClient
|
|
162
162
|
# @param id Merchant ID restriction Group internal id.
|
163
163
|
# @param [Hash] opts the optional parameters
|
164
164
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
165
|
-
# @return [
|
165
|
+
# @return [InlineResponse20015]
|
166
166
|
def get_merchant_id_restriction_groups_id(id, opts = {})
|
167
167
|
data, _status_code, _headers = get_merchant_id_restriction_groups_id_with_http_info(id, opts)
|
168
168
|
return data
|
@@ -173,7 +173,7 @@ module TreezorClient
|
|
173
173
|
# @param id Merchant ID restriction Group internal id.
|
174
174
|
# @param [Hash] opts the optional parameters
|
175
175
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
176
|
-
# @return [Array<(
|
176
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
177
177
|
def get_merchant_id_restriction_groups_id_with_http_info(id, opts = {})
|
178
178
|
if @api_client.config.debugging
|
179
179
|
@api_client.config.logger.debug "Calling API: MerchantIdRestrictionGroupsApi.get_merchant_id_restriction_groups_id ..."
|
@@ -208,7 +208,7 @@ module TreezorClient
|
|
208
208
|
:form_params => form_params,
|
209
209
|
:body => post_body,
|
210
210
|
:auth_names => auth_names,
|
211
|
-
:return_type => '
|
211
|
+
:return_type => 'InlineResponse20015')
|
212
212
|
if @api_client.config.debugging
|
213
213
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#get_merchant_id_restriction_groups_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
214
214
|
end
|
@@ -218,12 +218,12 @@ module TreezorClient
|
|
218
218
|
# create a merchantIdRestrictionGroup
|
219
219
|
# Create a new merchant ID restriction group in the system.
|
220
220
|
# @param [Hash] opts the optional parameters
|
221
|
-
# @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).
|
222
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
223
|
-
# @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).
|
224
|
-
# @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).
|
221
|
+
# @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).
|
222
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
223
|
+
# @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).
|
224
|
+
# @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).
|
225
225
|
# @option opts [Body7] :body
|
226
|
-
# @return [
|
226
|
+
# @return [InlineResponse20015]
|
227
227
|
def post_merchant_id_restriction_group(opts = {})
|
228
228
|
data, _status_code, _headers = post_merchant_id_restriction_group_with_http_info(opts)
|
229
229
|
return data
|
@@ -232,12 +232,12 @@ module TreezorClient
|
|
232
232
|
# create a merchantIdRestrictionGroup
|
233
233
|
# Create a new merchant ID restriction group in the system.
|
234
234
|
# @param [Hash] opts the optional parameters
|
235
|
-
# @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).
|
236
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
237
|
-
# @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).
|
238
|
-
# @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).
|
235
|
+
# @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).
|
236
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
237
|
+
# @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).
|
238
|
+
# @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).
|
239
239
|
# @option opts [Body7] :body
|
240
|
-
# @return [Array<(
|
240
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
241
241
|
def post_merchant_id_restriction_group_with_http_info(opts = {})
|
242
242
|
if @api_client.config.debugging
|
243
243
|
@api_client.config.logger.debug "Calling API: MerchantIdRestrictionGroupsApi.post_merchant_id_restriction_group ..."
|
@@ -271,7 +271,7 @@ module TreezorClient
|
|
271
271
|
:form_params => form_params,
|
272
272
|
:body => post_body,
|
273
273
|
:auth_names => auth_names,
|
274
|
-
:return_type => '
|
274
|
+
:return_type => 'InlineResponse20015')
|
275
275
|
if @api_client.config.debugging
|
276
276
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#post_merchant_id_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
277
277
|
end
|
@@ -282,12 +282,12 @@ module TreezorClient
|
|
282
282
|
# Edit a merchant id restriction group in the system.
|
283
283
|
# @param id Merchant ID restriction group's id.
|
284
284
|
# @param [Hash] opts the optional parameters
|
285
|
-
# @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).
|
286
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
287
|
-
# @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).
|
288
|
-
# @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).
|
285
|
+
# @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).
|
286
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
287
|
+
# @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).
|
288
|
+
# @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).
|
289
289
|
# @option opts [Body8] :body
|
290
|
-
# @return [
|
290
|
+
# @return [InlineResponse20015]
|
291
291
|
def put_merchant_id_restriction_groups(id, opts = {})
|
292
292
|
data, _status_code, _headers = put_merchant_id_restriction_groups_with_http_info(id, opts)
|
293
293
|
return data
|
@@ -297,12 +297,12 @@ module TreezorClient
|
|
297
297
|
# Edit a merchant id restriction group in the system.
|
298
298
|
# @param id Merchant ID restriction group's id.
|
299
299
|
# @param [Hash] opts the optional parameters
|
300
|
-
# @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).
|
301
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
302
|
-
# @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).
|
303
|
-
# @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).
|
300
|
+
# @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).
|
301
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
302
|
+
# @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).
|
303
|
+
# @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).
|
304
304
|
# @option opts [Body8] :body
|
305
|
-
# @return [Array<(
|
305
|
+
# @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
|
306
306
|
def put_merchant_id_restriction_groups_with_http_info(id, opts = {})
|
307
307
|
if @api_client.config.debugging
|
308
308
|
@api_client.config.logger.debug "Calling API: MerchantIdRestrictionGroupsApi.put_merchant_id_restriction_groups ..."
|
@@ -340,7 +340,7 @@ module TreezorClient
|
|
340
340
|
:form_params => form_params,
|
341
341
|
:body => post_body,
|
342
342
|
:auth_names => auth_names,
|
343
|
-
:return_type => '
|
343
|
+
:return_type => 'InlineResponse20015')
|
344
344
|
if @api_client.config.debugging
|
345
345
|
@api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#put_merchant_id_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
346
346
|
end
|
@@ -24,7 +24,7 @@ module TreezorClient
|
|
24
24
|
# Deactivate a payin in the system.
|
25
25
|
# @param id Payin's id.
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
-
# @return [
|
27
|
+
# @return [InlineResponse20017]
|
28
28
|
def delete_payin(id, opts = {})
|
29
29
|
data, _status_code, _headers = delete_payin_with_http_info(id, opts)
|
30
30
|
return data
|
@@ -34,7 +34,7 @@ module TreezorClient
|
|
34
34
|
# Deactivate a payin in the system.
|
35
35
|
# @param id Payin's id.
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
|
-
# @return [Array<(
|
37
|
+
# @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
|
38
38
|
def delete_payin_with_http_info(id, opts = {})
|
39
39
|
if @api_client.config.debugging
|
40
40
|
@api_client.config.logger.debug "Calling API: PayinApi.delete_payin ..."
|
@@ -68,7 +68,7 @@ module TreezorClient
|
|
68
68
|
:form_params => form_params,
|
69
69
|
:body => post_body,
|
70
70
|
:auth_names => auth_names,
|
71
|
-
:return_type => '
|
71
|
+
:return_type => 'InlineResponse20017')
|
72
72
|
if @api_client.config.debugging
|
73
73
|
@api_client.config.logger.debug "API called: PayinApi#delete_payin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
74
74
|
end
|
@@ -79,7 +79,7 @@ module TreezorClient
|
|
79
79
|
# Get a payin from the system by its id.
|
80
80
|
# @param id Payin's id.
|
81
81
|
# @param [Hash] opts the optional parameters
|
82
|
-
# @return [
|
82
|
+
# @return [InlineResponse20017]
|
83
83
|
def get_payin(id, opts = {})
|
84
84
|
data, _status_code, _headers = get_payin_with_http_info(id, opts)
|
85
85
|
return data
|
@@ -89,7 +89,7 @@ module TreezorClient
|
|
89
89
|
# Get a payin from the system by its id.
|
90
90
|
# @param id Payin's id.
|
91
91
|
# @param [Hash] opts the optional parameters
|
92
|
-
# @return [Array<(
|
92
|
+
# @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
|
93
93
|
def get_payin_with_http_info(id, opts = {})
|
94
94
|
if @api_client.config.debugging
|
95
95
|
@api_client.config.logger.debug "Calling API: PayinApi.get_payin ..."
|
@@ -123,7 +123,7 @@ module TreezorClient
|
|
123
123
|
:form_params => form_params,
|
124
124
|
:body => post_body,
|
125
125
|
:auth_names => auth_names,
|
126
|
-
:return_type => '
|
126
|
+
:return_type => 'InlineResponse20017')
|
127
127
|
if @api_client.config.debugging
|
128
128
|
@api_client.config.logger.debug "API called: PayinApi#get_payin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
129
129
|
end
|
@@ -133,10 +133,10 @@ module TreezorClient
|
|
133
133
|
# search pay ins
|
134
134
|
# Get payins that match search criteria.
|
135
135
|
# @param [Hash] opts the optional parameters
|
136
|
-
# @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).
|
137
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
138
|
-
# @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).
|
139
|
-
# @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
136
|
+
# @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).
|
137
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
138
|
+
# @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).
|
139
|
+
# @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
140
140
|
# @option opts [Integer] :payin_id Payin's id.
|
141
141
|
# @option opts [Integer] :wallet_id Payin's wallet id.
|
142
142
|
# @option opts [String] :payin_tag Client custom data.
|
@@ -148,15 +148,15 @@ module TreezorClient
|
|
148
148
|
# @option opts [String] :event_alias Wallet eventAlias of the payin (credited wallet).
|
149
149
|
# @option opts [Integer] :wallet_type_id Payin's wallet type id.
|
150
150
|
# @option opts [String] :payment_method_id Payin's payment method id.
|
151
|
-
# @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)
|
152
|
-
# @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)
|
153
|
-
# @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)
|
154
|
-
# @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)
|
155
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
156
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
157
|
-
# @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).
|
151
|
+
# @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)
|
152
|
+
# @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)
|
153
|
+
# @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)
|
154
|
+
# @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)
|
155
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
156
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
157
|
+
# @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).
|
158
158
|
# @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).
|
159
|
-
# @return [
|
159
|
+
# @return [InlineResponse20017]
|
160
160
|
def get_payins(opts = {})
|
161
161
|
data, _status_code, _headers = get_payins_with_http_info(opts)
|
162
162
|
return data
|
@@ -165,10 +165,10 @@ module TreezorClient
|
|
165
165
|
# search pay ins
|
166
166
|
# Get payins that match search criteria.
|
167
167
|
# @param [Hash] opts the optional parameters
|
168
|
-
# @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).
|
169
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
170
|
-
# @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).
|
171
|
-
# @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
168
|
+
# @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).
|
169
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
170
|
+
# @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).
|
171
|
+
# @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
172
172
|
# @option opts [Integer] :payin_id Payin's id.
|
173
173
|
# @option opts [Integer] :wallet_id Payin's wallet id.
|
174
174
|
# @option opts [String] :payin_tag Client custom data.
|
@@ -180,15 +180,15 @@ module TreezorClient
|
|
180
180
|
# @option opts [String] :event_alias Wallet eventAlias of the payin (credited wallet).
|
181
181
|
# @option opts [Integer] :wallet_type_id Payin's wallet type id.
|
182
182
|
# @option opts [String] :payment_method_id Payin's payment method id.
|
183
|
-
# @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)
|
184
|
-
# @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)
|
185
|
-
# @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)
|
186
|
-
# @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)
|
187
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
188
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
189
|
-
# @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).
|
183
|
+
# @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)
|
184
|
+
# @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)
|
185
|
+
# @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)
|
186
|
+
# @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)
|
187
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
188
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
189
|
+
# @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).
|
190
190
|
# @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).
|
191
|
-
# @return [Array<(
|
191
|
+
# @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
|
192
192
|
def get_payins_with_http_info(opts = {})
|
193
193
|
if @api_client.config.debugging
|
194
194
|
@api_client.config.logger.debug "Calling API: PayinApi.get_payins ..."
|
@@ -241,7 +241,7 @@ module TreezorClient
|
|
241
241
|
:form_params => form_params,
|
242
242
|
:body => post_body,
|
243
243
|
:auth_names => auth_names,
|
244
|
-
:return_type => '
|
244
|
+
:return_type => 'InlineResponse20017')
|
245
245
|
if @api_client.config.debugging
|
246
246
|
@api_client.config.logger.debug "API called: PayinApi#get_payins\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
247
247
|
end
|
@@ -256,10 +256,10 @@ module TreezorClient
|
|
256
256
|
# @param amount Pay in amount.
|
257
257
|
# @param currency Payin currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217). Must be the same as the wallet's.
|
258
258
|
# @param [Hash] opts the optional parameters
|
259
|
-
# @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).
|
260
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
261
|
-
# @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).
|
262
|
-
# @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).
|
259
|
+
# @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).
|
260
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
261
|
+
# @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).
|
262
|
+
# @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).
|
263
263
|
# @option opts [String] :payin_tag Client custom data.
|
264
264
|
# @option opts [Integer] :oneclickcard_id Oneclick card's id. Mandatory if payment method is 14. Useless otherwise.
|
265
265
|
# @option opts [String] :payment_accepted_url Url where cardholder is redirected if payment is successful. When using paymentMethodId 23 and 24 an HTTPS URL is mandatory.
|
@@ -273,7 +273,7 @@ module TreezorClient
|
|
273
273
|
# @option opts [String] :created_ip User's IP address
|
274
274
|
# @option opts [String] :payin_date The date at which the SDD should be presented. This parameter is mandatory when performing a payin of method SDD Core. Format is YYYY-MM-DD The date should follow some requirements (Traget 2 working day) : - Be a weekday (Monday to Friday) - January 1st is excluded - May 1st is excluded - December 25 is excluded - December 26th is excluded - Easter day is excluded - Easter Monday is excluded - Good Friday is excluded
|
275
275
|
# @option opts [Integer] :mandate_id The id of the mandate. This parameter is mandatory when performing a payin with method SDD Core.
|
276
|
-
# @return [
|
276
|
+
# @return [InlineResponse20017]
|
277
277
|
def post_payin(wallet_id, user_id, payment_method_id, amount, currency, opts = {})
|
278
278
|
data, _status_code, _headers = post_payin_with_http_info(wallet_id, user_id, payment_method_id, amount, currency, opts)
|
279
279
|
return data
|
@@ -287,10 +287,10 @@ module TreezorClient
|
|
287
287
|
# @param amount Pay in amount.
|
288
288
|
# @param currency Payin currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217). Must be the same as the wallet's.
|
289
289
|
# @param [Hash] opts the optional parameters
|
290
|
-
# @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).
|
291
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
292
|
-
# @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).
|
293
|
-
# @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).
|
290
|
+
# @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).
|
291
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
292
|
+
# @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).
|
293
|
+
# @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).
|
294
294
|
# @option opts [String] :payin_tag Client custom data.
|
295
295
|
# @option opts [Integer] :oneclickcard_id Oneclick card's id. Mandatory if payment method is 14. Useless otherwise.
|
296
296
|
# @option opts [String] :payment_accepted_url Url where cardholder is redirected if payment is successful. When using paymentMethodId 23 and 24 an HTTPS URL is mandatory.
|
@@ -304,7 +304,7 @@ module TreezorClient
|
|
304
304
|
# @option opts [String] :created_ip User's IP address
|
305
305
|
# @option opts [String] :payin_date The date at which the SDD should be presented. This parameter is mandatory when performing a payin of method SDD Core. Format is YYYY-MM-DD The date should follow some requirements (Traget 2 working day) : - Be a weekday (Monday to Friday) - January 1st is excluded - May 1st is excluded - December 25 is excluded - December 26th is excluded - Easter day is excluded - Easter Monday is excluded - Good Friday is excluded
|
306
306
|
# @option opts [Integer] :mandate_id The id of the mandate. This parameter is mandatory when performing a payin with method SDD Core.
|
307
|
-
# @return [Array<(
|
307
|
+
# @return [Array<(InlineResponse20017, Fixnum, Hash)>] InlineResponse20017 data, response status code and response headers
|
308
308
|
def post_payin_with_http_info(wallet_id, user_id, payment_method_id, amount, currency, opts = {})
|
309
309
|
if @api_client.config.debugging
|
310
310
|
@api_client.config.logger.debug "Calling API: PayinApi.post_payin ..."
|
@@ -379,7 +379,7 @@ module TreezorClient
|
|
379
379
|
:form_params => form_params,
|
380
380
|
:body => post_body,
|
381
381
|
:auth_names => auth_names,
|
382
|
-
:return_type => '
|
382
|
+
:return_type => 'InlineResponse20017')
|
383
383
|
if @api_client.config.debugging
|
384
384
|
@api_client.config.logger.debug "API called: PayinApi#post_payin\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
385
385
|
end
|