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
@@ -45,13 +45,26 @@ describe 'CardDigitalizationsApi' do
|
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
48
|
+
# unit tests for deletecard_digitalizations_id
|
49
|
+
# Deletes a payment Token
|
50
|
+
# Deletes a payment Token
|
51
|
+
# @param id Card digitalization internal id.
|
52
|
+
# @param reason_code 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 |
|
53
|
+
# @param [Hash] opts the optional parameters
|
54
|
+
# @return [InlineResponse2008]
|
55
|
+
describe 'deletecard_digitalizations_id test' do
|
56
|
+
it "should work" do
|
57
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
48
61
|
# unit tests for putcard_digitalizations_id
|
49
62
|
# Update the status of a payment Token
|
50
63
|
# Update the status of a payment Token
|
51
64
|
# @param id Card digitalization internal id.
|
52
|
-
# @param status The new
|
65
|
+
# @param status The new status for the payment Token. Possible values are : | Status | Description | | ---- | ----------- | | unsuspend | Unsuspend | | suspend | Suspend |
|
66
|
+
# @param reason_code 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 |
|
53
67
|
# @param [Hash] opts the optional parameters
|
54
|
-
# @option opts [String] :fields fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
|
55
68
|
# @return [InlineResponse2008]
|
56
69
|
describe 'putcard_digitalizations_id test' do
|
57
70
|
it "should work" do
|
@@ -63,10 +76,10 @@ describe 'CardDigitalizationsApi' do
|
|
63
76
|
# search for card digitalizations
|
64
77
|
# Search for card digitalizations.
|
65
78
|
# @param [Hash] opts the optional parameters
|
66
|
-
# @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).
|
67
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
68
|
-
# @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).
|
69
|
-
# @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).
|
79
|
+
# @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).
|
80
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
81
|
+
# @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).
|
82
|
+
# @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).
|
70
83
|
# @option opts [String] :filter Filterable fields are : - id - externalId - cardId - status - detailsFromGPS - createdDate - modifiedDate More info [here](https://agent.treezor.com/filterv2).
|
71
84
|
# @option opts [String] :fields fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
|
72
85
|
# @return [InlineResponse2008]
|
@@ -36,10 +36,10 @@ describe 'CardReserveApi' do
|
|
36
36
|
# add an amount to the reserved amount of a card
|
37
37
|
# add an amount to the reserved amount of a card
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
40
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
41
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
42
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
39
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
40
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
41
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
42
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
43
43
|
# @option opts [Body3] :body
|
44
44
|
# @return [Float]
|
45
45
|
describe 'card_reserve_add_to test' do
|
@@ -52,10 +52,10 @@ describe 'CardReserveApi' do
|
|
52
52
|
# check reserved amount
|
53
53
|
# Check if an amount can be substract to the reserved amount
|
54
54
|
# @param [Hash] opts the optional parameters
|
55
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
56
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
57
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
58
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
55
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
56
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
57
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
58
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
59
59
|
# @option opts [Body4] :body
|
60
60
|
# @return [BOOLEAN]
|
61
61
|
describe 'card_reserve_check test' do
|
@@ -69,10 +69,10 @@ describe 'CardReserveApi' do
|
|
69
69
|
# get the reserved amount of a card
|
70
70
|
# @param id the cardId of the reserved amount you want to pick up
|
71
71
|
# @param [Hash] opts the optional parameters
|
72
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
73
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
74
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
75
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
72
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
73
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
74
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
75
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
76
76
|
# @return [InlineResponse2009]
|
77
77
|
describe 'card_reserve_get test' do
|
78
78
|
it "should work" do
|
@@ -37,7 +37,7 @@ describe 'CardtransactionApi' do
|
|
37
37
|
# get a card transaction
|
38
38
|
# @param id Card transactions's internal id.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [
|
40
|
+
# @return [InlineResponse20011]
|
41
41
|
describe 'get_cardtransaction test' do
|
42
42
|
it "should work" do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -48,18 +48,19 @@ describe 'CardtransactionApi' do
|
|
48
48
|
# search for card transactions
|
49
49
|
# Search for documents.
|
50
50
|
# @param [Hash] opts the optional parameters
|
51
|
-
# @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).
|
52
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
53
|
-
# @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).
|
54
|
-
# @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).
|
51
|
+
# @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).
|
52
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
53
|
+
# @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).
|
54
|
+
# @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).
|
55
55
|
# @option opts [Integer] :cardtransaction_id Card transaction's Id
|
56
56
|
# @option opts [Integer] :card_id Card's Id
|
57
57
|
# @option opts [Integer] :wallet_id Card's wallet Id
|
58
58
|
# @option opts [Integer] :merchant_id Merchant's Id
|
59
59
|
# @option opts [String] :public_token Card's public token
|
60
60
|
# @option opts [Integer] :payment_id Payment's Id
|
61
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
62
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
61
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
62
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
63
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists). required: false
|
63
64
|
# @return [InlineResponse20010]
|
64
65
|
describe 'read_card_transaction test' do
|
65
66
|
it "should work" do
|
@@ -38,7 +38,7 @@ describe 'CountryRestrictionGroupsApi' do
|
|
38
38
|
# @param id country restriction Group internal id.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
41
|
-
# @return [
|
41
|
+
# @return [InlineResponse20016]
|
42
42
|
describe 'delete_country_restriction_groups test' do
|
43
43
|
it "should work" do
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -49,17 +49,17 @@ describe 'CountryRestrictionGroupsApi' do
|
|
49
49
|
# search country restriction groups
|
50
50
|
# Get country restriction groups that match search criteria.
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @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).
|
53
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
54
|
-
# @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).
|
55
|
-
# @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).
|
52
|
+
# @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).
|
53
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
54
|
+
# @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).
|
55
|
+
# @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).
|
56
56
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
57
57
|
# @option opts [String] :filter 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 |
|
58
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
59
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
60
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
58
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
59
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
60
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
61
61
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
62
|
-
# @return [
|
62
|
+
# @return [InlineResponse20016]
|
63
63
|
describe 'get_country_restriction_groups test' do
|
64
64
|
it "should work" do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -72,7 +72,7 @@ describe 'CountryRestrictionGroupsApi' do
|
|
72
72
|
# @param id country restriction Group internal id.
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
75
|
-
# @return [
|
75
|
+
# @return [InlineResponse20016]
|
76
76
|
describe 'get_country_restriction_groups_id test' do
|
77
77
|
it "should work" do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -83,13 +83,13 @@ describe 'CountryRestrictionGroupsApi' do
|
|
83
83
|
# create a countryRestrictionGroup
|
84
84
|
# Create a new country restriction group in the system.
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
|
-
# @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).
|
87
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
88
|
-
# @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).
|
89
|
-
# @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).
|
86
|
+
# @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).
|
87
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
88
|
+
# @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).
|
89
|
+
# @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).
|
90
90
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
91
91
|
# @option opts [Body9] :body
|
92
|
-
# @return [
|
92
|
+
# @return [InlineResponse20016]
|
93
93
|
describe 'post_country_restriction_group test' do
|
94
94
|
it "should work" do
|
95
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -101,12 +101,12 @@ describe 'CountryRestrictionGroupsApi' do
|
|
101
101
|
# Edit a country restriction group in the system.
|
102
102
|
# @param id country group's id.
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
|
-
# @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).
|
105
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
106
|
-
# @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).
|
107
|
-
# @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).
|
104
|
+
# @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).
|
105
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
106
|
+
# @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).
|
107
|
+
# @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).
|
108
108
|
# @option opts [Body10] :body
|
109
|
-
# @return [
|
109
|
+
# @return [InlineResponse20016]
|
110
110
|
describe 'put_country_restriction_groups test' do
|
111
111
|
it "should work" do
|
112
112
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -36,16 +36,17 @@ describe 'DocumentApi' do
|
|
36
36
|
# create a document
|
37
37
|
# Search for documents.
|
38
38
|
# @param user_id Document user's id.
|
39
|
-
# @param document_type_id Type of document. | documentTypeId | Description | | --- | --- | | 2 | Police record | | 4 | Company Registration | | 6 | CV | | 7 | Sworn statement | | 8 | Turnover | | 9 | Identity card | | 11 | Bank Identity Statement | | 12 | Proof of address| | 13 | Mobile phone invoice| | 14 | Invoice, other than Mobile phone invoice| | 15 | A residence permit| | 16 | A driving licence| | 17 | A passport| | 18 | A proxy granting an employee| | 19 | A company registration official paper| | 20 | Official tax certificate| | 21 | Employee payment notice| | 22 | User bank statement| | 23 | Business legal status|
|
39
|
+
# @param document_type_id Type of document. | documentTypeId | Description | | --- | --- | | 2 | Police record | | 4 | Company Registration | | 6 | CV | | 7 | Sworn statement | | 8 | Turnover | | 9 | Identity card | | 11 | Bank Identity Statement | | 12 | Proof of address| | 13 | Mobile phone invoice| | 14 | Invoice, other than Mobile phone invoice| | 15 | A residence permit| | 16 | A driving licence| | 17 | A passport| | 18 | A proxy granting an employee| | 19 | A company registration official paper| | 20 | Official tax certificate| | 21 | Employee payment notice| | 22 | User bank statement| | 23 | Business legal status| | 24 | Tax Statement| | 25 | Exemption Statement|
|
40
40
|
# @param name Document's name.
|
41
41
|
# @param file_content_base64 Document file content. base64 encoded.
|
42
42
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @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).
|
44
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
45
|
-
# @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).
|
46
|
-
# @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).
|
43
|
+
# @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).
|
44
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
45
|
+
# @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).
|
46
|
+
# @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).
|
47
47
|
# @option opts [Integer] :document_tag Custom data.
|
48
|
-
# @
|
48
|
+
# @option opts [Integer] :residence_id Document residence Id. The field is mandatory when the document is of type id 24 or 25. Otherwise it should not be provided.
|
49
|
+
# @return [InlineResponse20012]
|
49
50
|
describe 'create_documents test' do
|
50
51
|
it "should work" do
|
51
52
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -57,7 +58,7 @@ describe 'DocumentApi' do
|
|
57
58
|
# Remove a document from the system.
|
58
59
|
# @param id Document's internal id.
|
59
60
|
# @param [Hash] opts the optional parameters
|
60
|
-
# @return [
|
61
|
+
# @return [InlineResponse20012]
|
61
62
|
describe 'delete_document test' do
|
62
63
|
it "should work" do
|
63
64
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -69,7 +70,7 @@ describe 'DocumentApi' do
|
|
69
70
|
# get a document
|
70
71
|
# @param id Document's internal id.
|
71
72
|
# @param [Hash] opts the optional parameters
|
72
|
-
# @return [
|
73
|
+
# @return [InlineResponse20012]
|
73
74
|
describe 'get_document test' do
|
74
75
|
it "should work" do
|
75
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -80,10 +81,10 @@ describe 'DocumentApi' do
|
|
80
81
|
# search documents
|
81
82
|
# Search for documents.
|
82
83
|
# @param [Hash] opts the optional parameters
|
83
|
-
# @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).
|
84
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
85
|
-
# @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).
|
86
|
-
# @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).
|
84
|
+
# @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).
|
85
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
86
|
+
# @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).
|
87
|
+
# @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).
|
87
88
|
# @option opts [Integer] :document_id Document's unique id.
|
88
89
|
# @option opts [String] :document_tag Custom data.
|
89
90
|
# @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
|
@@ -96,15 +97,15 @@ describe 'DocumentApi' do
|
|
96
97
|
# @option opts [Integer] :file_size Document's size.
|
97
98
|
# @option opts [Integer] :file_type Document's type.
|
98
99
|
# @option opts [String] :is_agent is agent field.
|
99
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
100
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
101
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
100
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
101
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
102
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
102
103
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
103
|
-
# @option opts [DateTime] :created_date_from The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
104
|
-
# @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
105
|
-
# @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
106
|
-
# @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
107
|
-
# @return [
|
104
|
+
# @option opts [DateTime] :created_date_from The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
105
|
+
# @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
106
|
+
# @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
107
|
+
# @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
108
|
+
# @return [InlineResponse20012]
|
108
109
|
describe 'get_documents test' do
|
109
110
|
it "should work" do
|
110
111
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -116,7 +117,7 @@ describe 'DocumentApi' do
|
|
116
117
|
# Update a document.
|
117
118
|
# @param id Document's internal id.
|
118
119
|
# @param [Hash] opts the optional parameters
|
119
|
-
# @return [
|
120
|
+
# @return [InlineResponse20012]
|
120
121
|
describe 'put_document test' do
|
121
122
|
it "should work" do
|
122
123
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -36,10 +36,10 @@ describe 'HeartbeatApi' do
|
|
36
36
|
# Get the status of the API
|
37
37
|
# Get Heartbeat of Treezor API
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @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).
|
40
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
41
|
-
# @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).
|
42
|
-
# @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).
|
39
|
+
# @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).
|
40
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
41
|
+
# @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).
|
42
|
+
# @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).
|
43
43
|
# @return [nil]
|
44
44
|
describe 'get_heartbeat test' do
|
45
45
|
it "should work" do
|
@@ -36,10 +36,10 @@ describe 'IssuerInitiatedDigitizationDataApi' do
|
|
36
36
|
# Request the issuerInitiatedDigitizationData
|
37
37
|
# Create a new issuerInitiatedDigitizationData request
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
40
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
41
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
42
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
39
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
40
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
41
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
42
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
43
43
|
# @option opts [Body] :body
|
44
44
|
# @return [InlineResponse200]
|
45
45
|
describe 'tav_request_post test' do
|
@@ -52,15 +52,15 @@ describe 'IssuerInitiatedDigitizationDataApi' do
|
|
52
52
|
# Search issuerInitiatedDigitizationData requests
|
53
53
|
# Search tav issuerInitiatedDigitizationData requests that match search criteria.
|
54
54
|
# @param [Hash] opts the optional parameters
|
55
|
-
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
56
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
57
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
58
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
55
|
+
# @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
|
56
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
|
57
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
58
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://www.treezor.com/basics).
|
59
59
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
60
60
|
# @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - cardId - tokenRequestor - statusId - createdDate - modifiedDate 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 |
|
61
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://www.treezor.com/lists).
|
62
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://www.treezor.com/lists).
|
63
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://www.treezor.com/lists).
|
61
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://www.treezor.com/lists).
|
62
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://www.treezor.com/lists).
|
63
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://www.treezor.com/lists).
|
64
64
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://www.treezor.com/lists).
|
65
65
|
# @return [InlineResponse200]
|
66
66
|
describe 'tavrequestget test' do
|
@@ -38,7 +38,7 @@ describe 'MandateApi' do
|
|
38
38
|
# @param id Mandate's internal id.
|
39
39
|
# @param origin The origin of the request for revocation
|
40
40
|
# @param [Hash] opts the optional parameters
|
41
|
-
# @return [
|
41
|
+
# @return [InlineResponse20013]
|
42
42
|
describe 'delete_mandate test' do
|
43
43
|
it "should work" do
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,7 +50,7 @@ describe 'MandateApi' do
|
|
50
50
|
# Get a mandate from the system.
|
51
51
|
# @param id Mandate's internal id.
|
52
52
|
# @param [Hash] opts the optional parameters
|
53
|
-
# @return [
|
53
|
+
# @return [InlineResponse20013]
|
54
54
|
describe 'get_mandate test' do
|
55
55
|
it "should work" do
|
56
56
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,16 +61,16 @@ describe 'MandateApi' do
|
|
61
61
|
# search mandates
|
62
62
|
# Get mandates that match search criteria.
|
63
63
|
# @param [Hash] opts the optional parameters
|
64
|
-
# @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).
|
65
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
66
|
-
# @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).
|
67
|
-
# @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).
|
64
|
+
# @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).
|
65
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
66
|
+
# @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).
|
67
|
+
# @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).
|
68
68
|
# @option opts [Integer] :mandate_id Mandate's Id
|
69
69
|
# @option opts [Integer] :user_id User's id who initiates the mandate request.
|
70
70
|
# @option opts [String] :unique_mandate_reference Unique Mandate Reference (UMR) of the searched mandate. It is a sequence of characters that ensures the mandate traceability. UMR coupled with SCI allows to uniquely identify a creditor and a contract for any mandate. It is provided at the mandate creation.
|
71
71
|
# @option opts [String] :mandate_status Mandate's status. Possible values: * CANCELED * PENDING * VALIDATED
|
72
72
|
# @option opts [String] :filter You can filter the API response by using filter(s). 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 |
|
73
|
-
# @return [
|
73
|
+
# @return [InlineResponse20013]
|
74
74
|
describe 'get_mandates test' do
|
75
75
|
it "should work" do
|
76
76
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -79,17 +79,17 @@ describe 'MandateApi' do
|
|
79
79
|
|
80
80
|
# unit tests for mandates_id_resend_otp_put
|
81
81
|
# send an OTP
|
82
|
-
# Send an OTP to sign a specific mandate. The OTP will be sent to the user's mobile phone OR to a specific mobile phone number in the request.
|
82
|
+
# Send an OTP to sign a specific mandate. The OTP will be sent to the user's mobile phone OR to a specific mobile phone number in the request.
|
83
83
|
# @param id Mandate's id.
|
84
|
-
# @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
85
|
-
# @param 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).
|
84
|
+
# @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
85
|
+
# @param 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).
|
86
86
|
# @param user_id User's id who initiates the mandate request.
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
89
|
-
# @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).
|
90
|
-
# @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).
|
88
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
89
|
+
# @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).
|
90
|
+
# @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).
|
91
91
|
# @option opts [String] :debtor_mobile Debtor's mobile phone number. Used to send the OTP for signature
|
92
|
-
# @return [
|
92
|
+
# @return [InlineResponse20013]
|
93
93
|
describe 'mandates_id_resend_otp_put test' do
|
94
94
|
it "should work" do
|
95
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -100,16 +100,16 @@ describe 'MandateApi' do
|
|
100
100
|
# sign a mandate
|
101
101
|
# Sign a mandate with the received OTP.
|
102
102
|
# @param id Mandate's id.
|
103
|
-
# @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
104
|
-
# @param 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).
|
103
|
+
# @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
104
|
+
# @param 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).
|
105
105
|
# @param user_id User's is who initiates the mandate request.
|
106
106
|
# @param otp The One-time password that the user got once mandate created.
|
107
107
|
# @param [Hash] opts the optional parameters
|
108
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
109
|
-
# @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).
|
110
|
-
# @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).
|
108
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
109
|
+
# @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).
|
110
|
+
# @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).
|
111
111
|
# @option opts [String] :debtor_signature_ip IP address from which the mandate will be signed.
|
112
|
-
# @return [
|
112
|
+
# @return [InlineResponse20013]
|
113
113
|
describe 'mandates_id_sign_put test' do
|
114
114
|
it "should work" do
|
115
115
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -118,7 +118,7 @@ describe 'MandateApi' do
|
|
118
118
|
|
119
119
|
# unit tests for post_mandates
|
120
120
|
# create a mandate
|
121
|
-
# Create a new mandate in the system.
|
121
|
+
# Create a new mandate in the system.
|
122
122
|
# @param sdd_type Type of mandate. | Type | Description | | ---- | ----------- | | core | Sepa Direct Debit Core | | b2b | Sepa Direct Debit Business 2 Business |
|
123
123
|
# @param is_paper Indicate if it's a paper mandate or not
|
124
124
|
# @param user_id User's id who initiates the mandate request. The creditor.
|
@@ -131,13 +131,13 @@ describe 'MandateApi' do
|
|
131
131
|
# @param sequence_type Type of mandate. | Type | Description | | ---- | ----------- | | one-off | One-off payment | | recurrent | Recurrent payment | Default value: one-off.
|
132
132
|
# @param created_ip IP address of the system that created mandate.
|
133
133
|
# @param [Hash] opts the optional parameters
|
134
|
-
# @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).
|
135
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
136
|
-
# @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).
|
137
|
-
# @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).
|
134
|
+
# @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).
|
135
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
136
|
+
# @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).
|
137
|
+
# @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).
|
138
138
|
# @option opts [String] :debtor_bic Debtor's BIC (or SWIFT)
|
139
139
|
# @option opts [String] :signature_date Signature date of the mandate. Required if is paper.
|
140
|
-
# @return [
|
140
|
+
# @return [InlineResponse20013]
|
141
141
|
describe 'post_mandates test' do
|
142
142
|
it "should work" do
|
143
143
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -38,7 +38,7 @@ describe 'MccRestrictionGroupsApi' do
|
|
38
38
|
# @param id MCC restriction Group internal id.
|
39
39
|
# @param [Hash] opts the optional parameters
|
40
40
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
41
|
-
# @return [
|
41
|
+
# @return [InlineResponse20014]
|
42
42
|
describe 'delete_mcc_restriction_groups test' do
|
43
43
|
it "should work" do
|
44
44
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -49,17 +49,17 @@ describe 'MccRestrictionGroupsApi' do
|
|
49
49
|
# search mcc restriction groups
|
50
50
|
# Get mcc restriction groups that match search criteria.
|
51
51
|
# @param [Hash] opts the optional parameters
|
52
|
-
# @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).
|
53
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
54
|
-
# @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).
|
55
|
-
# @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).
|
52
|
+
# @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).
|
53
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
54
|
+
# @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).
|
55
|
+
# @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).
|
56
56
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
57
57
|
# @option opts [String] :filter 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 |
|
58
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
59
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
60
|
-
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
58
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
59
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
60
|
+
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
61
61
|
# @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
62
|
-
# @return [
|
62
|
+
# @return [InlineResponse20014]
|
63
63
|
describe 'get_mcc_restriction_groups test' do
|
64
64
|
it "should work" do
|
65
65
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -72,7 +72,7 @@ describe 'MccRestrictionGroupsApi' do
|
|
72
72
|
# @param id MCC restriction Group internal id.
|
73
73
|
# @param [Hash] opts the optional parameters
|
74
74
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
75
|
-
# @return [
|
75
|
+
# @return [InlineResponse20014]
|
76
76
|
describe 'get_mcc_restriction_groups_id test' do
|
77
77
|
it "should work" do
|
78
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -83,13 +83,13 @@ describe 'MccRestrictionGroupsApi' do
|
|
83
83
|
# create a mccRestrictionGroup
|
84
84
|
# Create a new mcc restriction group in the system.
|
85
85
|
# @param [Hash] opts the optional parameters
|
86
|
-
# @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).
|
87
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
88
|
-
# @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).
|
89
|
-
# @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).
|
86
|
+
# @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).
|
87
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
88
|
+
# @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).
|
89
|
+
# @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).
|
90
90
|
# @option opts [Array<String>] :fields List of the object's properties you want to pick up.
|
91
91
|
# @option opts [Body5] :body
|
92
|
-
# @return [
|
92
|
+
# @return [InlineResponse20014]
|
93
93
|
describe 'post_mcc_restriction_group test' do
|
94
94
|
it "should work" do
|
95
95
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -101,12 +101,12 @@ describe 'MccRestrictionGroupsApi' do
|
|
101
101
|
# Edit a mcc restriction group in the system.
|
102
102
|
# @param id MCC group's id.
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
|
-
# @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).
|
105
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
106
|
-
# @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).
|
107
|
-
# @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).
|
104
|
+
# @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).
|
105
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
106
|
+
# @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).
|
107
|
+
# @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).
|
108
108
|
# @option opts [Body6] :body
|
109
|
-
# @return [
|
109
|
+
# @return [InlineResponse20014]
|
110
110
|
describe 'put_mcc_restriction_groups test' do
|
111
111
|
it "should work" do
|
112
112
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|