treezor_client 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -5
  3. data/Gemfile.lock +4 -6
  4. data/README.md +19 -5
  5. data/config.json +10 -0
  6. data/docs/BalanceApi.md +8 -8
  7. data/docs/BankaccountApi.md +30 -30
  8. data/docs/BeneficiariesApi.md +30 -30
  9. data/docs/Beneficiary.md +1 -0
  10. data/docs/BusinessApi.md +26 -26
  11. data/docs/Card.md +2 -2
  12. data/docs/CardApi.md +209 -150
  13. data/docs/CardDigitalization.md +1 -3
  14. data/docs/CardDigitalizationsApi.md +73 -16
  15. data/docs/CardReserveApi.md +24 -24
  16. data/docs/CardtransactionApi.md +16 -14
  17. data/docs/CountryRestrictionGroup.md +14 -0
  18. data/docs/CountryRestrictionGroupsApi.md +40 -40
  19. data/docs/Document.md +1 -0
  20. data/docs/DocumentApi.md +46 -44
  21. data/docs/HeartbeatApi.md +8 -8
  22. data/docs/InlineResponse20010Cardtransactions.md +3 -3
  23. data/docs/InlineResponse20011.md +1 -1
  24. data/docs/InlineResponse20011Cardtransactions.md +58 -0
  25. data/docs/InlineResponse20012.md +1 -1
  26. data/docs/InlineResponse20013.md +1 -1
  27. data/docs/InlineResponse20014.md +1 -1
  28. data/docs/InlineResponse20015.md +1 -1
  29. data/docs/InlineResponse20016.md +1 -1
  30. data/docs/InlineResponse20017.md +1 -1
  31. data/docs/InlineResponse20018.md +1 -1
  32. data/docs/InlineResponse20019.md +1 -1
  33. data/docs/InlineResponse20020.md +1 -1
  34. data/docs/InlineResponse20021.md +1 -1
  35. data/docs/InlineResponse20022.md +1 -1
  36. data/docs/InlineResponse20023.md +1 -1
  37. data/docs/InlineResponse20024.md +1 -1
  38. data/docs/InlineResponse20025.md +1 -1
  39. data/docs/InlineResponse20026.md +8 -0
  40. data/docs/InlineResponse20027.md +8 -0
  41. data/docs/InlineResponse20028.md +8 -0
  42. data/docs/InlineResponse2005Businessinformations.md +2 -2
  43. data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
  44. data/docs/MandateApi.md +50 -50
  45. data/docs/MccRestrictionGroupsApi.md +40 -40
  46. data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
  47. data/docs/PayinApi.md +38 -38
  48. data/docs/PayinrefundApi.md +38 -38
  49. data/docs/PayoutApi.md +38 -38
  50. data/docs/PayoutRefund.md +22 -0
  51. data/docs/PayoutRefundsApi.md +82 -0
  52. data/docs/TaxResidence.md +15 -0
  53. data/docs/TaxResidenceApi.md +319 -0
  54. data/docs/TransactionApi.md +22 -22
  55. data/docs/TransferApi.md +42 -42
  56. data/docs/TransferrefundApi.md +42 -42
  57. data/docs/User.md +3 -0
  58. data/docs/UserApi.md +104 -85
  59. data/docs/VirtualibansApi.md +46 -46
  60. data/docs/WalletApi.md +84 -84
  61. data/lib/treezor_client/api/balance_api.rb +8 -8
  62. data/lib/treezor_client/api/bankaccount_api.rb +30 -30
  63. data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
  64. data/lib/treezor_client/api/business_api.rb +26 -26
  65. data/lib/treezor_client/api/card_api.rb +209 -154
  66. data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
  67. data/lib/treezor_client/api/card_reserve_api.rb +24 -24
  68. data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
  69. data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
  70. data/lib/treezor_client/api/document_api.rb +64 -57
  71. data/lib/treezor_client/api/heartbeat_api.rb +8 -8
  72. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
  73. data/lib/treezor_client/api/mandate_api.rb +58 -58
  74. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
  75. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
  76. data/lib/treezor_client/api/payin_api.rb +42 -42
  77. data/lib/treezor_client/api/payinrefund_api.rb +42 -42
  78. data/lib/treezor_client/api/payout_api.rb +42 -42
  79. data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
  80. data/lib/treezor_client/api/tax_residence_api.rb +319 -0
  81. data/lib/treezor_client/api/transaction_api.rb +24 -24
  82. data/lib/treezor_client/api/transfer_api.rb +46 -46
  83. data/lib/treezor_client/api/transferrefund_api.rb +46 -46
  84. data/lib/treezor_client/api/user_api.rb +124 -93
  85. data/lib/treezor_client/api/virtualibans_api.rb +50 -50
  86. data/lib/treezor_client/api/wallet_api.rb +89 -89
  87. data/lib/treezor_client/models/beneficiary.rb +11 -1
  88. data/lib/treezor_client/models/card.rb +2 -2
  89. data/lib/treezor_client/models/card_digitalization.rb +3 -20
  90. data/lib/treezor_client/models/country_restriction_group.rb +284 -0
  91. data/lib/treezor_client/models/document.rb +10 -1
  92. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
  93. data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
  94. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +642 -0
  95. data/lib/treezor_client/models/inline_response_200_12.rb +8 -8
  96. data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
  97. data/lib/treezor_client/models/inline_response_200_14.rb +1 -1
  98. data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
  99. data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
  100. data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
  101. data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
  102. data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
  103. data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
  104. data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
  105. data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
  106. data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
  107. data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
  108. data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
  109. data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
  110. data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
  111. data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
  112. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
  113. data/lib/treezor_client/models/payout_refund.rb +347 -0
  114. data/lib/treezor_client/models/tax_residence.rb +259 -0
  115. data/lib/treezor_client/models/user.rb +28 -1
  116. data/lib/treezor_client/version.rb +1 -1
  117. data/lib/treezor_client.rb +9 -1
  118. data/pkg/treezor_client-1.0.0.gem +0 -0
  119. data/pkg/treezor_client-1.1.0.gem +0 -0
  120. data/pkg/treezor_client-1.2.0.gem +0 -0
  121. data/spec/api/balance_api_spec.rb +4 -4
  122. data/spec/api/bankaccount_api_spec.rb +15 -15
  123. data/spec/api/beneficiaries_api_spec.rb +15 -15
  124. data/spec/api/business_api_spec.rb +13 -13
  125. data/spec/api/card_api_spec.rb +93 -75
  126. data/spec/api/card_digitalizations_api_spec.rb +19 -6
  127. data/spec/api/card_reserve_api_spec.rb +12 -12
  128. data/spec/api/cardtransaction_api_spec.rb +8 -7
  129. data/spec/api/country_restriction_groups_api_spec.rb +20 -20
  130. data/spec/api/document_api_spec.rb +22 -21
  131. data/spec/api/heartbeat_api_spec.rb +4 -4
  132. data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
  133. data/spec/api/mandate_api_spec.rb +26 -26
  134. data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
  135. data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
  136. data/spec/api/payin_api_spec.rb +19 -19
  137. data/spec/api/payinrefund_api_spec.rb +19 -19
  138. data/spec/api/payout_api_spec.rb +19 -19
  139. data/spec/api/payout_refunds_api_spec.rb +56 -0
  140. data/spec/api/tax_residence_api_spec.rb +108 -0
  141. data/spec/api/transaction_api_spec.rb +11 -11
  142. data/spec/api/transfer_api_spec.rb +21 -21
  143. data/spec/api/transferrefund_api_spec.rb +21 -21
  144. data/spec/api/user_api_spec.rb +58 -41
  145. data/spec/api/virtualibans_api_spec.rb +23 -23
  146. data/spec/api/wallet_api_spec.rb +42 -42
  147. data/spec/models/beneficiary_spec.rb +6 -0
  148. data/spec/models/card_digitalization_spec.rb +0 -12
  149. data/spec/models/card_spec.rb +6 -0
  150. data/spec/models/country_restriction_group_spec.rb +82 -0
  151. data/spec/models/document_spec.rb +6 -0
  152. data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
  153. data/spec/models/inline_response_200_11_spec.rb +1 -1
  154. data/spec/models/inline_response_200_12_spec.rb +1 -1
  155. data/spec/models/inline_response_200_13_spec.rb +1 -1
  156. data/spec/models/inline_response_200_16_spec.rb +1 -1
  157. data/spec/models/inline_response_200_17_spec.rb +1 -1
  158. data/spec/models/inline_response_200_18_spec.rb +1 -1
  159. data/spec/models/inline_response_200_19_spec.rb +1 -1
  160. data/spec/models/inline_response_200_20_spec.rb +1 -1
  161. data/spec/models/inline_response_200_21_spec.rb +1 -1
  162. data/spec/models/inline_response_200_22_spec.rb +1 -1
  163. data/spec/models/inline_response_200_24_spec.rb +1 -1
  164. data/spec/models/inline_response_200_25_spec.rb +1 -1
  165. data/spec/models/inline_response_200_26_spec.rb +42 -0
  166. data/spec/models/inline_response_200_27_spec.rb +42 -0
  167. data/spec/models/inline_response_200_28_spec.rb +42 -0
  168. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
  169. data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
  170. data/spec/models/payout_refund_spec.rb +130 -0
  171. data/spec/models/tax_residence_spec.rb +84 -0
  172. data/spec/models/user_spec.rb +42 -0
  173. data/treezor_api_spec.yaml +1841 -1207
  174. data/treezor_client.gemspec +1 -3
  175. metadata +45 -9
  176. data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
  177. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
