Class: CheckoutSdk::CheckoutApi

Inherits:
Object
  • Object
show all
Defined in:
lib/checkout_sdk/checkout_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(configuration) ⇒ CheckoutApi

Returns a new instance of CheckoutApi.

Parameters:



118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# File 'lib/checkout_sdk/checkout_api.rb', line 118

def initialize(configuration)
  api_client = base_api_client configuration
  @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
  @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
  @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
  @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
  @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
  @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
  @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
  @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
  @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
  @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
  @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
  @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
  @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
  @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
  @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
  @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
  @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
  @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
  @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
  @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
  @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
  @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
  @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
  @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
  @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
  @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
  @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
  @standalone_account_updater =
    CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
  @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
  @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
  @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
  @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
  @id_document_verification =
    CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
  @identity_verification =
    CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
  @face_authentication =
    CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
  @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
  @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
end

Instance Attribute Details

#accountsCheckoutSdk::Accounts::AccountsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#agentic_commerceCheckoutSdk::AgenticCommerce::AgenticCommerceClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#aml_screeningCheckoutSdk::Identities::AmlScreening::AmlScreeningClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#apple_payCheckoutSdk::Payments::ApplePayClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#applicantsCheckoutSdk::Identities::Applicants::ApplicantsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#balancesCheckoutSdk::Balances::BalancesClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#compliance_requestsCheckoutSdk::ComplianceRequests::ComplianceRequestsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#contextsCheckoutSdk::Payments::PaymentContextsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#customersCheckoutSdk::Customers::CustomersClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#disputesCheckoutSdk::Disputes::DisputesClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#face_authenticationCheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#financialCheckoutSdk::Financial::FinancialClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#flowCheckoutSdk::Payments::FlowClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#forexCheckoutSdk::Forex::ForexClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#forwardCheckoutSdk::Forward::ForwardClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#google_payCheckoutSdk::Payments::GooglePayClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#hostedCheckoutSdk::Payments::HostedPaymentsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#id_document_verificationCheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#idealCheckoutSdk::Apm::IdealClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#identity_verificationCheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#instrumentsCheckoutSdk::Instruments::InstrumentsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#issuingCheckoutSdk::Issuing::IssuingClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end


78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#metadataCheckoutSdk::Metadata::MetadataClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#network_tokensCheckoutSdk::NetworkTokens::NetworkTokensClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#onboarding_simulatorCheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#payment_methodsCheckoutSdk::PaymentMethods::PaymentMethodsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#payment_sessionsCheckoutSdk::Payments::PaymentSessionsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#paymentsCheckoutSdk::Payments::PaymentsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#payments_setupsCheckoutSdk::Payments::PaymentSetupsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#reportsCheckoutSdk::Reports::ReportsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#riskCheckoutSdk::Risk::RiskClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#sessionsCheckoutSdk::Sessions::SessionsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#standalone_account_updaterCheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#tokensCheckoutSdk::Tokens::TokensClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#transfersCheckoutSdk::Transfers::TransfersClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end

#workflowsCheckoutSdk::Workflows::WorkflowsClient



78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
# File 'lib/checkout_sdk/checkout_api.rb', line 78

