adyen-ruby-api-library 10.0.0 → 10.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql.yml +0 -4
- data/VERSION +1 -1
- data/lib/adyen/client.rb +1 -1
- data/lib/adyen/services/balanceControlService.rb +6 -0
- data/lib/adyen/services/balancePlatform/account_holders_api.rb +20 -0
- data/lib/adyen/services/balancePlatform/balance_accounts_api.rb +24 -0
- data/lib/adyen/services/balancePlatform/bank_account_validation_api.rb +6 -0
- data/lib/adyen/services/balancePlatform/card_orders_api.rb +7 -0
- data/lib/adyen/services/balancePlatform/grant_accounts_api.rb +6 -0
- data/lib/adyen/services/balancePlatform/grant_offers_api.rb +7 -0
- data/lib/adyen/services/balancePlatform/manage_card_pin_api.rb +8 -0
- data/lib/adyen/services/balancePlatform/manage_sca_devices_api.rb +9 -0
- data/lib/adyen/services/balancePlatform/network_tokens_api.rb +7 -0
- data/lib/adyen/services/balancePlatform/payment_instrument_groups_api.rb +8 -0
- data/lib/adyen/services/balancePlatform/payment_instruments_api.rb +12 -0
- data/lib/adyen/services/balancePlatform/platform_api.rb +17 -0
- data/lib/adyen/services/balancePlatform/transaction_rules_api.rb +9 -0
- data/lib/adyen/services/balancePlatform/transfer_routes_api.rb +6 -0
- data/lib/adyen/services/balancePlatform.rb +5 -0
- data/lib/adyen/services/binLookup.rb +7 -0
- data/lib/adyen/services/checkout/donations_api.rb +7 -0
- data/lib/adyen/services/checkout/modifications_api.rb +11 -0
- data/lib/adyen/services/checkout/orders_api.rb +8 -0
- data/lib/adyen/services/checkout/payment_links_api.rb +8 -0
- data/lib/adyen/services/checkout/payments_api.rb +11 -0
- data/lib/adyen/services/checkout/recurring_api.rb +8 -0
- data/lib/adyen/services/checkout/utility_api.rb +10 -0
- data/lib/adyen/services/checkout.rb +5 -0
- data/lib/adyen/services/dataProtection.rb +6 -0
- data/lib/adyen/services/disputes.rb +10 -0
- data/lib/adyen/services/legalEntityManagement/business_lines_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement/documents_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement/hosted_onboarding_api.rb +8 -0
- data/lib/adyen/services/legalEntityManagement/legal_entities_api.rb +11 -0
- data/lib/adyen/services/legalEntityManagement/pci_questionnaires_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement/tax_e_delivery_consent_api.rb +7 -0
- data/lib/adyen/services/legalEntityManagement/terms_of_service_api.rb +10 -0
- data/lib/adyen/services/legalEntityManagement/transfer_instruments_api.rb +9 -0
- data/lib/adyen/services/legalEntityManagement.rb +5 -0
- data/lib/adyen/services/management/account_company_level_api.rb +8 -0
- data/lib/adyen/services/management/account_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/account_store_level_api.rb +13 -0
- data/lib/adyen/services/management/allowed_origins_company_level_api.rb +9 -0
- data/lib/adyen/services/management/allowed_origins_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/android_files_company_level_api.rb +11 -0
- data/lib/adyen/services/management/api_credentials_company_level_api.rb +9 -0
- data/lib/adyen/services/management/api_credentials_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/api_key_company_level_api.rb +6 -0
- data/lib/adyen/services/management/api_key_merchant_level_api.rb +6 -0
- data/lib/adyen/services/management/client_key_company_level_api.rb +6 -0
- data/lib/adyen/services/management/client_key_merchant_level_api.rb +6 -0
- data/lib/adyen/services/management/my_api_credential_api.rb +11 -0
- data/lib/adyen/services/management/payment_methods_merchant_level_api.rb +11 -0
- data/lib/adyen/services/management/payout_settings_merchant_level_api.rb +10 -0
- data/lib/adyen/services/management/split_configuration_merchant_level_api.rb +14 -0
- data/lib/adyen/services/management/terminal_actions_company_level_api.rb +7 -0
- data/lib/adyen/services/management/terminal_actions_terminal_level_api.rb +6 -0
- data/lib/adyen/services/management/terminal_orders_company_level_api.rb +15 -0
- data/lib/adyen/services/management/terminal_orders_merchant_level_api.rb +15 -0
- data/lib/adyen/services/management/terminal_settings_company_level_api.rb +9 -0
- data/lib/adyen/services/management/terminal_settings_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/terminal_settings_store_level_api.rb +13 -0
- data/lib/adyen/services/management/terminal_settings_terminal_level_api.rb +9 -0
- data/lib/adyen/services/management/terminals_terminal_level_api.rb +7 -0
- data/lib/adyen/services/management/users_company_level_api.rb +9 -0
- data/lib/adyen/services/management/users_merchant_level_api.rb +9 -0
- data/lib/adyen/services/management/webhooks_company_level_api.rb +12 -0
- data/lib/adyen/services/management/webhooks_merchant_level_api.rb +12 -0
- data/lib/adyen/services/management.rb +5 -0
- data/lib/adyen/services/payment.rb +20 -0
- data/lib/adyen/services/paymentsApp.rb +10 -0
- data/lib/adyen/services/payout/initialization_api.rb +8 -0
- data/lib/adyen/services/payout/instant_payouts_api.rb +6 -0
- data/lib/adyen/services/payout/reviewing_api.rb +7 -0
- data/lib/adyen/services/payout.rb +5 -0
- data/lib/adyen/services/posMobile.rb +6 -0
- data/lib/adyen/services/posTerminalManagement.rb +10 -0
- data/lib/adyen/services/recurring.rb +11 -0
- data/lib/adyen/services/storedValue.rb +11 -0
- data/lib/adyen/services/transfers/capital_api.rb +8 -0
- data/lib/adyen/services/transfers/transactions_api.rb +7 -0
- data/lib/adyen/services/transfers/transfers_api.rb +11 -0
- data/lib/adyen/services/transfers.rb +5 -0
- data/lib/adyen/version.rb +1 -1
- data/renovate.json +3 -3
- data/templates/api-single.mustache +5 -0
- data/templates/api-small.mustache +9 -0
- data/templates/api.mustache +9 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aff8008cb8e22a241f085a9d39e6846983bb224a9184825407e18e5c6a51cebf
|
4
|
+
data.tar.gz: cd074e9cef176074ad872ffcca8992d3b52ad2e814c870191c389454aa51d31d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97496a8f31d90d807306a2e6b0e94597c9c78b3d4a9f60dfa8f4d75a1944bbb1718baf045d0a47be3e3e8b10de5b2a2f6fd6db20734666a4bad4a16c2cd55c25
|
7
|
+
data.tar.gz: 3ee97383fb9dfe5fd55ad643148c7d800dcaa89ca0225d4cb3e9ca5573e31d650e30988db131ed2cdde49f0aa803c73cb04d03a9d3bf43dece418a46895c005a
|
data/VERSION
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
10.0.
|
1
|
+
10.0.1
|
2
2
|
|
data/lib/adyen/client.rb
CHANGED
@@ -93,7 +93,7 @@ module Adyen
|
|
93
93
|
supports_live_url_prefix = false
|
94
94
|
when 'PosMobile'
|
95
95
|
url = "https://checkout-#{@env}.adyen.com/checkout/possdk"
|
96
|
-
supports_live_url_prefix =
|
96
|
+
supports_live_url_prefix = true
|
97
97
|
else
|
98
98
|
raise ArgumentError, 'Invalid service specified'
|
99
99
|
end
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class BalanceControlService < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'BalanceControlService')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Start a balance transfer
|
11
17
|
def balance_transfer(request, headers: {})
|
12
18
|
endpoint = '/balanceTransfer'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class AccountHoldersApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Create an account holder
|
10
16
|
def create_account_holder(request, headers: {})
|
11
17
|
endpoint = '/accountHolders'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get an account holder
|
19
26
|
def get_account_holder(id, headers: {})
|
20
27
|
endpoint = '/accountHolders/{id}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Get all balance accounts of an account holder
|
28
36
|
def get_all_balance_accounts_of_account_holder(id, headers: {}, query_params: {})
|
29
37
|
endpoint = '/accountHolders/{id}/balanceAccounts'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,17 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get all transaction rules for an account holder
|
46
|
+
def get_all_transaction_rules_for_account_holder(id, headers: {})
|
47
|
+
endpoint = '/accountHolders/{id}/transactionRules'.gsub(/{.+?}/, '%s')
|
48
|
+
endpoint = endpoint.gsub(%r{^/}, '')
|
49
|
+
endpoint = format(endpoint, id)
|
50
|
+
|
51
|
+
action = { method: 'get', url: endpoint }
|
52
|
+
@client.call_adyen_api(@service, action, {}, headers, @version)
|
53
|
+
end
|
54
|
+
|
55
|
+
# Get a tax form
|
37
56
|
def get_tax_form(id, headers: {}, query_params: {})
|
38
57
|
endpoint = '/accountHolders/{id}/taxForms'.gsub(/{.+?}/, '%s')
|
39
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -43,6 +62,7 @@ module Adyen
|
|
43
62
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
44
63
|
end
|
45
64
|
|
65
|
+
# Update an account holder
|
46
66
|
def update_account_holder(request, id, headers: {})
|
47
67
|
endpoint = '/accountHolders/{id}'.gsub(/{.+?}/, '%s')
|
48
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class BalanceAccountsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Create a balance account
|
10
16
|
def create_balance_account(request, headers: {})
|
11
17
|
endpoint = '/balanceAccounts'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Create a sweep
|
19
26
|
def create_sweep(request, balance_account_id, headers: {})
|
20
27
|
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Delete a sweep
|
28
36
|
def delete_sweep(balance_account_id, sweep_id, headers: {})
|
29
37
|
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get all sweeps for a balance account
|
37
46
|
def get_all_sweeps_for_balance_account(balance_account_id, headers: {}, query_params: {})
|
38
47
|
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -43,6 +52,17 @@ module Adyen
|
|
43
52
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
44
53
|
end
|
45
54
|
|
55
|
+
# Get all transaction rules for a balance account
|
56
|
+
def get_all_transaction_rules_for_balance_account(id, headers: {})
|
57
|
+
endpoint = '/balanceAccounts/{id}/transactionRules'.gsub(/{.+?}/, '%s')
|
58
|
+
endpoint = endpoint.gsub(%r{^/}, '')
|
59
|
+
endpoint = format(endpoint, id)
|
60
|
+
|
61
|
+
action = { method: 'get', url: endpoint }
|
62
|
+
@client.call_adyen_api(@service, action, {}, headers, @version)
|
63
|
+
end
|
64
|
+
|
65
|
+
# Get a balance account
|
46
66
|
def get_balance_account(id, headers: {})
|
47
67
|
endpoint = '/balanceAccounts/{id}'.gsub(/{.+?}/, '%s')
|
48
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +72,7 @@ module Adyen
|
|
52
72
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
53
73
|
end
|
54
74
|
|
75
|
+
# Get payment instruments linked to a balance account
|
55
76
|
def get_payment_instruments_linked_to_balance_account(id, headers: {}, query_params: {})
|
56
77
|
endpoint = '/balanceAccounts/{id}/paymentInstruments'.gsub(/{.+?}/, '%s')
|
57
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -61,6 +82,7 @@ module Adyen
|
|
61
82
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
62
83
|
end
|
63
84
|
|
85
|
+
# Get a sweep
|
64
86
|
def get_sweep(balance_account_id, sweep_id, headers: {})
|
65
87
|
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
|
66
88
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -70,6 +92,7 @@ module Adyen
|
|
70
92
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
71
93
|
end
|
72
94
|
|
95
|
+
# Update a balance account
|
73
96
|
def update_balance_account(request, id, headers: {})
|
74
97
|
endpoint = '/balanceAccounts/{id}'.gsub(/{.+?}/, '%s')
|
75
98
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -79,6 +102,7 @@ module Adyen
|
|
79
102
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
80
103
|
end
|
81
104
|
|
105
|
+
# Update a sweep
|
82
106
|
def update_sweep(request, balance_account_id, sweep_id, headers: {})
|
83
107
|
endpoint = '/balanceAccounts/{balanceAccountId}/sweeps/{sweepId}'.gsub(/{.+?}/, '%s')
|
84
108
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class BankAccountValidationApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Validate a bank account
|
10
16
|
def validate_bank_account_identification(request, headers: {})
|
11
17
|
endpoint = '/validateBankAccountIdentification'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class CardOrdersApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get card order items
|
10
16
|
def get_card_order_items(id, headers: {}, query_params: {})
|
11
17
|
endpoint = '/cardorders/{id}/items'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get a list of card orders
|
19
26
|
def list_card_orders(headers: {}, query_params: {})
|
20
27
|
endpoint = '/cardorders'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class GrantAccountsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get a grant account
|
10
16
|
def get_grant_account(id, headers: {})
|
11
17
|
endpoint = '/grantAccounts/{id}'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class GrantOffersApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get all available grant offers
|
10
16
|
def get_all_available_grant_offers(headers: {}, query_params: {})
|
11
17
|
endpoint = '/grantOffers'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get a grant offer
|
19
26
|
def get_grant_offer(grant_offer_id, headers: {})
|
20
27
|
endpoint = '/grantOffers/{grantOfferId}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class ManageCardPINApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Change a card PIN
|
10
16
|
def change_card_pin(request, headers: {})
|
11
17
|
endpoint = '/pins/change'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get an RSA public key
|
19
26
|
def public_key(headers: {}, query_params: {})
|
20
27
|
endpoint = '/publicKey'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Reveal a card PIN
|
28
36
|
def reveal_card_pin(request, headers: {})
|
29
37
|
endpoint = '/pins/reveal'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class ManageSCADevicesApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Complete the registration of an SCA device
|
10
16
|
def complete_registration_of_sca_device(request, id, headers: {})
|
11
17
|
endpoint = '/registeredDevices/{id}'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Delete a registration of an SCA device
|
19
26
|
def delete_registration_of_sca_device(id, headers: {}, query_params: {})
|
20
27
|
endpoint = '/registeredDevices/{id}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Initiate the registration of an SCA device
|
28
36
|
def initiate_registration_of_sca_device(request, headers: {})
|
29
37
|
endpoint = '/registeredDevices'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get a list of registered SCA devices
|
37
46
|
def list_registered_sca_devices(headers: {}, query_params: {})
|
38
47
|
endpoint = '/registeredDevices'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class NetworkTokensApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get a network token
|
10
16
|
def get_network_token(network_token_id, headers: {})
|
11
17
|
endpoint = '/networkTokens/{networkTokenId}'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Update a network token
|
19
26
|
def update_network_token(request, network_token_id, headers: {})
|
20
27
|
endpoint = '/networkTokens/{networkTokenId}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class PaymentInstrumentGroupsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Create a payment instrument group
|
10
16
|
def create_payment_instrument_group(request, headers: {})
|
11
17
|
endpoint = '/paymentInstrumentGroups'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get all transaction rules for a payment instrument group
|
19
26
|
def get_all_transaction_rules_for_payment_instrument_group(id, headers: {})
|
20
27
|
endpoint = '/paymentInstrumentGroups/{id}/transactionRules'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Get a payment instrument group
|
28
36
|
def get_payment_instrument_group(id, headers: {})
|
29
37
|
endpoint = '/paymentInstrumentGroups/{id}'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class PaymentInstrumentsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Create a payment instrument
|
10
16
|
def create_payment_instrument(request, headers: {})
|
11
17
|
endpoint = '/paymentInstruments'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get all transaction rules for a payment instrument
|
19
26
|
def get_all_transaction_rules_for_payment_instrument(id, headers: {})
|
20
27
|
endpoint = '/paymentInstruments/{id}/transactionRules'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Get the PAN of a payment instrument
|
28
36
|
def get_pan_of_payment_instrument(id, headers: {})
|
29
37
|
endpoint = '/paymentInstruments/{id}/reveal'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Get a payment instrument
|
37
46
|
def get_payment_instrument(id, headers: {})
|
38
47
|
endpoint = '/paymentInstruments/{id}'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -43,6 +52,7 @@ module Adyen
|
|
43
52
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
44
53
|
end
|
45
54
|
|
55
|
+
# List network tokens
|
46
56
|
def list_network_tokens(id, headers: {})
|
47
57
|
endpoint = '/paymentInstruments/{id}/networkTokens'.gsub(/{.+?}/, '%s')
|
48
58
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -52,6 +62,7 @@ module Adyen
|
|
52
62
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
53
63
|
end
|
54
64
|
|
65
|
+
# Reveal the data of a payment instrument
|
55
66
|
def reveal_data_of_payment_instrument(request, headers: {})
|
56
67
|
endpoint = '/paymentInstruments/reveal'.gsub(/{.+?}/, '%s')
|
57
68
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -61,6 +72,7 @@ module Adyen
|
|
61
72
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
62
73
|
end
|
63
74
|
|
75
|
+
# Update a payment instrument
|
64
76
|
def update_payment_instrument(request, id, headers: {})
|
65
77
|
endpoint = '/paymentInstruments/{id}'.gsub(/{.+?}/, '%s')
|
66
78
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class PlatformApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get all account holders under a balance platform
|
10
16
|
def get_all_account_holders_under_balance_platform(id, headers: {}, query_params: {})
|
11
17
|
endpoint = '/balancePlatforms/{id}/accountHolders'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,17 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Get all transaction rules for a balance platform
|
26
|
+
def get_all_transaction_rules_for_balance_platform(id, headers: {})
|
27
|
+
endpoint = '/balancePlatforms/{id}/transactionRules'.gsub(/{.+?}/, '%s')
|
28
|
+
endpoint = endpoint.gsub(%r{^/}, '')
|
29
|
+
endpoint = format(endpoint, id)
|
30
|
+
|
31
|
+
action = { method: 'get', url: endpoint }
|
32
|
+
@client.call_adyen_api(@service, action, {}, headers, @version)
|
33
|
+
end
|
34
|
+
|
35
|
+
# Get a balance platform
|
19
36
|
def get_balance_platform(id, headers: {})
|
20
37
|
endpoint = '/balancePlatforms/{id}'.gsub(/{.+?}/, '%s')
|
21
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class TransactionRulesApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Create a transaction rule
|
10
16
|
def create_transaction_rule(request, headers: {})
|
11
17
|
endpoint = '/transactionRules'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Delete a transaction rule
|
19
26
|
def delete_transaction_rule(transaction_rule_id, headers: {})
|
20
27
|
endpoint = '/transactionRules/{transactionRuleId}'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -25,6 +32,7 @@ module Adyen
|
|
25
32
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
26
33
|
end
|
27
34
|
|
35
|
+
# Get a transaction rule
|
28
36
|
def get_transaction_rule(transaction_rule_id, headers: {})
|
29
37
|
endpoint = '/transactionRules/{transactionRuleId}'.gsub(/{.+?}/, '%s')
|
30
38
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -34,6 +42,7 @@ module Adyen
|
|
34
42
|
@client.call_adyen_api(@service, action, {}, headers, @version)
|
35
43
|
end
|
36
44
|
|
45
|
+
# Update a transaction rule
|
37
46
|
def update_transaction_rule(request, transaction_rule_id, headers: {})
|
38
47
|
endpoint = '/transactionRules/{transactionRuleId}'.gsub(/{.+?}/, '%s')
|
39
48
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class TransferRoutesApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'BalancePlatform')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Calculate transfer routes
|
10
16
|
def calculate_transfer_routes(request, headers: {})
|
11
17
|
endpoint = '/transferRoutes/calculate'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -14,6 +14,11 @@ require_relative 'balancePlatform/transaction_rules_api'
|
|
14
14
|
require_relative 'balancePlatform/transfer_routes_api'
|
15
15
|
|
16
16
|
module Adyen
|
17
|
+
|
18
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
19
|
+
# Ref: https://openapi-generator.tech
|
20
|
+
#
|
21
|
+
# Do not edit the class manually.
|
17
22
|
class BalancePlatform
|
18
23
|
attr_accessor :service, :version
|
19
24
|
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative './service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class BinLookup < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -8,6 +13,7 @@ module Adyen
|
|
8
13
|
super(client, version, 'BinLookup')
|
9
14
|
end
|
10
15
|
|
16
|
+
# Check if 3D Secure is available
|
11
17
|
def get3ds_availability(request, headers: {})
|
12
18
|
endpoint = '/get3dsAvailability'.gsub(/{.+?}/, '%s')
|
13
19
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -17,6 +23,7 @@ module Adyen
|
|
17
23
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
18
24
|
end
|
19
25
|
|
26
|
+
# Get a fees cost estimate
|
20
27
|
def get_cost_estimate(request, headers: {})
|
21
28
|
endpoint = '/getCostEstimate'.gsub(/{.+?}/, '%s')
|
22
29
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -1,5 +1,10 @@
|
|
1
1
|
require_relative '../service'
|
2
2
|
module Adyen
|
3
|
+
|
4
|
+
# NOTE: This class is auto generated by OpenAPI Generator
|
5
|
+
# Ref: https://openapi-generator.tech
|
6
|
+
#
|
7
|
+
# Do not edit the class manually.
|
3
8
|
class DonationsApi < Service
|
4
9
|
attr_accessor :service, :version
|
5
10
|
|
@@ -7,6 +12,7 @@ module Adyen
|
|
7
12
|
super(client, version, 'Checkout')
|
8
13
|
end
|
9
14
|
|
15
|
+
# Get a list of donation campaigns.
|
10
16
|
def donation_campaigns(request, headers: {})
|
11
17
|
endpoint = '/donationCampaigns'.gsub(/{.+?}/, '%s')
|
12
18
|
endpoint = endpoint.gsub(%r{^/}, '')
|
@@ -16,6 +22,7 @@ module Adyen
|
|
16
22
|
@client.call_adyen_api(@service, action, request, headers, @version)
|
17
23
|
end
|
18
24
|
|
25
|
+
# Start a transaction for donations
|
19
26
|
def donations(request, headers: {})
|
20
27
|
endpoint = '/donations'.gsub(/{.+?}/, '%s')
|
21
28
|
endpoint = endpoint.gsub(%r{^/}, '')
|