@@ -24,7 +24,7 @@ module TreezorClient
24
24
  # Change payin refund's status to CANCELED. A validated payin refund can't be cancelled.
25
25
  # @param id Payinrefund's internal id.
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse20018]
27
+ # @return [InlineResponse20019]
28
28
  def delete_payinrefund(id, opts = {})
29
29
  data, _status_code, _headers = delete_payinrefund_with_http_info(id, opts)
30
30
  return data
@@ -34,7 +34,7 @@ module TreezorClient
34
34
  # Change payin refund's status to CANCELED. A validated payin refund can't be cancelled.
35
35
  # @param id Payinrefund's internal id.
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
38
38
  def delete_payinrefund_with_http_info(id, opts = {})
39
39
  if @api_client.config.debugging
40
40
  @api_client.config.logger.debug "Calling API: PayinrefundApi.delete_payinrefund ..."
@@ -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 => 'InlineResponse20018')
71
+ :return_type => 'InlineResponse20019')
72
72
  if @api_client.config.debugging
73
73
  @api_client.config.logger.debug "API called: PayinrefundApi#delete_payinrefund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
74
74
  end
@@ -79,7 +79,7 @@ module TreezorClient
79
79
  # Get a payin refund from the system.
80
80
  # @param id Payinrefund&#39;s internal id.
