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/CardDigitalization.md
CHANGED
@@ -4,10 +4,8 @@
|
|
4
4
|
Name | Type | Description | Notes
|
5
5
|
------------ | ------------- | ------------- | -------------
|
6
6
|
**id** | **Integer** | | [optional]
|
7
|
-
**external_id** | **Integer** | | [optional]
|
8
7
|
**card_id** | **String** | | [optional]
|
9
|
-
**
|
10
|
-
**status** | **Integer** | | [optional]
|
8
|
+
**status** | **String** | | Status | Description | | ---- | ----------- | | A | Active | | N | Not tokenized | | S | Suspended | | X | Deactivated (Final status, cannot be changed)| | [optional]
|
11
9
|
**created_date** | **String** | | [optional]
|
12
10
|
**modified_date** | **String** | | [optional]
|
13
11
|
|
@@ -5,6 +5,7 @@ All URIs are relative to *https://sandbox.treezor.com/v1/index.php*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**card_digitalizations_id**](CardDigitalizationsApi.md#card_digitalizations_id) | **GET** /cardDigitalizations/{id} | Get a card digitalizations based on its internal id
|
8
|
+
[**deletecard_digitalizations_id**](CardDigitalizationsApi.md#deletecard_digitalizations_id) | **DELETE** /cardDigitalizations/{id} | Deletes a payment Token
|
8
9
|
[**putcard_digitalizations_id**](CardDigitalizationsApi.md#putcard_digitalizations_id) | **PUT** /cardDigitalizations/{id} | Update the status of a payment Token
|
9
10
|
[**readcard_digitalizations**](CardDigitalizationsApi.md#readcard_digitalizations) | **GET** /cardDigitalizations | search for card digitalizations
|
10
11
|
|
@@ -67,8 +68,65 @@ Name | Type | Description | Notes
|
|
67
68
|
|
68
69
|
|
69
70
|
|
71
|
+
# **deletecard_digitalizations_id**
|
72
|
+
> InlineResponse2008 deletecard_digitalizations_id(id, reason_code)
|
73
|
+
|
74
|
+
Deletes a payment Token
|
75
|
+
|
76
|
+
Deletes a payment Token
|
77
|
+
|
78
|
+
### Example
|
79
|
+
```ruby
|
80
|
+
# load the gem
|
81
|
+
require 'treezor_client'
|
82
|
+
# setup authorization
|
83
|
+
TreezorClient.configure do |config|
|
84
|
+
# Configure API key authorization: api_key
|
85
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
86
|
+
# Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
|
87
|
+
#config.api_key_prefix['Authorization'] = 'Bearer'
|
88
|
+
end
|
89
|
+
|
90
|
+
api_instance = TreezorClient::CardDigitalizationsApi.new
|
91
|
+
|
92
|
+
id = 789 # Integer | Card digitalization internal id.
|
93
|
+
|
94
|
+
reason_code = "reason_code_example" # String | The reason code for the action. Possible values are : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | F | Issuer or cardholder confirmed fraudulent token transactions (Deprecated) | | T | Issuer or cardholder confirmed fraudulent token transactions | | C | Account closed | | Z | Other |
|
95
|
+
|
96
|
+
|
97
|
+
begin
|
98
|
+
#Deletes a payment Token
|
99
|
+
result = api_instance.deletecard_digitalizations_id(id, reason_code)
|
100
|
+
p result
|
101
|
+
rescue TreezorClient::ApiError => e
|
102
|
+
puts "Exception when calling CardDigitalizationsApi->deletecard_digitalizations_id: #{e}"
|
103
|
+
end
|
104
|
+
```
|
105
|
+
|
106
|
+
### Parameters
|
107
|
+
|
108
|
+
Name | Type | Description | Notes
|
109
|
+
------------- | ------------- | ------------- | -------------
|
110
|
+
**id** | **Integer**| Card digitalization internal id. |
|
111
|
+
**reason_code** | **String**| The reason code for the action. Possible values are : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | F | Issuer or cardholder confirmed fraudulent token transactions (Deprecated) | | T | Issuer or cardholder confirmed fraudulent token transactions | | C | Account closed | | Z | Other | |
|
112
|
+
|
113
|
+
### Return type
|
114
|
+
|
115
|
+
[**InlineResponse2008**](InlineResponse2008.md)
|
116
|
+
|
117
|
+
### Authorization
|
118
|
+
|
119
|
+
[api_key](../README.md#api_key)
|
120
|
+
|
121
|
+
### HTTP request headers
|
122
|
+
|
123
|
+
- **Content-Type**: application/json
|
124
|
+
- **Accept**: application/json
|
125
|
+
|
126
|
+
|
127
|
+
|
70
128
|
# **putcard_digitalizations_id**
|
71
|
-
> InlineResponse2008 putcard_digitalizations_id(id, status,
|
129
|
+
> InlineResponse2008 putcard_digitalizations_id(id, status, reason_code)
|
72
130
|
|
73
131
|
Update the status of a payment Token
|
74
132
|
|
@@ -90,15 +148,14 @@ api_instance = TreezorClient::CardDigitalizationsApi.new
|
|
90
148
|
|
91
149
|
id = 789 # Integer | Card digitalization internal id.
|
92
150
|
|
93
|
-
status =
|
151
|
+
status = "status_example" # String | The new status for the payment Token. Possible values are : | Status | Description | | ---- | ----------- | | unsuspend | Unsuspend | | suspend | Suspend |
|
152
|
+
|
153
|
+
reason_code = "reason_code_example" # String | The reason code for the action. Possible values are : - For a suspension : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | T | Issuer or cardholder confirmed fraudulent token transactions | | Z | Other | - For an unsuspension : | Reason code | Description | | ---- | ----------- | | F | Cardholder reported token device found or not stolen | | T | Issuer or cardholder confirmed no fraudulent token transactions | | Z | Other |
|
94
154
|
|
95
|
-
opts = {
|
96
|
-
fields: "fields_example" # String | fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
|
97
|
-
}
|
98
155
|
|
99
156
|
begin
|
100
157
|
#Update the status of a payment Token
|
101
|
-
result = api_instance.putcard_digitalizations_id(id, status,
|
158
|
+
result = api_instance.putcard_digitalizations_id(id, status, reason_code)
|
102
159
|
p result
|
103
160
|
rescue TreezorClient::ApiError => e
|
104
161
|
puts "Exception when calling CardDigitalizationsApi->putcard_digitalizations_id: #{e}"
|
@@ -110,8 +167,8 @@ end
|
|
110
167
|
Name | Type | Description | Notes
|
111
168
|
------------- | ------------- | ------------- | -------------
|
112
169
|
**id** | **Integer**| Card digitalization internal id. |
|
113
|
-
**status** | **
|
114
|
-
**
|
170
|
+
**status** | **String**| The new status for the payment Token. Possible values are : | Status | Description | | ---- | ----------- | | unsuspend | Unsuspend | | suspend | Suspend | |
|
171
|
+
**reason_code** | **String**| The reason code for the action. Possible values are : - For a suspension : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | T | Issuer or cardholder confirmed fraudulent token transactions | | Z | Other | - For an unsuspension : | Reason code | Description | | ---- | ----------- | | F | Cardholder reported token device found or not stolen | | T | Issuer or cardholder confirmed no fraudulent token transactions | | Z | Other | |
|
115
172
|
|
116
173
|
### Return type
|
117
174
|
|
@@ -150,10 +207,10 @@ end
|
|
150
207
|
api_instance = TreezorClient::CardDigitalizationsApi.new
|
151
208
|
|
152
209
|
opts = {
|
153
|
-
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).
|
154
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
155
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
156
|
-
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).
|
210
|
+
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).
|
211
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
212
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
213
|
+
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).
|
157
214
|
filter: "filter_example", # String | Filterable fields are : - id - externalId - cardId - status - detailsFromGPS - createdDate - modifiedDate More info [here](https://agent.treezor.com/filterv2).
|
158
215
|
fields: "fields_example" # String | fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
|
159
216
|
}
|
@@ -171,10 +228,10 @@ end
|
|
171
228
|
|
172
229
|
Name | Type | Description | Notes
|
173
230
|
------------- | ------------- | ------------- | -------------
|
174
|
-
**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).
|
175
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
176
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
177
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
231
|
+
**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]
|
232
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
233
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
234
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
178
235
|
**filter** | **String**| Filterable fields are : - id - externalId - cardId - status - detailsFromGPS - createdDate - modifiedDate More info [here](https://agent.treezor.com/filterv2). | [optional]
|
179
236
|
**fields** | **String**| fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate | [optional]
|
180
237
|
|
data/docs/CardReserveApi.md
CHANGED
@@ -31,10 +31,10 @@ end
|
|
31
31
|
api_instance = TreezorClient::CardReserveApi.new
|
32
32
|
|
33
33
|
opts = {
|
34
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
35
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
36
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
37
|
-
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
34
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
35
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
36
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
37
|
+
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
38
38
|
body: TreezorClient::Body3.new # Body3 |
|
39
39
|
}
|
40
40
|
|
@@ -51,10 +51,10 @@ end
|
|
51
51
|
|
52
52
|
Name | Type | Description | Notes
|
53
53
|
------------- | ------------- | ------------- | -------------
|
54
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
55
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
56
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
57
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
54
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication). | [optional]
|
55
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). | [optional]
|
56
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics). | [optional]
|
57
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics). | [optional]
|
58
58
|
**body** | [**Body3**](Body3.md)| | [optional]
|
59
59
|
|
60
60
|
### Return type
|
@@ -94,10 +94,10 @@ end
|
|
94
94
|
api_instance = TreezorClient::CardReserveApi.new
|
95
95
|
|
96
96
|
opts = {
|
97
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
98
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
99
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
100
|
-
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
97
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
98
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
99
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
100
|
+
access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
101
101
|
body: TreezorClient::Body4.new # Body4 |
|
102
102
|
}
|
103
103
|
|
@@ -114,10 +114,10 @@ end
|
|
114
114
|
|
115
115
|
Name | Type | Description | Notes
|
116
116
|
------------- | ------------- | ------------- | -------------
|
117
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
118
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
119
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
120
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
117
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication). | [optional]
|
118
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). | [optional]
|
119
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics). | [optional]
|
120
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics). | [optional]
|
121
121
|
**body** | [**Body4**](Body4.md)| | [optional]
|
122
122
|
|
123
123
|
### Return type
|
@@ -159,10 +159,10 @@ api_instance = TreezorClient::CardReserveApi.new
|
|
159
159
|
id = 789 # Integer | the cardId of the reserved amount you want to pick up
|
160
160
|
|
161
161
|
opts = {
|
162
|
-
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
163
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
164
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
165
|
-
access_user_ip: "access_user_ip_example" # String | Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
162
|
+
access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
163
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
164
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
165
|
+
access_user_ip: "access_user_ip_example" # String | Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
166
166
|
}
|
167
167
|
|
168
168
|
begin
|
@@ -179,10 +179,10 @@ end
|
|
179
179
|
Name | Type | Description | Notes
|
180
180
|
------------- | ------------- | ------------- | -------------
|
181
181
|
**id** | **Integer**| the cardId of the reserved amount you want to pick up |
|
182
|
-
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
183
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
184
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
185
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
182
|
+
**access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication). | [optional]
|
183
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). | [optional]
|
184
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics). | [optional]
|
185
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics). | [optional]
|
186
186
|
|
187
187
|
### Return type
|
188
188
|
|
data/docs/CardtransactionApi.md
CHANGED
@@ -9,7 +9,7 @@ Method | HTTP request | Description
|
|
9
9
|
|
10
10
|
|
11
11
|
# **get_cardtransaction**
|
12
|
-
>
|
12
|
+
> InlineResponse20011 get_cardtransaction(id)
|
13
13
|
|
14
14
|
get a card transaction
|
15
15
|
|
@@ -49,7 +49,7 @@ Name | Type | Description | Notes
|
|
49
49
|
|
50
50
|
### Return type
|
51
51
|
|
52
|
-
[**
|
52
|
+
[**InlineResponse20011**](InlineResponse20011.md)
|
53
53
|
|
54
54
|
### Authorization
|
55
55
|
|
@@ -84,18 +84,19 @@ end
|
|
84
84
|
api_instance = TreezorClient::CardtransactionApi.new
|
85
85
|
|
86
86
|
opts = {
|
87
|
-
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).
|
88
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
89
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
90
|
-
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).
|
87
|
+
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).
|
88
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
89
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
90
|
+
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).
|
91
91
|
cardtransaction_id: 56, # Integer | Card transaction's Id
|
92
92
|
card_id: 56, # Integer | Card's Id
|
93
93
|
wallet_id: 56, # Integer | Card's wallet Id
|
94
94
|
merchant_id: 56, # Integer | Merchant's Id
|
95
95
|
public_token: "public_token_example", # String | Card's public token
|
96
96
|
payment_id: 56, # Integer | Payment's Id
|
97
|
-
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
98
|
-
page_count: 56 # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
97
|
+
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
98
|
+
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
99
|
+
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). required: false
|
99
100
|
}
|
100
101
|
|
101
102
|
begin
|
@@ -111,18 +112,19 @@ end
|
|
111
112
|
|
112
113
|
Name | Type | Description | Notes
|
113
114
|
------------- | ------------- | ------------- | -------------
|
114
|
-
**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).
|
115
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
116
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
117
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
115
|
+
**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]
|
116
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
117
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
118
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
118
119
|
**cardtransaction_id** | **Integer**| Card transaction's Id | [optional]
|
119
120
|
**card_id** | **Integer**| Card's Id | [optional]
|
120
121
|
**wallet_id** | **Integer**| Card's wallet Id | [optional]
|
121
122
|
**merchant_id** | **Integer**| Merchant's Id | [optional]
|
122
123
|
**public_token** | **String**| Card's public token | [optional]
|
123
124
|
**payment_id** | **Integer**| Payment's Id | [optional]
|
124
|
-
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists).
|
125
|
-
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists).
|
125
|
+
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
|
126
|
+
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
|
127
|
+
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists). required: false | [optional]
|
126
128
|
|
127
129
|
### Return type
|
128
130
|
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# TreezorClient::CountryRestrictionGroup
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **Integer** | Country Group's id | [optional]
|
7
|
+
**name** | **String** | Country Group's name | [optional]
|
8
|
+
**is_whitelist** | **BOOLEAN** | determines whether it will be a black or a white list | [optional]
|
9
|
+
**countries** | **Array<String>** | Array of countries | [optional]
|
10
|
+
**status** | **String** | status of the country group | [optional]
|
11
|
+
**start_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
|
12
|
+
**created_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
|
13
|
+
|
14
|
+
|
@@ -12,7 +12,7 @@ Method | HTTP request | Description
|
|
12
12
|
|
13
13
|
|
14
14
|
# **delete_country_restriction_groups**
|
15
|
-
>
|
15
|
+
> InlineResponse20016 delete_country_restriction_groups(id, opts)
|
16
16
|
|
17
17
|
cancel a country 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_country_restriction_groups**
|
73
|
-
>
|
73
|
+
> InlineResponse20016 get_country_restriction_groups(opts)
|
74
74
|
|
75
75
|
search country restriction groups
|
76
76
|
|
@@ -91,15 +91,15 @@ end
|
|
91
91
|
api_instance = TreezorClient::CountryRestrictionGroupsApi.new
|
92
92
|
|
93
93
|
opts = {
|
94
|
-
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).
|
95
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
96
|
-
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
97
|
-
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).
|
94
|
+
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).
|
95
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
96
|
+
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
97
|
+
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).
|
98
98
|
fields: ["fields_example"], # Array<String> | List of the object's properties you want to pick up.
|
99
99
|
filter: "filter_example", # String | You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 |
|
100
|
-
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
101
|
-
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
102
|
-
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).
|
100
|
+
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
101
|
+
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
102
|
+
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
103
|
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).
|
104
104
|
}
|
105
105
|
|
@@ -116,20 +116,20 @@ end
|
|
116
116
|
|
117
117
|
Name | Type | Description | Notes
|
118
118
|
------------- | ------------- | ------------- | -------------
|
119
|
-
**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).
|
120
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
121
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
122
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
119
|
+
**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]
|
120
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
121
|
+
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
122
|
+
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
|
123
123
|
**fields** | [**Array<String>**](String.md)| List of the object's properties you want to pick up. | [optional]
|
124
124
|
**filter** | **String**| You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 | | [optional]
|
125
|
-
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists).
|
126
|
-
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists).
|
127
|
-
**sort_by** | **String**| The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
125
|
+
**page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
|
126
|
+
**page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
|
127
|
+
**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]
|
128
128
|
**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]
|
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_country_restriction_groups_id**
|
146
|
-
>
|
146
|
+
> InlineResponse20016 get_country_restriction_groups_id(id, opts)
|
147
147
|
|
148
148
|
get a country 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_country_restriction_group**
|
204
|
-
>
|
204
|
+
> InlineResponse20016 post_country_restriction_group(opts)
|
205
205
|
|
206
206
|
create a countryRestrictionGroup
|
207
207
|
|
@@ -222,10 +222,10 @@ end
|
|
222
222
|
api_instance = TreezorClient::CountryRestrictionGroupsApi.new
|
223
223
|
|
224
224
|
opts = {
|
225
|
-
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).
|
226
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
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
|
-
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).
|
225
|
+
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).
|
226
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
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
|
+
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
230
|
body: TreezorClient::Body9.new # Body9 |
|
231
231
|
}
|
@@ -243,16 +243,16 @@ end
|
|
243
243
|
|
244
244
|
Name | Type | Description | Notes
|
245
245
|
------------- | ------------- | ------------- | -------------
|
246
|
-
**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).
|
247
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
248
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
249
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
246
|
+
**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]
|
247
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
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
|
+
**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
251
|
**body** | [**Body9**](Body9.md)| | [optional]
|
252
252
|
|
253
253
|
### Return type
|
254
254
|
|
255
|
-
[**
|
255
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
256
256
|
|
257
257
|
### Authorization
|
258
258
|
|
@@ -266,7 +266,7 @@ Name | Type | Description | Notes
|
|
266
266
|
|
267
267
|
|
268
268
|
# **put_country_restriction_groups**
|
269
|
-
>
|
269
|
+
> InlineResponse20016 put_country_restriction_groups(id, opts)
|
270
270
|
|
271
271
|
edit a country restriction group
|
272
272
|
|
@@ -289,10 +289,10 @@ api_instance = TreezorClient::CountryRestrictionGroupsApi.new
|
|
289
289
|
id = 56 # Integer | country group's id.
|
290
290
|
|
291
291
|
opts = {
|
292
|
-
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).
|
293
|
-
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
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
|
-
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).
|
292
|
+
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).
|
293
|
+
access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
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
|
+
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
296
|
body: TreezorClient::Body10.new # Body10 |
|
297
297
|
}
|
298
298
|
|
@@ -310,15 +310,15 @@ end
|
|
310
310
|
Name | Type | Description | Notes
|
311
311
|
------------- | ------------- | ------------- | -------------
|
312
312
|
**id** | **Integer**| country group's id. |
|
313
|
-
**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).
|
314
|
-
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
315
|
-
**access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
316
|
-
**access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
313
|
+
**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]
|
314
|
+
**access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
|
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
|
+
**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
317
|
**body** | [**Body10**](Body10.md)| | [optional]
|
318
318
|
|
319
319
|
### Return type
|
320
320
|
|
321
|
-
[**
|
321
|
+
[**InlineResponse20016**](InlineResponse20016.md)
|
322
322
|
|
323
323
|
### Authorization
|
324
324
|
|
data/docs/Document.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**document_status** | **String** | | [optional]
|
9
9
|
**document_type_id** | **Integer** | | [optional]
|
10
10
|
**document_type** | **String** | | [optional]
|
11
|
+
**residence_id** | **Integer** | | [optional]
|
11
12
|
**client_id** | **Integer** | | [optional]
|
12
13
|
**user_id** | **Integer** | | [optional]
|
13
14
|
**user_lastname** | **String** | | [optional]
|