lithic 0.3.0 → 0.4.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 +40 -0
- data/README.md +1 -1
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +21 -21
- data/lib/lithic/models/card_create_params.rb +12 -5
- data/lib/lithic/models/card_updated_webhook_event.rb +40 -0
- data/lib/lithic/models/card_web_provision_response.rb +5 -5
- data/lib/lithic/models/event.rb +3 -0
- data/lib/lithic/models/event_list_params.rb +2 -0
- data/lib/lithic/models/event_subscription.rb +2 -0
- data/lib/lithic/models/events/subscription_create_params.rb +2 -0
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +1 -0
- data/lib/lithic/models/events/subscription_update_params.rb +2 -0
- data/lib/lithic/models/financial_transaction.rb +4 -2
- data/lib/lithic/models/non_pci_card.rb +8 -10
- data/lib/lithic/models/parsed_webhook_event.rb +3 -1
- data/lib/lithic/models/payment.rb +1 -1
- data/lib/lithic/models/payment_create_params.rb +1 -1
- data/lib/lithic/models/transaction.rb +10 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +25 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +25 -1
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/cards.rb +32 -22
- data/lib/lithic/resources/financial_accounts.rb +5 -5
- data/lib/lithic/resources/transactions.rb +14 -2
- data/lib/lithic/resources/webhooks.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +1 -0
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +47 -45
- data/rbi/lithic/models/card_create_params.rbi +15 -6
- data/rbi/lithic/models/card_updated_webhook_event.rbi +61 -0
- data/rbi/lithic/models/card_web_provision_response.rbi +5 -10
- data/rbi/lithic/models/event.rbi +5 -0
- data/rbi/lithic/models/event_list_params.rbi +6 -0
- data/rbi/lithic/models/event_subscription.rbi +6 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +6 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +6 -0
- data/rbi/lithic/models/financial_transaction.rbi +8 -4
- data/rbi/lithic/models/non_pci_card.rbi +12 -15
- data/rbi/lithic/models/parsed_webhook_event.rbi +1 -0
- data/rbi/lithic/models/payment.rbi +5 -2
- data/rbi/lithic/models/transaction.rbi +10 -0
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +33 -0
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +33 -0
- data/rbi/lithic/models.rbi +2 -0
- data/rbi/lithic/resources/cards.rbi +51 -45
- data/rbi/lithic/resources/financial_accounts.rbi +5 -5
- data/rbi/lithic/resources/transactions.rbi +18 -0
- data/rbi/lithic/resources/webhooks.rbi +62 -1
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +20 -16
- data/sig/lithic/models/card_create_params.rbs +8 -1
- data/sig/lithic/models/card_updated_webhook_event.rbs +35 -0
- data/sig/lithic/models/card_web_provision_response.rbs +4 -10
- 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/parsed_webhook_event.rbs +1 -0
- data/sig/lithic/models/payment.rbs +2 -2
- data/sig/lithic/models/transaction.rbs +5 -0
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +21 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +22 -1
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +1 -0
- data/sig/lithic/resources/transactions.rbs +6 -0
- data/sig/lithic/resources/webhooks.rbs +58 -1
- metadata +19 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c9b82b20af6ee10e138b64db9e21fa9859d5058b058b3f4d8bd9c3ce12f83ac
|
|
4
|
+
data.tar.gz: 2bf7dbce1c92170c905528b75e67a6b69145a154c217286a25710b83cd42c325
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c23410831a8ff4b4f658af06396bd4239a09b44a66a02e797010247c78b6534d56eca63064d267a74ed8ed6b07fdcd3c10c3dc3ec1722dcbad2fe39aae72388f
|
|
7
|
+
data.tar.gz: e07f42259409e859856a1635d9cd2f3681f8b0bcce3f29a69e128141a43623451126b6dd1f42d01468db0cc5bbcf024d1a9e98c2f2d5fd54a603890cc9103c4a
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.4.0 (2026-01-27)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.3.0...v0.4.0](https://github.com/lithic-com/lithic-ruby/compare/v0.3.0...v0.4.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** Add card state attribute to tokenization rules ([0fe9646](https://github.com/lithic-com/lithic-ruby/commit/0fe9646694e932fddba74b91dcc7cdb1bb565d10))
|
|
10
|
+
* **api:** Add card.updated event ([80369fe](https://github.com/lithic-com/lithic-ruby/commit/80369fe89f4bfb7255bfa05a2035c77238debe3a))
|
|
11
|
+
* **api:** Add event_type to ASA request and 3DS decisioning request ([0fe9646](https://github.com/lithic-com/lithic-ruby/commit/0fe9646694e932fddba74b91dcc7cdb1bb565d10))
|
|
12
|
+
* **api:** Add idempotency key to cards POST and PATCH endpoints ([51321d8](https://github.com/lithic-com/lithic-ruby/commit/51321d8d84f5e1fcb4e9161dd607f01dc9d5cf5d))
|
|
13
|
+
* **api:** Add merchant location fields to simulator endpoints ([d983a60](https://github.com/lithic-com/lithic-ruby/commit/d983a608526955b2699b151e71d14adab72a1a7d))
|
|
14
|
+
* **api:** Add tags field to card transactions ([edf8fbc](https://github.com/lithic-com/lithic-ruby/commit/edf8fbccb53de602bc52be916d6c80498ae4e390))
|
|
15
|
+
* **api:** Add user defined status to ledger accounts ([0fe9646](https://github.com/lithic-com/lithic-ruby/commit/0fe9646694e932fddba74b91dcc7cdb1bb565d10))
|
|
16
|
+
* **api:** Expose Payment Allocation Details ([0fe9646](https://github.com/lithic-com/lithic-ruby/commit/0fe9646694e932fddba74b91dcc7cdb1bb565d10))
|
|
17
|
+
* **api:** make filter optional for Spend Velocity Auth Rules ([3e09d4a](https://github.com/lithic-com/lithic-ruby/commit/3e09d4a5488c83ad8122c973baf5eb4e18de29b0))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* **api:** Correct field name from ach_hold__period to ach_hold_period ([16b6555](https://github.com/lithic-com/lithic-ruby/commit/16b65553840cfad0d39eb52d9770ca394a893c44))
|
|
23
|
+
* **api:** mark AppleWebPushProvisioningResponse fields required ([4105b29](https://github.com/lithic-com/lithic-ruby/commit/4105b29d27ce48c60180c5b7166e664fdd1c0e46))
|
|
24
|
+
* **api:** rename WIRE_DRAWDOWN_REQUEST to WIRE_INBOUND_DRAWDOWN_REQUEST ([3e09d4a](https://github.com/lithic-com/lithic-ruby/commit/3e09d4a5488c83ad8122c973baf5eb4e18de29b0))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Chores
|
|
28
|
+
|
|
29
|
+
* Add spec linter for YAML and folded style multiline strings ([35a67d3](https://github.com/lithic-com/lithic-ruby/commit/35a67d3154e8f54d374c53d8b3b53b9485272878))
|
|
30
|
+
* configure new SDK language ([ba770b2](https://github.com/lithic-com/lithic-ruby/commit/ba770b2cd5f50ba1871c539f89036ff4538b1df2))
|
|
31
|
+
* **internal:** codegen related update ([ef965b2](https://github.com/lithic-com/lithic-ruby/commit/ef965b2fc0cfebc92a3d2317b7201318bcd500aa))
|
|
32
|
+
* **internal:** codegen related update ([143a5ea](https://github.com/lithic-com/lithic-ruby/commit/143a5ea456ee1e6db32fd923ddb68f749ceed53b))
|
|
33
|
+
* **internal:** update `actions/checkout` version ([830ae4a](https://github.com/lithic-com/lithic-ruby/commit/830ae4ad28662e5be21860d14ea86d2f1fa25ec0))
|
|
34
|
+
* Rework event type generation to support spec splitting ([fdb9960](https://github.com/lithic-com/lithic-ruby/commit/fdb9960d08f95f161da8abf310509d594a0d2957))
|
|
35
|
+
* update code formatting ([0fe9646](https://github.com/lithic-com/lithic-ruby/commit/0fe9646694e932fddba74b91dcc7cdb1bb565d10))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Documentation
|
|
39
|
+
|
|
40
|
+
* Remove deprecated tag from MERCHANT_LOCKED card type ([b3104df](https://github.com/lithic-com/lithic-ruby/commit/b3104df92ab8f161c92c1136b86a1a734576f574))
|
|
41
|
+
* Update language for Google Web Push Provisioning docs ([0fe9646](https://github.com/lithic-com/lithic-ruby/commit/0fe9646694e932fddba74b91dcc7cdb1bb565d10))
|
|
42
|
+
|
|
3
43
|
## 0.3.0 (2026-01-08)
|
|
4
44
|
|
|
5
45
|
Full Changelog: [v0.2.0...v0.3.0](https://github.com/lithic-com/lithic-ruby/compare/v0.2.0...v0.3.0)
|
data/README.md
CHANGED
|
@@ -4,11 +4,6 @@ module Lithic
|
|
|
4
4
|
module Models
|
|
5
5
|
module AuthRules
|
|
6
6
|
class VelocityLimitParams < Lithic::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute filters
|
|
8
|
-
#
|
|
9
|
-
# @return [Lithic::Models::AuthRules::VelocityLimitParams::Filters]
|
|
10
|
-
required :filters, -> { Lithic::AuthRules::VelocityLimitParams::Filters }
|
|
11
|
-
|
|
12
7
|
# @!attribute period
|
|
13
8
|
# Velocity over the current day since 00:00 / 12 AM in Eastern Time
|
|
14
9
|
#
|
|
@@ -21,6 +16,11 @@ module Lithic
|
|
|
21
16
|
# @return [Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Scope]
|
|
22
17
|
required :scope, enum: -> { Lithic::AuthRules::VelocityLimitParams::Scope }
|
|
23
18
|
|
|
19
|
+
# @!attribute filters
|
|
20
|
+
#
|
|
21
|
+
# @return [Lithic::Models::AuthRules::VelocityLimitParams::Filters, nil]
|
|
22
|
+
optional :filters, -> { Lithic::AuthRules::VelocityLimitParams::Filters }
|
|
23
|
+
|
|
24
24
|
# @!attribute limit_amount
|
|
25
25
|
# The maximum amount of spend velocity allowed in the period in minor units (the
|
|
26
26
|
# smallest unit of a currency, e.g. cents for USD). Transactions exceeding this
|
|
@@ -39,20 +39,33 @@ module Lithic
|
|
|
39
39
|
# @return [Integer, nil]
|
|
40
40
|
optional :limit_count, Integer, nil?: true
|
|
41
41
|
|
|
42
|
-
# @!method initialize(
|
|
42
|
+
# @!method initialize(period:, scope:, filters: nil, limit_amount: nil, limit_count: nil)
|
|
43
43
|
# Some parameter documentations has been truncated, see
|
|
44
44
|
# {Lithic::Models::AuthRules::VelocityLimitParams} for more details.
|
|
45
45
|
#
|
|
46
|
-
# @param filters [Lithic::Models::AuthRules::VelocityLimitParams::Filters]
|
|
47
|
-
#
|
|
48
46
|
# @param period [Lithic::Models::AuthRules::VelocityLimitPeriod::TrailingWindowObject, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowDay, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowWeek, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowMonth, Lithic::Models::AuthRules::VelocityLimitPeriod::FixedWindowYear] Velocity over the current day since 00:00 / 12 AM in Eastern Time
|
|
49
47
|
#
|
|
50
48
|
# @param scope [Symbol, Lithic::Models::AuthRules::VelocityLimitParams::Scope] The scope the velocity is calculated for
|
|
51
49
|
#
|
|
50
|
+
# @param filters [Lithic::Models::AuthRules::VelocityLimitParams::Filters]
|
|
51
|
+
#
|
|
52
52
|
# @param limit_amount [Integer, nil] The maximum amount of spend velocity allowed in the period in minor units (the s
|
|
53
53
|
#
|
|
54
54
|
# @param limit_count [Integer, nil] The number of spend velocity impacting transactions may not exceed this limit in
|
|
55
55
|
|
|
56
|
+
# The scope the velocity is calculated for
|
|
57
|
+
#
|
|
58
|
+
# @see Lithic::Models::AuthRules::VelocityLimitParams#scope
|
|
59
|
+
module Scope
|
|
60
|
+
extend Lithic::Internal::Type::Enum
|
|
61
|
+
|
|
62
|
+
CARD = :CARD
|
|
63
|
+
ACCOUNT = :ACCOUNT
|
|
64
|
+
|
|
65
|
+
# @!method self.values
|
|
66
|
+
# @return [Array<Symbol>]
|
|
67
|
+
end
|
|
68
|
+
|
|
56
69
|
# @see Lithic::Models::AuthRules::VelocityLimitParams#filters
|
|
57
70
|
class Filters < Lithic::Internal::Type::BaseModel
|
|
58
71
|
# @!attribute exclude_countries
|
|
@@ -133,19 +146,6 @@ module Lithic
|
|
|
133
146
|
# @return [Array<Symbol>]
|
|
134
147
|
end
|
|
135
148
|
end
|
|
136
|
-
|
|
137
|
-
# The scope the velocity is calculated for
|
|
138
|
-
#
|
|
139
|
-
# @see Lithic::Models::AuthRules::VelocityLimitParams#scope
|
|
140
|
-
module Scope
|
|
141
|
-
extend Lithic::Internal::Type::Enum
|
|
142
|
-
|
|
143
|
-
CARD = :CARD
|
|
144
|
-
ACCOUNT = :ACCOUNT
|
|
145
|
-
|
|
146
|
-
# @!method self.values
|
|
147
|
-
# @return [Array<Symbol>]
|
|
148
|
-
end
|
|
149
149
|
end
|
|
150
150
|
end
|
|
151
151
|
end
|
|
@@ -18,8 +18,8 @@ module Lithic
|
|
|
18
18
|
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
|
19
19
|
# information.
|
|
20
20
|
# - `SINGLE_USE` - Card is closed upon first successful authorization.
|
|
21
|
-
# - `MERCHANT_LOCKED` -
|
|
22
|
-
#
|
|
21
|
+
# - `MERCHANT_LOCKED` - Card is locked to the first merchant that successfully
|
|
22
|
+
# authorizes the card.
|
|
23
23
|
# - `UNLOCKED` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
|
24
24
|
# VIRTUAL instead.
|
|
25
25
|
# - `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please
|
|
@@ -226,7 +226,12 @@ module Lithic
|
|
|
226
226
|
# @return [Symbol, Lithic::Models::CardCreateParams::State, nil]
|
|
227
227
|
optional :state, enum: -> { Lithic::CardCreateParams::State }
|
|
228
228
|
|
|
229
|
-
# @!
|
|
229
|
+
# @!attribute idempotency_key
|
|
230
|
+
#
|
|
231
|
+
# @return [String, nil]
|
|
232
|
+
optional :idempotency_key, String
|
|
233
|
+
|
|
234
|
+
# @!method initialize(type:, account_token: nil, bulk_order_token: nil, card_program_token: nil, carrier: nil, digital_card_art_token: nil, exp_month: nil, exp_year: nil, memo: nil, pin: nil, product_id: nil, replacement_account_token: nil, replacement_comment: nil, replacement_for: nil, replacement_substatus: nil, shipping_address: nil, shipping_method: nil, spend_limit: nil, spend_limit_duration: nil, state: nil, idempotency_key: nil, request_options: {})
|
|
230
235
|
# Some parameter documentations has been truncated, see
|
|
231
236
|
# {Lithic::Models::CardCreateParams} for more details.
|
|
232
237
|
#
|
|
@@ -270,6 +275,8 @@ module Lithic
|
|
|
270
275
|
#
|
|
271
276
|
# @param state [Symbol, Lithic::Models::CardCreateParams::State] Card state values:
|
|
272
277
|
#
|
|
278
|
+
# @param idempotency_key [String]
|
|
279
|
+
#
|
|
273
280
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
274
281
|
|
|
275
282
|
# Card types:
|
|
@@ -282,8 +289,8 @@ module Lithic
|
|
|
282
289
|
# Reach out at [lithic.com/contact](https://lithic.com/contact) for more
|
|
283
290
|
# information.
|
|
284
291
|
# - `SINGLE_USE` - Card is closed upon first successful authorization.
|
|
285
|
-
# - `MERCHANT_LOCKED` -
|
|
286
|
-
#
|
|
292
|
+
# - `MERCHANT_LOCKED` - Card is locked to the first merchant that successfully
|
|
293
|
+
# authorizes the card.
|
|
287
294
|
# - `UNLOCKED` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please use
|
|
288
295
|
# VIRTUAL instead.
|
|
289
296
|
# - `DIGITAL_WALLET` - _[Deprecated]_ Similar behavior to VIRTUAL cards, please
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Lithic
|
|
4
|
+
module Models
|
|
5
|
+
class CardUpdatedWebhookEvent < Lithic::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute card_token
|
|
7
|
+
# The token of the card that was updated.
|
|
8
|
+
#
|
|
9
|
+
# @return [String]
|
|
10
|
+
required :card_token, String
|
|
11
|
+
|
|
12
|
+
# @!attribute event_type
|
|
13
|
+
# The type of event that occurred.
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :"card.updated"]
|
|
16
|
+
required :event_type, const: :"card.updated"
|
|
17
|
+
|
|
18
|
+
# @!attribute previous_fields
|
|
19
|
+
# The previous values of the fields that were updated.
|
|
20
|
+
#
|
|
21
|
+
# @return [Object]
|
|
22
|
+
required :previous_fields, Lithic::Internal::Type::Unknown
|
|
23
|
+
|
|
24
|
+
# @!attribute state
|
|
25
|
+
# The current state of the card.
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :state, String
|
|
29
|
+
|
|
30
|
+
# @!method initialize(card_token:, previous_fields:, state:, event_type: :"card.updated")
|
|
31
|
+
# @param card_token [String] The token of the card that was updated.
|
|
32
|
+
#
|
|
33
|
+
# @param previous_fields [Object] The previous values of the fields that were updated.
|
|
34
|
+
#
|
|
35
|
+
# @param state [String] The current state of the card.
|
|
36
|
+
#
|
|
37
|
+
# @param event_type [Symbol, :"card.updated"] The type of event that occurred.
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -14,16 +14,16 @@ module Lithic
|
|
|
14
14
|
# @!attribute jws
|
|
15
15
|
# JWS object required for handoff to Apple's script.
|
|
16
16
|
#
|
|
17
|
-
# @return [Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws
|
|
18
|
-
|
|
17
|
+
# @return [Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws]
|
|
18
|
+
required :jws, -> { Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws }
|
|
19
19
|
|
|
20
20
|
# @!attribute state
|
|
21
21
|
# A unique identifier for the JWS object.
|
|
22
22
|
#
|
|
23
|
-
# @return [String
|
|
24
|
-
|
|
23
|
+
# @return [String]
|
|
24
|
+
required :state, String
|
|
25
25
|
|
|
26
|
-
# @!method initialize(jws
|
|
26
|
+
# @!method initialize(jws:, state:)
|
|
27
27
|
# @param jws [Lithic::Models::CardWebProvisionResponse::AppleWebPushProvisioningResponse::Jws] JWS object required for handoff to Apple's script.
|
|
28
28
|
#
|
|
29
29
|
# @param state [String] A unique identifier for the JWS object.
|
data/lib/lithic/models/event.rb
CHANGED
|
@@ -44,6 +44,7 @@ module Lithic
|
|
|
44
44
|
# - card.reissued: Occurs when a card is reissued.
|
|
45
45
|
# - card.renewed: Occurs when a card is renewed.
|
|
46
46
|
# - card.shipped: Occurs when a card is shipped.
|
|
47
|
+
# - card.updated: Occurs when a card is updated.
|
|
47
48
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
48
49
|
# approval request is made. This event will be deprecated in the future. We
|
|
49
50
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -167,6 +168,7 @@ module Lithic
|
|
|
167
168
|
# - card.reissued: Occurs when a card is reissued.
|
|
168
169
|
# - card.renewed: Occurs when a card is renewed.
|
|
169
170
|
# - card.shipped: Occurs when a card is shipped.
|
|
171
|
+
# - card.updated: Occurs when a card is updated.
|
|
170
172
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
171
173
|
# approval request is made. This event will be deprecated in the future. We
|
|
172
174
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -263,6 +265,7 @@ module Lithic
|
|
|
263
265
|
CARD_REISSUED = :"card.reissued"
|
|
264
266
|
CARD_RENEWED = :"card.renewed"
|
|
265
267
|
CARD_SHIPPED = :"card.shipped"
|
|
268
|
+
CARD_UPDATED = :"card.updated"
|
|
266
269
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
267
270
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
268
271
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -98,6 +98,7 @@ module Lithic
|
|
|
98
98
|
# - card.reissued: Occurs when a card is reissued.
|
|
99
99
|
# - card.renewed: Occurs when a card is renewed.
|
|
100
100
|
# - card.shipped: Occurs when a card is shipped.
|
|
101
|
+
# - card.updated: Occurs when a card is updated.
|
|
101
102
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
102
103
|
# approval request is made. This event will be deprecated in the future. We
|
|
103
104
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -192,6 +193,7 @@ module Lithic
|
|
|
192
193
|
CARD_REISSUED = :"card.reissued"
|
|
193
194
|
CARD_RENEWED = :"card.renewed"
|
|
194
195
|
CARD_SHIPPED = :"card.shipped"
|
|
196
|
+
CARD_UPDATED = :"card.updated"
|
|
195
197
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
196
198
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
197
199
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -71,6 +71,7 @@ module Lithic
|
|
|
71
71
|
# - card.reissued: Occurs when a card is reissued.
|
|
72
72
|
# - card.renewed: Occurs when a card is renewed.
|
|
73
73
|
# - card.shipped: Occurs when a card is shipped.
|
|
74
|
+
# - card.updated: Occurs when a card is updated.
|
|
74
75
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
75
76
|
# approval request is made. This event will be deprecated in the future. We
|
|
76
77
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -165,6 +166,7 @@ module Lithic
|
|
|
165
166
|
CARD_REISSUED = :"card.reissued"
|
|
166
167
|
CARD_RENEWED = :"card.renewed"
|
|
167
168
|
CARD_SHIPPED = :"card.shipped"
|
|
169
|
+
CARD_UPDATED = :"card.updated"
|
|
168
170
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
169
171
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
170
172
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -73,6 +73,7 @@ module Lithic
|
|
|
73
73
|
# - card.reissued: Occurs when a card is reissued.
|
|
74
74
|
# - card.renewed: Occurs when a card is renewed.
|
|
75
75
|
# - card.shipped: Occurs when a card is shipped.
|
|
76
|
+
# - card.updated: Occurs when a card is updated.
|
|
76
77
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
77
78
|
# approval request is made. This event will be deprecated in the future. We
|
|
78
79
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -167,6 +168,7 @@ module Lithic
|
|
|
167
168
|
CARD_REISSUED = :"card.reissued"
|
|
168
169
|
CARD_RENEWED = :"card.renewed"
|
|
169
170
|
CARD_SHIPPED = :"card.shipped"
|
|
171
|
+
CARD_UPDATED = :"card.updated"
|
|
170
172
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
171
173
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
172
174
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -39,6 +39,7 @@ module Lithic
|
|
|
39
39
|
CARD_REISSUED = :"card.reissued"
|
|
40
40
|
CARD_RENEWED = :"card.renewed"
|
|
41
41
|
CARD_SHIPPED = :"card.shipped"
|
|
42
|
+
CARD_UPDATED = :"card.updated"
|
|
42
43
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
43
44
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
44
45
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -73,6 +73,7 @@ module Lithic
|
|
|
73
73
|
# - card.reissued: Occurs when a card is reissued.
|
|
74
74
|
# - card.renewed: Occurs when a card is renewed.
|
|
75
75
|
# - card.shipped: Occurs when a card is shipped.
|
|
76
|
+
# - card.updated: Occurs when a card is updated.
|
|
76
77
|
# - digital_wallet.tokenization_approval_request: Occurs when a tokenization
|
|
77
78
|
# approval request is made. This event will be deprecated in the future. We
|
|
78
79
|
# recommend using `tokenization.approval_request` instead.
|
|
@@ -167,6 +168,7 @@ module Lithic
|
|
|
167
168
|
CARD_REISSUED = :"card.reissued"
|
|
168
169
|
CARD_RENEWED = :"card.renewed"
|
|
169
170
|
CARD_SHIPPED = :"card.shipped"
|
|
171
|
+
CARD_UPDATED = :"card.updated"
|
|
170
172
|
DIGITAL_WALLET_TOKENIZATION_APPROVAL_REQUEST = :"digital_wallet.tokenization_approval_request"
|
|
171
173
|
DIGITAL_WALLET_TOKENIZATION_RESULT = :"digital_wallet.tokenization_result"
|
|
172
174
|
DIGITAL_WALLET_TOKENIZATION_TWO_FACTOR_AUTHENTICATION_CODE =
|
|
@@ -49,8 +49,10 @@ module Lithic
|
|
|
49
49
|
|
|
50
50
|
# @!attribute pending_amount
|
|
51
51
|
# Pending amount of the transaction in the currency's smallest unit (e.g., cents),
|
|
52
|
-
# including any acquirer fees.
|
|
53
|
-
#
|
|
52
|
+
# including any acquirer fees.
|
|
53
|
+
#
|
|
54
|
+
# The value of this field will go to zero over time once the financial transaction
|
|
55
|
+
# is settled.
|
|
54
56
|
#
|
|
55
57
|
# @return [Integer]
|
|
56
58
|
required :pending_amount, Integer
|
|
@@ -97,11 +97,10 @@ module Lithic
|
|
|
97
97
|
# wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
|
|
98
98
|
# offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
|
|
99
99
|
# functionality. _ `SINGLE_USE` - Card is closed upon first successful
|
|
100
|
-
# authorization. _ `MERCHANT_LOCKED` -
|
|
101
|
-
#
|
|
102
|
-
#
|
|
103
|
-
#
|
|
104
|
-
# VIRTUAL instead.
|
|
100
|
+
# authorization. _ `MERCHANT_LOCKED` - Card is locked to the first merchant that
|
|
101
|
+
# successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_ Similar behavior
|
|
102
|
+
# to VIRTUAL cards, please use VIRTUAL instead. _ `DIGITAL_WALLET` -
|
|
103
|
+
# _[Deprecated]_ Similar behavior to VIRTUAL cards, please use VIRTUAL instead.
|
|
105
104
|
#
|
|
106
105
|
# @return [Symbol, Lithic::Models::NonPCICard::Type]
|
|
107
106
|
required :type, enum: -> { Lithic::NonPCICard::Type }
|
|
@@ -436,11 +435,10 @@ module Lithic
|
|
|
436
435
|
# wallet-enabled). _ `PHYSICAL` - Manufactured and sent to the cardholder. We
|
|
437
436
|
# offer white label branding, credit, ATM, PIN debit, chip/EMV, NFC and magstripe
|
|
438
437
|
# functionality. _ `SINGLE_USE` - Card is closed upon first successful
|
|
439
|
-
# authorization. _ `MERCHANT_LOCKED` -
|
|
440
|
-
#
|
|
441
|
-
#
|
|
442
|
-
#
|
|
443
|
-
# VIRTUAL instead.
|
|
438
|
+
# authorization. _ `MERCHANT_LOCKED` - Card is locked to the first merchant that
|
|
439
|
+
# successfully authorizes the card. _ `UNLOCKED` - _[Deprecated]_ Similar behavior
|
|
440
|
+
# to VIRTUAL cards, please use VIRTUAL instead. _ `DIGITAL_WALLET` -
|
|
441
|
+
# _[Deprecated]_ Similar behavior to VIRTUAL cards, please use VIRTUAL instead.
|
|
444
442
|
#
|
|
445
443
|
# @see Lithic::Models::NonPCICard#type
|
|
446
444
|
module Type
|
|
@@ -46,6 +46,8 @@ module Lithic
|
|
|
46
46
|
|
|
47
47
|
variant -> { Lithic::CardShippedWebhookEvent }
|
|
48
48
|
|
|
49
|
+
variant -> { Lithic::CardUpdatedWebhookEvent }
|
|
50
|
+
|
|
49
51
|
variant -> { Lithic::CardTransactionUpdatedWebhookEvent }
|
|
50
52
|
|
|
51
53
|
variant -> { Lithic::CardTransactionEnhancedDataCreatedWebhookEvent }
|
|
@@ -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::TokenizationDecisioningRequestWebhookEvent, 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::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::TokenizationDecisioningRequestWebhookEvent, 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
|
|
@@ -650,7 +650,7 @@ module Lithic
|
|
|
650
650
|
WIRE_INBOUND_ADMIN = :WIRE_INBOUND_ADMIN
|
|
651
651
|
WIRE_OUTBOUND_PAYMENT = :WIRE_OUTBOUND_PAYMENT
|
|
652
652
|
WIRE_OUTBOUND_ADMIN = :WIRE_OUTBOUND_ADMIN
|
|
653
|
-
|
|
653
|
+
WIRE_INBOUND_DRAWDOWN_REQUEST = :WIRE_INBOUND_DRAWDOWN_REQUEST
|
|
654
654
|
|
|
655
655
|
# @!method self.values
|
|
656
656
|
# @return [Array<Symbol>]
|
|
@@ -162,6 +162,13 @@ module Lithic
|
|
|
162
162
|
# @return [Symbol, Lithic::Models::Transaction::Status]
|
|
163
163
|
required :status, enum: -> { Lithic::Transaction::Status }
|
|
164
164
|
|
|
165
|
+
# @!attribute tags
|
|
166
|
+
# Key-value pairs for tagging resources. Tags allow you to associate arbitrary
|
|
167
|
+
# metadata with a resource for your own purposes.
|
|
168
|
+
#
|
|
169
|
+
# @return [Hash{Symbol=>String}]
|
|
170
|
+
required :tags, Lithic::Internal::Type::HashOf[String]
|
|
171
|
+
|
|
165
172
|
# @!attribute token_info
|
|
166
173
|
#
|
|
167
174
|
# @return [Lithic::Models::TokenInfo, nil]
|
|
@@ -178,7 +185,7 @@ module Lithic
|
|
|
178
185
|
# @return [Array<Lithic::Models::Transaction::Event>, nil]
|
|
179
186
|
optional :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::Transaction::Event] }
|
|
180
187
|
|
|
181
|
-
# @!method initialize(token:, account_token:, acquirer_fee:, acquirer_reference_number:, amount:, amounts:, authorization_amount:, authorization_code:, avs:, card_token:, cardholder_authentication:, created:, financial_account_token:, merchant:, merchant_amount:, merchant_authorization_amount:, merchant_currency:, network:, network_risk_score:, pos:, result:, settled_amount:, status:, token_info:, updated:, events: nil)
|
|
188
|
+
# @!method initialize(token:, account_token:, acquirer_fee:, acquirer_reference_number:, amount:, amounts:, authorization_amount:, authorization_code:, avs:, card_token:, cardholder_authentication:, created:, financial_account_token:, merchant:, merchant_amount:, merchant_authorization_amount:, merchant_currency:, network:, network_risk_score:, pos:, result:, settled_amount:, status:, tags:, token_info:, updated:, events: nil)
|
|
182
189
|
# Some parameter documentations has been truncated, see
|
|
183
190
|
# {Lithic::Models::Transaction} for more details.
|
|
184
191
|
#
|
|
@@ -228,6 +235,8 @@ module Lithic
|
|
|
228
235
|
#
|
|
229
236
|
# @param status [Symbol, Lithic::Models::Transaction::Status] Status of the transaction.
|
|
230
237
|
#
|
|
238
|
+
# @param tags [Hash{Symbol=>String}] Key-value pairs for tagging resources. Tags allow you to associate arbitrary met
|
|
239
|
+
#
|
|
231
240
|
# @param token_info [Lithic::Models::TokenInfo, nil]
|
|
232
241
|
#
|
|
233
242
|
# @param updated [Time] Date and time when the transaction last updated. UTC time zone.
|
|
@@ -37,12 +37,30 @@ module Lithic
|
|
|
37
37
|
# @return [String, nil]
|
|
38
38
|
optional :mcc, String
|
|
39
39
|
|
|
40
|
+
# @!attribute merchant_acceptor_city
|
|
41
|
+
# Merchant acceptor city
|
|
42
|
+
#
|
|
43
|
+
# @return [String, nil]
|
|
44
|
+
optional :merchant_acceptor_city, String
|
|
45
|
+
|
|
46
|
+
# @!attribute merchant_acceptor_country
|
|
47
|
+
# Merchant acceptor country code (ISO 3166-1 alpha-3)
|
|
48
|
+
#
|
|
49
|
+
# @return [String, nil]
|
|
50
|
+
optional :merchant_acceptor_country, String
|
|
51
|
+
|
|
40
52
|
# @!attribute merchant_acceptor_id
|
|
41
53
|
# Unique identifier to identify the payment card acceptor.
|
|
42
54
|
#
|
|
43
55
|
# @return [String, nil]
|
|
44
56
|
optional :merchant_acceptor_id, String
|
|
45
57
|
|
|
58
|
+
# @!attribute merchant_acceptor_state
|
|
59
|
+
# Merchant acceptor state/province (ISO 3166-2 subdivision code)
|
|
60
|
+
#
|
|
61
|
+
# @return [String, nil]
|
|
62
|
+
optional :merchant_acceptor_state, String
|
|
63
|
+
|
|
46
64
|
# @!attribute merchant_amount
|
|
47
65
|
# Amount of the transaction to be simulated in currency specified in
|
|
48
66
|
# merchant_currency, including any acquirer fees.
|
|
@@ -92,7 +110,7 @@ module Lithic
|
|
|
92
110
|
# @return [Symbol, Lithic::Models::TransactionSimulateAuthorizationParams::Status, nil]
|
|
93
111
|
optional :status, enum: -> { Lithic::TransactionSimulateAuthorizationParams::Status }
|
|
94
112
|
|
|
95
|
-
# @!method initialize(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_id: nil, merchant_amount: nil, merchant_currency: nil, partial_approval_capable: nil, pin: nil, status: nil, request_options: {})
|
|
113
|
+
# @!method initialize(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_city: nil, merchant_acceptor_country: nil, merchant_acceptor_id: nil, merchant_acceptor_state: nil, merchant_amount: nil, merchant_currency: nil, partial_approval_capable: nil, pin: nil, status: nil, request_options: {})
|
|
96
114
|
# Some parameter documentations has been truncated, see
|
|
97
115
|
# {Lithic::Models::TransactionSimulateAuthorizationParams} for more details.
|
|
98
116
|
#
|
|
@@ -104,8 +122,14 @@ module Lithic
|
|
|
104
122
|
#
|
|
105
123
|
# @param mcc [String] Merchant category code for the transaction to be simulated. A four-digit number
|
|
106
124
|
#
|
|
125
|
+
# @param merchant_acceptor_city [String] Merchant acceptor city
|
|
126
|
+
#
|
|
127
|
+
# @param merchant_acceptor_country [String] Merchant acceptor country code (ISO 3166-1 alpha-3)
|
|
128
|
+
#
|
|
107
129
|
# @param merchant_acceptor_id [String] Unique identifier to identify the payment card acceptor.
|
|
108
130
|
#
|
|
131
|
+
# @param merchant_acceptor_state [String] Merchant acceptor state/province (ISO 3166-2 subdivision code)
|
|
132
|
+
#
|
|
109
133
|
# @param merchant_amount [Integer] Amount of the transaction to be simulated in currency specified in merchant_curr
|
|
110
134
|
#
|
|
111
135
|
# @param merchant_currency [String] 3-character alphabetic ISO 4217 currency code. Note: Simulator only accepts USD,
|
|
@@ -35,13 +35,31 @@ module Lithic
|
|
|
35
35
|
# @return [String, nil]
|
|
36
36
|
optional :mcc, String
|
|
37
37
|
|
|
38
|
+
# @!attribute merchant_acceptor_city
|
|
39
|
+
# Merchant acceptor city
|
|
40
|
+
#
|
|
41
|
+
# @return [String, nil]
|
|
42
|
+
optional :merchant_acceptor_city, String
|
|
43
|
+
|
|
44
|
+
# @!attribute merchant_acceptor_country
|
|
45
|
+
# Merchant acceptor country code (ISO 3166-1 alpha-3)
|
|
46
|
+
#
|
|
47
|
+
# @return [String, nil]
|
|
48
|
+
optional :merchant_acceptor_country, String
|
|
49
|
+
|
|
38
50
|
# @!attribute merchant_acceptor_id
|
|
39
51
|
# Unique identifier to identify the payment card acceptor.
|
|
40
52
|
#
|
|
41
53
|
# @return [String, nil]
|
|
42
54
|
optional :merchant_acceptor_id, String
|
|
43
55
|
|
|
44
|
-
# @!
|
|
56
|
+
# @!attribute merchant_acceptor_state
|
|
57
|
+
# Merchant acceptor state/province (ISO 3166-2 subdivision code)
|
|
58
|
+
#
|
|
59
|
+
# @return [String, nil]
|
|
60
|
+
optional :merchant_acceptor_state, String
|
|
61
|
+
|
|
62
|
+
# @!method initialize(amount:, descriptor:, pan:, mcc: nil, merchant_acceptor_city: nil, merchant_acceptor_country: nil, merchant_acceptor_id: nil, merchant_acceptor_state: nil, request_options: {})
|
|
45
63
|
# Some parameter documentations has been truncated, see
|
|
46
64
|
# {Lithic::Models::TransactionSimulateCreditAuthorizationAdviceParams} for more
|
|
47
65
|
# details.
|
|
@@ -54,8 +72,14 @@ module Lithic
|
|
|
54
72
|
#
|
|
55
73
|
# @param mcc [String] Merchant category code for the transaction to be simulated. A four-digit number
|
|
56
74
|
#
|
|
75
|
+
# @param merchant_acceptor_city [String] Merchant acceptor city
|
|
76
|
+
#
|
|
77
|
+
# @param merchant_acceptor_country [String] Merchant acceptor country code (ISO 3166-1 alpha-3)
|
|
78
|
+
#
|
|
57
79
|
# @param merchant_acceptor_id [String] Unique identifier to identify the payment card acceptor.
|
|
58
80
|
#
|
|
81
|
+
# @param merchant_acceptor_state [String] Merchant acceptor state/province (ISO 3166-2 subdivision code)
|
|
82
|
+
#
|
|
59
83
|
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
|
60
84
|
end
|
|
61
85
|
end
|
data/lib/lithic/models.rb
CHANGED
|
@@ -189,6 +189,8 @@ module Lithic
|
|
|
189
189
|
|
|
190
190
|
CardTransactionUpdatedWebhookEvent = Lithic::Models::CardTransactionUpdatedWebhookEvent
|
|
191
191
|
|
|
192
|
+
CardUpdatedWebhookEvent = Lithic::Models::CardUpdatedWebhookEvent
|
|
193
|
+
|
|
192
194
|
CardUpdateParams = Lithic::Models::CardUpdateParams
|
|
193
195
|
|
|
194
196
|
CardWebProvisionParams = Lithic::Models::CardWebProvisionParams
|