81
81
  # @param [Hash] opts the optional parameters
82
- # @return [InlineResponse20018]
82
+ # @return [InlineResponse20019]
83
83
  def get_payinrefund(id, opts = {})
84
84
  data, _status_code, _headers = get_payinrefund_with_http_info(id, opts)
85
85
  return data
@@ -89,7 +89,7 @@ module TreezorClient
89
89
  # Get a payin refund from the system.
90
90
  # @param id Payinrefund&#39;s internal id.
91
91
  # @param [Hash] opts the optional parameters
92
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
92
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
93
93
  def get_payinrefund_with_http_info(id, opts = {})
94
94
  if @api_client.config.debugging
95
95
  @api_client.config.logger.debug "Calling API: PayinrefundApi.get_payinrefund ..."
@@ -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 => 'InlineResponse20018')
126
+ :return_type => 'InlineResponse20019')
127
127
  if @api_client.config.debugging
128
128
  @api_client.config.logger.debug "API called: PayinrefundApi#get_payinrefund\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
129
129
  end
@@ -133,10 +133,10 @@ module TreezorClient
133
133
  # search pay in refunds
134
134
  # Search for payinrefunds in the system.
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&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
139
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;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&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
139
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
140
140
  # @option opts [Integer] :payin_id Payin&#39;s id.
141
141
  # @option opts [Integer] :payinrefund_id Payinrefund&#39;s id.
