lithic 0.10.0 → 0.12.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 +49 -0
- data/README.md +1 -1
- data/lib/lithic/internal/util.rb +22 -7
- data/lib/lithic/models/auth_rules/backtest_stats.rb +9 -1
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +158 -1
- data/lib/lithic/models/auth_rules/report_stats.rb +46 -81
- data/lib/lithic/models/auth_rules/rule_feature.rb +47 -1
- data/lib/lithic/models/auth_rules/typescript_code_parameters.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_list_results_response.rb +36 -4
- data/lib/lithic/models/auth_rules/v2_retrieve_report_response.rb +4 -531
- data/lib/lithic/models/card_authorization_approval_request_webhook_event.rb +17 -26
- data/lib/lithic/models/card_authorization_challenge_response_webhook_event.rb +103 -0
- data/lib/lithic/models/card_bulk_order.rb +8 -3
- data/lib/lithic/models/card_bulk_order_create_params.rb +8 -3
- data/lib/lithic/models/card_convert_physical_params.rb +5 -3
- data/lib/lithic/models/card_create_params.rb +5 -3
- data/lib/lithic/models/card_reissue_params.rb +5 -3
- data/lib/lithic/models/card_renew_params.rb +5 -3
- 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_bank_account_set_verification_method_params.rb +55 -0
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_account_update_status_params.rb +1 -0
- data/lib/lithic/models/financial_accounts/statement.rb +11 -4
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models/payment_create_params.rb +13 -1
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/card_bulk_orders.rb +10 -11
- data/lib/lithic/resources/external_bank_accounts.rb +31 -0
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -0
- data/rbi/lithic/internal/util.rbi +8 -0
- data/rbi/lithic/models/auth_rules/backtest_stats.rbi +11 -3
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +370 -3
- data/rbi/lithic/models/auth_rules/report_stats.rbi +73 -177
- data/rbi/lithic/models/auth_rules/rule_feature.rbi +104 -1
- data/rbi/lithic/models/auth_rules/typescript_code_parameters.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_list_results_response.rbi +38 -6
- data/rbi/lithic/models/auth_rules/v2_retrieve_report_response.rbi +3 -1721
- data/rbi/lithic/models/card_authorization_approval_request_webhook_event.rbi +23 -78
- data/rbi/lithic/models/card_authorization_challenge_response_webhook_event.rbi +175 -0
- data/rbi/lithic/models/card_bulk_order.rbi +21 -3
- data/rbi/lithic/models/card_bulk_order_create_params.rbi +21 -3
- data/rbi/lithic/models/card_convert_physical_params.rbi +8 -5
- data/rbi/lithic/models/card_create_params.rbi +8 -8
- data/rbi/lithic/models/card_reissue_params.rbi +8 -8
- data/rbi/lithic/models/card_renew_params.rbi +8 -8
- data/rbi/lithic/models/event.rbi +11 -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_bank_account_set_verification_method_params.rbi +111 -0
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_account_update_status_params.rbi +5 -0
- data/rbi/lithic/models/financial_accounts/statement.rbi +15 -6
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment_create_params.rbi +13 -3
- data/rbi/lithic/models.rbi +6 -0
- data/rbi/lithic/resources/card_bulk_orders.rbi +11 -11
- data/rbi/lithic/resources/cards.rbi +8 -4
- data/rbi/lithic/resources/external_bank_accounts.rbi +22 -0
- data/rbi/lithic/resources/webhooks.rbi +1 -0
- data/sig/lithic/internal/util.rbs +4 -0
- data/sig/lithic/models/auth_rules/backtest_stats.rbs +8 -3
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +93 -3
- data/sig/lithic/models/auth_rules/report_stats.rbs +34 -70
- data/sig/lithic/models/auth_rules/rule_feature.rbs +42 -0
- data/sig/lithic/models/auth_rules/v2_list_results_response.rbs +29 -9
- data/sig/lithic/models/auth_rules/v2_retrieve_report_response.rbs +4 -667
- data/sig/lithic/models/card_authorization_approval_request_webhook_event.rbs +14 -41
- data/sig/lithic/models/card_authorization_challenge_response_webhook_event.rbs +76 -0
- data/sig/lithic/models/card_bulk_order.rbs +5 -1
- data/sig/lithic/models/card_bulk_order_create_params.rbs +5 -1
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_create_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- 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_bank_account_set_verification_method_params.rbs +51 -0
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/financial_account_update_status_params.rbs +2 -0
- data/sig/lithic/models/financial_accounts/statement.rbs +16 -7
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment_create_params.rbs +8 -3
- data/sig/lithic/models.rbs +4 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +7 -0
- data/sig/lithic/resources/webhooks.rbs +1 -0
- metadata +8 -2
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardAuthorizationChallengeResponseWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute card_token
|
|
7
|
+
# The token of the card associated with the challenge
|
|
8
|
+
#
|
|
9
|
+
# @return [String, nil]
|
|
10
|
+
required :card_token, String, nil?: true
|
|
11
|
+
|
|
12
|
+
# @!attribute challenge_method
|
|
13
|
+
# The method used to deliver the challenge to the cardholder
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod]
|
|
16
|
+
required :challenge_method,
|
|
17
|
+
enum: -> { Lithic::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod }
|
|
18
|
+
|
|
19
|
+
# @!attribute completed
|
|
20
|
+
# The timestamp of when the challenge was completed
|
|
21
|
+
#
|
|
22
|
+
# @return [Time, nil]
|
|
23
|
+
required :completed, Time, nil?: true
|
|
24
|
+
|
|
25
|
+
# @!attribute created
|
|
26
|
+
# The timestamp of when the challenge was created
|
|
27
|
+
#
|
|
28
|
+
# @return [Time]
|
|
29
|
+
required :created, Time
|
|
30
|
+
|
|
31
|
+
# @!attribute event_token
|
|
32
|
+
# Globally unique identifier for the event
|
|
33
|
+
#
|
|
34
|
+
# @return [String]
|
|
35
|
+
required :event_token, String
|
|
36
|
+
|
|
37
|
+
# @!attribute event_type
|
|
38
|
+
# Event type
|
|
39
|
+
#
|
|
40
|
+
# @return [Symbol, :"card_authorization.challenge_response"]
|
|
41
|
+
required :event_type, const: :"card_authorization.challenge_response"
|
|
42
|
+
|
|
43
|
+
# @!attribute response
|
|
44
|
+
# The cardholder's response to the challenge
|
|
45
|
+
#
|
|
46
|
+
# @return [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::Response]
|
|
47
|
+
required :response, enum: -> { Lithic::CardAuthorizationChallengeResponseWebhookEvent::Response }
|
|
48
|
+
|
|
49
|
+
# @!attribute transaction_token
|
|
50
|
+
# The token of the transaction associated with the authorization event being
|
|
51
|
+
# challenged
|
|
52
|
+
#
|
|
53
|
+
# @return [String, nil]
|
|
54
|
+
required :transaction_token, String, nil?: true
|
|
55
|
+
|
|
56
|
+
# @!method initialize(card_token:, challenge_method:, completed:, created:, event_token:, response:, transaction_token:, event_type: :"card_authorization.challenge_response")
|
|
57
|
+
# Some parameter documentations has been truncated, see
|
|
58
|
+
# {Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent} for more
|
|
59
|
+
# details.
|
|
60
|
+
#
|
|
61
|
+
# @param card_token [String, nil] The token of the card associated with the challenge
|
|
62
|
+
#
|
|
63
|
+
# @param challenge_method [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::ChallengeMethod] The method used to deliver the challenge to the cardholder
|
|
64
|
+
#
|
|
65
|
+
# @param completed [Time, nil] The timestamp of when the challenge was completed
|
|
66
|
+
#
|
|
67
|
+
# @param created [Time] The timestamp of when the challenge was created
|
|
68
|
+
#
|
|
69
|
+
# @param event_token [String] Globally unique identifier for the event
|
|
70
|
+
#
|
|
71
|
+
# @param response [Symbol, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent::Response] The cardholder's response to the challenge
|
|
72
|
+
#
|
|
73
|
+
# @param transaction_token [String, nil] The token of the transaction associated with the authorization event being chall
|
|
74
|
+
#
|
|
75
|
+
# @param event_type [Symbol, :"card_authorization.challenge_response"] Event type
|
|
76
|
+
|
|
77
|
+
# The method used to deliver the challenge to the cardholder
|
|
78
|
+
#
|
|
79
|
+
# @see Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent#challenge_method
|
|
80
|
+
module ChallengeMethod
|
|
81
|
+
extend Lithic::Internal::Type::Enum
|
|
82
|
+
|
|
83
|
+
SMS = :SMS
|
|
84
|
+
|
|
85
|
+
# @!method self.values
|
|
86
|
+
# @return [Array<Symbol>]
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
# The cardholder's response to the challenge
|
|
90
|
+
#
|
|
91
|
+
# @see Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent#response
|
|
92
|
+
module Response
|
|
93
|
+
extend Lithic::Internal::Type::Enum
|
|
94
|
+
|
|
95
|
+
APPROVE = :APPROVE
|
|
96
|
+
DECLINE = :DECLINE
|
|
97
|
+
|
|
98
|
+
# @!method self.values
|
|
99
|
+
# @return [Array<Symbol>]
|
|
100
|
+
end
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
end
|
|
@@ -36,7 +36,8 @@ module Lithic
|
|
|
36
36
|
required :shipping_address, Lithic::Internal::Type::Unknown
|
|
37
37
|
|
|
38
38
|
# @!attribute shipping_method
|
|
39
|
-
# Shipping method for all cards in this bulk order
|
|
39
|
+
# Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
40
|
+
# BULK_EXPRESS are only available with Perfect Plastic Printing
|
|
40
41
|
#
|
|
41
42
|
# @return [Symbol, Lithic::Models::CardBulkOrder::ShippingMethod]
|
|
42
43
|
required :shipping_method, enum: -> { Lithic::CardBulkOrder::ShippingMethod }
|
|
@@ -70,19 +71,23 @@ module Lithic
|
|
|
70
71
|
#
|
|
71
72
|
# @param shipping_address [Object] Shipping address for all cards in this bulk order
|
|
72
73
|
#
|
|
73
|
-
# @param shipping_method [Symbol, Lithic::Models::CardBulkOrder::ShippingMethod] Shipping method for all cards in this bulk order
|
|
74
|
+
# @param shipping_method [Symbol, Lithic::Models::CardBulkOrder::ShippingMethod] Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
74
75
|
#
|
|
75
76
|
# @param status [Symbol, Lithic::Models::CardBulkOrder::Status] Status of the bulk order. OPEN indicates the order is accepting cards. LOCKED in
|
|
76
77
|
#
|
|
77
78
|
# @param updated [Time] An RFC 3339 timestamp for when the bulk order was last updated. UTC time zone
|
|
78
79
|
|
|
79
|
-
# Shipping method for all cards in this bulk order
|
|
80
|
+
# Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
81
|
+
# BULK_EXPRESS are only available with Perfect Plastic Printing
|
|
80
82
|
#
|
|
81
83
|
# @see Lithic::Models::CardBulkOrder#shipping_method
|
|
82
84
|
module ShippingMethod
|
|
83
85
|
extend Lithic::Internal::Type::Enum
|
|
84
86
|
|
|
85
87
|
BULK_EXPEDITED = :BULK_EXPEDITED
|
|
88
|
+
BULK_PRIORITY = :BULK_PRIORITY
|
|
89
|
+
BULK_2_DAY = :BULK_2_DAY
|
|
90
|
+
BULK_EXPRESS = :BULK_EXPRESS
|
|
86
91
|
|
|
87
92
|
# @!method self.values
|
|
88
93
|
# @return [Array<Symbol>]
|
|
@@ -21,7 +21,8 @@ module Lithic
|
|
|
21
21
|
required :shipping_address, Lithic::Internal::Type::Unknown
|
|
22
22
|
|
|
23
23
|
# @!attribute shipping_method
|
|
24
|
-
# Shipping method for all cards in this bulk order
|
|
24
|
+
# Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
25
|
+
# BULK_EXPRESS are only available with Perfect Plastic Printing
|
|
25
26
|
#
|
|
26
27
|
# @return [Symbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod]
|
|
27
28
|
required :shipping_method, enum: -> { Lithic::CardBulkOrderCreateParams::ShippingMethod }
|
|
@@ -34,15 +35,19 @@ module Lithic
|
|
|
34
35
|
#
|
|
35
36
|
# @param shipping_address [Object] Shipping address for all cards in this bulk order
|
|
36
37
|
#
|
|
37
|
-
# @param shipping_method [Symbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod] Shipping method for all cards in this bulk order
|
|
38
|
+
# @param shipping_method [Symbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod] Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
38
39
|
#
|
|
39
40
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
40
41
|
|
|
41
|
-
# Shipping method for all cards in this bulk order
|
|
42
|
+
# Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
43
|
+
# BULK_EXPRESS are only available with Perfect Plastic Printing
|
|
42
44
|
module ShippingMethod
|
|
43
45
|
extend Lithic::Internal::Type::Enum
|
|
44
46
|
|
|
45
47
|
BULK_EXPEDITED = :BULK_EXPEDITED
|
|
48
|
+
BULK_PRIORITY = :BULK_PRIORITY
|
|
49
|
+
BULK_2_DAY = :BULK_2_DAY
|
|
50
|
+
BULK_EXPRESS = :BULK_EXPRESS
|
|
46
51
|
|
|
47
52
|
# @!method self.values
|
|
48
53
|
# @return [Array<Symbol>]
|
|
@@ -47,7 +47,8 @@ module Lithic
|
|
|
47
47
|
# tracking
|
|
48
48
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
49
49
|
# or similar international option, with tracking
|
|
50
|
-
# - `
|
|
50
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
51
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
51
52
|
#
|
|
52
53
|
# @return [Symbol, Lithic::Models::CardConvertPhysicalParams::ShippingMethod, nil]
|
|
53
54
|
optional :shipping_method, enum: -> { Lithic::CardConvertPhysicalParams::ShippingMethod }
|
|
@@ -82,12 +83,13 @@ module Lithic
|
|
|
82
83
|
# tracking
|
|
83
84
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
84
85
|
# or similar international option, with tracking
|
|
85
|
-
# - `
|
|
86
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
87
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
86
88
|
module ShippingMethod
|
|
87
89
|
extend Lithic::Internal::Type::Enum
|
|
88
90
|
|
|
89
91
|
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
|
90
|
-
|
|
92
|
+
BULK = :BULK
|
|
91
93
|
EXPEDITED = :EXPEDITED
|
|
92
94
|
EXPRESS = :EXPRESS
|
|
93
95
|
PRIORITY = :PRIORITY
|
|
@@ -183,7 +183,8 @@ module Lithic
|
|
|
183
183
|
# tracking
|
|
184
184
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
185
185
|
# or similar international option, with tracking
|
|
186
|
-
# - `
|
|
186
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
187
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
187
188
|
#
|
|
188
189
|
# @return [Symbol, Lithic::Models::CardCreateParams::ShippingMethod, nil]
|
|
189
190
|
optional :shipping_method, enum: -> { Lithic::CardCreateParams::ShippingMethod }
|
|
@@ -369,12 +370,13 @@ module Lithic
|
|
|
369
370
|
# tracking
|
|
370
371
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
371
372
|
# or similar international option, with tracking
|
|
372
|
-
# - `
|
|
373
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
374
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
373
375
|
module ShippingMethod
|
|
374
376
|
extend Lithic::Internal::Type::Enum
|
|
375
377
|
|
|
376
378
|
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
|
377
|
-
|
|
379
|
+
BULK = :BULK
|
|
378
380
|
EXPEDITED = :EXPEDITED
|
|
379
381
|
EXPRESS = :EXPRESS
|
|
380
382
|
PRIORITY = :PRIORITY
|
|
@@ -47,7 +47,8 @@ module Lithic
|
|
|
47
47
|
# tracking
|
|
48
48
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
49
49
|
# or similar international option, with tracking
|
|
50
|
-
# - `
|
|
50
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
51
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
51
52
|
#
|
|
52
53
|
# @return [Symbol, Lithic::Models::CardReissueParams::ShippingMethod, nil]
|
|
53
54
|
optional :shipping_method, enum: -> { Lithic::CardReissueParams::ShippingMethod }
|
|
@@ -82,12 +83,13 @@ module Lithic
|
|
|
82
83
|
# tracking
|
|
83
84
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
84
85
|
# or similar international option, with tracking
|
|
85
|
-
# - `
|
|
86
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
87
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
86
88
|
module ShippingMethod
|
|
87
89
|
extend Lithic::Internal::Type::Enum
|
|
88
90
|
|
|
89
91
|
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
|
90
|
-
|
|
92
|
+
BULK = :BULK
|
|
91
93
|
EXPEDITED = :EXPEDITED
|
|
92
94
|
EXPRESS = :EXPRESS
|
|
93
95
|
PRIORITY = :PRIORITY
|
|
@@ -61,7 +61,8 @@ module Lithic
|
|
|
61
61
|
# tracking
|
|
62
62
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
63
63
|
# or similar international option, with tracking
|
|
64
|
-
# - `
|
|
64
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
65
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
65
66
|
#
|
|
66
67
|
# @return [Symbol, Lithic::Models::CardRenewParams::ShippingMethod, nil]
|
|
67
68
|
optional :shipping_method, enum: -> { Lithic::CardRenewParams::ShippingMethod }
|
|
@@ -100,12 +101,13 @@ module Lithic
|
|
|
100
101
|
# tracking
|
|
101
102
|
# - `EXPEDITED` - FedEx or UPS depending on card manufacturer, Standard Overnight
|
|
102
103
|
# or similar international option, with tracking
|
|
103
|
-
# - `
|
|
104
|
+
# - `BULK` - Card will be shipped as part of a bulk fulfillment order. The
|
|
105
|
+
# shipping method and timeline are inherited from the parent bulk order.
|
|
104
106
|
module ShippingMethod
|
|
105
107
|
extend Lithic::Internal::Type::Enum
|
|
106
108
|
|
|
107
109
|
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
|
108
|
-
|
|
110
|
+
BULK = :BULK
|
|
109
111
|
EXPEDITED = :EXPEDITED
|
|
110
112
|
EXPRESS = :EXPRESS
|
|
111
113
|
PRIORITY = :PRIORITY
|
data/lib/lithic/models/event.rb
CHANGED
|
@@ -33,6 +33,8 @@ module Lithic
|
|
|
33
33
|
# created.
|
|
34
34
|
# - book_transfer_transaction.updated: Occurs when a book transfer transaction is
|
|
35
35
|
# updated.
|
|
36
|
+
# - card_authorization.challenge_response: Occurs when a cardholder responds to an
|
|
37
|
+
# SMS challenge during card authorization.
|
|
36
38
|
# - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
|
|
37
39
|
# data is processed for a transaction event.
|
|
38
40
|
# - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
|
|
@@ -154,6 +156,8 @@ module Lithic
|
|
|
154
156
|
# created.
|
|
155
157
|
# - book_transfer_transaction.updated: Occurs when a book transfer transaction is
|
|
156
158
|
# updated.
|
|
159
|
+
# - card_authorization.challenge_response: Occurs when a cardholder responds to an
|
|
160
|
+
# SMS challenge during card authorization.
|
|
157
161
|
# - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
|
|
158
162
|
# data is processed for a transaction event.
|
|
159
163
|
# - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
|
|
@@ -251,6 +255,7 @@ module Lithic
|
|
|
251
255
|
BALANCE_UPDATED = :"balance.updated"
|
|
252
256
|
BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
|
|
253
257
|
BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
|
|
258
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
|
|
254
259
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
|
|
255
260
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
|
|
256
261
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
@@ -87,6 +87,8 @@ module Lithic
|
|
|
87
87
|
# created.
|
|
88
88
|
# - book_transfer_transaction.updated: Occurs when a book transfer transaction is
|
|
89
89
|
# updated.
|
|
90
|
+
# - card_authorization.challenge_response: Occurs when a cardholder responds to an
|
|
91
|
+
# SMS challenge during card authorization.
|
|
90
92
|
# - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
|
|
91
93
|
# data is processed for a transaction event.
|
|
92
94
|
# - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
|
|
@@ -182,6 +184,7 @@ module Lithic
|
|
|
182
184
|
BALANCE_UPDATED = :"balance.updated"
|
|
183
185
|
BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
|
|
184
186
|
BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
|
|
187
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
|
|
185
188
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
|
|
186
189
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
|
|
187
190
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
@@ -60,6 +60,8 @@ module Lithic
|
|
|
60
60
|
# created.
|
|
61
61
|
# - book_transfer_transaction.updated: Occurs when a book transfer transaction is
|
|
62
62
|
# updated.
|
|
63
|
+
# - card_authorization.challenge_response: Occurs when a cardholder responds to an
|
|
64
|
+
# SMS challenge during card authorization.
|
|
63
65
|
# - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
|
|
64
66
|
# data is processed for a transaction event.
|
|
65
67
|
# - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
|
|
@@ -155,6 +157,7 @@ module Lithic
|
|
|
155
157
|
BALANCE_UPDATED = :"balance.updated"
|
|
156
158
|
BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
|
|
157
159
|
BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
|
|
160
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
|
|
158
161
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
|
|
159
162
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
|
|
160
163
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
@@ -62,6 +62,8 @@ module Lithic
|
|
|
62
62
|
# created.
|
|
63
63
|
# - book_transfer_transaction.updated: Occurs when a book transfer transaction is
|
|
64
64
|
# updated.
|
|
65
|
+
# - card_authorization.challenge_response: Occurs when a cardholder responds to an
|
|
66
|
+
# SMS challenge during card authorization.
|
|
65
67
|
# - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
|
|
66
68
|
# data is processed for a transaction event.
|
|
67
69
|
# - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
|
|
@@ -157,6 +159,7 @@ module Lithic
|
|
|
157
159
|
BALANCE_UPDATED = :"balance.updated"
|
|
158
160
|
BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
|
|
159
161
|
BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
|
|
162
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
|
|
160
163
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
|
|
161
164
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
|
|
162
165
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
@@ -38,6 +38,7 @@ module Lithic
|
|
|
38
38
|
BALANCE_UPDATED = :"balance.updated"
|
|
39
39
|
BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
|
|
40
40
|
BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
|
|
41
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
|
|
41
42
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
|
|
42
43
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
|
|
43
44
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
@@ -69,6 +69,8 @@ module Lithic
|
|
|
69
69
|
# created.
|
|
70
70
|
# - book_transfer_transaction.updated: Occurs when a book transfer transaction is
|
|
71
71
|
# updated.
|
|
72
|
+
# - card_authorization.challenge_response: Occurs when a cardholder responds to an
|
|
73
|
+
# SMS challenge during card authorization.
|
|
72
74
|
# - card_transaction.enhanced_data.created: Occurs when L2/L3 enhanced commercial
|
|
73
75
|
# data is processed for a transaction event.
|
|
74
76
|
# - card_transaction.enhanced_data.updated: Occurs when L2/L3 enhanced commercial
|
|
@@ -164,6 +166,7 @@ module Lithic
|
|
|
164
166
|
BALANCE_UPDATED = :"balance.updated"
|
|
165
167
|
BOOK_TRANSFER_TRANSACTION_CREATED = :"book_transfer_transaction.created"
|
|
166
168
|
BOOK_TRANSFER_TRANSACTION_UPDATED = :"book_transfer_transaction.updated"
|
|
169
|
+
CARD_AUTHORIZATION_CHALLENGE_RESPONSE = :"card_authorization.challenge_response"
|
|
167
170
|
CARD_TRANSACTION_ENHANCED_DATA_CREATED = :"card_transaction.enhanced_data.created"
|
|
168
171
|
CARD_TRANSACTION_ENHANCED_DATA_UPDATED = :"card_transaction.enhanced_data.updated"
|
|
169
172
|
CARD_TRANSACTION_UPDATED = :"card_transaction.updated"
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
# @see Lithic::Resources::ExternalBankAccounts#set_verification_method
|
|
6
|
+
class ExternalBankAccountSetVerificationMethodParams < Lithic::Internal::Type::BaseModel
|
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Lithic::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute external_bank_account_token
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :external_bank_account_token, String
|
|
14
|
+
|
|
15
|
+
# @!attribute verification_method
|
|
16
|
+
# The verification method to set for the external bank account
|
|
17
|
+
#
|
|
18
|
+
# @return [Symbol, Lithic::Models::ExternalBankAccountSetVerificationMethodParams::VerificationMethod]
|
|
19
|
+
required :verification_method,
|
|
20
|
+
enum: -> { Lithic::ExternalBankAccountSetVerificationMethodParams::VerificationMethod }
|
|
21
|
+
|
|
22
|
+
# @!attribute financial_account_token
|
|
23
|
+
# The financial account token of the operating account to fund the micro deposits.
|
|
24
|
+
# Required when verification_method is MICRO_DEPOSIT or PRENOTE.
|
|
25
|
+
#
|
|
26
|
+
# @return [String, nil]
|
|
27
|
+
optional :financial_account_token, String
|
|
28
|
+
|
|
29
|
+
# @!method initialize(external_bank_account_token:, verification_method:, financial_account_token: nil, request_options: {})
|
|
30
|
+
# Some parameter documentations has been truncated, see
|
|
31
|
+
# {Lithic::Models::ExternalBankAccountSetVerificationMethodParams} for more
|
|
32
|
+
# details.
|
|
33
|
+
#
|
|
34
|
+
# @param external_bank_account_token [String]
|
|
35
|
+
#
|
|
36
|
+
# @param verification_method [Symbol, Lithic::Models::ExternalBankAccountSetVerificationMethodParams::VerificationMethod] The verification method to set for the external bank account
|
|
37
|
+
#
|
|
38
|
+
# @param financial_account_token [String] The financial account token of the operating account to fund the micro deposits.
|
|
39
|
+
#
|
|
40
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
41
|
+
|
|
42
|
+
# The verification method to set for the external bank account
|
|
43
|
+
module VerificationMethod
|
|
44
|
+
extend Lithic::Internal::Type::Enum
|
|
45
|
+
|
|
46
|
+
MICRO_DEPOSIT = :MICRO_DEPOSIT
|
|
47
|
+
PRENOTE = :PRENOTE
|
|
48
|
+
EXTERNALLY_VERIFIED = :EXTERNALLY_VERIFIED
|
|
49
|
+
|
|
50
|
+
# @!method self.values
|
|
51
|
+
# @return [Array<Symbol>]
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
end
|
|
@@ -203,6 +203,7 @@ module Lithic
|
|
|
203
203
|
COLLECTION = :COLLECTION
|
|
204
204
|
PROGRAM_BANK_ACCOUNTS_PAYABLE = :PROGRAM_BANK_ACCOUNTS_PAYABLE
|
|
205
205
|
EARLY_DIRECT_DEPOSIT_FLOAT = :EARLY_DIRECT_DEPOSIT_FLOAT
|
|
206
|
+
PROVISIONAL_CREDIT_ACCOUNT = :PROVISIONAL_CREDIT_ACCOUNT
|
|
206
207
|
|
|
207
208
|
# @!method self.values
|
|
208
209
|
# @return [Array<Symbol>]
|
|
@@ -42,8 +42,8 @@ module Lithic
|
|
|
42
42
|
# @!attribute credit_product_token
|
|
43
43
|
# Globally unique identifier for a credit product
|
|
44
44
|
#
|
|
45
|
-
# @return [String]
|
|
46
|
-
required :credit_product_token, String
|
|
45
|
+
# @return [String, nil]
|
|
46
|
+
required :credit_product_token, String, nil?: true
|
|
47
47
|
|
|
48
48
|
# @!attribute days_in_billing_cycle
|
|
49
49
|
# Number of days in the billing cycle
|
|
@@ -132,7 +132,12 @@ module Lithic
|
|
|
132
132
|
# @return [Lithic::Models::FinancialAccounts::Statement::PayoffDetails, nil]
|
|
133
133
|
optional :payoff_details, -> { Lithic::FinancialAccounts::Statement::PayoffDetails }, nil?: true
|
|
134
134
|
|
|
135
|
-
# @!
|
|
135
|
+
# @!attribute statement_totals
|
|
136
|
+
#
|
|
137
|
+
# @return [Lithic::Models::StatementTotals, nil]
|
|
138
|
+
optional :statement_totals, -> { Lithic::StatementTotals }
|
|
139
|
+
|
|
140
|
+
# @!method initialize(token:, account_standing:, amount_due:, available_credit:, created:, credit_limit:, credit_product_token:, days_in_billing_cycle:, ending_balance:, financial_account_token:, payment_due_date:, period_totals:, starting_balance:, statement_end_date:, statement_start_date:, statement_type:, updated:, ytd_totals:, interest_details: nil, next_payment_due_date: nil, next_statement_end_date: nil, payoff_details: nil, statement_totals: nil)
|
|
136
141
|
# Some parameter documentations has been truncated, see
|
|
137
142
|
# {Lithic::Models::FinancialAccounts::Statement} for more details.
|
|
138
143
|
#
|
|
@@ -148,7 +153,7 @@ module Lithic
|
|
|
148
153
|
#
|
|
149
154
|
# @param credit_limit [Integer] This is the maximum credit balance extended by the lender in cents
|
|
150
155
|
#
|
|
151
|
-
# @param credit_product_token [String] Globally unique identifier for a credit product
|
|
156
|
+
# @param credit_product_token [String, nil] Globally unique identifier for a credit product
|
|
152
157
|
#
|
|
153
158
|
# @param days_in_billing_cycle [Integer] Number of days in the billing cycle
|
|
154
159
|
#
|
|
@@ -179,6 +184,8 @@ module Lithic
|
|
|
179
184
|
# @param next_statement_end_date [Date] Date when the next billing period will end
|
|
180
185
|
#
|
|
181
186
|
# @param payoff_details [Lithic::Models::FinancialAccounts::Statement::PayoffDetails, nil] Details on number and size of payments to pay off balance
|
|
187
|
+
#
|
|
188
|
+
# @param statement_totals [Lithic::Models::StatementTotals]
|
|
182
189
|
|
|
183
190
|
# @see Lithic::Models::FinancialAccounts::Statement#account_standing
|
|
184
191
|
class AccountStanding < Lithic::Internal::Type::BaseModel
|
|
@@ -17,6 +17,7 @@ module Lithic
|
|
|
17
17
|
COLLECTION = :COLLECTION
|
|
18
18
|
PROGRAM_BANK_ACCOUNTS_PAYABLE = :PROGRAM_BANK_ACCOUNTS_PAYABLE
|
|
19
19
|
EARLY_DIRECT_DEPOSIT_FLOAT = :EARLY_DIRECT_DEPOSIT_FLOAT
|
|
20
|
+
PROVISIONAL_CREDIT_ACCOUNT = :PROVISIONAL_CREDIT_ACCOUNT
|
|
20
21
|
|
|
21
22
|
# @!method self.values
|
|
22
23
|
# @return [Array<Symbol>]
|
|
@@ -23,6 +23,8 @@ module Lithic
|
|
|
23
23
|
|
|
24
24
|
variant -> { Lithic::CardAuthorizationApprovalRequestWebhookEvent }
|
|
25
25
|
|
|
26
|
+
variant -> { Lithic::CardAuthorizationChallengeResponseWebhookEvent }
|
|
27
|
+
|
|
26
28
|
variant -> { Lithic::AuthRulesBacktestReportCreatedWebhookEvent }
|
|
27
29
|
|
|
28
30
|
variant -> { Lithic::BalanceUpdatedWebhookEvent }
|
|
@@ -811,7 +813,7 @@ module Lithic
|
|
|
811
813
|
end
|
|
812
814
|
|
|
813
815
|
# @!method self.variants
|
|
814
|
-
# @return [Array(Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent)]
|
|
816
|
+
# @return [Array(Lithic::Models::AccountHolderCreatedWebhookEvent, Lithic::Models::ParsedWebhookEvent::KYBPayload, Lithic::Models::ParsedWebhookEvent::KYCPayload, Lithic::Models::ParsedWebhookEvent::LegacyPayload, Lithic::Models::AccountHolderVerificationWebhookEvent, Lithic::Models::AccountHolderDocumentUpdatedWebhookEvent, Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent, Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent, Lithic::Models::AuthRulesBacktestReportCreatedWebhookEvent, Lithic::Models::BalanceUpdatedWebhookEvent, Lithic::Models::BookTransferTransactionCreatedWebhookEvent, Lithic::Models::BookTransferTransactionUpdatedWebhookEvent, Lithic::Models::CardCreatedWebhookEvent, Lithic::Models::CardConvertedWebhookEvent, Lithic::Models::CardRenewedWebhookEvent, Lithic::Models::CardReissuedWebhookEvent, Lithic::Models::CardShippedWebhookEvent, Lithic::Models::CardUpdatedWebhookEvent, Lithic::Models::CardTransactionUpdatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataCreatedWebhookEvent, Lithic::Models::CardTransactionEnhancedDataUpdatedWebhookEvent, Lithic::Models::DigitalWalletTokenizationApprovalRequestWebhookEvent, Lithic::Models::DigitalWalletTokenizationResultWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::DigitalWalletTokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::DigitalWalletTokenizationUpdatedWebhookEvent, Lithic::Models::DisputeUpdatedWebhookEvent, Lithic::Models::DisputeEvidenceUploadFailedWebhookEvent, Lithic::Models::ExternalBankAccountCreatedWebhookEvent, Lithic::Models::ExternalBankAccountUpdatedWebhookEvent, Lithic::Models::ExternalPaymentCreatedWebhookEvent, Lithic::Models::ExternalPaymentUpdatedWebhookEvent, Lithic::Models::FinancialAccountCreatedWebhookEvent, Lithic::Models::FinancialAccountUpdatedWebhookEvent, Lithic::Models::FundingEventCreatedWebhookEvent, Lithic::Models::LoanTapeCreatedWebhookEvent, Lithic::Models::LoanTapeUpdatedWebhookEvent, Lithic::Models::ManagementOperationCreatedWebhookEvent, Lithic::Models::ManagementOperationUpdatedWebhookEvent, Lithic::Models::InternalTransactionCreatedWebhookEvent, Lithic::Models::InternalTransactionUpdatedWebhookEvent, Lithic::Models::NetworkTotalCreatedWebhookEvent, Lithic::Models::NetworkTotalUpdatedWebhookEvent, Lithic::Models::PaymentTransactionCreatedWebhookEvent, Lithic::Models::PaymentTransactionUpdatedWebhookEvent, Lithic::Models::SettlementReportUpdatedWebhookEvent, Lithic::Models::StatementsCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationCreatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationChallengeWebhookEvent, Lithic::Models::TokenizationApprovalRequestWebhookEvent, Lithic::Models::TokenizationResultWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeWebhookEvent, Lithic::Models::TokenizationTwoFactorAuthenticationCodeSentWebhookEvent, Lithic::Models::TokenizationUpdatedWebhookEvent, Lithic::Models::ThreeDSAuthenticationApprovalRequestWebhookEvent, Lithic::Models::DisputeTransactionCreatedWebhookEvent, Lithic::Models::DisputeTransactionUpdatedWebhookEvent)]
|
|
815
817
|
end
|
|
816
818
|
end
|
|
817
819
|
end
|
|
@@ -113,12 +113,24 @@ module Lithic
|
|
|
113
113
|
# @return [String, nil]
|
|
114
114
|
optional :addenda, String, nil?: true
|
|
115
115
|
|
|
116
|
-
# @!
|
|
116
|
+
# @!attribute override_company_name
|
|
117
|
+
# Value to override the configured company name with. Can only be used if allowed
|
|
118
|
+
# to override
|
|
119
|
+
#
|
|
120
|
+
# @return [String, nil]
|
|
121
|
+
optional :override_company_name, String, nil?: true
|
|
122
|
+
|
|
123
|
+
# @!method initialize(sec_code:, ach_hold_period: nil, addenda: nil, override_company_name: nil)
|
|
124
|
+
# Some parameter documentations has been truncated, see
|
|
125
|
+
# {Lithic::Models::PaymentCreateParams::MethodAttributes} for more details.
|
|
126
|
+
#
|
|
117
127
|
# @param sec_code [Symbol, Lithic::Models::PaymentCreateParams::MethodAttributes::SecCode]
|
|
118
128
|
#
|
|
119
129
|
# @param ach_hold_period [Integer] Number of days to hold the ACH payment
|
|
120
130
|
#
|
|
121
131
|
# @param addenda [String, nil]
|
|
132
|
+
#
|
|
133
|
+
# @param override_company_name [String, nil] Value to override the configured company name with. Can only be used if allowed
|
|
122
134
|
|
|
123
135
|
# @see Lithic::Models::PaymentCreateParams::MethodAttributes#sec_code
|
|
124
136
|
module SecCode
|
data/lib/lithic/models.rb
CHANGED
|
@@ -131,6 +131,9 @@ module Lithic
|
|
|
131
131
|
CardAuthorizationApprovalRequestWebhookEvent =
|
|
132
132
|
Lithic::Models::CardAuthorizationApprovalRequestWebhookEvent
|
|
133
133
|
|
|
134
|
+
CardAuthorizationChallengeResponseWebhookEvent =
|
|
135
|
+
Lithic::Models::CardAuthorizationChallengeResponseWebhookEvent
|
|
136
|
+
|
|
134
137
|
CardBulkOrder = Lithic::Models::CardBulkOrder
|
|
135
138
|
|
|
136
139
|
CardBulkOrderCreateParams = Lithic::Models::CardBulkOrderCreateParams
|
|
@@ -297,6 +300,9 @@ module Lithic
|
|
|
297
300
|
|
|
298
301
|
ExternalBankAccounts = Lithic::Models::ExternalBankAccounts
|
|
299
302
|
|
|
303
|
+
ExternalBankAccountSetVerificationMethodParams =
|
|
304
|
+
Lithic::Models::ExternalBankAccountSetVerificationMethodParams
|
|
305
|
+
|
|
300
306
|
ExternalBankAccountUnpauseParams = Lithic::Models::ExternalBankAccountUnpauseParams
|
|
301
307
|
|
|
302
308
|
ExternalBankAccountUpdatedWebhookEvent = Lithic::Models::ExternalBankAccountUpdatedWebhookEvent
|
|
@@ -6,12 +6,11 @@ module Lithic
|
|
|
6
6
|
# Some parameter documentations has been truncated, see
|
|
7
7
|
# {Lithic::Models::CardBulkOrderCreateParams} for more details.
|
|
8
8
|
#
|
|
9
|
-
# Create a new bulk order for physical card shipments
|
|
10
|
-
#
|
|
11
|
-
#
|
|
12
|
-
#
|
|
13
|
-
#
|
|
14
|
-
# bulk shipping is supported for your program.
|
|
9
|
+
# Create a new bulk order for physical card shipments. Cards can be added to the
|
|
10
|
+
# order via the POST /v1/cards endpoint by specifying the bulk_order_token. Lock
|
|
11
|
+
# the order via PATCH /v1/card_bulk_orders/{bulk_order_token} to prepare for
|
|
12
|
+
# shipment. Please work with your Customer Success Manager and card
|
|
13
|
+
# personalization bureau to ensure bulk shipping is supported for your program.
|
|
15
14
|
#
|
|
16
15
|
# @overload create(customer_product_id:, shipping_address:, shipping_method:, request_options: {})
|
|
17
16
|
#
|
|
@@ -19,7 +18,7 @@ module Lithic
|
|
|
19
18
|
#
|
|
20
19
|
# @param shipping_address [Object] Shipping address for all cards in this bulk order
|
|
21
20
|
#
|
|
22
|
-
# @param shipping_method [Symbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod] Shipping method for all cards in this bulk order
|
|
21
|
+
# @param shipping_method [Symbol, Lithic::Models::CardBulkOrderCreateParams::ShippingMethod] Shipping method for all cards in this bulk order. BULK_PRIORITY, BULK_2_DAY, and
|
|
23
22
|
#
|
|
24
23
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
25
24
|
#
|
|
@@ -37,7 +36,7 @@ module Lithic
|
|
|
37
36
|
)
|
|
38
37
|
end
|
|
39
38
|
|
|
40
|
-
# Retrieve a specific bulk order by token
|
|
39
|
+
# Retrieve a specific bulk order by token
|
|
41
40
|
#
|
|
42
41
|
# @overload retrieve(bulk_order_token, request_options: {})
|
|
43
42
|
#
|
|
@@ -57,8 +56,8 @@ module Lithic
|
|
|
57
56
|
)
|
|
58
57
|
end
|
|
59
58
|
|
|
60
|
-
# Update a bulk order
|
|
61
|
-
#
|
|
59
|
+
# Update a bulk order. Primarily used to lock the order, preventing additional
|
|
60
|
+
# cards from being added
|
|
62
61
|
#
|
|
63
62
|
# @overload update(bulk_order_token, status:, request_options: {})
|
|
64
63
|
#
|
|
@@ -85,7 +84,7 @@ module Lithic
|
|
|
85
84
|
# Some parameter documentations has been truncated, see
|
|
86
85
|
# {Lithic::Models::CardBulkOrderListParams} for more details.
|
|
87
86
|
#
|
|
88
|
-
# List bulk orders for physical card shipments
|
|
87
|
+
# List bulk orders for physical card shipments
|
|
89
88
|
#
|
|
90
89
|
# @overload list(begin_: nil, end_: nil, ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
|
91
90
|
#
|