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
data/docs/VirtualibansApi.md
CHANGED
@@ -11,7 +11,7 @@ Method | HTTP request | Description
|
|
11
11
|
|
12
12
|
|
13
13
|
# **getvirtualiban**
|
14
|
-
>
|
14
|
+
> InlineResponse20018 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
|
+
[**InlineResponse20018**](InlineResponse20018.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
|
+
> InlineResponse20018 getvirtualibans(valid_from, opts)
|
69
69
|
|
70
70
|
search virtualibans
|
71
71
|
|
@@ -88,10 +88,10 @@ api_instance = TreezorClient::VirtualibansApi.new
|
|
88
88
|
valid_from = Date.parse("2013-10-20") # Date | The beginning date of validity.
|
89
89
|
|
90
90
|
opts = {
|
91
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
92
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
93
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
94
|
-
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
91
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
92
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
93
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
94
|
+
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
95
95
|
virtual_iban_id: 56, # Integer | VirtualIban's id.
|
96
96
|
wallet_id: 56, # Integer | VirtualIban's wallet id.
|
97
97
|
type_id: 56, # Integer | VirtualIban's type id.
|
@@ -100,13 +100,13 @@ opts = {
|
|
100
100
|
valid_to: Date.parse("2013-10-20"), # Date | The limit date of validity.
|
101
101
|
max_usage: "max_usage_example", # String | The maximum number of usage authorized.
|
102
102
|
max_amount: 3.4, # Float | The maximum amount authorized.
|
103
|
-
created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
104
|
-
created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
105
|
-
updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
106
|
-
updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
107
|
-
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
108
|
-
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
109
|
-
sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : createdDate. More info [here](https://agent.treezor.com/lists).
|
103
|
+
created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
104
|
+
created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
105
|
+
updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
106
|
+
updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
107
|
+
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
108
|
+
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
109
|
+
sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : createdDate. More info [here](https://agent.treezor.com/lists).
|
110
110
|
sort_order: "sort_order_example" # String | 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).
|
111
111
|
}
|
112
112
|
|
@@ -124,10 +124,10 @@ end
|
|
124
124
|
Name | Type | Description | Notes
|
125
125
|
------------- | ------------- | ------------- | -------------
|
126
126
|
**valid_from** | **Date**| The beginning date of validity. |
|
127
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
128
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
129
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
130
|
-
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
127
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
128
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
129
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
130
|
+
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
131
131
|
**virtual_iban_id** | **Integer**| VirtualIban's id. | [optional]
|
132
132
|
**wallet_id** | **Integer**| VirtualIban's wallet id. | [optional]
|
133
133
|
**type_id** | **Integer**| VirtualIban's type id. | [optional]
|
@@ -136,18 +136,18 @@ Name | Type | Description | Notes
|
|
136
136
|
**valid_to** | **Date**| The limit date of validity. | [optional]
|
137
137
|
**max_usage** | **String**| The maximum number of usage authorized. | [optional]
|
138
138
|
**max_amount** | **Float**| The maximum amount authorized. | [optional]
|
139
|
-
**created_date_from** | **DateTime**| 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)
|
140
|
-
**created_date_to** | **DateTime**| 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)
|
141
|
-
**updated_date_from** | **DateTime**| 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)
|
142
|
-
**updated_date_to** | **DateTime**| 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)
|
143
|
-
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists).
|
144
|
-
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists).
|
145
|
-
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : createdDate. More info [here](https://agent.treezor.com/lists).
|
139
|
+
**created_date_from** | **DateTime**| 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) | [optional]
|
140
|
+
**created_date_to** | **DateTime**| 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) | [optional]
|
141
|
+
**updated_date_from** | **DateTime**| 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) | [optional]
|
142
|
+
**updated_date_to** | **DateTime**| 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) | [optional]
|
143
|
+
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
|
144
|
+
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
|
145
|
+
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : createdDate. More info [here](https://agent.treezor.com/lists). | [optional]
|
146
146
|
**sort_order** | **String**| 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). | [optional]
|
147
147
|
|
148
148
|
### Return type
|
149
149
|
|
150
|
-
[**
|
150
|
+
[**InlineResponse20018**](InlineResponse20018.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
|
+
> InlineResponse20018 post_virtual_iban(wallet_id, type_id, opts)
|
165
165
|
|
166
166
|
create a virtual IBAN
|
167
167
|
|
@@ -186,10 +186,10 @@ wallet_id = 56 # Integer | The Id Of the Wallet. The Wallet must be in validated
|
|
186
186
|
type_id = 56 # Integer | | Type Id | Virtual IBAN Type| | ---| --- | | 1 | DEBIT | | 2 | CREDIT |
|
187
187
|
|
188
188
|
opts = {
|
189
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
190
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
191
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
192
|
-
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).
|
189
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
190
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
191
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
192
|
+
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).
|
193
193
|
tag: 56, # Integer | A tag generated by the client
|
194
194
|
reference: "reference_example", # String | The client's internal reference of the vitual IBAN. Less than 255 characters.
|
195
195
|
valid_from: Date.parse("2013-10-20"), # Date | The beginning date of validity. The beginning date must not be less than today's date.
|
@@ -213,10 +213,10 @@ Name | Type | Description | Notes
|
|
213
213
|
------------- | ------------- | ------------- | -------------
|
214
214
|
**wallet_id** | **Integer**| The Id Of the Wallet. The Wallet must be in validated status. The wallet must be of type \"payment\" or \"electronic money\" |
|
215
215
|
**type_id** | **Integer**| | Type Id | Virtual IBAN Type| | ---| --- | | 1 | DEBIT | | 2 | CREDIT | |
|
216
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
217
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
218
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
219
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
216
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
217
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
218
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
219
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
220
220
|
**tag** | **Integer**| A tag generated by the client | [optional]
|
221
221
|
**reference** | **String**| The client's internal reference of the vitual IBAN. Less than 255 characters. | [optional]
|
222
222
|
**valid_from** | **Date**| The beginning date of validity. The beginning date must not be less than today's date. | [optional]
|
@@ -226,7 +226,7 @@ Name | Type | Description | Notes
|
|
226
226
|
|
227
227
|
### Return type
|
228
228
|
|
229
|
-
[**
|
229
|
+
[**InlineResponse20018**](InlineResponse20018.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
|
+
> InlineResponse20018 put_virtual_iban(id, opts)
|
244
244
|
|
245
245
|
update a Virtual IBAN
|
246
246
|
|
@@ -263,10 +263,10 @@ api_instance = TreezorClient::VirtualibansApi.new
|
|
263
263
|
id = 56 # Integer | VirtualIban's id.
|
264
264
|
|
265
265
|
opts = {
|
266
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
267
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
268
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
269
|
-
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).
|
266
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
267
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
268
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
269
|
+
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).
|
270
270
|
reference: "reference_example", # String | The client's internal reference of the vitual IBAN.
|
271
271
|
valid_from: Date.parse("2013-10-20"), # Date | The beginning date of validity. Date of validity can be changed. It must follow the rules explained in the POST endpoint.
|
272
272
|
valid_to: Date.parse("2013-10-20"), # Date | The limit date of validity. It must follow the rules of creation. It must follow the rules explained in the POST endpoint.
|
@@ -288,10 +288,10 @@ end
|
|
288
288
|
Name | Type | Description | Notes
|
289
289
|
------------- | ------------- | ------------- | -------------
|
290
290
|
**id** | **Integer**| VirtualIban's id. |
|
291
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
292
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
293
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
294
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
291
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
292
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
293
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
294
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
295
295
|
**reference** | **String**| The client's internal reference of the vitual IBAN. | [optional]
|
296
296
|
**valid_from** | **Date**| The beginning date of validity. Date of validity can be changed. It must follow the rules explained in the POST endpoint. | [optional]
|
297
297
|
**valid_to** | **Date**| The limit date of validity. It must follow the rules of creation. It must follow the rules explained in the POST endpoint. | [optional]
|
@@ -300,7 +300,7 @@ Name | Type | Description | Notes
|
|
300
300
|
|
301
301
|
### Return type
|
302
302
|
|
303
|
-
[**
|
303
|
+
[**InlineResponse20018**](InlineResponse20018.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
|
+
> InlineResponse20027 delete_wallet(id, origin, opts)
|
16
16
|
|
17
17
|
delete a wallet
|
18
18
|
|
@@ -37,10 +37,10 @@ id = 56 # Integer | Wallet's id
|
|
37
37
|
origin = "origin_example" # String | Request's origin. Possible values are: * OPERATOR * USER
|
38
38
|
|
39
39
|
opts = {
|
40
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
41
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
42
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
43
|
-
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).
|
40
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
41
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
42
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
43
|
+
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).
|
44
44
|
}
|
45
45
|
|
46
46
|
begin
|
@@ -58,14 +58,14 @@ Name | Type | Description | Notes
|
|
58
58
|
------------- | ------------- | ------------- | -------------
|
59
59
|
**id** | **Integer**| Wallet's id |
|
60
60
|
**origin** | **String**| Request's origin. Possible values are: * OPERATOR * USER |
|
61
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
62
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
63
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
64
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
61
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
62
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
63
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
64
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
65
65
|
|
66
66
|
### Return type
|
67
67
|
|
68
|
-
[**
|
68
|
+
[**InlineResponse20027**](InlineResponse20027.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
|
+
> InlineResponse20027 get_wallet(id, opts)
|
83
83
|
|
84
84
|
get a wallet
|
85
85
|
|
@@ -102,10 +102,10 @@ api_instance = TreezorClient::WalletApi.new
|
|
102
102
|
id = 789 # Integer | Object internal id.
|
103
103
|
|
104
104
|
opts = {
|
105
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
106
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
107
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
108
|
-
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).
|
105
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
106
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
107
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
108
|
+
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).
|
109
109
|
}
|
110
110
|
|
111
111
|
begin
|
@@ -122,14 +122,14 @@ end
|
|
122
122
|
Name | Type | Description | Notes
|
123
123
|
------------- | ------------- | ------------- | -------------
|
124
124
|
**id** | **Integer**| Object internal id. |
|
125
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
126
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
127
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
128
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
125
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
126
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
127
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
128
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
129
129
|
|
130
130
|
### Return type
|
131
131
|
|
132
|
-
[**
|
132
|
+
[**InlineResponse20027**](InlineResponse20027.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
|
+
> InlineResponse20027 get_wallets(opts)
|
147
147
|
|
148
148
|
search wallets
|
149
149
|
|
@@ -164,31 +164,31 @@ end
|
|
164
164
|
api_instance = TreezorClient::WalletApi.new
|
165
165
|
|
166
166
|
opts = {
|
167
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
168
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
169
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
170
|
-
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
167
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
168
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
169
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
170
|
+
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
171
171
|
wallet_id: 56, # Integer | Wallet's unique id.
|
172
172
|
wallet_status: "wallet_status_example", # String | Wallet's status: * **validated**: Wallet is active. It is possible to deposit to or retrieve money from the wallet. * **cancelled**: Wallet is closed. No action possible, there is no money in the wallet, it was closed by an operator or by the user. * **pending**: Wallet being validated (e.g. suspected fraud, late submission of documents' validation ... KYC ). In this case, it is not possible to use the wallet for transactions.
|
173
173
|
user_id: 56, # Integer | Wallet owner's id.
|
174
174
|
parent_user_id: 56, # Integer | Parent user id of the wallet owner
|
175
175
|
wallet_tag: "wallet_tag_example", # String | Custom data.
|
176
176
|
wallet_type_id: 56, # Integer | Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
|
177
|
-
event_name: "event_name_example", # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
178
|
-
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
|
177
|
+
event_name: "event_name_example", # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
178
|
+
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
|
179
179
|
event_payin_start_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
180
|
-
event_payin_end_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
180
|
+
event_payin_end_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
181
181
|
tariff_id: 56, # Integer | Wallet pricing id.
|
182
182
|
payin_count: 56, # Integer | Number of payin done on the wallet.
|
183
183
|
solde: "solde_example", # String | Wallet current balance.
|
184
|
-
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
185
|
-
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
186
|
-
sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
184
|
+
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
185
|
+
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
186
|
+
sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
187
187
|
sort_order: "sort_order_example", # String | 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).
|
188
|
-
created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
189
|
-
created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
190
|
-
updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
191
|
-
updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | 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)
|
188
|
+
created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
189
|
+
created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
190
|
+
updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
|
191
|
+
updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | 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)
|
192
192
|
}
|
193
193
|
|
194
194
|
begin
|
@@ -204,35 +204,35 @@ end
|
|
204
204
|
|
205
205
|
Name | Type | Description | Notes
|
206
206
|
------------- | ------------- | ------------- | -------------
|
207
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
208
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
209
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
210
|
-
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
207
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
208
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
209
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
210
|
+
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
211
211
|
**wallet_id** | **Integer**| Wallet's unique id. | [optional]
|
212
212
|
**wallet_status** | **String**| Wallet's status: * **validated**: Wallet is active. It is possible to deposit to or retrieve money from the wallet. * **cancelled**: Wallet is closed. No action possible, there is no money in the wallet, it was closed by an operator or by the user. * **pending**: Wallet being validated (e.g. suspected fraud, late submission of documents' validation ... KYC ). In this case, it is not possible to use the wallet for transactions. | [optional]
|
213
213
|
**user_id** | **Integer**| Wallet owner's id. | [optional]
|
214
214
|
**parent_user_id** | **Integer**| Parent user id of the wallet owner | [optional]
|
215
215
|
**wallet_tag** | **String**| Custom data. | [optional]
|
216
216
|
**wallet_type_id** | **Integer**| Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) | | [optional]
|
217
|
-
**event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
218
|
-
**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
|
217
|
+
**event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y | [optional]
|
218
|
+
**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 | [optional]
|
219
219
|
**event_payin_start_date** | **DateTime**| Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS | [optional]
|
220
|
-
**event_payin_end_date** | **DateTime**| Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
|
220
|
+
**event_payin_end_date** | **DateTime**| Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS | [optional]
|
221
221
|
**tariff_id** | **Integer**| Wallet pricing id. | [optional]
|
222
222
|
**payin_count** | **Integer**| Number of payin done on the wallet. | [optional]
|
223
223
|
**solde** | **String**| Wallet current balance. | [optional]
|
224
|
-
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists).
|
225
|
-
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists).
|
226
|
-
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
224
|
+
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
|
225
|
+
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
|
226
|
+
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists). | [optional]
|
227
227
|
**sort_order** | **String**| 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). | [optional]
|
228
|
-
**created_date_from** | **DateTime**| 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)
|
229
|
-
**created_date_to** | **DateTime**| 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)
|
230
|
-
**updated_date_from** | **DateTime**| 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)
|
231
|
-
**updated_date_to** | **DateTime**| 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)
|
228
|
+
**created_date_from** | **DateTime**| 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) | [optional]
|
229
|
+
**created_date_to** | **DateTime**| 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) | [optional]
|
230
|
+
**updated_date_from** | **DateTime**| 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) | [optional]
|
231
|
+
**updated_date_to** | **DateTime**| 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) | [optional]
|
232
232
|
|
233
233
|
### Return type
|
234
234
|
|
235
|
-
[**
|
235
|
+
[**InlineResponse20027**](InlineResponse20027.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
|
+
> InlineResponse20027 post_wallets(wallet_type_id, tariff_id, user_id, currency, event_name, opts)
|
250
250
|
|
251
251
|
create a wallet
|
252
252
|
|
@@ -272,23 +272,23 @@ tariff_id = 56 # Integer | Wallet pricing id.
|
|
272
272
|
|
273
273
|
user_id = 56 # Integer | Wallet owner's id.
|
274
274
|
|
275
|
-
currency = "currency_example" # String | The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD
|
275
|
+
currency = "currency_example" # String | The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD … Default currency will be same as the wallet
|
276
276
|
|
277
|
-
event_name = "event_name_example" # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
277
|
+
event_name = "event_name_example" # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
278
278
|
|
279
279
|
opts = {
|
280
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
281
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
282
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
283
|
-
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
284
|
-
joint_user_id: 56, # Integer | Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
|
280
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
281
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
282
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
283
|
+
access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
284
|
+
joint_user_id: 56, # Integer | Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
|
285
285
|
wallet_tag: "wallet_tag_example", # String | Custom data
|
286
286
|
load: 3.4, # Float | Initial loading amount.
|
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
|
-
event_date: Date.parse("2013-10-20"), # Date | Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
|
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
|
+
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
|
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
|
290
|
+
event_payin_start_date: Date.parse("2013-10-20"), # Date | Wallet activation date. The date ferom 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
|
+
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
|
|
294
294
|
begin
|
@@ -307,24 +307,24 @@ Name | Type | Description | Notes
|
|
307
307
|
**wallet_type_id** | **Integer**| Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) | |
|
308
308
|
**tariff_id** | **Integer**| Wallet pricing id. |
|
309
309
|
**user_id** | **Integer**| Wallet owner's id. |
|
310
|
-
**currency** | **String**| The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD
|
311
|
-
**event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
|
312
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
313
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
314
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
315
|
-
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
316
|
-
**joint_user_id** | **Integer**| Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
|
310
|
+
**currency** | **String**| The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD … Default currency will be same as the wallet |
|
311
|
+
**event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y |
|
312
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
313
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
314
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
315
|
+
**access_user_ip** | **Integer**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
316
|
+
**joint_user_id** | **Integer**| Wallet co-owner's id. This user will not be allowed to collect the money from the wallet. | [optional]
|
317
317
|
**wallet_tag** | **String**| Custom data | [optional]
|
318
318
|
**load** | **Float**| Initial loading amount. | [optional]
|
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.
|
320
|
-
**event_date** | **Date**| Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
|
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
|
+
**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
|
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
|
322
|
+
**event_payin_start_date** | **Date**| Wallet activation date. The date ferom 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
|
+
**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
|
+
[**InlineResponse20027**](InlineResponse20027.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
|
+
> InlineResponse20027 put_wallet(id, opts)
|
342
342
|
|
343
343
|
update a wallet
|
344
344
|
|
@@ -361,10 +361,10 @@ api_instance = TreezorClient::WalletApi.new
|
|
361
361
|
id = 789 # Integer | Object internal id.
|
362
362
|
|
363
363
|
opts = {
|
364
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
365
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
366
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
367
|
-
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).
|
364
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
365
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
366
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
367
|
+
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).
|
368
368
|
wallet_type_id: "wallet_type_id_example", # String | Change wallet type id
|
369
369
|
event_name: "event_name_example", # String | Change event name
|
370
370
|
event_alias: "event_alias_example", # String | Change event alias. Please note that the eventAlias must be unique.
|
@@ -391,10 +391,10 @@ end
|
|
391
391
|
Name | Type | Description | Notes
|
392
392
|
------------- | ------------- | ------------- | -------------
|
393
393
|
**id** | **Integer**| Object internal id. |
|
394
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
395
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
396
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
397
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
394
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
|
395
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
396
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
397
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
398
398
|
**wallet_type_id** | **String**| Change wallet type id | [optional]
|
399
399
|
**event_name** | **String**| Change event name | [optional]
|
400
400
|
**event_alias** | **String**| Change event alias. Please note that the eventAlias must be unique. | [optional]
|
@@ -408,7 +408,7 @@ Name | Type | Description | Notes
|
|
408
408
|
|
409
409
|
### Return type
|
410
410
|
|
411
|
-
[**
|
411
|
+
[**InlineResponse20027**](InlineResponse20027.md)
|
412
412
|
|
413
413
|
### Authorization
|
414
414
|
|
@@ -23,10 +23,10 @@ module TreezorClient
|
|
23
23
|
# search balances
|
24
24
|
# Get balances that match search criteria.
|
25
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's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
29
|
-
# @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).
|
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's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
29
|
+
# @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).
|
30
30
|
# @option opts [Integer] :wallet_id Wallet's ID of wanted balance
|
31
31
|
# @option opts [Integer] :user_id Wallet's user id of wanted balanced
|
32
32
|
# @return [InlineResponse2002]
|
@@ -38,10 +38,10 @@ module TreezorClient
|
|
38
38
|
# search balances
|
39
39
|
# Get balances that match search criteria.
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
42
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
43
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
44
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
41
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
42
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
43
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
44
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
45
45
|
# @option opts [Integer] :wallet_id Wallet's ID of wanted balance
|
46
46
|
# @option opts [Integer] :user_id Wallet's user id of wanted balanced
|
47
47
|
# @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
|