142
142
  # @option opts [String] :payinrefund_tag Custom data.
@@ -146,15 +146,15 @@ module TreezorClient
146
146
  # @option opts [Integer] :user_id User&#39;s id who made refunds.
147
147
  # @option opts [String] :amount Refund&#39;s amount.
148
148
  # @option opts [String] :currency Transfert amount currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
149
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
150
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
151
- # @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).
149
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
150
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
151
+ # @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).
152
152
  # @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).
153
- # @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)
154
- # @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)
155
- # @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)
156
- # @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)
157
- # @return [InlineResponse20018]
153
+ # @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)
154
+ # @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)
155
+ # @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)
156
+ # @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)
157
+ # @return [InlineResponse20019]
158
158
  def get_payinrefunds(opts = {})
159
159
  data, _status_code, _headers = get_payinrefunds_with_http_info(opts)
160
160
  return data
@@ -163,10 +163,10 @@ module TreezorClient
163
163
  # search pay in refunds
164
164
  # Search for payinrefunds in the system.
165
165
  # @param [Hash] opts the optional parameters
166
- # @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).
167
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
168
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
169
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
166
+ # @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).
167
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
168
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
169
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
170
170
  # @option opts [Integer] :payin_id Payin&#39;s id.
171
171
  # @option opts [Integer] :payinrefund_id Payinrefund&#39;s id.
172
172
  # @option opts [String] :payinrefund_tag Custom data.
@@ -176,15 +176,15 @@ module TreezorClient
176
176
  # @option opts [Integer] :user_id User&#39;s id who made refunds.
177
177
  # @option opts [String] :amount Refund&#39;s amount.
178
178
  # @option opts [String] :currency Transfert amount currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
179
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
180
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
181
- # @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).
179
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
180
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
181
+ # @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).
182
182
  # @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).
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
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
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
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
188
188
  def get_payinrefunds_with_http_info(opts = {})
189
189
  if @api_client.config.debugging
190
190
  @api_client.config.logger.debug "Calling API: PayinrefundApi.get_payinrefunds ..."
@@ -235,7 +235,7 @@ module TreezorClient
235
235
  :form_params => form_params,
236
236
  :body => post_body,
237
237
  :auth_names => auth_names,
238
- :return_type => 'InlineResponse20018')
238
+ :return_type => 'InlineResponse20019')
239
239
  if @api_client.config.debugging
240
240
  @api_client.config.logger.debug "API called: PayinrefundApi#get_payinrefunds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
241
241
  end
@@ -248,13 +248,13 @@ module TreezorClient
248
248
  # @param amount Refund amount.
249
249
  # @param currency Refund currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
250
250
  # @param [Hash] opts the optional parameters
251
- # @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).
252
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
253
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
254
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
251
+ # @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).
252
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
253
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
254
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
255
255
  # @option opts [String] :payinrefund_tag Custom data.
256
256
  # @option opts [String] :comment End user, client or issuer comment.
257
- # @return [InlineResponse20018]
257
+ # @return [InlineResponse20019]
258
258
  def post_payinrefunds(payin_id, amount, currency, opts = {})
259
259
  data, _status_code, _headers = post_payinrefunds_with_http_info(payin_id, amount, currency, opts)
260
260
  return data
@@ -266,13 +266,13 @@ module TreezorClient
266
266
  # @param amount Refund amount.
267
267
  # @param currency Refund currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
268
268
  # @param [Hash] opts the optional parameters
269
- # @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).
270
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
271
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
272
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
269
+ # @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).
270
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
271
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
272
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
273
273
  # @option opts [String] :payinrefund_tag Custom data.
274
274
  # @option opts [String] :comment End user, client or issuer comment.
275
- # @return [Array<(InlineResponse20018, Fixnum, Hash)>] InlineResponse20018 data, response status code and response headers
275
+ # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
276
276
  def post_payinrefunds_with_http_info(payin_id, amount, currency, opts = {})
277
277
  if @api_client.config.debugging
278
278
  @api_client.config.logger.debug "Calling API: PayinrefundApi.post_payinrefunds ..."
@@ -323,7 +323,7 @@ module TreezorClient
323
323
  :form_params => form_params,