class CheckoutApi
  attr_reader :customers,
              :disputes,
              :forex,
              :hosted,
              :instruments,
              :links,
              :payments,
              :payments_setups,
              :flow,
              :reports,
              :sessions,
              :tokens,
              :ideal,
              :accounts,
              :workflows,
              :risk,
              :balances,
              :transfers,
              :metadata,
              :financial,
              :issuing,
              :contexts,
              :payment_sessions,
              :forward,
              :onboarding_simulator,
              :agentic_commerce,
              :compliance_requests,
              :standalone_account_updater,
              :network_tokens,
              :payment_methods,
              :applicants,
              :aml_screening,
              :id_document_verification,
              :identity_verification,
              :face_authentication,
              :apple_pay,
              :google_pay

  # @param [CheckoutConfiguration] configuration
  def initialize(configuration)
    api_client = base_api_client configuration
    @customers = CheckoutSdk::Customers::CustomersClient.new api_client, configuration
    @disputes = CheckoutSdk::Disputes::DisputesClient.new api_client, configuration
    @forex = CheckoutSdk::Forex::ForexClient.new api_client, configuration
    @hosted = CheckoutSdk::Payments::HostedPaymentsClient.new api_client, configuration
    @instruments = CheckoutSdk::Instruments::InstrumentsClient.new api_client, configuration
    @links = CheckoutSdk::Payments::PaymentsLinksClient.new api_client, configuration
    @payments = CheckoutSdk::Payments::PaymentsClient.new api_client, configuration
    @reports = CheckoutSdk::Reports::ReportsClient.new api_client, configuration
    @sessions = CheckoutSdk::Sessions::SessionsClient.new api_client, configuration
    @tokens = CheckoutSdk::Tokens::TokensClient.new api_client, configuration
    @ideal = CheckoutSdk::Apm::IdealClient.new api_client, configuration
    @workflows = CheckoutSdk::Workflows::WorkflowsClient.new api_client, configuration
    @accounts = CheckoutSdk::Accounts::AccountsClient.new(api_client, files_client(configuration), configuration)
    @risk = CheckoutSdk::Risk::RiskClient.new api_client, configuration
    @balances = CheckoutSdk::Balances::BalancesClient.new(balances_client(configuration), configuration)
    @transfers = CheckoutSdk::Transfers::TransfersClient.new(transfers_client(configuration), configuration)
    @metadata = CheckoutSdk::Metadata::MetadataClient.new api_client, configuration
    @financial = CheckoutSdk::Financial::FinancialClient.new api_client, configuration
    @issuing = CheckoutSdk::Issuing::IssuingClient.new api_client, configuration
    @contexts = CheckoutSdk::Payments::PaymentContextsClient.new api_client, configuration
    @payment_sessions = CheckoutSdk::Payments::PaymentSessionsClient.new api_client, configuration
    @payments_setups = CheckoutSdk::Payments::PaymentSetupsClient.new api_client, configuration
    @flow = CheckoutSdk::Payments::FlowClient.new api_client, configuration
    @forward = CheckoutSdk::Forward::ForwardClient.new(api_client, configuration)
    @onboarding_simulator = CheckoutSdk::OnboardingSimulator::OnboardingSimulatorClient.new(api_client, configuration)
    @agentic_commerce = CheckoutSdk::AgenticCommerce::AgenticCommerceClient.new(api_client, configuration)
    @compliance_requests = CheckoutSdk::ComplianceRequests::ComplianceRequestsClient.new(api_client, configuration)
    @standalone_account_updater =
      CheckoutSdk::StandaloneAccountUpdater::StandaloneAccountUpdaterClient.new(api_client, configuration)
    @network_tokens = CheckoutSdk::NetworkTokens::NetworkTokensClient.new(api_client, configuration)
    @payment_methods = CheckoutSdk::PaymentMethods::PaymentMethodsClient.new(api_client, configuration)
    @applicants = CheckoutSdk::Identities::Applicants::ApplicantsClient.new(api_client, configuration)
    @aml_screening = CheckoutSdk::Identities::AmlScreening::AmlScreeningClient.new(api_client, configuration)
    @id_document_verification =
      CheckoutSdk::Identities::IdDocumentVerification::IdDocumentVerificationClient.new(api_client, configuration)
    @identity_verification =
      CheckoutSdk::Identities::IdentityVerification::IdentityVerificationClient.new(api_client, configuration)
    @face_authentication =
      CheckoutSdk::Identities::FaceAuthentication::FaceAuthenticationClient.new(api_client, configuration)
    @apple_pay = CheckoutSdk::Payments::ApplePayClient.new(api_client, configuration)
    @google_pay = CheckoutSdk::Payments::GooglePayClient.new(api_client, configuration)
  end

  private

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def base_api_client(configuration)
    base_uri = configuration.environment.base_uri
    subdomain = configuration.environment_subdomain

    base_uri = subdomain.base_uri if subdomain&.base_uri

    ApiClient.new(configuration, base_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def files_client(configuration)
    ApiClient.new(configuration, configuration.environment.files_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def balances_client(configuration)
    ApiClient.new(configuration, configuration.environment.balances_uri)
  end

  # @param [CheckoutConfiguration] configuration
  # @return [ApiClient]
  def transfers_client(configuration)
    ApiClient.new(configuration, configuration.environment.transfers_uri)
  end
end