increase 1.71.0 → 1.73.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/card_payment.rb +18 -18
- data/lib/increase/models/declined_transaction.rb +6 -6
- data/lib/increase/models/entity_update_params.rb +11 -1
- data/lib/increase/models/pending_transaction.rb +6 -6
- data/lib/increase/models/real_time_decision.rb +31 -7
- data/lib/increase/models/real_time_decision_action_params.rb +184 -4
- data/lib/increase/resources/entities.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_payment.rbi +30 -30
- data/rbi/increase/models/declined_transaction.rbi +10 -10
- data/rbi/increase/models/entity_update_params.rbi +15 -0
- data/rbi/increase/models/pending_transaction.rbi +10 -10
- data/rbi/increase/models/real_time_decision.rbi +67 -10
- data/rbi/increase/models/real_time_decision_action_params.rbi +400 -3
- data/rbi/increase/resources/entities.rbi +5 -0
- data/sig/increase/models/card_payment.rbs +21 -21
- data/sig/increase/models/declined_transaction.rbs +7 -7
- data/sig/increase/models/entity_update_params.rbs +7 -0
- data/sig/increase/models/pending_transaction.rbs +7 -7
- data/sig/increase/models/real_time_decision.rbs +22 -7
- data/sig/increase/models/real_time_decision_action_params.rbs +138 -0
- data/sig/increase/resources/entities.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f0e69a1d7256086ffbcfc5329dda435c1e9d01e6fe72b9f462ca80d4fb3a807
|
4
|
+
data.tar.gz: fe1d39ca1b0e5ece64e4c9938f02695a8c9ce8e633700f1590e47aa52b472393
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc4d7737031d8e4dbc9e0ae80fab81a9689b4bb41da4fbaebb94cb69c0d48baf0b08d995c6b1778ea67b43358df664ad0f4cb3547ce2a3dc6e85f0f355adbe5b
|
7
|
+
data.tar.gz: 56bbc6bfcef3785599b2c7979260e7bbebe85bb3182e976ec9599b34f7ee6845741650561318b45b67b63a580dd9e09cde1aab9088df00dd3093c1727d3c56f0
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.73.0 (2025-09-09)
|
4
|
+
|
5
|
+
Full Changelog: [v1.72.0...v1.73.0](https://github.com/Increase/increase-ruby/compare/v1.72.0...v1.73.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([93fc5a7](https://github.com/Increase/increase-ruby/commit/93fc5a740da198d4814e4bbc1165c7168c7db734))
|
10
|
+
|
11
|
+
## 1.72.0 (2025-09-08)
|
12
|
+
|
13
|
+
Full Changelog: [v1.71.0...v1.72.0](https://github.com/Increase/increase-ruby/compare/v1.71.0...v1.72.0)
|
14
|
+
|
15
|
+
### Features
|
16
|
+
|
17
|
+
* **api:** api update ([a403346](https://github.com/Increase/increase-ruby/commit/a4033467d8e63b6a28308ee936f44052c26ad6a1))
|
18
|
+
|
3
19
|
## 1.71.0 (2025-09-08)
|
4
20
|
|
5
21
|
Full Changelog: [v1.70.0...v1.71.0](https://github.com/Increase/increase-ruby/compare/v1.70.0...v1.71.0)
|
data/README.md
CHANGED
@@ -1707,16 +1707,13 @@ module Increase
|
|
1707
1707
|
module Result
|
1708
1708
|
extend Increase::Internal::Type::Enum
|
1709
1709
|
|
1710
|
-
# No address was provided in the authorization request.
|
1710
|
+
# No address information was provided in the authorization request.
|
1711
1711
|
NOT_CHECKED = :not_checked
|
1712
1712
|
|
1713
|
-
# Postal code matches, but the street address was not
|
1714
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1715
|
-
|
1716
|
-
# Postal code matches, but the street address does not match.
|
1713
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1717
1714
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
|
1718
1715
|
|
1719
|
-
# Postal code does not match, but the street address matches.
|
1716
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1720
1717
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
|
1721
1718
|
|
1722
1719
|
# Postal code and street address match.
|
@@ -1725,6 +1722,9 @@ module Increase
|
|
1725
1722
|
# Postal code and street address do not match.
|
1726
1723
|
NO_MATCH = :no_match
|
1727
1724
|
|
1725
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1726
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1727
|
+
|
1728
1728
|
# @!method self.values
|
1729
1729
|
# @return [Array<Symbol>]
|
1730
1730
|
end
|
@@ -3022,16 +3022,13 @@ module Increase
|
|
3022
3022
|
module Result
|
3023
3023
|
extend Increase::Internal::Type::Enum
|
3024
3024
|
|
3025
|
-
# No address was provided in the authorization request.
|
3025
|
+
# No address information was provided in the authorization request.
|
3026
3026
|
NOT_CHECKED = :not_checked
|
3027
3027
|
|
3028
|
-
# Postal code matches, but the street address was not
|
3029
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
3030
|
-
|
3031
|
-
# Postal code matches, but the street address does not match.
|
3028
|
+
# Postal code matches, but the street address does not match or was not provided.
|
3032
3029
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
|
3033
3030
|
|
3034
|
-
# Postal code does not match, but the street address matches.
|
3031
|
+
# Postal code does not match, but the street address matches or was not provided.
|
3035
3032
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
|
3036
3033
|
|
3037
3034
|
# Postal code and street address match.
|
@@ -3040,6 +3037,9 @@ module Increase
|
|
3040
3037
|
# Postal code and street address do not match.
|
3041
3038
|
NO_MATCH = :no_match
|
3042
3039
|
|
3040
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
3041
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
3042
|
+
|
3043
3043
|
# @!method self.values
|
3044
3044
|
# @return [Array<Symbol>]
|
3045
3045
|
end
|
@@ -7839,16 +7839,13 @@ module Increase
|
|
7839
7839
|
module Result
|
7840
7840
|
extend Increase::Internal::Type::Enum
|
7841
7841
|
|
7842
|
-
# No address was provided in the authorization request.
|
7842
|
+
# No address information was provided in the authorization request.
|
7843
7843
|
NOT_CHECKED = :not_checked
|
7844
7844
|
|
7845
|
-
# Postal code matches, but the street address was not
|
7846
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
7847
|
-
|
7848
|
-
# Postal code matches, but the street address does not match.
|
7845
|
+
# Postal code matches, but the street address does not match or was not provided.
|
7849
7846
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
|
7850
7847
|
|
7851
|
-
# Postal code does not match, but the street address matches.
|
7848
|
+
# Postal code does not match, but the street address matches or was not provided.
|
7852
7849
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
|
7853
7850
|
|
7854
7851
|
# Postal code and street address match.
|
@@ -7857,6 +7854,9 @@ module Increase
|
|
7857
7854
|
# Postal code and street address do not match.
|
7858
7855
|
NO_MATCH = :no_match
|
7859
7856
|
|
7857
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
7858
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
7859
|
+
|
7860
7860
|
# @!method self.values
|
7861
7861
|
# @return [Array<Symbol>]
|
7862
7862
|
end
|
@@ -1600,16 +1600,13 @@ module Increase
|
|
1600
1600
|
module Result
|
1601
1601
|
extend Increase::Internal::Type::Enum
|
1602
1602
|
|
1603
|
-
# No address was provided in the authorization request.
|
1603
|
+
# No address information was provided in the authorization request.
|
1604
1604
|
NOT_CHECKED = :not_checked
|
1605
1605
|
|
1606
|
-
# Postal code matches, but the street address was not
|
1607
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1608
|
-
|
1609
|
-
# Postal code matches, but the street address does not match.
|
1606
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1610
1607
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
|
1611
1608
|
|
1612
|
-
# Postal code does not match, but the street address matches.
|
1609
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1613
1610
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
|
1614
1611
|
|
1615
1612
|
# Postal code and street address match.
|
@@ -1618,6 +1615,9 @@ module Increase
|
|
1618
1615
|
# Postal code and street address do not match.
|
1619
1616
|
NO_MATCH = :no_match
|
1620
1617
|
|
1618
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1619
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1620
|
+
|
1621
1621
|
# @!method self.values
|
1622
1622
|
# @return [Array<Symbol>]
|
1623
1623
|
end
|
@@ -14,6 +14,14 @@ module Increase
|
|
14
14
|
# @return [Increase::Models::EntityUpdateParams::Corporation, nil]
|
15
15
|
optional :corporation, -> { Increase::EntityUpdateParams::Corporation }
|
16
16
|
|
17
|
+
# @!attribute details_confirmed_at
|
18
|
+
# When your user last confirmed the Entity's details. Depending on your program,
|
19
|
+
# you may be required to affirmatively confirm details with your users on an
|
20
|
+
# annual basis.
|
21
|
+
#
|
22
|
+
# @return [Time, nil]
|
23
|
+
optional :details_confirmed_at, Time
|
24
|
+
|
17
25
|
# @!attribute government_authority
|
18
26
|
# Details of the government authority entity to update. If you specify this
|
19
27
|
# parameter and the entity is not a government authority, the request will fail.
|
@@ -50,12 +58,14 @@ module Increase
|
|
50
58
|
# @return [Increase::Models::EntityUpdateParams::Trust, nil]
|
51
59
|
optional :trust, -> { Increase::EntityUpdateParams::Trust }
|
52
60
|
|
53
|
-
# @!method initialize(corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
61
|
+
# @!method initialize(corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
54
62
|
# Some parameter documentations has been truncated, see
|
55
63
|
# {Increase::Models::EntityUpdateParams} for more details.
|
56
64
|
#
|
57
65
|
# @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
|
58
66
|
#
|
67
|
+
# @param details_confirmed_at [Time] When your user last confirmed the Entity's details. Depending on your program, y
|
68
|
+
#
|
59
69
|
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
|
60
70
|
#
|
61
71
|
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
|
@@ -1553,16 +1553,13 @@ module Increase
|
|
1553
1553
|
module Result
|
1554
1554
|
extend Increase::Internal::Type::Enum
|
1555
1555
|
|
1556
|
-
# No address was provided in the authorization request.
|
1556
|
+
# No address information was provided in the authorization request.
|
1557
1557
|
NOT_CHECKED = :not_checked
|
1558
1558
|
|
1559
|
-
# Postal code matches, but the street address was not
|
1560
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1561
|
-
|
1562
|
-
# Postal code matches, but the street address does not match.
|
1559
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1563
1560
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
|
1564
1561
|
|
1565
|
-
# Postal code does not match, but the street address matches.
|
1562
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1566
1563
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
|
1567
1564
|
|
1568
1565
|
# Postal code and street address match.
|
@@ -1571,6 +1568,9 @@ module Increase
|
|
1571
1568
|
# Postal code and street address do not match.
|
1572
1569
|
NO_MATCH = :no_match
|
1573
1570
|
|
1571
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1572
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1573
|
+
|
1574
1574
|
# @!method self.values
|
1575
1575
|
# @return [Array<Symbol>]
|
1576
1576
|
end
|
@@ -268,6 +268,13 @@ module Increase
|
|
268
268
|
# @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil]
|
269
269
|
required :decision, enum: -> { Increase::RealTimeDecision::CardAuthorization::Decision }, nil?: true
|
270
270
|
|
271
|
+
# @!attribute decline
|
272
|
+
# Present if and only if `decision` is `decline`. Contains information related to
|
273
|
+
# the reason the authorization was declined.
|
274
|
+
#
|
275
|
+
# @return [Increase::Models::RealTimeDecision::CardAuthorization::Decline, nil]
|
276
|
+
required :decline, -> { Increase::RealTimeDecision::CardAuthorization::Decline }, nil?: true
|
277
|
+
|
271
278
|
# @!attribute digital_wallet_token_id
|
272
279
|
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
273
280
|
# purchase), the identifier of the token that was used.
|
@@ -416,7 +423,7 @@ module Increase
|
|
416
423
|
# @return [Increase::Models::RealTimeDecision::CardAuthorization::Verification]
|
417
424
|
required :verification, -> { Increase::RealTimeDecision::CardAuthorization::Verification }
|
418
425
|
|
419
|
-
# @!method initialize(account_id:, additional_amounts:, card_id:, decision:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:)
|
426
|
+
# @!method initialize(account_id:, additional_amounts:, card_id:, decision:, decline:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:)
|
420
427
|
# Some parameter documentations has been truncated, see
|
421
428
|
# {Increase::Models::RealTimeDecision::CardAuthorization} for more details.
|
422
429
|
#
|
@@ -430,6 +437,8 @@ module Increase
|
|
430
437
|
#
|
431
438
|
# @param decision [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil] Whether or not the authorization was approved.
|
432
439
|
#
|
440
|
+
# @param decline [Increase::Models::RealTimeDecision::CardAuthorization::Decline, nil] Present if and only if `decision` is `decline`. Contains information related to
|
441
|
+
#
|
433
442
|
# @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p
|
434
443
|
#
|
435
444
|
# @param direction [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh
|
@@ -835,6 +844,21 @@ module Increase
|
|
835
844
|
# @return [Array<Symbol>]
|
836
845
|
end
|
837
846
|
|
847
|
+
# @see Increase::Models::RealTimeDecision::CardAuthorization#decline
|
848
|
+
class Decline < Increase::Internal::Type::BaseModel
|
849
|
+
# @!attribute reason
|
850
|
+
# The reason the authorization was declined.
|
851
|
+
#
|
852
|
+
# @return [String]
|
853
|
+
required :reason, String
|
854
|
+
|
855
|
+
# @!method initialize(reason:)
|
856
|
+
# Present if and only if `decision` is `decline`. Contains information related to
|
857
|
+
# the reason the authorization was declined.
|
858
|
+
#
|
859
|
+
# @param reason [String] The reason the authorization was declined.
|
860
|
+
end
|
861
|
+
|
838
862
|
# The direction describes the direction the funds will move, either from the
|
839
863
|
# cardholder to the merchant or from the merchant to the cardholder.
|
840
864
|
#
|
@@ -1334,16 +1358,13 @@ module Increase
|
|
1334
1358
|
module Result
|
1335
1359
|
extend Increase::Internal::Type::Enum
|
1336
1360
|
|
1337
|
-
# No address was provided in the authorization request.
|
1361
|
+
# No address information was provided in the authorization request.
|
1338
1362
|
NOT_CHECKED = :not_checked
|
1339
1363
|
|
1340
|
-
# Postal code matches, but the street address was not
|
1341
|
-
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1342
|
-
|
1343
|
-
# Postal code matches, but the street address does not match.
|
1364
|
+
# Postal code matches, but the street address does not match or was not provided.
|
1344
1365
|
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH = :postal_code_match_address_no_match
|
1345
1366
|
|
1346
|
-
# Postal code does not match, but the street address matches.
|
1367
|
+
# Postal code does not match, but the street address matches or was not provided.
|
1347
1368
|
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH = :postal_code_no_match_address_match
|
1348
1369
|
|
1349
1370
|
# Postal code and street address match.
|
@@ -1352,6 +1373,9 @@ module Increase
|
|
1352
1373
|
# Postal code and street address do not match.
|
1353
1374
|
NO_MATCH = :no_match
|
1354
1375
|
|
1376
|
+
# Postal code matches, but the street address was not verified. (deprecated)
|
1377
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED = :postal_code_match_address_not_checked
|
1378
|
+
|
1355
1379
|
# @!method self.values
|
1356
1380
|
# @return [Array<Symbol>]
|
1357
1381
|
end
|
@@ -136,15 +136,33 @@ module Increase
|
|
136
136
|
# @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision]
|
137
137
|
required :decision, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decision }
|
138
138
|
|
139
|
+
# @!attribute approval
|
140
|
+
# If your application approves the authorization, this contains metadata about
|
141
|
+
# your decision to approve. Your response here is advisory to the acquiring bank.
|
142
|
+
# The bank may choose to reverse the authorization if you approve the transaction
|
143
|
+
# but indicate the address does not match.
|
144
|
+
#
|
145
|
+
# @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval, nil]
|
146
|
+
optional :approval, -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval }
|
147
|
+
|
148
|
+
# @!attribute decline
|
149
|
+
# If your application declines the authorization, this contains details about the
|
150
|
+
# decline.
|
151
|
+
#
|
152
|
+
# @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline, nil]
|
153
|
+
optional :decline, -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decline }
|
154
|
+
|
139
155
|
# @!attribute decline_reason
|
140
156
|
# The reason the card authorization was declined. This translates to a specific
|
141
|
-
# decline code that is sent to the card network.
|
157
|
+
# decline code that is sent to the card network. This field is deprecated, please
|
158
|
+
# transition to using the `decline` object as this field will be removed in a
|
159
|
+
# future release.
|
142
160
|
#
|
143
161
|
# @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::DeclineReason, nil]
|
144
162
|
optional :decline_reason,
|
145
163
|
enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason }
|
146
164
|
|
147
|
-
# @!method initialize(decision:, decline_reason: nil)
|
165
|
+
# @!method initialize(decision:, approval: nil, decline: nil, decline_reason: nil)
|
148
166
|
# Some parameter documentations has been truncated, see
|
149
167
|
# {Increase::Models::RealTimeDecisionActionParams::CardAuthorization} for more
|
150
168
|
# details.
|
@@ -154,6 +172,10 @@ module Increase
|
|
154
172
|
#
|
155
173
|
# @param decision [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision] Whether the card authorization should be approved or declined.
|
156
174
|
#
|
175
|
+
# @param approval [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval] If your application approves the authorization, this contains metadata about you
|
176
|
+
#
|
177
|
+
# @param decline [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline] If your application declines the authorization, this contains details about the
|
178
|
+
#
|
157
179
|
# @param decline_reason [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::DeclineReason] The reason the card authorization was declined. This translates to a specific de
|
158
180
|
|
159
181
|
# Whether the card authorization should be approved or declined.
|
@@ -172,8 +194,157 @@ module Increase
|
|
172
194
|
# @return [Array<Symbol>]
|
173
195
|
end
|
174
196
|
|
197
|
+
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#approval
|
198
|
+
class Approval < Increase::Internal::Type::BaseModel
|
199
|
+
# @!attribute cardholder_address_verification_result
|
200
|
+
# Your decisions on whether or not each provided address component is a match.
|
201
|
+
# Your response here is evaluated against the customer's provided `postal_code`
|
202
|
+
# and `line1`, and an appropriate network response is generated. For example, if
|
203
|
+
# you would like to approve all transactions for a given card, you can submit
|
204
|
+
# `match` for both `postal_code` and `line1` and Increase will generate an
|
205
|
+
# approval with an Address Verification System (AVS) code that will match all of
|
206
|
+
# the available address information, or will report that no check was performed if
|
207
|
+
# no address information is available. If you do not provide a response, the
|
208
|
+
# address verification result will be calculated by Increase using the available
|
209
|
+
# address information available on the card. If none is available, Increase will
|
210
|
+
# report that no check was performed.
|
211
|
+
#
|
212
|
+
# @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult, nil]
|
213
|
+
optional :cardholder_address_verification_result,
|
214
|
+
-> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult }
|
215
|
+
|
216
|
+
# @!method initialize(cardholder_address_verification_result: nil)
|
217
|
+
# Some parameter documentations has been truncated, see
|
218
|
+
# {Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval}
|
219
|
+
# for more details.
|
220
|
+
#
|
221
|
+
# If your application approves the authorization, this contains metadata about
|
222
|
+
# your decision to approve. Your response here is advisory to the acquiring bank.
|
223
|
+
# The bank may choose to reverse the authorization if you approve the transaction
|
224
|
+
# but indicate the address does not match.
|
225
|
+
#
|
226
|
+
# @param cardholder_address_verification_result [Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult] Your decisions on whether or not each provided address component is a match. You
|
227
|
+
|
228
|
+
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval#cardholder_address_verification_result
|
229
|
+
class CardholderAddressVerificationResult < Increase::Internal::Type::BaseModel
|
230
|
+
# @!attribute line1
|
231
|
+
# Your decision on the address line of the provided address.
|
232
|
+
#
|
233
|
+
# @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1]
|
234
|
+
required :line1,
|
235
|
+
enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1 }
|
236
|
+
|
237
|
+
# @!attribute postal_code
|
238
|
+
# Your decision on the postal code of the provided address.
|
239
|
+
#
|
240
|
+
# @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode]
|
241
|
+
required :postal_code,
|
242
|
+
enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode }
|
243
|
+
|
244
|
+
# @!method initialize(line1:, postal_code:)
|
245
|
+
# Your decisions on whether or not each provided address component is a match.
|
246
|
+
# Your response here is evaluated against the customer's provided `postal_code`
|
247
|
+
# and `line1`, and an appropriate network response is generated. For example, if
|
248
|
+
# you would like to approve all transactions for a given card, you can submit
|
249
|
+
# `match` for both `postal_code` and `line1` and Increase will generate an
|
250
|
+
# approval with an Address Verification System (AVS) code that will match all of
|
251
|
+
# the available address information, or will report that no check was performed if
|
252
|
+
# no address information is available. If you do not provide a response, the
|
253
|
+
# address verification result will be calculated by Increase using the available
|
254
|
+
# address information available on the card. If none is available, Increase will
|
255
|
+
# report that no check was performed.
|
256
|
+
#
|
257
|
+
# @param line1 [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::Line1] Your decision on the address line of the provided address.
|
258
|
+
#
|
259
|
+
# @param postal_code [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult::PostalCode] Your decision on the postal code of the provided address.
|
260
|
+
|
261
|
+
# Your decision on the address line of the provided address.
|
262
|
+
#
|
263
|
+
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult#line1
|
264
|
+
module Line1
|
265
|
+
extend Increase::Internal::Type::Enum
|
266
|
+
|
267
|
+
# The cardholder address verification result matches the address provided by the merchant.
|
268
|
+
MATCH = :match
|
269
|
+
|
270
|
+
# The cardholder address verification result does not match the address provided by the merchant.
|
271
|
+
NO_MATCH = :no_match
|
272
|
+
|
273
|
+
# @!method self.values
|
274
|
+
# @return [Array<Symbol>]
|
275
|
+
end
|
276
|
+
|
277
|
+
# Your decision on the postal code of the provided address.
|
278
|
+
#
|
279
|
+
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Approval::CardholderAddressVerificationResult#postal_code
|
280
|
+
module PostalCode
|
281
|
+
extend Increase::Internal::Type::Enum
|
282
|
+
|
283
|
+
# The cardholder address verification result matches the address provided by the merchant.
|
284
|
+
MATCH = :match
|
285
|
+
|
286
|
+
# The cardholder address verification result does not match the address provided by the merchant.
|
287
|
+
NO_MATCH = :no_match
|
288
|
+
|
289
|
+
# @!method self.values
|
290
|
+
# @return [Array<Symbol>]
|
291
|
+
end
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#decline
|
296
|
+
class Decline < Increase::Internal::Type::BaseModel
|
297
|
+
# @!attribute reason
|
298
|
+
# The reason the card authorization was declined. This translates to a specific
|
299
|
+
# decline code that is sent to the card network.
|
300
|
+
#
|
301
|
+
# @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason]
|
302
|
+
required :reason, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason }
|
303
|
+
|
304
|
+
# @!method initialize(reason:)
|
305
|
+
# Some parameter documentations has been truncated, see
|
306
|
+
# {Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline} for
|
307
|
+
# more details.
|
308
|
+
#
|
309
|
+
# If your application declines the authorization, this contains details about the
|
310
|
+
# decline.
|
311
|
+
#
|
312
|
+
# @param reason [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline::Reason] The reason the card authorization was declined. This translates to a specific de
|
313
|
+
|
314
|
+
# The reason the card authorization was declined. This translates to a specific
|
315
|
+
# decline code that is sent to the card network.
|
316
|
+
#
|
317
|
+
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decline#reason
|
318
|
+
module Reason
|
319
|
+
extend Increase::Internal::Type::Enum
|
320
|
+
|
321
|
+
# The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
|
322
|
+
INSUFFICIENT_FUNDS = :insufficient_funds
|
323
|
+
|
324
|
+
# This type of transaction is not allowed for this card. This transaction should not be retried.
|
325
|
+
TRANSACTION_NEVER_ALLOWED = :transaction_never_allowed
|
326
|
+
|
327
|
+
# The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
|
328
|
+
EXCEEDS_APPROVAL_LIMIT = :exceeds_approval_limit
|
329
|
+
|
330
|
+
# The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
|
331
|
+
CARD_TEMPORARILY_DISABLED = :card_temporarily_disabled
|
332
|
+
|
333
|
+
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
334
|
+
SUSPECTED_FRAUD = :suspected_fraud
|
335
|
+
|
336
|
+
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
337
|
+
OTHER = :other
|
338
|
+
|
339
|
+
# @!method self.values
|
340
|
+
# @return [Array<Symbol>]
|
341
|
+
end
|
342
|
+
end
|
343
|
+
|
175
344
|
# The reason the card authorization was declined. This translates to a specific
|
176
|
-
# decline code that is sent to the card network.
|
345
|
+
# decline code that is sent to the card network. This field is deprecated, please
|
346
|
+
# transition to using the `decline` object as this field will be removed in a
|
347
|
+
# future release.
|
177
348
|
#
|
178
349
|
# @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#decline_reason
|
179
350
|
module DeclineReason
|
@@ -210,17 +381,23 @@ module Increase
|
|
210
381
|
required :result, enum: -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result }
|
211
382
|
|
212
383
|
# @!attribute success
|
384
|
+
# If your application was able to deliver the one-time passcode, this contains
|
385
|
+
# metadata about the delivery. Exactly one of `phone` or `email` must be provided.
|
213
386
|
#
|
214
387
|
# @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success, nil]
|
215
388
|
optional :success, -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success }
|
216
389
|
|
217
390
|
# @!method initialize(result:, success: nil)
|
391
|
+
# Some parameter documentations has been truncated, see
|
392
|
+
# {Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication}
|
393
|
+
# for more details.
|
394
|
+
#
|
218
395
|
# If the Real-Time Decision relates to a digital wallet authentication attempt,
|
219
396
|
# this object contains your response to the authentication.
|
220
397
|
#
|
221
398
|
# @param result [Symbol, Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result] Whether your application was able to deliver the one-time passcode.
|
222
399
|
#
|
223
|
-
# @param success [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success]
|
400
|
+
# @param success [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success] If your application was able to deliver the one-time passcode, this contains met
|
224
401
|
|
225
402
|
# Whether your application was able to deliver the one-time passcode.
|
226
403
|
#
|
@@ -258,6 +435,9 @@ module Increase
|
|
258
435
|
# {Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success}
|
259
436
|
# for more details.
|
260
437
|
#
|
438
|
+
# If your application was able to deliver the one-time passcode, this contains
|
439
|
+
# metadata about the delivery. Exactly one of `phone` or `email` must be provided.
|
440
|
+
#
|
261
441
|
# @param email [String] The email address that was used to verify the cardholder via one-time passcode.
|
262
442
|
#
|
263
443
|
# @param phone [String] The phone number that was used to verify the cardholder via one-time passcode ov
|
@@ -71,12 +71,14 @@ module Increase
|
|
71
71
|
#
|
72
72
|
# Update an Entity
|
73
73
|
#
|
74
|
-
# @overload update(entity_id, corporation: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
74
|
+
# @overload update(entity_id, corporation: nil, details_confirmed_at: nil, government_authority: nil, natural_person: nil, risk_rating: nil, third_party_verification: nil, trust: nil, request_options: {})
|
75
75
|
#
|
76
76
|
# @param entity_id [String] The entity identifier.
|
77
77
|
#
|
78
78
|
# @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
|
79
79
|
#
|
80
|
+
# @param details_confirmed_at [Time] When your user last confirmed the Entity's details. Depending on your program, y
|
81
|
+
#
|
80
82
|
# @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
|
81
83
|
#
|
82
84
|
# @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
|
data/lib/increase/version.rb
CHANGED