324
324
  :body => post_body,
325
325
  :auth_names => auth_names,
326
- :return_type => 'InlineResponse20018')
326
+ :return_type => 'InlineResponse20019')
327
327
  if @api_client.config.debugging
328
328
  @api_client.config.logger.debug "API called: PayinrefundApi#post_payinrefunds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
329
329
  end
@@ -24,7 +24,7 @@ module TreezorClient
24
24
  # Change pay out status to CANCELED. A VALIDATED pay out can't be canceled.
25
25
  # @param id Payouts internal id.
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse20019]
27
+ # @return [InlineResponse20020]
28
28
  def delete_payout(id, opts = {})
29
29
  data, _status_code, _headers = delete_payout_with_http_info(id, opts)
30
30
  return data
@@ -34,7 +34,7 @@ module TreezorClient
34
34
  # Change pay out status to CANCELED. A VALIDATED pay out can&#39;t be canceled.
35
35
  # @param id Payouts internal id.
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
38
38
  def delete_payout_with_http_info(id, opts = {})
39
39
  if @api_client.config.debugging
40
40
  @api_client.config.logger.debug "Calling API: PayoutApi.delete_payout ..."
@@ -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 => 'InlineResponse20019')
71
+ :return_type => 'InlineResponse20020')
72
72
  if @api_client.config.debugging
73
73
  @api_client.config.logger.debug "API called: PayoutApi#delete_payout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
74
74
  end
@@ -79,7 +79,7 @@ module TreezorClient
79
79
  # Get a pay out from the system.
80
80
  # @param id Payouts internal id.
81
81
  # @param [Hash] opts the optional parameters
82
- # @return [InlineResponse20019]
82
+ # @return [InlineResponse20020]
83
83
  def get_payout(id, opts = {})
84
84
  data, _status_code, _headers = get_payout_with_http_info(id, opts)
85
85
  return data
@@ -89,7 +89,7 @@ module TreezorClient
89
89
  # Get a pay out from the system.
90
90
  # @param id Payouts internal id.
91
91
  # @param [Hash] opts the optional parameters
92
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
92
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
93
93
  def get_payout_with_http_info(id, opts = {})
94
94
  if @api_client.config.debugging
95
95
  @api_client.config.logger.debug "Calling API: PayoutApi.get_payout ..."
@@ -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 => 'InlineResponse20019')
126
+ :return_type => 'InlineResponse20020')
127
127
  if @api_client.config.debugging
128
128
  @api_client.config.logger.debug "API called: PayoutApi#get_payout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
129
129
  end
@@ -133,10 +133,10 @@ module TreezorClient
133
133
  # search pay outs
134
134
  # Get pay out 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&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
139
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;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&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
139
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
140
140
  # @option opts [Integer] :payout_id Payout&#39;s Id
141
141
  # @option opts [String] :payout_tag Custom data.
142
142
  # @option opts [String] :payout_status pay out status; Possible values: * CANCELED * PENDING * VALIDATED
@@ -153,15 +153,15 @@ module TreezorClient
153
153
  # @option opts [String] :label Pay out label that will be displayed in the receiver&#39;s account.
154
154
  # @option opts [String] :amount Pay out amount.
155
155
  # @option opts [String] :currency Transfert amount currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
156
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
157
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
158
- # @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).
156
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
157
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
158
+ # @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).
159
159
  # @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).
160
- # @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)
161
- # @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)
162
- # @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)
163
- # @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)
164
- # @return [InlineResponse20019]
160
+ # @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)
161
+ # @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)
162
+ # @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)
163
+ # @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)
164
+ # @return [InlineResponse20020]
165
165
  def get_payouts(opts = {})
166
166
  data, _status_code, _headers = get_payouts_with_http_info(opts)
167
167
  return data
@@ -170,10 +170,10 @@ module TreezorClient
170
170
  # search pay outs
171
171
  # Get pay out that match search criteria.
172
172
  # @param [Hash] opts the optional parameters
173
- # @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).
174
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
175
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
176
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
173
+ # @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).
174
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
175
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
176
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
177
177
  # @option opts [Integer] :payout_id Payout&#39;s Id
