lithic 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_activity_list_params.rb +1 -0
- data/lib/lithic/models/account_activity_list_response.rb +1 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1 -0
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +60 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +218 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +1 -0
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/blockchain_recipient_retrieve_params.rb +20 -0
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_pin_updated_webhook_event.rb +87 -0
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/event.rb +5 -0
- data/lib/lithic/models/event_list_params.rb +3 -0
- data/lib/lithic/models/event_subscription.rb +3 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -0
- data/lib/lithic/models/external_payment.rb +6 -0
- data/lib/lithic/models/external_payment_create_params.rb +1 -0
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/installment_plan.rb +311 -0
- data/lib/lithic/models/financial_accounts/installment_plan_list_params.rb +75 -0
- data/lib/lithic/models/financial_accounts/installment_plan_retrieve_params.rb +32 -0
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/financial_accounts/open_to_buy.rb +36 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_retrieve_params.rb +22 -0
- data/lib/lithic/models/financial_accounts/open_to_buy_summary.rb +46 -0
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +10 -0
- data/lib/lithic/models/financial_accounts/transaction_category_balances.rb +34 -0
- data/lib/lithic/models/financial_event.rb +9 -0
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/management_operation_create_params.rb +4 -0
- data/lib/lithic/models/management_operation_transaction.rb +4 -0
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +123 -67
- data/lib/lithic/models/payment.rb +3 -1
- data/lib/lithic/models/payment_create_stablecoin_params.rb +99 -0
- data/lib/lithic/models/payment_create_stablecoin_response.rb +19 -0
- data/lib/lithic/models/payment_list_params.rb +1 -0
- data/lib/lithic/models/payment_retry_params.rb +28 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +1 -0
- data/lib/lithic/models/three_ds_authentication.rb +126 -1
- data/lib/lithic/models/transaction.rb +4 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/blockchain_recipients.rb +23 -0
- data/lib/lithic/resources/cards.rb +10 -4
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +86 -0
- data/lib/lithic/resources/financial_accounts/open_to_buy.rb +48 -0
- data/lib/lithic/resources/financial_accounts.rb +8 -0
- data/lib/lithic/resources/payments.rb +71 -3
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +21 -1
- data/rbi/lithic/models/account_activity_list_params.rbi +5 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +5 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +5 -0
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +60 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +358 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +5 -0
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/blockchain_recipient_retrieve_params.rbi +41 -0
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_pin_updated_webhook_event.rbi +166 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/event.rbi +8 -0
- data/rbi/lithic/models/event_list_params.rbi +7 -0
- data/rbi/lithic/models/event_subscription.rbi +7 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +7 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +7 -0
- data/rbi/lithic/models/external_payment.rbi +30 -0
- data/rbi/lithic/models/external_payment_create_params.rbi +5 -0
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/installment_plan.rbi +528 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_list_params.rbi +155 -0
- data/rbi/lithic/models/financial_accounts/installment_plan_retrieve_params.rbi +56 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy.rbi +64 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbi +43 -0
- data/rbi/lithic/models/financial_accounts/open_to_buy_summary.rbi +73 -0
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +50 -0
- data/rbi/lithic/models/financial_accounts/transaction_category_balances.rbi +81 -0
- data/rbi/lithic/models/financial_event.rbi +35 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/management_operation_create_params.rbi +20 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +20 -0
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +196 -90
- data/rbi/lithic/models/payment.rbi +6 -2
- data/rbi/lithic/models/payment_create_stablecoin_params.rbi +162 -0
- data/rbi/lithic/models/payment_create_stablecoin_response.rbi +34 -0
- data/rbi/lithic/models/payment_list_params.rbi +2 -0
- data/rbi/lithic/models/payment_retry_params.rbi +47 -2
- data/rbi/lithic/models/payment_simulate_action_params.rbi +5 -0
- data/rbi/lithic/models/three_ds_authentication.rbi +292 -0
- data/rbi/lithic/models/transaction.rbi +14 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/blockchain_recipients.rbi +14 -0
- data/rbi/lithic/resources/cards.rbi +15 -2
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +73 -0
- data/rbi/lithic/resources/financial_accounts/open_to_buy.rbi +40 -0
- data/rbi/lithic/resources/financial_accounts.rbi +6 -0
- data/rbi/lithic/resources/payments.rbi +68 -2
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/models/account_activity_list_params.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +2 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +2 -0
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +10 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +92 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/blockchain_recipient_retrieve_params.rbs +24 -0
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_pin_updated_webhook_event.rbs +60 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/event.rbs +2 -0
- data/sig/lithic/models/event_list_params.rbs +2 -0
- data/sig/lithic/models/event_subscription.rbs +2 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +2 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +2 -0
- data/sig/lithic/models/external_payment.rbs +12 -0
- data/sig/lithic/models/external_payment_create_params.rbs +2 -0
- data/sig/lithic/models/external_payment_list_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/installment_plan.rbs +227 -0
- data/sig/lithic/models/financial_accounts/installment_plan_list_params.rbs +69 -0
- data/sig/lithic/models/financial_accounts/installment_plan_retrieve_params.rbs +30 -0
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/financial_accounts/open_to_buy.rbs +27 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_retrieve_params.rbs +26 -0
- data/sig/lithic/models/financial_accounts/open_to_buy_summary.rbs +32 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +20 -0
- data/sig/lithic/models/financial_accounts/transaction_category_balances.rbs +32 -0
- data/sig/lithic/models/financial_event.rbs +18 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/management_operation_create_params.rbs +8 -0
- data/sig/lithic/models/management_operation_transaction.rbs +8 -0
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +40 -39
- data/sig/lithic/models/payment.rbs +2 -0
- data/sig/lithic/models/payment_create_stablecoin_params.rbs +84 -0
- data/sig/lithic/models/payment_create_stablecoin_response.rbs +15 -0
- data/sig/lithic/models/payment_list_params.rbs +2 -1
- data/sig/lithic/models/payment_retry_params.rbs +24 -1
- data/sig/lithic/models/payment_simulate_action_params.rbs +2 -0
- data/sig/lithic/models/three_ds_authentication.rbs +77 -0
- data/sig/lithic/models/transaction.rbs +4 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/blockchain_recipients.rbs +5 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +26 -0
- data/sig/lithic/resources/financial_accounts/open_to_buy.rbs +14 -0
- data/sig/lithic/resources/financial_accounts.rbs +4 -0
- data/sig/lithic/resources/payments.rbs +12 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +65 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -122,6 +122,8 @@ module Lithic
|
|
|
122
122
|
| :CURRENCY_CONVERSION_REVERSAL
|
|
123
123
|
| :INTEREST
|
|
124
124
|
| :INTEREST_REVERSAL
|
|
125
|
+
| :INSTALLMENT_FEE
|
|
126
|
+
| :INSTALLMENT_FEE_REVERSAL
|
|
125
127
|
| :LATE_PAYMENT
|
|
126
128
|
| :LATE_PAYMENT_REVERSAL
|
|
127
129
|
| :BILLING_ERROR
|
|
@@ -140,6 +142,8 @@ module Lithic
|
|
|
140
142
|
| :QUARTERLY_REVERSAL
|
|
141
143
|
| :MONTHLY
|
|
142
144
|
| :MONTHLY_REVERSAL
|
|
145
|
+
| :FEE
|
|
146
|
+
| :FEE_REVERSAL
|
|
143
147
|
|
|
144
148
|
module EventType
|
|
145
149
|
extend Lithic::Internal::Type::Enum
|
|
@@ -151,6 +155,8 @@ module Lithic
|
|
|
151
155
|
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
|
152
156
|
INTEREST: :INTEREST
|
|
153
157
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
158
|
+
INSTALLMENT_FEE: :INSTALLMENT_FEE
|
|
159
|
+
INSTALLMENT_FEE_REVERSAL: :INSTALLMENT_FEE_REVERSAL
|
|
154
160
|
LATE_PAYMENT: :LATE_PAYMENT
|
|
155
161
|
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
156
162
|
BILLING_ERROR: :BILLING_ERROR
|
|
@@ -169,6 +175,8 @@ module Lithic
|
|
|
169
175
|
QUARTERLY_REVERSAL: :QUARTERLY_REVERSAL
|
|
170
176
|
MONTHLY: :MONTHLY
|
|
171
177
|
MONTHLY_REVERSAL: :MONTHLY_REVERSAL
|
|
178
|
+
FEE: :FEE
|
|
179
|
+
FEE_REVERSAL: :FEE_REVERSAL
|
|
172
180
|
|
|
173
181
|
def self?.values: -> ::Array[Lithic::Models::ManagementOperationCreateParams::event_type]
|
|
174
182
|
end
|
|
@@ -251,6 +251,8 @@ module Lithic
|
|
|
251
251
|
| :CURRENCY_CONVERSION_REVERSAL
|
|
252
252
|
| :INTEREST
|
|
253
253
|
| :INTEREST_REVERSAL
|
|
254
|
+
| :INSTALLMENT_FEE
|
|
255
|
+
| :INSTALLMENT_FEE_REVERSAL
|
|
254
256
|
| :LATE_PAYMENT
|
|
255
257
|
| :LATE_PAYMENT_REVERSAL
|
|
256
258
|
| :BILLING_ERROR
|
|
@@ -269,6 +271,8 @@ module Lithic
|
|
|
269
271
|
| :QUARTERLY_REVERSAL
|
|
270
272
|
| :MONTHLY
|
|
271
273
|
| :MONTHLY_REVERSAL
|
|
274
|
+
| :FEE
|
|
275
|
+
| :FEE_REVERSAL
|
|
272
276
|
|
|
273
277
|
module Type
|
|
274
278
|
extend Lithic::Internal::Type::Enum
|
|
@@ -280,6 +284,8 @@ module Lithic
|
|
|
280
284
|
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
|
281
285
|
INTEREST: :INTEREST
|
|
282
286
|
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
287
|
+
INSTALLMENT_FEE: :INSTALLMENT_FEE
|
|
288
|
+
INSTALLMENT_FEE_REVERSAL: :INSTALLMENT_FEE_REVERSAL
|
|
283
289
|
LATE_PAYMENT: :LATE_PAYMENT
|
|
284
290
|
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
285
291
|
BILLING_ERROR: :BILLING_ERROR
|
|
@@ -298,6 +304,8 @@ module Lithic
|
|
|
298
304
|
QUARTERLY_REVERSAL: :QUARTERLY_REVERSAL
|
|
299
305
|
MONTHLY: :MONTHLY
|
|
300
306
|
MONTHLY_REVERSAL: :MONTHLY_REVERSAL
|
|
307
|
+
FEE: :FEE
|
|
308
|
+
FEE_REVERSAL: :FEE_REVERSAL
|
|
301
309
|
|
|
302
310
|
def self?.values: -> ::Array[Lithic::Models::ManagementOperationTransaction::Event::type_]
|
|
303
311
|
end
|
|
@@ -12,6 +12,7 @@ module Lithic
|
|
|
12
12
|
spend_limit: Integer,
|
|
13
13
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
14
14
|
state: Lithic::Models::NonPCICard::state,
|
|
15
|
+
tags: ::Hash[Symbol, String],
|
|
15
16
|
type: Lithic::Models::NonPCICard::type_,
|
|
16
17
|
auth_rule_tokens: ::Array[String],
|
|
17
18
|
bulk_order_token: String?,
|
|
@@ -50,6 +51,8 @@ module Lithic
|
|
|
50
51
|
|
|
51
52
|
attr_accessor state: Lithic::Models::NonPCICard::state
|
|
52
53
|
|
|
54
|
+
attr_accessor tags: ::Hash[Symbol, String]
|
|
55
|
+
|
|
53
56
|
attr_accessor type: Lithic::Models::NonPCICard::type_
|
|
54
57
|
|
|
55
58
|
attr_reader auth_rule_tokens: ::Array[String]?
|
|
@@ -107,6 +110,7 @@ module Lithic
|
|
|
107
110
|
spend_limit: Integer,
|
|
108
111
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
109
112
|
state: Lithic::Models::NonPCICard::state,
|
|
113
|
+
tags: ::Hash[Symbol, String],
|
|
110
114
|
type: Lithic::Models::NonPCICard::type_,
|
|
111
115
|
?auth_rule_tokens: ::Array[String],
|
|
112
116
|
?bulk_order_token: String?,
|
|
@@ -135,6 +139,7 @@ module Lithic
|
|
|
135
139
|
spend_limit: Integer,
|
|
136
140
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
137
141
|
state: Lithic::Models::NonPCICard::state,
|
|
142
|
+
tags: ::Hash[Symbol, String],
|
|
138
143
|
type: Lithic::Models::NonPCICard::type_,
|
|
139
144
|
auth_rule_tokens: ::Array[String],
|
|
140
145
|
bulk_order_token: String?,
|
|
@@ -16,6 +16,7 @@ module Lithic
|
|
|
16
16
|
| Lithic::BookTransferTransactionUpdatedWebhookEvent
|
|
17
17
|
| Lithic::CardCreatedWebhookEvent
|
|
18
18
|
| Lithic::CardConvertedWebhookEvent
|
|
19
|
+
| Lithic::CardPinUpdatedWebhookEvent
|
|
19
20
|
| Lithic::CardRenewedWebhookEvent
|
|
20
21
|
| Lithic::CardReissuedWebhookEvent
|
|
21
22
|
| Lithic::CardShippedWebhookEvent
|
|
@@ -229,9 +230,9 @@ module Lithic
|
|
|
229
230
|
:address1 => String,
|
|
230
231
|
city: String,
|
|
231
232
|
country: String,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
:
|
|
233
|
+
:address2 => String,
|
|
234
|
+
postal_code: String?,
|
|
235
|
+
state: String?
|
|
235
236
|
}
|
|
236
237
|
|
|
237
238
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -241,30 +242,30 @@ module Lithic
|
|
|
241
242
|
|
|
242
243
|
attr_accessor country: String
|
|
243
244
|
|
|
244
|
-
attr_accessor postal_code: String
|
|
245
|
-
|
|
246
|
-
attr_accessor state: String
|
|
247
|
-
|
|
248
245
|
attr_reader address2: String?
|
|
249
246
|
|
|
250
247
|
def address2=: (String) -> String
|
|
251
248
|
|
|
249
|
+
attr_accessor postal_code: String?
|
|
250
|
+
|
|
251
|
+
attr_accessor state: String?
|
|
252
|
+
|
|
252
253
|
def initialize: (
|
|
253
254
|
address1: String,
|
|
254
255
|
city: String,
|
|
255
256
|
country: String,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
?
|
|
257
|
+
?address2: String,
|
|
258
|
+
?postal_code: String?,
|
|
259
|
+
?state: String?
|
|
259
260
|
) -> void
|
|
260
261
|
|
|
261
262
|
def to_hash: -> {
|
|
262
263
|
:address1 => String,
|
|
263
264
|
city: String,
|
|
264
265
|
country: String,
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
:
|
|
266
|
+
:address2 => String,
|
|
267
|
+
postal_code: String?,
|
|
268
|
+
state: String?
|
|
268
269
|
}
|
|
269
270
|
end
|
|
270
271
|
end
|
|
@@ -331,9 +332,9 @@ module Lithic
|
|
|
331
332
|
:address1 => String,
|
|
332
333
|
city: String,
|
|
333
334
|
country: String,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
:
|
|
335
|
+
:address2 => String,
|
|
336
|
+
postal_code: String?,
|
|
337
|
+
state: String?
|
|
337
338
|
}
|
|
338
339
|
|
|
339
340
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -343,30 +344,30 @@ module Lithic
|
|
|
343
344
|
|
|
344
345
|
attr_accessor country: String
|
|
345
346
|
|
|
346
|
-
attr_accessor postal_code: String
|
|
347
|
-
|
|
348
|
-
attr_accessor state: String
|
|
349
|
-
|
|
350
347
|
attr_reader address2: String?
|
|
351
348
|
|
|
352
349
|
def address2=: (String) -> String
|
|
353
350
|
|
|
351
|
+
attr_accessor postal_code: String?
|
|
352
|
+
|
|
353
|
+
attr_accessor state: String?
|
|
354
|
+
|
|
354
355
|
def initialize: (
|
|
355
356
|
address1: String,
|
|
356
357
|
city: String,
|
|
357
358
|
country: String,
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
?
|
|
359
|
+
?address2: String,
|
|
360
|
+
?postal_code: String?,
|
|
361
|
+
?state: String?
|
|
361
362
|
) -> void
|
|
362
363
|
|
|
363
364
|
def to_hash: -> {
|
|
364
365
|
:address1 => String,
|
|
365
366
|
city: String,
|
|
366
367
|
country: String,
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
:
|
|
368
|
+
:address2 => String,
|
|
369
|
+
postal_code: String?,
|
|
370
|
+
state: String?
|
|
370
371
|
}
|
|
371
372
|
end
|
|
372
373
|
end
|
|
@@ -502,9 +503,9 @@ module Lithic
|
|
|
502
503
|
:address1 => String,
|
|
503
504
|
city: String,
|
|
504
505
|
country: String,
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
:
|
|
506
|
+
:address2 => String,
|
|
507
|
+
postal_code: String?,
|
|
508
|
+
state: String?
|
|
508
509
|
}
|
|
509
510
|
|
|
510
511
|
class Address < Lithic::Internal::Type::BaseModel
|
|
@@ -514,30 +515,30 @@ module Lithic
|
|
|
514
515
|
|
|
515
516
|
attr_accessor country: String
|
|
516
517
|
|
|
517
|
-
attr_accessor postal_code: String
|
|
518
|
-
|
|
519
|
-
attr_accessor state: String
|
|
520
|
-
|
|
521
518
|
attr_reader address2: String?
|
|
522
519
|
|
|
523
520
|
def address2=: (String) -> String
|
|
524
521
|
|
|
522
|
+
attr_accessor postal_code: String?
|
|
523
|
+
|
|
524
|
+
attr_accessor state: String?
|
|
525
|
+
|
|
525
526
|
def initialize: (
|
|
526
527
|
address1: String,
|
|
527
528
|
city: String,
|
|
528
529
|
country: String,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
?
|
|
530
|
+
?address2: String,
|
|
531
|
+
?postal_code: String?,
|
|
532
|
+
?state: String?
|
|
532
533
|
) -> void
|
|
533
534
|
|
|
534
535
|
def to_hash: -> {
|
|
535
536
|
:address1 => String,
|
|
536
537
|
city: String,
|
|
537
538
|
country: String,
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
:
|
|
539
|
+
:address2 => String,
|
|
540
|
+
postal_code: String?,
|
|
541
|
+
state: String?
|
|
541
542
|
}
|
|
542
543
|
end
|
|
543
544
|
end
|
|
@@ -154,6 +154,7 @@ module Lithic
|
|
|
154
154
|
| :EXTERNAL_CHECK
|
|
155
155
|
| :EXTERNAL_FEDNOW
|
|
156
156
|
| :EXTERNAL_RTP
|
|
157
|
+
| :EXTERNAL_STABLECOIN
|
|
157
158
|
| :EXTERNAL_TRANSFER
|
|
158
159
|
| :EXTERNAL_WIRE
|
|
159
160
|
| :MANAGEMENT_ADJUSTMENT
|
|
@@ -182,6 +183,7 @@ module Lithic
|
|
|
182
183
|
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
|
183
184
|
EXTERNAL_FEDNOW: :EXTERNAL_FEDNOW
|
|
184
185
|
EXTERNAL_RTP: :EXTERNAL_RTP
|
|
186
|
+
EXTERNAL_STABLECOIN: :EXTERNAL_STABLECOIN
|
|
185
187
|
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
|
186
188
|
EXTERNAL_WIRE: :EXTERNAL_WIRE
|
|
187
189
|
MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type payment_create_stablecoin_params =
|
|
4
|
+
{
|
|
5
|
+
amount: Integer,
|
|
6
|
+
blockchain_recipient_token: String,
|
|
7
|
+
financial_account_token: String,
|
|
8
|
+
type: Lithic::Models::PaymentCreateStablecoinParams::type_,
|
|
9
|
+
token: String,
|
|
10
|
+
hold: Lithic::PaymentCreateStablecoinParams::Hold,
|
|
11
|
+
memo: String
|
|
12
|
+
}
|
|
13
|
+
& Lithic::Internal::Type::request_parameters
|
|
14
|
+
|
|
15
|
+
class PaymentCreateStablecoinParams < Lithic::Internal::Type::BaseModel
|
|
16
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
17
|
+
include Lithic::Internal::Type::RequestParameters
|
|
18
|
+
|
|
19
|
+
attr_accessor amount: Integer
|
|
20
|
+
|
|
21
|
+
attr_accessor blockchain_recipient_token: String
|
|
22
|
+
|
|
23
|
+
attr_accessor financial_account_token: String
|
|
24
|
+
|
|
25
|
+
attr_accessor type: Lithic::Models::PaymentCreateStablecoinParams::type_
|
|
26
|
+
|
|
27
|
+
attr_reader token: String?
|
|
28
|
+
|
|
29
|
+
def token=: (String) -> String
|
|
30
|
+
|
|
31
|
+
attr_reader hold: Lithic::PaymentCreateStablecoinParams::Hold?
|
|
32
|
+
|
|
33
|
+
def hold=: (
|
|
34
|
+
Lithic::PaymentCreateStablecoinParams::Hold
|
|
35
|
+
) -> Lithic::PaymentCreateStablecoinParams::Hold
|
|
36
|
+
|
|
37
|
+
attr_reader memo: String?
|
|
38
|
+
|
|
39
|
+
def memo=: (String) -> String
|
|
40
|
+
|
|
41
|
+
def initialize: (
|
|
42
|
+
amount: Integer,
|
|
43
|
+
blockchain_recipient_token: String,
|
|
44
|
+
financial_account_token: String,
|
|
45
|
+
type: Lithic::Models::PaymentCreateStablecoinParams::type_,
|
|
46
|
+
?token: String,
|
|
47
|
+
?hold: Lithic::PaymentCreateStablecoinParams::Hold,
|
|
48
|
+
?memo: String,
|
|
49
|
+
?request_options: Lithic::request_opts
|
|
50
|
+
) -> void
|
|
51
|
+
|
|
52
|
+
def to_hash: -> {
|
|
53
|
+
amount: Integer,
|
|
54
|
+
blockchain_recipient_token: String,
|
|
55
|
+
financial_account_token: String,
|
|
56
|
+
type: Lithic::Models::PaymentCreateStablecoinParams::type_,
|
|
57
|
+
token: String,
|
|
58
|
+
hold: Lithic::PaymentCreateStablecoinParams::Hold,
|
|
59
|
+
memo: String,
|
|
60
|
+
request_options: Lithic::RequestOptions
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
type type_ = :PAYMENT
|
|
64
|
+
|
|
65
|
+
module Type
|
|
66
|
+
extend Lithic::Internal::Type::Enum
|
|
67
|
+
|
|
68
|
+
PAYMENT: :PAYMENT
|
|
69
|
+
|
|
70
|
+
def self?.values: -> ::Array[Lithic::Models::PaymentCreateStablecoinParams::type_]
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
type hold = { token: String }
|
|
74
|
+
|
|
75
|
+
class Hold < Lithic::Internal::Type::BaseModel
|
|
76
|
+
attr_accessor token: String
|
|
77
|
+
|
|
78
|
+
def initialize: (token: String) -> void
|
|
79
|
+
|
|
80
|
+
def to_hash: -> { token: String }
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type payment_create_stablecoin_response = { balance: Lithic::Balance }
|
|
4
|
+
|
|
5
|
+
class PaymentCreateStablecoinResponse < Lithic::Models::Payment
|
|
6
|
+
def balance: -> Lithic::Balance?
|
|
7
|
+
|
|
8
|
+
def balance=: (Lithic::Balance _) -> Lithic::Balance
|
|
9
|
+
|
|
10
|
+
def initialize: (?balance: Lithic::Balance) -> void
|
|
11
|
+
|
|
12
|
+
def to_hash: -> { balance: Lithic::Balance }
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -100,12 +100,13 @@ module Lithic
|
|
|
100
100
|
request_options: Lithic::RequestOptions
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
type category = :ACH
|
|
103
|
+
type category = :ACH | :STABLECOIN
|
|
104
104
|
|
|
105
105
|
module Category
|
|
106
106
|
extend Lithic::Internal::Type::Enum
|
|
107
107
|
|
|
108
108
|
ACH: :ACH
|
|
109
|
+
STABLECOIN: :STABLECOIN
|
|
109
110
|
|
|
110
111
|
def self?.values: -> ::Array[Lithic::Models::PaymentListParams::category]
|
|
111
112
|
end
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
module Lithic
|
|
2
2
|
module Models
|
|
3
3
|
type payment_retry_params =
|
|
4
|
-
{
|
|
4
|
+
{
|
|
5
|
+
payment_token: String,
|
|
6
|
+
method_: Lithic::Models::PaymentRetryParams::method_
|
|
7
|
+
}
|
|
8
|
+
& Lithic::Internal::Type::request_parameters
|
|
5
9
|
|
|
6
10
|
class PaymentRetryParams < Lithic::Internal::Type::BaseModel
|
|
7
11
|
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
@@ -9,15 +13,34 @@ module Lithic
|
|
|
9
13
|
|
|
10
14
|
attr_accessor payment_token: String
|
|
11
15
|
|
|
16
|
+
attr_reader method_: Lithic::Models::PaymentRetryParams::method_?
|
|
17
|
+
|
|
18
|
+
def method_=: (
|
|
19
|
+
Lithic::Models::PaymentRetryParams::method_
|
|
20
|
+
) -> Lithic::Models::PaymentRetryParams::method_
|
|
21
|
+
|
|
12
22
|
def initialize: (
|
|
13
23
|
payment_token: String,
|
|
24
|
+
?method_: Lithic::Models::PaymentRetryParams::method_,
|
|
14
25
|
?request_options: Lithic::request_opts
|
|
15
26
|
) -> void
|
|
16
27
|
|
|
17
28
|
def to_hash: -> {
|
|
18
29
|
payment_token: String,
|
|
30
|
+
method_: Lithic::Models::PaymentRetryParams::method_,
|
|
19
31
|
request_options: Lithic::RequestOptions
|
|
20
32
|
}
|
|
33
|
+
|
|
34
|
+
type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY
|
|
35
|
+
|
|
36
|
+
module Method
|
|
37
|
+
extend Lithic::Internal::Type::Enum
|
|
38
|
+
|
|
39
|
+
ACH_NEXT_DAY: :ACH_NEXT_DAY
|
|
40
|
+
ACH_SAME_DAY: :ACH_SAME_DAY
|
|
41
|
+
|
|
42
|
+
def self?.values: -> ::Array[Lithic::Models::PaymentRetryParams::method_]
|
|
43
|
+
end
|
|
21
44
|
end
|
|
22
45
|
end
|
|
23
46
|
end
|
|
@@ -68,6 +68,7 @@ module Lithic
|
|
|
68
68
|
| :ACH_RETURN_INITIATED
|
|
69
69
|
| :ACH_RETURN_PROCESSED
|
|
70
70
|
| :ACH_RETURN_SETTLED
|
|
71
|
+
| :STABLECOIN_REVIEWED
|
|
71
72
|
|
|
72
73
|
module EventType
|
|
73
74
|
extend Lithic::Internal::Type::Enum
|
|
@@ -82,6 +83,7 @@ module Lithic
|
|
|
82
83
|
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
83
84
|
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
84
85
|
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
|
86
|
+
STABLECOIN_REVIEWED: :STABLECOIN_REVIEWED
|
|
85
87
|
|
|
86
88
|
def self?.values: -> ::Array[Lithic::Models::PaymentSimulateActionParams::event_type]
|
|
87
89
|
end
|
|
@@ -20,6 +20,7 @@ module Lithic
|
|
|
20
20
|
challenge_metadata: Lithic::ThreeDSAuthentication::ChallengeMetadata?,
|
|
21
21
|
challenge_orchestrated_by: Lithic::Models::ThreeDSAuthentication::challenge_orchestrated_by?,
|
|
22
22
|
decision_made_by: Lithic::Models::ThreeDSAuthentication::decision_made_by?,
|
|
23
|
+
:psd2_context => Lithic::ThreeDSAuthentication::Psd2Context?,
|
|
23
24
|
three_ri_request_type: Lithic::Models::ThreeDSAuthentication::three_ri_request_type?,
|
|
24
25
|
transaction: Lithic::ThreeDSAuthentication::Transaction?
|
|
25
26
|
}
|
|
@@ -61,6 +62,8 @@ module Lithic
|
|
|
61
62
|
|
|
62
63
|
attr_accessor decision_made_by: Lithic::Models::ThreeDSAuthentication::decision_made_by?
|
|
63
64
|
|
|
65
|
+
attr_accessor psd2_context: Lithic::ThreeDSAuthentication::Psd2Context?
|
|
66
|
+
|
|
64
67
|
attr_accessor three_ri_request_type: Lithic::Models::ThreeDSAuthentication::three_ri_request_type?
|
|
65
68
|
|
|
66
69
|
attr_accessor transaction: Lithic::ThreeDSAuthentication::Transaction?
|
|
@@ -84,6 +87,7 @@ module Lithic
|
|
|
84
87
|
?challenge_metadata: Lithic::ThreeDSAuthentication::ChallengeMetadata?,
|
|
85
88
|
?challenge_orchestrated_by: Lithic::Models::ThreeDSAuthentication::challenge_orchestrated_by?,
|
|
86
89
|
?decision_made_by: Lithic::Models::ThreeDSAuthentication::decision_made_by?,
|
|
90
|
+
?psd2_context: Lithic::ThreeDSAuthentication::Psd2Context?,
|
|
87
91
|
?three_ri_request_type: Lithic::Models::ThreeDSAuthentication::three_ri_request_type?,
|
|
88
92
|
?transaction: Lithic::ThreeDSAuthentication::Transaction?
|
|
89
93
|
) -> void
|
|
@@ -107,6 +111,7 @@ module Lithic
|
|
|
107
111
|
challenge_metadata: Lithic::ThreeDSAuthentication::ChallengeMetadata?,
|
|
108
112
|
challenge_orchestrated_by: Lithic::Models::ThreeDSAuthentication::challenge_orchestrated_by?,
|
|
109
113
|
decision_made_by: Lithic::Models::ThreeDSAuthentication::decision_made_by?,
|
|
114
|
+
:psd2_context => Lithic::ThreeDSAuthentication::Psd2Context?,
|
|
110
115
|
three_ri_request_type: Lithic::Models::ThreeDSAuthentication::three_ri_request_type?,
|
|
111
116
|
transaction: Lithic::ThreeDSAuthentication::Transaction?
|
|
112
117
|
}
|
|
@@ -805,6 +810,78 @@ module Lithic
|
|
|
805
810
|
def self?.values: -> ::Array[Lithic::Models::ThreeDSAuthentication::decision_made_by]
|
|
806
811
|
end
|
|
807
812
|
|
|
813
|
+
type psd2_context =
|
|
814
|
+
{
|
|
815
|
+
acquirer_exemption: Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption,
|
|
816
|
+
lithic_exemption_validation: Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
class Psd2Context < Lithic::Internal::Type::BaseModel
|
|
820
|
+
attr_reader acquirer_exemption: Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption?
|
|
821
|
+
|
|
822
|
+
def acquirer_exemption=: (
|
|
823
|
+
Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption
|
|
824
|
+
) -> Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption
|
|
825
|
+
|
|
826
|
+
attr_reader lithic_exemption_validation: Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation?
|
|
827
|
+
|
|
828
|
+
def lithic_exemption_validation=: (
|
|
829
|
+
Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation
|
|
830
|
+
) -> Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation
|
|
831
|
+
|
|
832
|
+
def initialize: (
|
|
833
|
+
?acquirer_exemption: Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption,
|
|
834
|
+
?lithic_exemption_validation: Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation
|
|
835
|
+
) -> void
|
|
836
|
+
|
|
837
|
+
def to_hash: -> {
|
|
838
|
+
acquirer_exemption: Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption,
|
|
839
|
+
lithic_exemption_validation: Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
type acquirer_exemption =
|
|
843
|
+
:NONE
|
|
844
|
+
| :TRANSACTION_RISK_ANALYSIS
|
|
845
|
+
| :LOW_VALUE
|
|
846
|
+
| :RECURRING_PAYMENT
|
|
847
|
+
| :MERCHANT_INITIATED_TRANSACTION
|
|
848
|
+
| :TRUSTED_BENEFICIARY
|
|
849
|
+
| :STRONG_CUSTOMER_AUTHENTICATION_DELEGATION
|
|
850
|
+
| :SECURE_CORPORATE_PAYMENT
|
|
851
|
+
| :AUTHENTICATION_OUTAGE_EXCEPTION
|
|
852
|
+
| :BUNDLED
|
|
853
|
+
|
|
854
|
+
module AcquirerExemption
|
|
855
|
+
extend Lithic::Internal::Type::Enum
|
|
856
|
+
|
|
857
|
+
NONE: :NONE
|
|
858
|
+
TRANSACTION_RISK_ANALYSIS: :TRANSACTION_RISK_ANALYSIS
|
|
859
|
+
LOW_VALUE: :LOW_VALUE
|
|
860
|
+
RECURRING_PAYMENT: :RECURRING_PAYMENT
|
|
861
|
+
MERCHANT_INITIATED_TRANSACTION: :MERCHANT_INITIATED_TRANSACTION
|
|
862
|
+
TRUSTED_BENEFICIARY: :TRUSTED_BENEFICIARY
|
|
863
|
+
STRONG_CUSTOMER_AUTHENTICATION_DELEGATION: :STRONG_CUSTOMER_AUTHENTICATION_DELEGATION
|
|
864
|
+
SECURE_CORPORATE_PAYMENT: :SECURE_CORPORATE_PAYMENT
|
|
865
|
+
AUTHENTICATION_OUTAGE_EXCEPTION: :AUTHENTICATION_OUTAGE_EXCEPTION
|
|
866
|
+
BUNDLED: :BUNDLED
|
|
867
|
+
|
|
868
|
+
def self?.values: -> ::Array[Lithic::Models::ThreeDSAuthentication::Psd2Context::acquirer_exemption]
|
|
869
|
+
end
|
|
870
|
+
|
|
871
|
+
type lithic_exemption_validation =
|
|
872
|
+
:ACCEPTED | :REJECTED | :NOT_VALIDATED
|
|
873
|
+
|
|
874
|
+
module LithicExemptionValidation
|
|
875
|
+
extend Lithic::Internal::Type::Enum
|
|
876
|
+
|
|
877
|
+
ACCEPTED: :ACCEPTED
|
|
878
|
+
REJECTED: :REJECTED
|
|
879
|
+
NOT_VALIDATED: :NOT_VALIDATED
|
|
880
|
+
|
|
881
|
+
def self?.values: -> ::Array[Lithic::Models::ThreeDSAuthentication::Psd2Context::lithic_exemption_validation]
|
|
882
|
+
end
|
|
883
|
+
end
|
|
884
|
+
|
|
808
885
|
type three_ri_request_type =
|
|
809
886
|
:ACCOUNT_VERIFICATION
|
|
810
887
|
| :ADD_CARD
|
|
@@ -892,6 +892,7 @@ module Lithic
|
|
|
892
892
|
| :PROGRAM_SUSPENDED
|
|
893
893
|
| :PROGRAM_USAGE_RESTRICTION
|
|
894
894
|
| :REVERSAL_UNMATCHED
|
|
895
|
+
| :SCA_REQUIRED
|
|
895
896
|
| :SECURITY_VIOLATION
|
|
896
897
|
| :SINGLE_USE_CARD_REATTEMPTED
|
|
897
898
|
| :SUSPECTED_FRAUD
|
|
@@ -953,6 +954,7 @@ module Lithic
|
|
|
953
954
|
PROGRAM_SUSPENDED: :PROGRAM_SUSPENDED
|
|
954
955
|
PROGRAM_USAGE_RESTRICTION: :PROGRAM_USAGE_RESTRICTION
|
|
955
956
|
REVERSAL_UNMATCHED: :REVERSAL_UNMATCHED
|
|
957
|
+
SCA_REQUIRED: :SCA_REQUIRED
|
|
956
958
|
SECURITY_VIOLATION: :SECURITY_VIOLATION
|
|
957
959
|
SINGLE_USE_CARD_REATTEMPTED: :SINGLE_USE_CARD_REATTEMPTED
|
|
958
960
|
SUSPECTED_FRAUD: :SUSPECTED_FRAUD
|
|
@@ -1240,6 +1242,7 @@ module Lithic
|
|
|
1240
1242
|
| :PROGRAM_SUSPENDED
|
|
1241
1243
|
| :PROGRAM_USAGE_RESTRICTION
|
|
1242
1244
|
| :REVERSAL_UNMATCHED
|
|
1245
|
+
| :SCA_REQUIRED
|
|
1243
1246
|
| :SECURITY_VIOLATION
|
|
1244
1247
|
| :SINGLE_USE_CARD_REATTEMPTED
|
|
1245
1248
|
| :SUSPECTED_FRAUD
|
|
@@ -1301,6 +1304,7 @@ module Lithic
|
|
|
1301
1304
|
PROGRAM_SUSPENDED: :PROGRAM_SUSPENDED
|
|
1302
1305
|
PROGRAM_USAGE_RESTRICTION: :PROGRAM_USAGE_RESTRICTION
|
|
1303
1306
|
REVERSAL_UNMATCHED: :REVERSAL_UNMATCHED
|
|
1307
|
+
SCA_REQUIRED: :SCA_REQUIRED
|
|
1304
1308
|
SECURITY_VIOLATION: :SECURITY_VIOLATION
|
|
1305
1309
|
SINGLE_USE_CARD_REATTEMPTED: :SINGLE_USE_CARD_REATTEMPTED
|
|
1306
1310
|
SUSPECTED_FRAUD: :SUSPECTED_FRAUD
|
|
@@ -5,6 +5,7 @@ module Lithic
|
|
|
5
5
|
amount: Integer,
|
|
6
6
|
descriptor: String,
|
|
7
7
|
pan: String,
|
|
8
|
+
billing_currency: String,
|
|
8
9
|
mcc: String,
|
|
9
10
|
merchant_acceptor_city: String,
|
|
10
11
|
merchant_acceptor_country: String,
|
|
@@ -14,6 +15,7 @@ module Lithic
|
|
|
14
15
|
merchant_currency: String,
|
|
15
16
|
partial_approval_capable: bool,
|
|
16
17
|
pin: String,
|
|
18
|
+
settlement_currency: String,
|
|
17
19
|
status: Lithic::Models::TransactionSimulateAuthorizationParams::status
|
|
18
20
|
}
|
|
19
21
|
& Lithic::Internal::Type::request_parameters
|
|
@@ -28,6 +30,10 @@ module Lithic
|
|
|
28
30
|
|
|
29
31
|
attr_accessor pan: String
|
|
30
32
|
|
|
33
|
+
attr_reader billing_currency: String?
|
|
34
|
+
|
|
35
|
+
def billing_currency=: (String) -> String
|
|
36
|
+
|
|
31
37
|
attr_reader mcc: String?
|
|
32
38
|
|
|
33
39
|
def mcc=: (String) -> String
|
|
@@ -64,6 +70,10 @@ module Lithic
|
|
|
64
70
|
|
|
65
71
|
def pin=: (String) -> String
|
|
66
72
|
|
|
73
|
+
attr_reader settlement_currency: String?
|
|
74
|
+
|
|
75
|
+
def settlement_currency=: (String) -> String
|
|
76
|
+
|
|
67
77
|
attr_reader status: Lithic::Models::TransactionSimulateAuthorizationParams::status?
|
|
68
78
|
|
|
69
79
|
def status=: (
|
|
@@ -74,6 +84,7 @@ module Lithic
|
|
|
74
84
|
amount: Integer,
|
|
75
85
|
descriptor: String,
|
|
76
86
|
pan: String,
|
|
87
|
+
?billing_currency: String,
|
|
77
88
|
?mcc: String,
|
|
78
89
|
?merchant_acceptor_city: String,
|
|
79
90
|
?merchant_acceptor_country: String,
|
|
@@ -83,6 +94,7 @@ module Lithic
|
|
|
83
94
|
?merchant_currency: String,
|
|
84
95
|
?partial_approval_capable: bool,
|
|
85
96
|
?pin: String,
|
|
97
|
+
?settlement_currency: String,
|
|
86
98
|
?status: Lithic::Models::TransactionSimulateAuthorizationParams::status,
|
|
87
99
|
?request_options: Lithic::request_opts
|
|
88
100
|
) -> void
|
|
@@ -91,6 +103,7 @@ module Lithic
|
|
|
91
103
|
amount: Integer,
|
|
92
104
|
descriptor: String,
|
|
93
105
|
pan: String,
|
|
106
|
+
billing_currency: String,
|
|
94
107
|
mcc: String,
|
|
95
108
|
merchant_acceptor_city: String,
|
|
96
109
|
merchant_acceptor_country: String,
|
|
@@ -100,6 +113,7 @@ module Lithic
|
|
|
100
113
|
merchant_currency: String,
|
|
101
114
|
partial_approval_capable: bool,
|
|
102
115
|
pin: String,
|
|
116
|
+
settlement_currency: String,
|
|
103
117
|
status: Lithic::Models::TransactionSimulateAuthorizationParams::status,
|
|
104
118
|
request_options: Lithic::RequestOptions
|
|
105
119
|
}
|