treezor_client 1.5.0 → 1.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +7 -7
- data/README.md +5 -5
- data/docs/BalanceApi.md +2 -2
- data/docs/BankaccountApi.md +8 -8
- data/docs/BeneficiariesApi.md +12 -12
- data/docs/Body.md +12 -3
- data/docs/Body1.md +3 -4
- data/docs/Body10.md +4 -5
- data/docs/Body2.md +2 -11
- data/docs/Body3.md +1 -1
- data/docs/Body4.md +5 -2
- data/docs/Body5.md +5 -4
- data/docs/Body6.md +3 -6
- data/docs/Body7.md +4 -4
- data/docs/Body8.md +5 -4
- data/docs/Body9.md +4 -4
- data/docs/BusinessApi.md +2 -2
- data/docs/CardApi.md +35 -35
- data/docs/CardDigitalizationsApi.md +8 -8
- data/docs/CardReserveApi.md +12 -12
- data/docs/CardtransactionApi.md +4 -4
- data/docs/CountryRestrictionGroupsApi.md +14 -14
- data/docs/InlineResponse200.md +1 -1
- data/docs/InlineResponse2001.md +1 -1
- data/docs/InlineResponse20010Cardtransactions.md +3 -3
- data/docs/InlineResponse20011.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/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse2002.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20027.md +1 -1
- data/docs/InlineResponse20028.md +1 -1
- data/docs/InlineResponse2003.md +1 -1
- data/docs/InlineResponse2004.md +1 -1
- data/docs/InlineResponse2004Businessinformations.md +26 -0
- data/docs/InlineResponse2004Users.md +12 -0
- data/docs/InlineResponse2005.md +1 -1
- data/docs/InlineResponse2006.md +1 -1
- data/docs/InlineResponse2006Cardimages.md +10 -0
- data/docs/InlineResponse2007.md +1 -1
- data/docs/InlineResponse2008.md +3 -1
- data/docs/InlineResponse2009.md +1 -3
- data/docs/InlineResponse2009Cardtransactions.md +58 -0
- data/docs/IssuerInitiatedDigitizationData.md +15 -0
- data/docs/IssuerInitiatedDigitizationDataApi.md +24 -24
- data/docs/MandateApi.md +15 -13
- data/docs/MccRestrictionGroupsApi.md +14 -14
- data/docs/MerchantIdRestrictionGroupsApi.md +14 -14
- data/docs/PayinrefundApi.md +8 -8
- data/docs/PayoutApi.md +8 -8
- data/docs/PayoutRefundsApi.md +2 -2
- data/docs/TaxResidenceApi.md +10 -10
- data/docs/VirtualibansApi.md +8 -8
- data/docs/WalletApi.md +12 -12
- data/lib/treezor_client/api/balance_api.rb +3 -3
- data/lib/treezor_client/api/bankaccount_api.rb +12 -12
- data/lib/treezor_client/api/beneficiaries_api.rb +16 -16
- data/lib/treezor_client/api/business_api.rb +3 -3
- data/lib/treezor_client/api/card_api.rb +53 -53
- data/lib/treezor_client/api/card_digitalizations_api.rb +12 -12
- data/lib/treezor_client/api/card_reserve_api.rb +13 -13
- data/lib/treezor_client/api/cardtransaction_api.rb +6 -6
- data/lib/treezor_client/api/country_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +26 -26
- data/lib/treezor_client/api/mandate_api.rb +21 -18
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +19 -19
- data/lib/treezor_client/api/payinrefund_api.rb +12 -12
- data/lib/treezor_client/api/payout_api.rb +12 -12
- data/lib/treezor_client/api/payout_refunds_api.rb +3 -3
- data/lib/treezor_client/api/tax_residence_api.rb +15 -15
- data/lib/treezor_client/api/virtualibans_api.rb +12 -12
- data/lib/treezor_client/api/wallet_api.rb +17 -17
- data/lib/treezor_client/models/body.rb +127 -62
- data/lib/treezor_client/models/body_1.rb +3 -23
- data/lib/treezor_client/models/body_10.rb +15 -27
- data/lib/treezor_client/models/body_2.rb +25 -113
- data/lib/treezor_client/models/body_3.rb +1 -1
- data/lib/treezor_client/models/body_4.rb +89 -21
- data/lib/treezor_client/models/body_5.rb +27 -25
- data/lib/treezor_client/models/body_6.rb +39 -66
- data/lib/treezor_client/models/body_7.rb +15 -15
- data/lib/treezor_client/models/body_8.rb +27 -15
- data/lib/treezor_client/models/body_9.rb +15 -15
- data/lib/treezor_client/models/inline_response_200.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_1.rb +8 -8
- 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_13.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_14.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +1 -1
- 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_2.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_27.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_28.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_3.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_4.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +447 -0
- data/lib/treezor_client/models/inline_response_200_4_users.rb +258 -0
- data/lib/treezor_client/models/inline_response_200_5.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_6.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +219 -0
- data/lib/treezor_client/models/inline_response_200_7.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_8.rb +28 -9
- data/lib/treezor_client/models/inline_response_200_9.rb +9 -28
- data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +637 -0
- data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +253 -0
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +5 -5
- data/original_treezor_api_spec.yaml +13154 -0
- data/pkg/treezor_client-1.5.0.gem +0 -0
- data/spec/models/inline_response_200_4_businessinformations_spec.rb +169 -0
- data/spec/models/inline_response_200_4_users_spec.rb +69 -0
- data/spec/models/inline_response_200_6_cardimages_spec.rb +53 -0
- data/spec/models/inline_response_200_9_cardtransactions_spec.rb +341 -0
- data/spec/models/issuer_initiated_digitization_data_spec.rb +83 -0
- data/treezor_api_spec.yaml +2582 -2570
- metadata +25 -4
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **delete_mcc_restriction_groups**
|
15
|
-
>
|
15
|
+
> InlineResponse20015 delete_mcc_restriction_groups(id, opts)
|
16
16
|
|
17
17
|
cancel a mcc group
|
18
18
|
|
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
|
|
56
56
|
|
57
57
|
### Return type
|
58
58
|
|
59
|
-
[**
|
59
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
60
60
|
|
61
61
|
### Authorization
|
62
62
|
|
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
|
|
70
70
|
|
71
71
|
|
72
72
|
# **get_mcc_restriction_groups**
|
73
|
-
>
|
73
|
+
> InlineResponse20015 get_mcc_restriction_groups(opts)
|
74
74
|
|
75
75
|
search mcc restriction groups
|
76
76
|
|
@@ -129,7 +129,7 @@ Name | Type | Description | Notes
|
|
129
129
|
|
130
130
|
### Return type
|
131
131
|
|
132
|
-
[**
|
132
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
133
133
|
|
134
134
|
### Authorization
|
135
135
|
|
@@ -143,7 +143,7 @@ Name | Type | Description | Notes
|
|
143
143
|
|
144
144
|
|
145
145
|
# **get_mcc_restriction_groups_id**
|
146
|
-
>
|
146
|
+
> InlineResponse20015 get_mcc_restriction_groups_id(id, opts)
|
147
147
|
|
148
148
|
get a mcc group
|
149
149
|
|
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
|
|
187
187
|
|
188
188
|
### Return type
|
189
189
|
|
190
|
-
[**
|
190
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
191
191
|
|
192
192
|
### Authorization
|
193
193
|
|
@@ -201,7 +201,7 @@ Name | Type | Description | Notes
|
|
201
201
|
|
202
202
|
|
203
203
|
# **post_mcc_restriction_group**
|
204
|
-
>
|
204
|
+
> InlineResponse20015 post_mcc_restriction_group(opts)
|
205
205
|
|
206
206
|
create a mccRestrictionGroup
|
207
207
|
|
@@ -227,7 +227,7 @@ opts = {
|
|
227
227
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
228
228
|
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
229
229
|
fields: ['fields_example'], # Array<String> | List of the object's properties you want to pick up.
|
230
|
-
body: TreezorClient::
|
230
|
+
body: TreezorClient::Body7.new # Body7 |
|
231
231
|
}
|
232
232
|
|
233
233
|
begin
|
@@ -248,11 +248,11 @@ Name | Type | Description | Notes
|
|
248
248
|
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
249
249
|
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
250
250
|
**fields** | [**Array<String>**](String.md)| List of the object's properties you want to pick up. | [optional]
|
251
|
-
**body** | [**
|
251
|
+
**body** | [**Body7**](Body7.md)| | [optional]
|
252
252
|
|
253
253
|
### Return type
|
254
254
|
|
255
|
-
[**
|
255
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
256
256
|
|
257
257
|
### Authorization
|
258
258
|
|
@@ -266,7 +266,7 @@ Name | Type | Description | Notes
|
|
266
266
|
|
267
267
|
|
268
268
|
# **put_mcc_restriction_groups**
|
269
|
-
>
|
269
|
+
> InlineResponse20015 put_mcc_restriction_groups(id, opts)
|
270
270
|
|
271
271
|
edit a mcc restriction group
|
272
272
|
|
@@ -293,7 +293,7 @@ opts = {
|
|
293
293
|
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
294
294
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
295
295
|
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
296
|
-
body: TreezorClient::
|
296
|
+
body: TreezorClient::Body8.new # Body8 |
|
297
297
|
}
|
298
298
|
|
299
299
|
begin
|
@@ -314,11 +314,11 @@ Name | Type | Description | Notes
|
|
314
314
|
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
315
315
|
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
316
316
|
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
317
|
-
**body** | [**
|
317
|
+
**body** | [**Body8**](Body8.md)| | [optional]
|
318
318
|
|
319
319
|
### Return type
|
320
320
|
|
321
|
-
[**
|
321
|
+
[**InlineResponse20015**](InlineResponse20015.md)
|
322
322
|
|
323
323
|
### Authorization
|
324
324
|
|
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **delete_merchant_id_restriction_groups**
|
15
|
-
>
|
15
|
+
> InlineResponse20016 delete_merchant_id_restriction_groups(id, opts)
|
16
16
|
|
17
17
|
cancel a merchant id restriction group
|
18
18
|
|
@@ -56,7 +56,7 @@ Name | Type | Description | Notes
|
|
56
56
|
|
57
57
|
### Return type
|
58
58
|
|
59
|
-
[**
|
59
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
60
60
|
|
61
61
|
### Authorization
|
62
62
|
|
@@ -70,7 +70,7 @@ Name | Type | Description | Notes
|
|
70
70
|
|
71
71
|
|
72
72
|
# **get_merchant_id_restriction_group**
|
73
|
-
>
|
73
|
+
> InlineResponse20016 get_merchant_id_restriction_group(opts)
|
74
74
|
|
75
75
|
search merchant id restriction groups
|
76
76
|
|
@@ -129,7 +129,7 @@ Name | Type | Description | Notes
|
|
129
129
|
|
130
130
|
### Return type
|
131
131
|
|
132
|
-
[**
|
132
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
133
133
|
|
134
134
|
### Authorization
|
135
135
|
|
@@ -143,7 +143,7 @@ Name | Type | Description | Notes
|
|
143
143
|
|
144
144
|
|
145
145
|
# **get_merchant_id_restriction_groups_id**
|
146
|
-
>
|
146
|
+
> InlineResponse20016 get_merchant_id_restriction_groups_id(id, opts)
|
147
147
|
|
148
148
|
get a merchant ID restriction group
|
149
149
|
|
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
|
|
187
187
|
|
188
188
|
### Return type
|
189
189
|
|
190
|
-
[**
|
190
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
191
191
|
|
192
192
|
### Authorization
|
193
193
|
|
@@ -201,7 +201,7 @@ Name | Type | Description | Notes
|
|
201
201
|
|
202
202
|
|
203
203
|
# **post_merchant_id_restriction_group**
|
204
|
-
>
|
204
|
+
> InlineResponse20016 post_merchant_id_restriction_group(opts)
|
205
205
|
|
206
206
|
create a merchantIdRestrictionGroup
|
207
207
|
|
@@ -226,7 +226,7 @@ opts = {
|
|
226
226
|
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
227
227
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
228
228
|
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
229
|
-
body: TreezorClient::
|
229
|
+
body: TreezorClient::Body9.new # Body9 |
|
230
230
|
}
|
231
231
|
|
232
232
|
begin
|
@@ -246,11 +246,11 @@ Name | Type | Description | Notes
|
|
246
246
|
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
247
247
|
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
248
248
|
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
249
|
-
**body** | [**
|
249
|
+
**body** | [**Body9**](Body9.md)| | [optional]
|
250
250
|
|
251
251
|
### Return type
|
252
252
|
|
253
|
-
[**
|
253
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
254
254
|
|
255
255
|
### Authorization
|
256
256
|
|
@@ -264,7 +264,7 @@ Name | Type | Description | Notes
|
|
264
264
|
|
265
265
|
|
266
266
|
# **put_merchant_id_restriction_groups**
|
267
|
-
>
|
267
|
+
> InlineResponse20016 put_merchant_id_restriction_groups(id, opts)
|
268
268
|
|
269
269
|
edit a merchant id restriction group
|
270
270
|
|
@@ -291,7 +291,7 @@ opts = {
|
|
291
291
|
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
292
292
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
293
293
|
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
294
|
-
body: TreezorClient::
|
294
|
+
body: TreezorClient::Body10.new # Body10 |
|
295
295
|
}
|
296
296
|
|
297
297
|
begin
|
@@ -312,11 +312,11 @@ Name | Type | Description | Notes
|
|
312
312
|
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
313
313
|
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
314
314
|
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
315
|
-
**body** | [**
|
315
|
+
**body** | [**Body10**](Body10.md)| | [optional]
|
316
316
|
|
317
317
|
### Return type
|
318
318
|
|
319
|
-
[**
|
319
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
320
320
|
|
321
321
|
### Authorization
|
322
322
|
|
data/docs/PayinrefundApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
|
13
13
|
# **delete_payinrefund**
|
14
|
-
>
|
14
|
+
> InlineResponse20018 delete_payinrefund(id)
|
15
15
|
|
16
16
|
cancel a pay in refund
|
17
17
|
|
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
|
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
54
|
-
[**
|
54
|
+
[**InlineResponse20018**](InlineResponse20018.md)
|
55
55
|
|
56
56
|
### Authorization
|
57
57
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
|
67
67
|
# **get_payinrefund**
|
68
|
-
>
|
68
|
+
> InlineResponse20018 get_payinrefund(id)
|
69
69
|
|
70
70
|
get a pay in refund
|
71
71
|
|
@@ -105,7 +105,7 @@ Name | Type | Description | Notes
|
|
105
105
|
|
106
106
|
### Return type
|
107
107
|
|
108
|
-
[**
|
108
|
+
[**InlineResponse20018**](InlineResponse20018.md)
|
109
109
|
|
110
110
|
### Authorization
|
111
111
|
|
@@ -119,7 +119,7 @@ Name | Type | Description | Notes
|
|
119
119
|
|
120
120
|
|
121
121
|
# **get_payinrefunds**
|
122
|
-
>
|
122
|
+
> InlineResponse20018 get_payinrefunds(opts)
|
123
123
|
|
124
124
|
search pay in refunds
|
125
125
|
|
@@ -200,7 +200,7 @@ Name | Type | Description | Notes
|
|
200
200
|
|
201
201
|
### Return type
|
202
202
|
|
203
|
-
[**
|
203
|
+
[**InlineResponse20018**](InlineResponse20018.md)
|
204
204
|
|
205
205
|
### Authorization
|
206
206
|
|
@@ -214,7 +214,7 @@ Name | Type | Description | Notes
|
|
214
214
|
|
215
215
|
|
216
216
|
# **post_payinrefunds**
|
217
|
-
>
|
217
|
+
> InlineResponse20018 post_payinrefunds(payin_id, amount, currency, opts)
|
218
218
|
|
219
219
|
create a pay in refund
|
220
220
|
|
@@ -274,7 +274,7 @@ Name | Type | Description | Notes
|
|
274
274
|
|
275
275
|
### Return type
|
276
276
|
|
277
|
-
[**
|
277
|
+
[**InlineResponse20018**](InlineResponse20018.md)
|
278
278
|
|
279
279
|
### Authorization
|
280
280
|
|
data/docs/PayoutApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
|
13
13
|
# **delete_payout**
|
14
|
-
>
|
14
|
+
> InlineResponse20019 delete_payout(id)
|
15
15
|
|
16
16
|
cancel a payout
|
17
17
|
|
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
|
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
54
|
-
[**
|
54
|
+
[**InlineResponse20019**](InlineResponse20019.md)
|
55
55
|
|
56
56
|
### Authorization
|
57
57
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
|
67
67
|
# **get_payout**
|
68
|
-
>
|
68
|
+
> InlineResponse20019 get_payout(id)
|
69
69
|
|
70
70
|
get a payout
|
71
71
|
|
@@ -105,7 +105,7 @@ Name | Type | Description | Notes
|
|
105
105
|
|
106
106
|
### Return type
|
107
107
|
|
108
|
-
[**
|
108
|
+
[**InlineResponse20019**](InlineResponse20019.md)
|
109
109
|
|
110
110
|
### Authorization
|
111
111
|
|
@@ -119,7 +119,7 @@ Name | Type | Description | Notes
|
|
119
119
|
|
120
120
|
|
121
121
|
# **get_payouts**
|
122
|
-
>
|
122
|
+
> InlineResponse20019 get_payouts(opts)
|
123
123
|
|
124
124
|
search pay outs
|
125
125
|
|
@@ -214,7 +214,7 @@ Name | Type | Description | Notes
|
|
214
214
|
|
215
215
|
### Return type
|
216
216
|
|
217
|
-
[**
|
217
|
+
[**InlineResponse20019**](InlineResponse20019.md)
|
218
218
|
|
219
219
|
### Authorization
|
220
220
|
|
@@ -228,7 +228,7 @@ Name | Type | Description | Notes
|
|
228
228
|
|
229
229
|
|
230
230
|
# **post_payout**
|
231
|
-
>
|
231
|
+
> InlineResponse20019 post_payout(wallet_id, amount, currency, opts)
|
232
232
|
|
233
233
|
create a pay out
|
234
234
|
|
@@ -294,7 +294,7 @@ Name | Type | Description | Notes
|
|
294
294
|
|
295
295
|
### Return type
|
296
296
|
|
297
|
-
[**
|
297
|
+
[**InlineResponse20019**](InlineResponse20019.md)
|
298
298
|
|
299
299
|
### Authorization
|
300
300
|
|
data/docs/PayoutRefundsApi.md
CHANGED
@@ -8,7 +8,7 @@ Method | HTTP request | Description
|
|
8
8
|
|
9
9
|
|
10
10
|
# **get_payout_refunds**
|
11
|
-
>
|
11
|
+
> InlineResponse20020 get_payout_refunds(opts)
|
12
12
|
|
13
13
|
search pay outs refund
|
14
14
|
|
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
|
|
67
67
|
|
68
68
|
### Return type
|
69
69
|
|
70
|
-
[**
|
70
|
+
[**InlineResponse20020**](InlineResponse20020.md)
|
71
71
|
|
72
72
|
### Authorization
|
73
73
|
|
data/docs/TaxResidenceApi.md
CHANGED
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **tax_residences_get**
|
15
|
-
>
|
15
|
+
> InlineResponse20021 tax_residences_get(opts)
|
16
16
|
|
17
17
|
search a residence
|
18
18
|
|
@@ -57,7 +57,7 @@ Name | Type | Description | Notes
|
|
57
57
|
|
58
58
|
### Return type
|
59
59
|
|
60
|
-
[**
|
60
|
+
[**InlineResponse20021**](InlineResponse20021.md)
|
61
61
|
|
62
62
|
### Authorization
|
63
63
|
|
@@ -71,7 +71,7 @@ Name | Type | Description | Notes
|
|
71
71
|
|
72
72
|
|
73
73
|
# **tax_residences_id_delete**
|
74
|
-
>
|
74
|
+
> InlineResponse20021 tax_residences_id_delete(id, opts)
|
75
75
|
|
76
76
|
delete a residence
|
77
77
|
|
@@ -115,7 +115,7 @@ Name | Type | Description | Notes
|
|
115
115
|
|
116
116
|
### Return type
|
117
117
|
|
118
|
-
[**
|
118
|
+
[**InlineResponse20021**](InlineResponse20021.md)
|
119
119
|
|
120
120
|
### Authorization
|
121
121
|
|
@@ -129,7 +129,7 @@ Name | Type | Description | Notes
|
|
129
129
|
|
130
130
|
|
131
131
|
# **tax_residences_id_get**
|
132
|
-
>
|
132
|
+
> InlineResponse20021 tax_residences_id_get(id, opts)
|
133
133
|
|
134
134
|
read the informations of a residence
|
135
135
|
|
@@ -173,7 +173,7 @@ Name | Type | Description | Notes
|
|
173
173
|
|
174
174
|
### Return type
|
175
175
|
|
176
|
-
[**
|
176
|
+
[**InlineResponse20021**](InlineResponse20021.md)
|
177
177
|
|
178
178
|
### Authorization
|
179
179
|
|
@@ -187,7 +187,7 @@ Name | Type | Description | Notes
|
|
187
187
|
|
188
188
|
|
189
189
|
# **tax_residences_id_put**
|
190
|
-
>
|
190
|
+
> InlineResponse20021 tax_residences_id_put(id, opts)
|
191
191
|
|
192
192
|
update the residence
|
193
193
|
|
@@ -239,7 +239,7 @@ Name | Type | Description | Notes
|
|
239
239
|
|
240
240
|
### Return type
|
241
241
|
|
242
|
-
[**
|
242
|
+
[**InlineResponse20021**](InlineResponse20021.md)
|
243
243
|
|
244
244
|
### Authorization
|
245
245
|
|
@@ -253,7 +253,7 @@ Name | Type | Description | Notes
|
|
253
253
|
|
254
254
|
|
255
255
|
# **tax_residences_post**
|
256
|
-
>
|
256
|
+
> InlineResponse20021 tax_residences_post(user_id, country, opts)
|
257
257
|
|
258
258
|
create a residence
|
259
259
|
|
@@ -304,7 +304,7 @@ Name | Type | Description | Notes
|
|
304
304
|
|
305
305
|
### Return type
|
306
306
|
|
307
|
-
[**
|
307
|
+
[**InlineResponse20021**](InlineResponse20021.md)
|
308
308
|
|
309
309
|
### Authorization
|
310
310
|
|
data/docs/VirtualibansApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
|
13
13
|
# **getvirtualiban**
|
14
|
-
>
|
14
|
+
> InlineResponse20027 getvirtualiban(id)
|
15
15
|
|
16
16
|
get a virtualiban by Id
|
17
17
|
|
@@ -51,7 +51,7 @@ Name | Type | Description | Notes
|
|
51
51
|
|
52
52
|
### Return type
|
53
53
|
|
54
|
-
[**
|
54
|
+
[**InlineResponse20027**](InlineResponse20027.md)
|
55
55
|
|
56
56
|
### Authorization
|
57
57
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
|
67
67
|
# **getvirtualibans**
|
68
|
-
>
|
68
|
+
> InlineResponse20027 getvirtualibans(valid_from, opts)
|
69
69
|
|
70
70
|
search virtualibans
|
71
71
|
|
@@ -147,7 +147,7 @@ Name | Type | Description | Notes
|
|
147
147
|
|
148
148
|
### Return type
|
149
149
|
|
150
|
-
[**
|
150
|
+
[**InlineResponse20027**](InlineResponse20027.md)
|
151
151
|
|
152
152
|
### Authorization
|
153
153
|
|
@@ -161,7 +161,7 @@ Name | Type | Description | Notes
|
|
161
161
|
|
162
162
|
|
163
163
|
# **post_virtual_iban**
|
164
|
-
>
|
164
|
+
> InlineResponse20027 post_virtual_iban(wallet_id, type_id, opts)
|
165
165
|
|
166
166
|
create a virtual IBAN
|
167
167
|
|
@@ -226,7 +226,7 @@ Name | Type | Description | Notes
|
|
226
226
|
|
227
227
|
### Return type
|
228
228
|
|
229
|
-
[**
|
229
|
+
[**InlineResponse20027**](InlineResponse20027.md)
|
230
230
|
|
231
231
|
### Authorization
|
232
232
|
|
@@ -240,7 +240,7 @@ Name | Type | Description | Notes
|
|
240
240
|
|
241
241
|
|
242
242
|
# **put_virtual_iban**
|
243
|
-
>
|
243
|
+
> InlineResponse20027 put_virtual_iban(id, opts)
|
244
244
|
|
245
245
|
update a Virtual IBAN
|
246
246
|
|
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
|
|
300
300
|
|
301
301
|
### Return type
|
302
302
|
|
303
|
-
[**
|
303
|
+
[**InlineResponse20027**](InlineResponse20027.md)
|
304
304
|
|
305
305
|
### Authorization
|
306
306
|
|
data/docs/WalletApi.md
CHANGED
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **delete_wallet**
|
15
|
-
>
|
15
|
+
> InlineResponse20028 delete_wallet(id, origin, opts)
|
16
16
|
|
17
17
|
delete a wallet
|
18
18
|
|
@@ -65,7 +65,7 @@ Name | Type | Description | Notes
|
|
65
65
|
|
66
66
|
### Return type
|
67
67
|
|
68
|
-
[**
|
68
|
+
[**InlineResponse20028**](InlineResponse20028.md)
|
69
69
|
|
70
70
|
### Authorization
|
71
71
|
|
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
|
|
79
79
|
|
80
80
|
|
81
81
|
# **get_wallet**
|
82
|
-
>
|
82
|
+
> InlineResponse20028 get_wallet(id, opts)
|
83
83
|
|
84
84
|
get a wallet
|
85
85
|
|
@@ -129,7 +129,7 @@ Name | Type | Description | Notes
|
|
129
129
|
|
130
130
|
### Return type
|
131
131
|
|
132
|
-
[**
|
132
|
+
[**InlineResponse20028**](InlineResponse20028.md)
|
133
133
|
|
134
134
|
### Authorization
|
135
135
|
|
@@ -143,7 +143,7 @@ Name | Type | Description | Notes
|
|
143
143
|
|
144
144
|
|
145
145
|
# **get_wallets**
|
146
|
-
>
|
146
|
+
> InlineResponse20028 get_wallets(opts)
|
147
147
|
|
148
148
|
search wallets
|
149
149
|
|
@@ -232,7 +232,7 @@ Name | Type | Description | Notes
|
|
232
232
|
|
233
233
|
### Return type
|
234
234
|
|
235
|
-
[**
|
235
|
+
[**InlineResponse20028**](InlineResponse20028.md)
|
236
236
|
|
237
237
|
### Authorization
|
238
238
|
|
@@ -246,7 +246,7 @@ Name | Type | Description | Notes
|
|
246
246
|
|
247
247
|
|
248
248
|
# **post_wallets**
|
249
|
-
>
|
249
|
+
> InlineResponse20028 post_wallets(wallet_type_id, tariff_id, user_id, currency, event_name, opts)
|
250
250
|
|
251
251
|
create a wallet
|
252
252
|
|
@@ -287,7 +287,7 @@ opts = {
|
|
287
287
|
event_alias: 'event_alias_example', # String | Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding. Please note that the eventAlias must be unique.
|
288
288
|
event_date: Date.parse('2013-10-20'), # Date | Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
|
289
289
|
event_message: 'event_message_example', # String | It can be a description of the wallet.
|
290
|
-
event_payin_start_date: Date.parse('2013-10-20'), # Date | Wallet activation date. The date
|
290
|
+
event_payin_start_date: Date.parse('2013-10-20'), # Date | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD. If null, the default date will be the created date of the wallet.
|
291
291
|
event_payin_end_date: Date.parse('2013-10-20') # Date | Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet
|
292
292
|
}
|
293
293
|
|
@@ -319,12 +319,12 @@ Name | Type | Description | Notes
|
|
319
319
|
**event_alias** | **String**| Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding. Please note that the eventAlias must be unique. | [optional]
|
320
320
|
**event_date** | **Date**| Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days. | [optional]
|
321
321
|
**event_message** | **String**| It can be a description of the wallet. | [optional]
|
322
|
-
**event_payin_start_date** | **Date**| Wallet activation date. The date
|
322
|
+
**event_payin_start_date** | **Date**| Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD. If null, the default date will be the created date of the wallet. | [optional]
|
323
323
|
**event_payin_end_date** | **Date**| Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet | [optional]
|
324
324
|
|
325
325
|
### Return type
|
326
326
|
|
327
|
-
[**
|
327
|
+
[**InlineResponse20028**](InlineResponse20028.md)
|
328
328
|
|
329
329
|
### Authorization
|
330
330
|
|
@@ -338,7 +338,7 @@ Name | Type | Description | Notes
|
|
338
338
|
|
339
339
|
|
340
340
|
# **put_wallet**
|
341
|
-
>
|
341
|
+
> InlineResponse20028 put_wallet(id, opts)
|
342
342
|
|
343
343
|
update a wallet
|
344
344
|
|
@@ -408,7 +408,7 @@ Name | Type | Description | Notes
|
|
408
408
|
|
409
409
|
### Return type
|
410
410
|
|
411
|
-
[**
|
411
|
+
[**InlineResponse20028**](InlineResponse20028.md)
|
412
412
|
|
413
413
|
### Authorization
|
414
414
|
|
@@ -28,7 +28,7 @@ module TreezorClient
|
|
28
28
|
# @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).
|
29
29
|
# @option opts [Integer] :wallet_id Wallet's ID of wanted balance
|
30
30
|
# @option opts [Integer] :user_id Wallet's user id of wanted balanced
|
31
|
-
# @return [
|
31
|
+
# @return [InlineResponse200]
|
32
32
|
def get_balances(opts = {})
|
33
33
|
data, _status_code, _headers = get_balances_with_http_info(opts)
|
34
34
|
data
|
@@ -43,7 +43,7 @@ module TreezorClient
|
|
43
43
|
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
44
44
|
# @option opts [Integer] :wallet_id Wallet's ID of wanted balance
|
45
45
|
# @option opts [Integer] :user_id Wallet's user id of wanted balanced
|
46
|
-
# @return [Array<(
|
46
|
+
# @return [Array<(InlineResponse200, Fixnum, Hash)>] InlineResponse200 data, response status code and response headers
|
47
47
|
def get_balances_with_http_info(opts = {})
|
48
48
|
if @api_client.config.debugging
|
49
49
|
@api_client.config.logger.debug 'Calling API: BalanceApi.get_balances ...'
|
@@ -79,7 +79,7 @@ module TreezorClient
|
|
79
79
|
:form_params => form_params,
|
80
80
|
:body => post_body,
|
81
81
|
:auth_names => auth_names,
|
82
|
-
:return_type => '
|
82
|
+
:return_type => 'InlineResponse200')
|
83
83
|
if @api_client.config.debugging
|
84
84
|
@api_client.config.logger.debug "API called: BalanceApi#get_balances\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
85
85
|
end
|