178
178
  # @option opts [String] :payout_tag Custom data.
179
179
  # @option opts [String] :payout_status pay out status; Possible values: * CANCELED * PENDING * VALIDATED
@@ -190,15 +190,15 @@ module TreezorClient
190
190
  # @option opts [String] :label Pay out label that will be displayed in the receiver&#39;s account.
191
191
  # @option opts [String] :amount Pay out amount.
192
192
  # @option opts [String] :currency Transfert amount currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
193
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
194
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
195
- # @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).
193
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
194
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
195
+ # @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).
196
196
  # @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).
197
- # @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)
198
- # @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)
199
- # @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)
200
- # @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)
201
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
197
+ # @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)
198
+ # @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)
199
+ # @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)
200
+ # @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)
201
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
202
202
  def get_payouts_with_http_info(opts = {})
203
203
  if @api_client.config.debugging
204
204
  @api_client.config.logger.debug "Calling API: PayoutApi.get_payouts ..."
@@ -256,7 +256,7 @@ module TreezorClient
256
256
  :form_params => form_params,
257
257
  :body => post_body,
258
258
  :auth_names => auth_names,
259
- :return_type => 'InlineResponse20019')
259
+ :return_type => 'InlineResponse20020')
260
260
  if @api_client.config.debugging
261
261
  @api_client.config.logger.debug "API called: PayoutApi#get_payouts\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
262
262
  end
@@ -269,16 +269,16 @@ module TreezorClient
269
269
  # @param amount Pay out amount.
270
270
  # @param currency Transfert amount currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
271
271
  # @param [Hash] opts the optional parameters
272
- # @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).
273
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
274
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
275
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
272
+ # @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).
273
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
274
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
275
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
276
276
  # @option opts [String] :payout_tag Custom data.
277
277
  # @option opts [Integer] :bankaccount_id Pay out bank account&#39;s id. Mandatory id beneficiaryId is not provided. If bankaccountId and beneficiaryId are both provided, the beneficiaryId will be used.
278
278
  # @option opts [Integer] :beneficiary_id Pay out beneficiary&#39;s id. Mandatory id bankaccountId is not provided. If bankaccountId and beneficiaryId are both provided, the beneficiaryId will be used.
279
279
  # @option opts [String] :label Pay out label that will be displayed in the receiver&#39;s account (140 chars max).
280
280
  # @option opts [String] :supporting_file_link Support file link
281
- # @return [InlineResponse20019]
281
+ # @return [InlineResponse20020]
282
282
  def post_payout(wallet_id, amount, currency, opts = {})
283
283
  data, _status_code, _headers = post_payout_with_http_info(wallet_id, amount, currency, opts)
284
284
  return data
@@ -290,16 +290,16 @@ module TreezorClient
290
290
  # @param amount Pay out amount.
291
291
  # @param currency Transfert amount currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217).
292
292
  # @param [Hash] opts the optional parameters
293
- # @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).
294
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
295
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
296
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
293
+ # @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).
294
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
295
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
296
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
297
297
  # @option opts [String] :payout_tag Custom data.
298
298
  # @option opts [Integer] :bankaccount_id Pay out bank account&#39;s id. Mandatory id beneficiaryId is not provided. If bankaccountId and beneficiaryId are both provided, the beneficiaryId will be used.
299
299
  # @option opts [Integer] :beneficiary_id Pay out beneficiary&#39;s id. Mandatory id bankaccountId is not provided. If bankaccountId and beneficiaryId are both provided, the beneficiaryId will be used.
300
300
  # @option opts [String] :label Pay out label that will be displayed in the receiver&#39;s account (140 chars max).
301
301
  # @option opts [String] :supporting_file_link Support file link
302
- # @return [Array<(InlineResponse20019, Fixnum, Hash)>] InlineResponse20019 data, response status code and response headers
302
+ # @return [Array<(InlineResponse20020, Fixnum, Hash)>] InlineResponse20020 data, response status code and response headers
303
303
  def post_payout_with_http_info(wallet_id, amount, currency, opts = {})
304
304
  if @api_client.config.debugging
