treezor_client 1.11.0 → 1.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -20
- data/README.md +2 -1
- data/docs/Body11.md +9 -0
- data/docs/CardApi.md +0 -53
- data/docs/CardDigitalization.md +1 -1
- data/docs/CardReserveApi.md +4 -10
- data/docs/CardtransactionApi.md +1 -1
- data/docs/InlineResponse20010Cardtransactions.md +1 -0
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse2009Cardtransactions.md +1 -0
- data/docs/MerchantIdRestrictionGroupsApi.md +67 -0
- data/docs/UserApi.md +6 -6
- data/docs/WalletApi.md +1 -5
- data/lib/treezor_client.rb +1 -0
- data/lib/treezor_client/api/card_api.rb +0 -48
- data/lib/treezor_client/api/card_reserve_api.rb +6 -20
- data/lib/treezor_client/api/cardtransaction_api.rb +2 -2
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +68 -0
- data/lib/treezor_client/api/user_api.rb +6 -6
- data/lib/treezor_client/api/wallet_api.rb +2 -8
- data/lib/treezor_client/models/body_11.rb +230 -0
- data/lib/treezor_client/models/card_digitalization.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +10 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +10 -1
- data/lib/treezor_client/models/payin.rb +2 -2
- data/lib/treezor_client/version.rb +1 -1
- data/original_treezor_api_spec.yaml +111 -78
- 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/pkg/treezor_client-1.3.0.gem +0 -0
- data/pkg/treezor_client-1.4.0.gem +0 -0
- data/spec/models/body_11_spec.rb +51 -0
- data/treezor_api_spec.yaml +99 -73
- metadata +11 -3
- data/pkg/treezor_client-1.10.0.gem +0 -0
@@ -18,7 +18,7 @@ module TreezorClient
|
|
18
18
|
|
19
19
|
attr_accessor :card_id
|
20
20
|
|
21
|
-
# | Status | Description | | ---- | ----------- | | A | Active | |
|
21
|
+
# | Status | Description | | ---- | ----------- | | A | Active | | U | Not tokenized | | S | Suspended | | D | Deactivated (Final status, cannot be changed)|
|
22
22
|
attr_accessor :status
|
23
23
|
|
24
24
|
attr_accessor :created_date
|
@@ -20,6 +20,8 @@ module TreezorClient
|
|
20
20
|
|
21
21
|
attr_accessor :wallet_id
|
22
22
|
|
23
|
+
attr_accessor :acquirer_id
|
24
|
+
|
23
25
|
attr_accessor :wallet_currency
|
24
26
|
|
25
27
|
attr_accessor :merchant_id
|
@@ -126,6 +128,7 @@ module TreezorClient
|
|
126
128
|
:'cardtransaction_id' => :'cardtransactionId',
|
127
129
|
:'card_id' => :'cardId',
|
128
130
|
:'wallet_id' => :'walletId',
|
131
|
+
:'acquirer_id' => :'acquirerId',
|
129
132
|
:'wallet_currency' => :'walletCurrency',
|
130
133
|
:'merchant_id' => :'merchantId',
|
131
134
|
:'merchant_name' => :'merchantName',
|
@@ -183,6 +186,7 @@ module TreezorClient
|
|
183
186
|
:'cardtransaction_id' => :'String',
|
184
187
|
:'card_id' => :'String',
|
185
188
|
:'wallet_id' => :'String',
|
189
|
+
:'acquirer_id' => :'String',
|
186
190
|
:'wallet_currency' => :'String',
|
187
191
|
:'merchant_id' => :'String',
|
188
192
|
:'merchant_name' => :'String',
|
@@ -254,6 +258,10 @@ module TreezorClient
|
|
254
258
|
self.wallet_id = attributes[:'walletId']
|
255
259
|
end
|
256
260
|
|
261
|
+
if attributes.has_key?(:'acquirerId')
|
262
|
+
self.acquirer_id = attributes[:'acquirerId']
|
263
|
+
end
|
264
|
+
|
257
265
|
if attributes.has_key?(:'walletCurrency')
|
258
266
|
self.wallet_currency = attributes[:'walletCurrency']
|
259
267
|
end
|
@@ -468,6 +476,7 @@ module TreezorClient
|
|
468
476
|
cardtransaction_id == o.cardtransaction_id &&
|
469
477
|
card_id == o.card_id &&
|
470
478
|
wallet_id == o.wallet_id &&
|
479
|
+
acquirer_id == o.acquirer_id &&
|
471
480
|
wallet_currency == o.wallet_currency &&
|
472
481
|
merchant_id == o.merchant_id &&
|
473
482
|
merchant_name == o.merchant_name &&
|
@@ -527,7 +536,7 @@ module TreezorClient
|
|
527
536
|
# Calculates hash code according to all attributes.
|
528
537
|
# @return [Fixnum] Hash code
|
529
538
|
def hash
|
530
|
-
[cardtransaction_id, card_id, wallet_id, wallet_currency, merchant_id, merchant_name, merchant_city, merchant_country, mcc_code, payment_local_time, public_token, payment_amount, payment_currency, fees, payment_country, payment_id, payment_status, payment_local_amount, pos_cardholder_presence, pos_postcode, pos_country, pos_terminal_id, pos_card_presence, pan_entry_method, authorization_note, authorization_response_code, authorization_issuer_id, authorization_issuer_time, authorization_mti, authorized_balance, limit_atm_year, limit_atm_month, limit_atm_week, limit_atm_day, limit_atm_all, limit_payment_year, limit_payment_month, limit_payment_week, limit_payment_day, limit_payment_all, total_limit_atm_year, total_limit_atm_month, total_limit_atm_week, total_limit_atm_day, total_limit_atm_all, total_limit_payment_year, total_limit_payment_month, total_limit_payment_week, total_limit_payment_day, total_limit_payment_all, total_rows].hash
|
539
|
+
[cardtransaction_id, card_id, wallet_id, acquirer_id, wallet_currency, merchant_id, merchant_name, merchant_city, merchant_country, mcc_code, payment_local_time, public_token, payment_amount, payment_currency, fees, payment_country, payment_id, payment_status, payment_local_amount, pos_cardholder_presence, pos_postcode, pos_country, pos_terminal_id, pos_card_presence, pan_entry_method, authorization_note, authorization_response_code, authorization_issuer_id, authorization_issuer_time, authorization_mti, authorized_balance, limit_atm_year, limit_atm_month, limit_atm_week, limit_atm_day, limit_atm_all, limit_payment_year, limit_payment_month, limit_payment_week, limit_payment_day, limit_payment_all, total_limit_atm_year, total_limit_atm_month, total_limit_atm_week, total_limit_atm_day, total_limit_atm_all, total_limit_payment_year, total_limit_payment_month, total_limit_payment_week, total_limit_payment_day, total_limit_payment_all, total_rows].hash
|
531
540
|
end
|
532
541
|
|
533
542
|
# Builds the object from hash
|
@@ -14,19 +14,19 @@ require 'date'
|
|
14
14
|
|
15
15
|
module TreezorClient
|
16
16
|
class InlineResponse20016
|
17
|
-
attr_accessor :
|
17
|
+
attr_accessor :merchant_id_restriction_groups
|
18
18
|
|
19
19
|
# Attribute mapping from ruby-style variable name to JSON key.
|
20
20
|
def self.attribute_map
|
21
21
|
{
|
22
|
-
:'
|
22
|
+
:'merchant_id_restriction_groups' => :'merchantIdRestrictionGroups'
|
23
23
|
}
|
24
24
|
end
|
25
25
|
|
26
26
|
# Attribute type mapping.
|
27
27
|
def self.swagger_types
|
28
28
|
{
|
29
|
-
:'
|
29
|
+
:'merchant_id_restriction_groups' => :'Array<MerchantIdRestrictionGroup>'
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
@@ -38,9 +38,9 @@ module TreezorClient
|
|
38
38
|
# convert string to symbol for hash key
|
39
39
|
attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }
|
40
40
|
|
41
|
-
if attributes.has_key?(:'
|
42
|
-
if (value = attributes[:'
|
43
|
-
self.
|
41
|
+
if attributes.has_key?(:'merchantIdRestrictionGroups')
|
42
|
+
if (value = attributes[:'merchantIdRestrictionGroups']).is_a?(Array)
|
43
|
+
self.merchant_id_restriction_groups = value
|
44
44
|
end
|
45
45
|
end
|
46
46
|
end
|
@@ -63,7 +63,7 @@ module TreezorClient
|
|
63
63
|
def ==(o)
|
64
64
|
return true if self.equal?(o)
|
65
65
|
self.class == o.class &&
|
66
|
-
|
66
|
+
merchant_id_restriction_groups == o.merchant_id_restriction_groups
|
67
67
|
end
|
68
68
|
|
69
69
|
# @see the `==` method
|
@@ -75,7 +75,7 @@ module TreezorClient
|
|
75
75
|
# Calculates hash code according to all attributes.
|
76
76
|
# @return [Fixnum] Hash code
|
77
77
|
def hash
|
78
|
-
[
|
78
|
+
[merchant_id_restriction_groups].hash
|
79
79
|
end
|
80
80
|
|
81
81
|
# Builds the object from hash
|
@@ -20,6 +20,8 @@ module TreezorClient
|
|
20
20
|
|
21
21
|
attr_accessor :wallet_id
|
22
22
|
|
23
|
+
attr_accessor :acquirer_id
|
24
|
+
|
23
25
|
attr_accessor :wallet_currency
|
24
26
|
|
25
27
|
attr_accessor :merchant_id
|
@@ -126,6 +128,7 @@ module TreezorClient
|
|
126
128
|
:'cardtransaction_id' => :'cardtransactionId',
|
127
129
|
:'card_id' => :'cardId',
|
128
130
|
:'wallet_id' => :'walletId',
|
131
|
+
:'acquirer_id' => :'acquirerId',
|
129
132
|
:'wallet_currency' => :'walletCurrency',
|
130
133
|
:'merchant_id' => :'merchantId',
|
131
134
|
:'merchant_name' => :'merchantName',
|
@@ -183,6 +186,7 @@ module TreezorClient
|
|
183
186
|
:'cardtransaction_id' => :'Integer',
|
184
187
|
:'card_id' => :'Integer',
|
185
188
|
:'wallet_id' => :'Integer',
|
189
|
+
:'acquirer_id' => :'Integer',
|
186
190
|
:'wallet_currency' => :'String',
|
187
191
|
:'merchant_id' => :'String',
|
188
192
|
:'merchant_name' => :'String',
|
@@ -254,6 +258,10 @@ module TreezorClient
|
|
254
258
|
self.wallet_id = attributes[:'walletId']
|
255
259
|
end
|
256
260
|
|
261
|
+
if attributes.has_key?(:'acquirerId')
|
262
|
+
self.acquirer_id = attributes[:'acquirerId']
|
263
|
+
end
|
264
|
+
|
257
265
|
if attributes.has_key?(:'walletCurrency')
|
258
266
|
self.wallet_currency = attributes[:'walletCurrency']
|
259
267
|
end
|
@@ -468,6 +476,7 @@ module TreezorClient
|
|
468
476
|
cardtransaction_id == o.cardtransaction_id &&
|
469
477
|
card_id == o.card_id &&
|
470
478
|
wallet_id == o.wallet_id &&
|
479
|
+
acquirer_id == o.acquirer_id &&
|
471
480
|
wallet_currency == o.wallet_currency &&
|
472
481
|
merchant_id == o.merchant_id &&
|
473
482
|
merchant_name == o.merchant_name &&
|
@@ -527,7 +536,7 @@ module TreezorClient
|
|
527
536
|
# Calculates hash code according to all attributes.
|
528
537
|
# @return [Fixnum] Hash code
|
529
538
|
def hash
|
530
|
-
[cardtransaction_id, card_id, wallet_id, wallet_currency, merchant_id, merchant_name, merchant_city, merchant_country, mcc_code, payment_local_time, public_token, payment_amount, payment_currency, fees, payment_country, payment_id, payment_status, payment_local_amount, pos_cardholder_presence, pos_postcode, pos_country, pos_terminal_id, pos_card_presence, pan_entry_method, authorization_note, authorization_response_code, authorization_issuer_id, authorization_issuer_time, authorization_mti, authorized_balance, limit_atm_year, limit_atm_month, limit_atm_week, limit_atm_day, limit_atm_all, limit_payment_year, limit_payment_month, limit_payment_week, limit_payment_day, limit_payment_all, total_limit_atm_year, total_limit_atm_month, total_limit_atm_week, total_limit_atm_day, total_limit_atm_all, total_limit_payment_year, total_limit_payment_month, total_limit_payment_week, total_limit_payment_day, total_limit_payment_all, total_rows].hash
|
539
|
+
[cardtransaction_id, card_id, wallet_id, acquirer_id, wallet_currency, merchant_id, merchant_name, merchant_city, merchant_country, mcc_code, payment_local_time, public_token, payment_amount, payment_currency, fees, payment_country, payment_id, payment_status, payment_local_amount, pos_cardholder_presence, pos_postcode, pos_country, pos_terminal_id, pos_card_presence, pan_entry_method, authorization_note, authorization_response_code, authorization_issuer_id, authorization_issuer_time, authorization_mti, authorized_balance, limit_atm_year, limit_atm_month, limit_atm_week, limit_atm_day, limit_atm_all, limit_payment_year, limit_payment_month, limit_payment_week, limit_payment_day, limit_payment_all, total_limit_atm_year, total_limit_atm_month, total_limit_atm_week, total_limit_atm_day, total_limit_atm_all, total_limit_payment_year, total_limit_payment_month, total_limit_payment_week, total_limit_payment_day, total_limit_payment_all, total_rows].hash
|
531
540
|
end
|
532
541
|
|
533
542
|
# Builds the object from hash
|
@@ -461,7 +461,7 @@ module TreezorClient
|
|
461
461
|
# Check to see if the all the properties in the model are valid
|
462
462
|
# @return true if the model is valid
|
463
463
|
def valid?
|
464
|
-
payin_status_validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'VALIDATED'])
|
464
|
+
payin_status_validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'CANCELLED', 'VALIDATED'])
|
465
465
|
return false unless payin_status_validator.valid?(@payin_status)
|
466
466
|
true
|
467
467
|
end
|
@@ -469,7 +469,7 @@ module TreezorClient
|
|
469
469
|
# Custom attribute writer method checking allowed values (enum).
|
470
470
|
# @param [Object] payin_status Object to be assigned
|
471
471
|
def payin_status=(payin_status)
|
472
|
-
validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'VALIDATED'])
|
472
|
+
validator = EnumAttributeValidator.new('String', ['PENDING', 'CANCELED', 'CANCELLED', 'VALIDATED'])
|
473
473
|
unless validator.valid?(payin_status)
|
474
474
|
fail ArgumentError, 'invalid value for "payin_status", must be one of #{validator.allowable_values}.'
|
475
475
|
end
|
@@ -1958,42 +1958,6 @@ paths:
|
|
1958
1958
|
- api_key: []
|
1959
1959
|
tags:
|
1960
1960
|
- card
|
1961
|
-
delete:
|
1962
|
-
summary: deactivate a card
|
1963
|
-
parameters:
|
1964
|
-
- name: id
|
1965
|
-
in: path
|
1966
|
-
description: Card's id.
|
1967
|
-
required: true
|
1968
|
-
type: integer
|
1969
|
-
format: int64
|
1970
|
-
responses:
|
1971
|
-
'200':
|
1972
|
-
description: OK
|
1973
|
-
schema:
|
1974
|
-
type: object
|
1975
|
-
properties:
|
1976
|
-
cards:
|
1977
|
-
type: array
|
1978
|
-
items:
|
1979
|
-
$ref: '#/definitions/Card'
|
1980
|
-
'400':
|
1981
|
-
description: Bad Request
|
1982
|
-
'401':
|
1983
|
-
description: Unauthorized
|
1984
|
-
default:
|
1985
|
-
description: Unexpected error
|
1986
|
-
schema:
|
1987
|
-
type: object
|
1988
|
-
properties:
|
1989
|
-
errors:
|
1990
|
-
type: array
|
1991
|
-
items:
|
1992
|
-
$ref: '#/definitions/Error'
|
1993
|
-
security:
|
1994
|
-
- api_key: []
|
1995
|
-
tags:
|
1996
|
-
- card
|
1997
1961
|
/cards/CreateVirtual:
|
1998
1962
|
post:
|
1999
1963
|
summary: create a virtual card
|
@@ -3410,6 +3374,7 @@ paths:
|
|
3410
3374
|
in: query
|
3411
3375
|
description: |
|
3412
3376
|
The new status for the payment Token. Possible values are :
|
3377
|
+
|
3413
3378
|
| Status | Description |
|
3414
3379
|
| ---- | ----------- |
|
3415
3380
|
| unsuspend | Unsuspend |
|
@@ -3649,11 +3614,6 @@ paths:
|
|
3649
3614
|
[here](https://www.treezor.com/basics).
|
3650
3615
|
required: false
|
3651
3616
|
type: string
|
3652
|
-
- name: id
|
3653
|
-
description: the cardId of the reserved amount you want to pick up
|
3654
|
-
required: true
|
3655
|
-
type: integer
|
3656
|
-
format: int64
|
3657
3617
|
- in: body
|
3658
3618
|
name: body
|
3659
3619
|
schema:
|
@@ -3731,11 +3691,6 @@ paths:
|
|
3731
3691
|
[here](https://www.treezor.com/basics).
|
3732
3692
|
required: false
|
3733
3693
|
type: string
|
3734
|
-
- name: id
|
3735
|
-
description: the cardId of the reserved amount you want to pick up
|
3736
|
-
required: true
|
3737
|
-
type: integer
|
3738
|
-
format: int64
|
3739
3694
|
- in: body
|
3740
3695
|
name: body
|
3741
3696
|
schema:
|
@@ -3776,7 +3731,7 @@ paths:
|
|
3776
3731
|
tags:
|
3777
3732
|
- cardtransaction
|
3778
3733
|
summary: search for card transactions
|
3779
|
-
description: Search for documents.
|
3734
|
+
description: Search for documents. The request must contain at least one of those inputs - cardId, paymentId, publicToken, walletId
|
3780
3735
|
operationId: readCardTransaction
|
3781
3736
|
consumes:
|
3782
3737
|
- application/json
|
@@ -3882,6 +3837,8 @@ paths:
|
|
3882
3837
|
type: integer
|
3883
3838
|
walletId:
|
3884
3839
|
type: integer
|
3840
|
+
acquirerId:
|
3841
|
+
type: integer
|
3885
3842
|
walletCurrency:
|
3886
3843
|
type: string
|
3887
3844
|
merchantId:
|
@@ -4079,6 +4036,8 @@ paths:
|
|
4079
4036
|
type: string
|
4080
4037
|
walletId:
|
4081
4038
|
type: string
|
4039
|
+
acquirerId:
|
4040
|
+
type: string
|
4082
4041
|
walletCurrency:
|
4083
4042
|
type: string
|
4084
4043
|
merchantId:
|
@@ -4410,6 +4369,7 @@ paths:
|
|
4410
4369
|
- criterion : a filter criterion.
|
4411
4370
|
|
4412
4371
|
Here are the possible values for criterion :
|
4372
|
+
|
4413
4373
|
| Criteria | Description | Type | Expression Example |
|
4414
4374
|
|----------|------------------------|------------------------------------------|--------------------|
|
4415
4375
|
| > | greater than | alphanumeric string | 100 |
|
@@ -6092,6 +6052,7 @@ paths:
|
|
6092
6052
|
- criterion : a filter criterion.
|
6093
6053
|
|
6094
6054
|
Here are the possible values for criterion :
|
6055
|
+
|
6095
6056
|
| Criteria | Description | Type | Expression Example |
|
6096
6057
|
|----------|------------------------|------------------------------------------|--------------------|
|
6097
6058
|
| > | greater than | alphanumeric string | 100 |
|
@@ -6427,7 +6388,7 @@ paths:
|
|
6427
6388
|
schema:
|
6428
6389
|
type: object
|
6429
6390
|
properties:
|
6430
|
-
|
6391
|
+
merchantIdRestrictionGroups:
|
6431
6392
|
type: array
|
6432
6393
|
items:
|
6433
6394
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6516,6 +6477,7 @@ paths:
|
|
6516
6477
|
- criterion : a filter criterion.
|
6517
6478
|
|
6518
6479
|
Here are the possible values for criterion :
|
6480
|
+
|
6519
6481
|
| Criteria | Description | Type | Expression Example |
|
6520
6482
|
|----------|------------------------|------------------------------------------|--------------------|
|
6521
6483
|
| > | greater than | alphanumeric string | 100 |
|
@@ -6568,7 +6530,7 @@ paths:
|
|
6568
6530
|
schema:
|
6569
6531
|
type: object
|
6570
6532
|
properties:
|
6571
|
-
|
6533
|
+
merchantIdRestrictionGroups:
|
6572
6534
|
type: array
|
6573
6535
|
items:
|
6574
6536
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6616,7 +6578,7 @@ paths:
|
|
6616
6578
|
schema:
|
6617
6579
|
type: object
|
6618
6580
|
properties:
|
6619
|
-
|
6581
|
+
merchantIdRestrictionGroups:
|
6620
6582
|
type: array
|
6621
6583
|
items:
|
6622
6584
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6708,7 +6670,7 @@ paths:
|
|
6708
6670
|
schema:
|
6709
6671
|
type: object
|
6710
6672
|
properties:
|
6711
|
-
|
6673
|
+
merchantIdRestrictionGroups:
|
6712
6674
|
type: array
|
6713
6675
|
items:
|
6714
6676
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6755,7 +6717,88 @@ paths:
|
|
6755
6717
|
schema:
|
6756
6718
|
type: object
|
6757
6719
|
properties:
|
6758
|
-
|
6720
|
+
merchantIdRestrictionGroups:
|
6721
|
+
type: array
|
6722
|
+
items:
|
6723
|
+
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
6724
|
+
'405':
|
6725
|
+
description: Invalid input
|
6726
|
+
default:
|
6727
|
+
description: Unexpected error
|
6728
|
+
schema:
|
6729
|
+
type: object
|
6730
|
+
properties:
|
6731
|
+
errors:
|
6732
|
+
type: array
|
6733
|
+
items:
|
6734
|
+
$ref: '#/definitions/Error'
|
6735
|
+
security:
|
6736
|
+
- api_key: []
|
6737
|
+
'/merchantIdRestrictionGroups/{id}/DeltaUpdate/':
|
6738
|
+
put:
|
6739
|
+
tags:
|
6740
|
+
- merchantIdRestrictionGroups
|
6741
|
+
summary: edit the merchant ID list for a restriction group
|
6742
|
+
description: Edit the merchant ID list for a restriction group in the system.
|
6743
|
+
consumes:
|
6744
|
+
- application/json
|
6745
|
+
produces:
|
6746
|
+
- application/json
|
6747
|
+
parameters:
|
6748
|
+
- name: id
|
6749
|
+
in: path
|
6750
|
+
description: Merchant ID restriction group's id.
|
6751
|
+
required: true
|
6752
|
+
type: integer
|
6753
|
+
- name: accessSignature
|
6754
|
+
in: query
|
6755
|
+
description: |
|
6756
|
+
Access signature can be mandatory for specific context. Treezor will
|
6757
|
+
contact you if so. More info
|
6758
|
+
[here](https://agent.treezor.com/security-authentication).
|
6759
|
+
required: false
|
6760
|
+
type: string
|
6761
|
+
- name: accessTag
|
6762
|
+
in: query
|
6763
|
+
description: |
|
6764
|
+
Access tag is used for idem potency query. More info
|
6765
|
+
[here](https://agent.treezor.com/basics).
|
6766
|
+
required: false
|
6767
|
+
type: string
|
6768
|
+
- name: accessUserId
|
6769
|
+
in: query
|
6770
|
+
description: |
|
6771
|
+
Access user's id is used for user's action restriction. More info
|
6772
|
+
[here](https://agent.treezor.com/basics).
|
6773
|
+
required: false
|
6774
|
+
type: integer
|
6775
|
+
- name: accessUserIp
|
6776
|
+
in: query
|
6777
|
+
description: |
|
6778
|
+
Access user's ip is used for user's action restriction. More info
|
6779
|
+
[here](https://agent.treezor.com/basics).
|
6780
|
+
required: false
|
6781
|
+
type: string
|
6782
|
+
- in: body
|
6783
|
+
name: body
|
6784
|
+
schema:
|
6785
|
+
properties:
|
6786
|
+
merchants:
|
6787
|
+
description: Array of merchant ID
|
6788
|
+
type: array
|
6789
|
+
items:
|
6790
|
+
type: string
|
6791
|
+
merchantsOperation:
|
6792
|
+
description: Action to do with merchants id list
|
6793
|
+
type: string
|
6794
|
+
enum: ["add", "remove"]
|
6795
|
+
responses:
|
6796
|
+
'200':
|
6797
|
+
description: OK
|
6798
|
+
schema:
|
6799
|
+
type: object
|
6800
|
+
properties:
|
6801
|
+
merchantIdRestrictionGroups:
|
6759
6802
|
type: array
|
6760
6803
|
items:
|
6761
6804
|
$ref: '#/definitions/MerchantIdRestrictionGroup'
|
@@ -6772,7 +6815,6 @@ paths:
|
|
6772
6815
|
$ref: '#/definitions/Error'
|
6773
6816
|
security:
|
6774
6817
|
- api_key: []
|
6775
|
-
|
6776
6818
|
/payins:
|
6777
6819
|
post:
|
6778
6820
|
tags:
|
@@ -9423,14 +9465,15 @@ paths:
|
|
9423
9465
|
- name: entityType
|
9424
9466
|
in: query
|
9425
9467
|
description: |
|
9426
|
-
Type of user's entity type
|
9427
|
-
|
9428
|
-
|
9429
|
-
|
9430
|
-
|
9431
|
-
|
9432
|
-
|
9433
|
-
|
9468
|
+
Type of user's entity type :
|
9469
|
+
|
9470
|
+
| Value | Type |
|
9471
|
+
| --- | --- |
|
9472
|
+
| 1 | Reporting Financial Institution |
|
9473
|
+
| 2 | Non-Reporting Financial Institution |
|
9474
|
+
| 3 | Active Non-Financial Entity - Governmental entities, Int. organizations |
|
9475
|
+
| 4 | Active Non-Financial Entity - Other |
|
9476
|
+
| 5 | Passive Non-Financial Entity - Investment entity that is not Participating Jurisdiction FI |
|
9434
9477
|
required: false
|
9435
9478
|
type: integer
|
9436
9479
|
- name: title
|
@@ -9884,7 +9927,7 @@ paths:
|
|
9884
9927
|
type: string
|
9885
9928
|
- name: position
|
9886
9929
|
in: query
|
9887
|
-
description: User's position.
|
9930
|
+
description: User's position (deprecated, you must use the parameter occupation).
|
9888
9931
|
required: false
|
9889
9932
|
type: string
|
9890
9933
|
- name: personalAssets
|
@@ -10258,6 +10301,7 @@ paths:
|
|
10258
10301
|
in: query
|
10259
10302
|
description: |
|
10260
10303
|
Type of relationship
|
10304
|
+
|
10261
10305
|
| Value | Type |
|
10262
10306
|
| --- | --- |
|
10263
10307
|
| 1 | Shareholder |
|
@@ -10270,6 +10314,7 @@ paths:
|
|
10270
10314
|
in: query
|
10271
10315
|
description: |
|
10272
10316
|
Type of relationship. Possible values:
|
10317
|
+
|
10273
10318
|
| Value | Type |
|
10274
10319
|
| --- | --- |
|
10275
10320
|
| 1 | Leader |
|
@@ -10724,7 +10769,7 @@ paths:
|
|
10724
10769
|
type: string
|
10725
10770
|
- name: position
|
10726
10771
|
in: query
|
10727
|
-
description: User's position.
|
10772
|
+
description: User's position (deprecated, you must use the parameter occupation).
|
10728
10773
|
required: false
|
10729
10774
|
type: string
|
10730
10775
|
- name: personalAssets
|
@@ -11497,7 +11542,7 @@ paths:
|
|
11497
11542
|
tags:
|
11498
11543
|
- wallet
|
11499
11544
|
summary: search wallets
|
11500
|
-
description: Get wallets from the system that match the search criteria.
|
11545
|
+
description: 'Get wallets from the system that match the search criteria. The request must contains at least one of those inputs :walletId eventAlias, userId, walletTypeId, walletTag'
|
11501
11546
|
operationId: getWallets
|
11502
11547
|
consumes:
|
11503
11548
|
- application/json
|
@@ -11571,13 +11616,6 @@ paths:
|
|
11571
11616
|
| 14 | Electronic Money Card (Internal only) |
|
11572
11617
|
required: false
|
11573
11618
|
type: integer
|
11574
|
-
- name: eventName
|
11575
|
-
in: query
|
11576
|
-
description: |
|
11577
|
-
Event name that will be used as wallet name. For example, in a
|
11578
|
-
wedding list: Wedding of X and Y
|
11579
|
-
required: false
|
11580
|
-
type: string
|
11581
11619
|
- name: eventAlias
|
11582
11620
|
in: query
|
11583
11621
|
description: |
|
@@ -11610,11 +11648,6 @@ paths:
|
|
11610
11648
|
description: Number of payin done on the wallet.
|
11611
11649
|
required: false
|
11612
11650
|
type: integer
|
11613
|
-
- name: solde
|
11614
|
-
in: query
|
11615
|
-
description: Wallet current balance.
|
11616
|
-
required: false
|
11617
|
-
type: string
|
11618
11651
|
- name: pageNumber
|
11619
11652
|
in: query
|
11620
11653
|
description: |
|
@@ -12497,9 +12530,9 @@ definitions:
|
|
12497
12530
|
| Status | Description |
|
12498
12531
|
| ---- | ----------- |
|
12499
12532
|
| A | Active |
|
12500
|
-
|
|
12533
|
+
| U | Not tokenized |
|
12501
12534
|
| S | Suspended |
|
12502
|
-
|
|
12535
|
+
| D | Deactivated (Final status, cannot be changed)|
|
12503
12536
|
createdDate:
|
12504
12537
|
type: string
|
12505
12538
|
modifiedDate:
|