305
305
  @api_client.config.logger.debug "Calling API: PayoutApi.post_payout ..."
@@ -353,7 +353,7 @@ module TreezorClient
353
353
  :form_params => form_params,
354
354
  :body => post_body,
355
355
  :auth_names => auth_names,
356
- :return_type => 'InlineResponse20019')
356
+ :return_type => 'InlineResponse20020')
357
357
  if @api_client.config.debugging
358
358
  @api_client.config.logger.debug "API called: PayoutApi#post_payout\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
359
359
  end
@@ -0,0 +1,102 @@
1
+ =begin
2
+ #Treezor
3
+
4
+ #Treezor API. more info [here](https://www.treezor.com).
5
+
6
+ OpenAPI spec version: 0.1.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require "uri"
14
+
15
+ module TreezorClient
16
+ class PayoutRefundsApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+
23
+ # search pay outs refund
24
+ # Get pay out refund that match search criteria.
25
+ # @param [Hash] opts the optional parameters
26
+ # @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).
27
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
28
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
29
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
30
+ # @option opts [Integer] :id PayoutRefund id
31
+ # @option opts [String] :tag PayoutRefund tag
32
+ # @option opts [String] :code_status PayoutRefund Code Status
33
+ # @option opts [String] :information_status PayoutRefund Information Status
34
+ # @option opts [Integer] :payout_id Payout Id
35
+ # @option opts [Integer] :page_number The page number
36
+ # @return [InlineResponse20021]
37
+ def get_payout_refunds(opts = {})
38
+ data, _status_code, _headers = get_payout_refunds_with_http_info(opts)
39
+ return data
40
+ end
41
+
42
+ # search pay outs refund
43
+ # Get pay out refund that match search criteria.
44
+ # @param [Hash] opts the optional parameters
45
+ # @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).
46
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
47
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
48
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
49
+ # @option opts [Integer] :id PayoutRefund id
50
+ # @option opts [String] :tag PayoutRefund tag
51
+ # @option opts [String] :code_status PayoutRefund Code Status
52
+ # @option opts [String] :information_status PayoutRefund Information Status
53
+ # @option opts [Integer] :payout_id Payout Id
54
+ # @option opts [Integer] :page_number The page number
55
+ # @return [Array<(InlineResponse20021, Fixnum, Hash)>] InlineResponse20021 data, response status code and response headers
56
+ def get_payout_refunds_with_http_info(opts = {})
57
+ if @api_client.config.debugging
58
+ @api_client.config.logger.debug "Calling API: PayoutRefundsApi.get_payout_refunds ..."
59
+ end
60
+ # resource path
61
+ local_var_path = "/payoutRefunds"
62
+
63
+ # query parameters
64
+ query_params = {}
65
+ query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
66
+ query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
67
+ query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
68
+ query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
69
+ query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
70
+ query_params[:'tag'] = opts[:'tag'] if !opts[:'tag'].nil?
71
+ query_params[:'codeStatus'] = opts[:'code_status'] if !opts[:'code_status'].nil?
72
+ query_params[:'informationStatus'] = opts[:'information_status'] if !opts[:'information_status'].nil?
73
+ query_params[:'payoutId'] = opts[:'payout_id'] if !opts[:'payout_id'].nil?
74
+ query_params[:'pageNumber'] = opts[:'page_number'] if !opts[:'page_number'].nil?
75
+
76
+ # header parameters
77
+ header_params = {}
78
+ # HTTP header 'Accept' (if needed)
79
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
80
+ # HTTP header 'Content-Type'
81
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
82
+
83
+ # form parameters
84
+ form_params = {}
85
+
86
+ # http body (model)
87
+ post_body = nil
88
+ auth_names = ['api_key']
89
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
90
+ :header_params => header_params,
91
+ :query_params => query_params,
92
+ :form_params => form_params,
93
+ :body => post_body,
94
+ :auth_names => auth_names,
95
+ :return_type => 'InlineResponse20021')
96
+ if @api_client.config.debugging
97
+ @api_client.config.logger.debug "API called: PayoutRefundsApi#get_payout_refunds\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
98
+ end
99
+ return data, status_code, headers
100
+ end
101
+ end
102
+ end