increase 1.333.1 → 1.334.1
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 +14 -0
- data/README.md +4 -5
- data/lib/increase/models/ach_prenotification.rb +5 -2
- data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +6 -3
- data/lib/increase/models/card.rb +9 -1
- data/lib/increase/models/card_dispute.rb +40 -1
- data/lib/increase/models/card_dispute_list_params.rb +3 -0
- data/lib/increase/models/card_payment.rb +65 -6
- data/lib/increase/models/card_push_transfer.rb +53 -1
- data/lib/increase/models/check_transfer.rb +4 -8
- data/lib/increase/models/declined_transaction.rb +1 -1
- data/lib/increase/models/digital_wallet_token.rb +59 -1
- data/lib/increase/models/entity.rb +1 -1
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/export.rb +17 -1
- data/lib/increase/models/export_create_params.rb +78 -1
- data/lib/increase/models/fednow_transfer.rb +47 -1
- data/lib/increase/models/inbound_wire_transfer.rb +9 -1
- data/lib/increase/models/pending_transaction.rb +54 -1
- data/lib/increase/models/physical_card.rb +1 -1
- data/lib/increase/models/physical_card_profile.rb +38 -1
- data/lib/increase/models/real_time_decision.rb +52 -1
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
- data/lib/increase/models/simulations/card_authorization_create_params.rb +1 -1
- data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
- data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
- data/lib/increase/models/transaction.rb +17 -5
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_drawdown_request.rb +20 -1
- data/lib/increase/resources/exports.rb +3 -1
- data/lib/increase/resources/simulations/check_deposits.rb +3 -0
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +9 -2
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +11 -4
- data/rbi/increase/models/card.rbi +8 -0
- data/rbi/increase/models/card_dispute.rbi +56 -0
- data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
- data/rbi/increase/models/card_payment.rbi +135 -7
- data/rbi/increase/models/card_push_transfer.rbi +56 -0
- data/rbi/increase/models/check_transfer.rbi +4 -10
- data/rbi/increase/models/declined_transaction.rbi +1 -1
- data/rbi/increase/models/digital_wallet_token.rbi +131 -0
- data/rbi/increase/models/entity.rbi +1 -1
- data/rbi/increase/models/event.rbi +22 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/export.rbi +25 -5
- data/rbi/increase/models/export_create_params.rbi +151 -0
- data/rbi/increase/models/fednow_transfer.rbi +77 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/pending_transaction.rbi +122 -0
- data/rbi/increase/models/physical_card.rbi +1 -1
- data/rbi/increase/models/physical_card_profile.rbi +60 -0
- data/rbi/increase/models/real_time_decision.rbi +120 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +1 -1
- data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
- data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
- data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
- data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
- data/rbi/increase/models/transaction.rbi +20 -6
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
- data/rbi/increase/resources/exports.rbi +3 -0
- data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
- data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
- data/sig/increase/models/ach_prenotification.rbs +7 -3
- data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
- data/sig/increase/models/ach_transfer.rbs +5 -1
- data/sig/increase/models/card.rbs +5 -0
- data/sig/increase/models/card_dispute.rbs +21 -0
- data/sig/increase/models/card_dispute_list_params.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +37 -1
- data/sig/increase/models/card_push_transfer.rbs +30 -0
- data/sig/increase/models/check_transfer.rbs +5 -5
- data/sig/increase/models/declined_transaction.rbs +1 -1
- data/sig/increase/models/digital_wallet_token.rbs +61 -2
- data/sig/increase/models/entity.rbs +1 -1
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/export.rbs +23 -3
- data/sig/increase/models/export_create_params.rbs +76 -0
- data/sig/increase/models/fednow_transfer.rbs +37 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +36 -0
- data/sig/increase/models/physical_card.rbs +1 -1
- data/sig/increase/models/physical_card_profile.rbs +17 -0
- data/sig/increase/models/real_time_decision.rbs +36 -0
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +1 -1
- data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
- data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
- data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
- data/sig/increase/models/transaction.rbs +5 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_drawdown_request.rbs +10 -0
- data/sig/increase/resources/exports.rbs +1 -0
- data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
- metadata +4 -4
|
@@ -216,8 +216,10 @@ module Increase
|
|
|
216
216
|
attr_writer :card_decline
|
|
217
217
|
|
|
218
218
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
219
|
-
# only if `category` is equal to `card_financial`. Card Financials are
|
|
220
|
-
#
|
|
219
|
+
# only if `category` is equal to `card_financial`. Card Financials are card
|
|
220
|
+
# transactions that have cleared and settled. Unlike a Card Settlement, which
|
|
221
|
+
# clears a previous authorization, a Card Financial is authorized and cleared in a
|
|
222
|
+
# single message.
|
|
221
223
|
sig do
|
|
222
224
|
returns(T.nilable(Increase::CardPayment::Element::CardFinancial))
|
|
223
225
|
end
|
|
@@ -417,8 +419,10 @@ module Increase
|
|
|
417
419
|
# only if `category` is equal to `card_decline`.
|
|
418
420
|
card_decline: nil,
|
|
419
421
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
420
|
-
# only if `category` is equal to `card_financial`. Card Financials are
|
|
421
|
-
#
|
|
422
|
+
# only if `category` is equal to `card_financial`. Card Financials are card
|
|
423
|
+
# transactions that have cleared and settled. Unlike a Card Settlement, which
|
|
424
|
+
# clears a previous authorization, a Card Financial is authorized and cleared in a
|
|
425
|
+
# single message.
|
|
422
426
|
card_financial: nil,
|
|
423
427
|
# A Card Fuel Confirmation object. This field will be present in the JSON response
|
|
424
428
|
# if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel
|
|
@@ -2491,6 +2495,27 @@ module Increase
|
|
|
2491
2495
|
sig { returns(Time) }
|
|
2492
2496
|
attr_accessor :expires_at
|
|
2493
2497
|
|
|
2498
|
+
# The healthcare-related fields for this authorization. Only present for specific
|
|
2499
|
+
# programs.
|
|
2500
|
+
sig do
|
|
2501
|
+
returns(
|
|
2502
|
+
T.nilable(
|
|
2503
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare
|
|
2504
|
+
)
|
|
2505
|
+
)
|
|
2506
|
+
end
|
|
2507
|
+
attr_reader :healthcare
|
|
2508
|
+
|
|
2509
|
+
sig do
|
|
2510
|
+
params(
|
|
2511
|
+
healthcare:
|
|
2512
|
+
T.nilable(
|
|
2513
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::OrHash
|
|
2514
|
+
)
|
|
2515
|
+
).void
|
|
2516
|
+
end
|
|
2517
|
+
attr_writer :healthcare
|
|
2518
|
+
|
|
2494
2519
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
2495
2520
|
# is transacting with.
|
|
2496
2521
|
sig { returns(String) }
|
|
@@ -2651,6 +2676,10 @@ module Increase
|
|
|
2651
2676
|
direction:
|
|
2652
2677
|
Increase::CardPayment::Element::CardAuthorization::Direction::OrSymbol,
|
|
2653
2678
|
expires_at: Time,
|
|
2679
|
+
healthcare:
|
|
2680
|
+
T.nilable(
|
|
2681
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::OrHash
|
|
2682
|
+
),
|
|
2654
2683
|
merchant_acceptor_id: String,
|
|
2655
2684
|
merchant_category_code: String,
|
|
2656
2685
|
merchant_city: T.nilable(String),
|
|
@@ -2708,6 +2737,9 @@ module Increase
|
|
|
2708
2737
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
|
2709
2738
|
# will expire and the pending transaction will be released.
|
|
2710
2739
|
expires_at:,
|
|
2740
|
+
# The healthcare-related fields for this authorization. Only present for specific
|
|
2741
|
+
# programs.
|
|
2742
|
+
healthcare:,
|
|
2711
2743
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
2712
2744
|
# is transacting with.
|
|
2713
2745
|
merchant_acceptor_id:,
|
|
@@ -2778,6 +2810,10 @@ module Increase
|
|
|
2778
2810
|
direction:
|
|
2779
2811
|
Increase::CardPayment::Element::CardAuthorization::Direction::TaggedSymbol,
|
|
2780
2812
|
expires_at: Time,
|
|
2813
|
+
healthcare:
|
|
2814
|
+
T.nilable(
|
|
2815
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare
|
|
2816
|
+
),
|
|
2781
2817
|
merchant_acceptor_id: String,
|
|
2782
2818
|
merchant_category_code: String,
|
|
2783
2819
|
merchant_city: T.nilable(String),
|
|
@@ -3679,6 +3715,96 @@ module Increase
|
|
|
3679
3715
|
end
|
|
3680
3716
|
end
|
|
3681
3717
|
|
|
3718
|
+
class Healthcare < Increase::Internal::Type::BaseModel
|
|
3719
|
+
OrHash =
|
|
3720
|
+
T.type_alias do
|
|
3721
|
+
T.any(
|
|
3722
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare,
|
|
3723
|
+
Increase::Internal::AnyHash
|
|
3724
|
+
)
|
|
3725
|
+
end
|
|
3726
|
+
|
|
3727
|
+
# The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
3728
|
+
# Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
3729
|
+
# products. The eligibility is determined based on the list of merchants
|
|
3730
|
+
# maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
3731
|
+
sig do
|
|
3732
|
+
returns(
|
|
3733
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
3734
|
+
)
|
|
3735
|
+
end
|
|
3736
|
+
attr_accessor :merchant_ninety_percent_eligibility
|
|
3737
|
+
|
|
3738
|
+
# The healthcare-related fields for this authorization. Only present for specific
|
|
3739
|
+
# programs.
|
|
3740
|
+
sig do
|
|
3741
|
+
params(
|
|
3742
|
+
merchant_ninety_percent_eligibility:
|
|
3743
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::OrSymbol
|
|
3744
|
+
).returns(T.attached_class)
|
|
3745
|
+
end
|
|
3746
|
+
def self.new(
|
|
3747
|
+
# The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
3748
|
+
# Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
3749
|
+
# products. The eligibility is determined based on the list of merchants
|
|
3750
|
+
# maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
3751
|
+
merchant_ninety_percent_eligibility:
|
|
3752
|
+
)
|
|
3753
|
+
end
|
|
3754
|
+
|
|
3755
|
+
sig do
|
|
3756
|
+
override.returns(
|
|
3757
|
+
{
|
|
3758
|
+
merchant_ninety_percent_eligibility:
|
|
3759
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
3760
|
+
}
|
|
3761
|
+
)
|
|
3762
|
+
end
|
|
3763
|
+
def to_hash
|
|
3764
|
+
end
|
|
3765
|
+
|
|
3766
|
+
# The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
3767
|
+
# Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
3768
|
+
# products. The eligibility is determined based on the list of merchants
|
|
3769
|
+
# maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
3770
|
+
module MerchantNinetyPercentEligibility
|
|
3771
|
+
extend Increase::Internal::Type::Enum
|
|
3772
|
+
|
|
3773
|
+
TaggedSymbol =
|
|
3774
|
+
T.type_alias do
|
|
3775
|
+
T.all(
|
|
3776
|
+
Symbol,
|
|
3777
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility
|
|
3778
|
+
)
|
|
3779
|
+
end
|
|
3780
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
3781
|
+
|
|
3782
|
+
# The merchant is eligible for treatment under the 90% rule.
|
|
3783
|
+
ELIGIBLE =
|
|
3784
|
+
T.let(
|
|
3785
|
+
:eligible,
|
|
3786
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
3787
|
+
)
|
|
3788
|
+
|
|
3789
|
+
# The merchant is not eligible for treatment under the 90% rule.
|
|
3790
|
+
NOT_ELIGIBLE =
|
|
3791
|
+
T.let(
|
|
3792
|
+
:not_eligible,
|
|
3793
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
3794
|
+
)
|
|
3795
|
+
|
|
3796
|
+
sig do
|
|
3797
|
+
override.returns(
|
|
3798
|
+
T::Array[
|
|
3799
|
+
Increase::CardPayment::Element::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
3800
|
+
]
|
|
3801
|
+
)
|
|
3802
|
+
end
|
|
3803
|
+
def self.values
|
|
3804
|
+
end
|
|
3805
|
+
end
|
|
3806
|
+
end
|
|
3807
|
+
|
|
3682
3808
|
class NetworkDetails < Increase::Internal::Type::BaseModel
|
|
3683
3809
|
OrHash =
|
|
3684
3810
|
T.type_alias do
|
|
@@ -10239,7 +10365,7 @@ module Increase
|
|
|
10239
10365
|
Increase::CardPayment::Element::CardDecline::Reason::TaggedSymbol
|
|
10240
10366
|
)
|
|
10241
10367
|
|
|
10242
|
-
# The transaction was blocked by a
|
|
10368
|
+
# The transaction was blocked by a limit or an authorization control.
|
|
10243
10369
|
BREACHES_LIMIT =
|
|
10244
10370
|
T.let(
|
|
10245
10371
|
:breaches_limit,
|
|
@@ -11274,8 +11400,10 @@ module Increase
|
|
|
11274
11400
|
attr_writer :verification
|
|
11275
11401
|
|
|
11276
11402
|
# A Card Financial object. This field will be present in the JSON response if and
|
|
11277
|
-
# only if `category` is equal to `card_financial`. Card Financials are
|
|
11278
|
-
#
|
|
11403
|
+
# only if `category` is equal to `card_financial`. Card Financials are card
|
|
11404
|
+
# transactions that have cleared and settled. Unlike a Card Settlement, which
|
|
11405
|
+
# clears a previous authorization, a Card Financial is authorized and cleared in a
|
|
11406
|
+
# single message.
|
|
11279
11407
|
sig do
|
|
11280
11408
|
params(
|
|
11281
11409
|
id: String,
|
|
@@ -112,6 +112,11 @@ module Increase
|
|
|
112
112
|
sig { returns(String) }
|
|
113
113
|
attr_accessor :merchant_city_name
|
|
114
114
|
|
|
115
|
+
# The legal business name of the merchant (generally your business) sending the
|
|
116
|
+
# transfer.
|
|
117
|
+
sig { returns(T.nilable(String)) }
|
|
118
|
+
attr_accessor :merchant_legal_business_name
|
|
119
|
+
|
|
115
120
|
# The merchant name shows up as the statement descriptor for the transfer. This is
|
|
116
121
|
# typically the name of your business or organization.
|
|
117
122
|
sig { returns(String) }
|
|
@@ -131,6 +136,11 @@ module Increase
|
|
|
131
136
|
sig { returns(String) }
|
|
132
137
|
attr_accessor :merchant_state
|
|
133
138
|
|
|
139
|
+
# The street address of the merchant (generally your business) sending the
|
|
140
|
+
# transfer.
|
|
141
|
+
sig { returns(T.nilable(String)) }
|
|
142
|
+
attr_accessor :merchant_street_address
|
|
143
|
+
|
|
134
144
|
# The amount that was transferred. The receiving bank will have converted this to
|
|
135
145
|
# the cardholder's currency. The amount that is applied to your Increase account
|
|
136
146
|
# matches the currency of your account.
|
|
@@ -145,6 +155,24 @@ module Increase
|
|
|
145
155
|
end
|
|
146
156
|
attr_writer :presentment_amount
|
|
147
157
|
|
|
158
|
+
# The city of the recipient. Required if the card is issued in Canada.
|
|
159
|
+
sig { returns(T.nilable(String)) }
|
|
160
|
+
attr_accessor :recipient_address_city
|
|
161
|
+
|
|
162
|
+
# The first line of the recipient's address. Required if the card is issued in
|
|
163
|
+
# Canada.
|
|
164
|
+
sig { returns(T.nilable(String)) }
|
|
165
|
+
attr_accessor :recipient_address_line1
|
|
166
|
+
|
|
167
|
+
# The postal code of the recipient. Required if the card is issued in Canada.
|
|
168
|
+
sig { returns(T.nilable(String)) }
|
|
169
|
+
attr_accessor :recipient_address_postal_code
|
|
170
|
+
|
|
171
|
+
# The state or province of the recipient. Required if the card is issued in
|
|
172
|
+
# Canada.
|
|
173
|
+
sig { returns(T.nilable(String)) }
|
|
174
|
+
attr_accessor :recipient_address_state
|
|
175
|
+
|
|
148
176
|
# The name of the funds recipient.
|
|
149
177
|
sig { returns(String) }
|
|
150
178
|
attr_accessor :recipient_name
|
|
@@ -216,12 +244,18 @@ module Increase
|
|
|
216
244
|
idempotency_key: T.nilable(String),
|
|
217
245
|
merchant_category_code: String,
|
|
218
246
|
merchant_city_name: String,
|
|
247
|
+
merchant_legal_business_name: T.nilable(String),
|
|
219
248
|
merchant_name: String,
|
|
220
249
|
merchant_name_prefix: String,
|
|
221
250
|
merchant_postal_code: String,
|
|
222
251
|
merchant_state: String,
|
|
252
|
+
merchant_street_address: T.nilable(String),
|
|
223
253
|
presentment_amount:
|
|
224
254
|
Increase::CardPushTransfer::PresentmentAmount::OrHash,
|
|
255
|
+
recipient_address_city: T.nilable(String),
|
|
256
|
+
recipient_address_line1: T.nilable(String),
|
|
257
|
+
recipient_address_postal_code: T.nilable(String),
|
|
258
|
+
recipient_address_state: T.nilable(String),
|
|
225
259
|
recipient_name: String,
|
|
226
260
|
route: Increase::CardPushTransfer::Route::OrSymbol,
|
|
227
261
|
sender_address_city: String,
|
|
@@ -274,6 +308,9 @@ module Increase
|
|
|
274
308
|
merchant_category_code:,
|
|
275
309
|
# The city name of the merchant (generally your business) sending the transfer.
|
|
276
310
|
merchant_city_name:,
|
|
311
|
+
# The legal business name of the merchant (generally your business) sending the
|
|
312
|
+
# transfer.
|
|
313
|
+
merchant_legal_business_name:,
|
|
277
314
|
# The merchant name shows up as the statement descriptor for the transfer. This is
|
|
278
315
|
# typically the name of your business or organization.
|
|
279
316
|
merchant_name:,
|
|
@@ -285,10 +322,23 @@ module Increase
|
|
|
285
322
|
merchant_postal_code:,
|
|
286
323
|
# The state of the merchant (generally your business) sending the transfer.
|
|
287
324
|
merchant_state:,
|
|
325
|
+
# The street address of the merchant (generally your business) sending the
|
|
326
|
+
# transfer.
|
|
327
|
+
merchant_street_address:,
|
|
288
328
|
# The amount that was transferred. The receiving bank will have converted this to
|
|
289
329
|
# the cardholder's currency. The amount that is applied to your Increase account
|
|
290
330
|
# matches the currency of your account.
|
|
291
331
|
presentment_amount:,
|
|
332
|
+
# The city of the recipient. Required if the card is issued in Canada.
|
|
333
|
+
recipient_address_city:,
|
|
334
|
+
# The first line of the recipient's address. Required if the card is issued in
|
|
335
|
+
# Canada.
|
|
336
|
+
recipient_address_line1:,
|
|
337
|
+
# The postal code of the recipient. Required if the card is issued in Canada.
|
|
338
|
+
recipient_address_postal_code:,
|
|
339
|
+
# The state or province of the recipient. Required if the card is issued in
|
|
340
|
+
# Canada.
|
|
341
|
+
recipient_address_state:,
|
|
292
342
|
# The name of the funds recipient.
|
|
293
343
|
recipient_name:,
|
|
294
344
|
# The card network route used for the transfer.
|
|
@@ -333,11 +383,17 @@ module Increase
|
|
|
333
383
|
idempotency_key: T.nilable(String),
|
|
334
384
|
merchant_category_code: String,
|
|
335
385
|
merchant_city_name: String,
|
|
386
|
+
merchant_legal_business_name: T.nilable(String),
|
|
336
387
|
merchant_name: String,
|
|
337
388
|
merchant_name_prefix: String,
|
|
338
389
|
merchant_postal_code: String,
|
|
339
390
|
merchant_state: String,
|
|
391
|
+
merchant_street_address: T.nilable(String),
|
|
340
392
|
presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
|
|
393
|
+
recipient_address_city: T.nilable(String),
|
|
394
|
+
recipient_address_line1: T.nilable(String),
|
|
395
|
+
recipient_address_postal_code: T.nilable(String),
|
|
396
|
+
recipient_address_state: T.nilable(String),
|
|
341
397
|
recipient_name: String,
|
|
342
398
|
route: Increase::CardPushTransfer::Route::TaggedSymbol,
|
|
343
399
|
sender_address_city: String,
|
|
@@ -816,9 +816,7 @@ module Increase
|
|
|
816
816
|
# The shipping method for the check.
|
|
817
817
|
sig do
|
|
818
818
|
returns(
|
|
819
|
-
|
|
820
|
-
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
|
|
821
|
-
)
|
|
819
|
+
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
|
|
822
820
|
)
|
|
823
821
|
end
|
|
824
822
|
attr_accessor :shipping_method
|
|
@@ -860,9 +858,7 @@ module Increase
|
|
|
860
858
|
Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
|
|
861
859
|
),
|
|
862
860
|
shipping_method:
|
|
863
|
-
|
|
864
|
-
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol
|
|
865
|
-
),
|
|
861
|
+
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol,
|
|
866
862
|
signature:
|
|
867
863
|
Increase::CheckTransfer::PhysicalCheck::Signature::OrHash,
|
|
868
864
|
tracking_updates:
|
|
@@ -914,9 +910,7 @@ module Increase
|
|
|
914
910
|
Increase::CheckTransfer::PhysicalCheck::ReturnAddress
|
|
915
911
|
),
|
|
916
912
|
shipping_method:
|
|
917
|
-
|
|
918
|
-
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
|
|
919
|
-
),
|
|
913
|
+
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol,
|
|
920
914
|
signature: Increase::CheckTransfer::PhysicalCheck::Signature,
|
|
921
915
|
tracking_updates:
|
|
922
916
|
T::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
|
|
@@ -1295,7 +1289,7 @@ module Increase
|
|
|
1295
1289
|
Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::Category::TaggedSymbol
|
|
1296
1290
|
)
|
|
1297
1291
|
|
|
1298
|
-
# The check has been delivered.
|
|
1292
|
+
# The check has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single check may have more than one delivered event.
|
|
1299
1293
|
DELIVERED =
|
|
1300
1294
|
T.let(
|
|
1301
1295
|
:delivered,
|
|
@@ -3088,7 +3088,7 @@ module Increase
|
|
|
3088
3088
|
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
|
3089
3089
|
)
|
|
3090
3090
|
|
|
3091
|
-
# The transaction was blocked by a
|
|
3091
|
+
# The transaction was blocked by a limit or an authorization control.
|
|
3092
3092
|
BREACHES_LIMIT =
|
|
3093
3093
|
T.let(
|
|
3094
3094
|
:breaches_limit,
|
|
@@ -32,6 +32,18 @@ module Increase
|
|
|
32
32
|
sig { returns(Time) }
|
|
33
33
|
attr_accessor :created_at
|
|
34
34
|
|
|
35
|
+
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
36
|
+
# decline.
|
|
37
|
+
sig { returns(T.nilable(Increase::DigitalWalletToken::Decline)) }
|
|
38
|
+
attr_reader :decline
|
|
39
|
+
|
|
40
|
+
sig do
|
|
41
|
+
params(
|
|
42
|
+
decline: T.nilable(Increase::DigitalWalletToken::Decline::OrHash)
|
|
43
|
+
).void
|
|
44
|
+
end
|
|
45
|
+
attr_writer :decline
|
|
46
|
+
|
|
35
47
|
# The device that was used to create the Digital Wallet Token.
|
|
36
48
|
sig { returns(Increase::DigitalWalletToken::Device) }
|
|
37
49
|
attr_reader :device
|
|
@@ -85,6 +97,7 @@ module Increase
|
|
|
85
97
|
card_id: String,
|
|
86
98
|
cardholder: Increase::DigitalWalletToken::Cardholder::OrHash,
|
|
87
99
|
created_at: Time,
|
|
100
|
+
decline: T.nilable(Increase::DigitalWalletToken::Decline::OrHash),
|
|
88
101
|
device: Increase::DigitalWalletToken::Device::OrHash,
|
|
89
102
|
dynamic_primary_account_number:
|
|
90
103
|
T.nilable(
|
|
@@ -107,6 +120,9 @@ module Increase
|
|
|
107
120
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
108
121
|
# the Digital Wallet Token was created.
|
|
109
122
|
created_at:,
|
|
123
|
+
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
124
|
+
# decline.
|
|
125
|
+
decline:,
|
|
110
126
|
# The device that was used to create the Digital Wallet Token.
|
|
111
127
|
device:,
|
|
112
128
|
# The redacted Dynamic Primary Account Number.
|
|
@@ -130,6 +146,7 @@ module Increase
|
|
|
130
146
|
card_id: String,
|
|
131
147
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
132
148
|
created_at: Time,
|
|
149
|
+
decline: T.nilable(Increase::DigitalWalletToken::Decline),
|
|
133
150
|
device: Increase::DigitalWalletToken::Device,
|
|
134
151
|
dynamic_primary_account_number:
|
|
135
152
|
T.nilable(
|
|
@@ -172,6 +189,109 @@ module Increase
|
|
|
172
189
|
end
|
|
173
190
|
end
|
|
174
191
|
|
|
192
|
+
class Decline < Increase::Internal::Type::BaseModel
|
|
193
|
+
OrHash =
|
|
194
|
+
T.type_alias do
|
|
195
|
+
T.any(
|
|
196
|
+
Increase::DigitalWalletToken::Decline,
|
|
197
|
+
Increase::Internal::AnyHash
|
|
198
|
+
)
|
|
199
|
+
end
|
|
200
|
+
|
|
201
|
+
# The reason the token provisioning was declined.
|
|
202
|
+
sig do
|
|
203
|
+
returns(Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol)
|
|
204
|
+
end
|
|
205
|
+
attr_accessor :reason
|
|
206
|
+
|
|
207
|
+
# If the Digital Wallet Token was declined during provisioning, details about the
|
|
208
|
+
# decline.
|
|
209
|
+
sig do
|
|
210
|
+
params(
|
|
211
|
+
reason: Increase::DigitalWalletToken::Decline::Reason::OrSymbol
|
|
212
|
+
).returns(T.attached_class)
|
|
213
|
+
end
|
|
214
|
+
def self.new(
|
|
215
|
+
# The reason the token provisioning was declined.
|
|
216
|
+
reason:
|
|
217
|
+
)
|
|
218
|
+
end
|
|
219
|
+
|
|
220
|
+
sig do
|
|
221
|
+
override.returns(
|
|
222
|
+
{
|
|
223
|
+
reason:
|
|
224
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
225
|
+
}
|
|
226
|
+
)
|
|
227
|
+
end
|
|
228
|
+
def to_hash
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
# The reason the token provisioning was declined.
|
|
232
|
+
module Reason
|
|
233
|
+
extend Increase::Internal::Type::Enum
|
|
234
|
+
|
|
235
|
+
TaggedSymbol =
|
|
236
|
+
T.type_alias do
|
|
237
|
+
T.all(Symbol, Increase::DigitalWalletToken::Decline::Reason)
|
|
238
|
+
end
|
|
239
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
240
|
+
|
|
241
|
+
# The card is not active.
|
|
242
|
+
CARD_NOT_ACTIVE =
|
|
243
|
+
T.let(
|
|
244
|
+
:card_not_active,
|
|
245
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
# The card does not have a two-factor authentication method.
|
|
249
|
+
NO_VERIFICATION_METHOD =
|
|
250
|
+
T.let(
|
|
251
|
+
:no_verification_method,
|
|
252
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
253
|
+
)
|
|
254
|
+
|
|
255
|
+
# Your webhook timed out when evaluating the token provisioning attempt.
|
|
256
|
+
WEBHOOK_TIMED_OUT =
|
|
257
|
+
T.let(
|
|
258
|
+
:webhook_timed_out,
|
|
259
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
260
|
+
)
|
|
261
|
+
|
|
262
|
+
# Your webhook declined the token provisioning attempt.
|
|
263
|
+
WEBHOOK_DECLINED =
|
|
264
|
+
T.let(
|
|
265
|
+
:webhook_declined,
|
|
266
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
267
|
+
)
|
|
268
|
+
|
|
269
|
+
# The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
|
|
270
|
+
INCORRECT_CARD_VERIFICATION_CODE =
|
|
271
|
+
T.let(
|
|
272
|
+
:incorrect_card_verification_code,
|
|
273
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
# The tokenization attempt was declined by the token requestor.
|
|
277
|
+
DECLINED_BY_TOKEN_REQUESTOR =
|
|
278
|
+
T.let(
|
|
279
|
+
:declined_by_token_requestor,
|
|
280
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
sig do
|
|
284
|
+
override.returns(
|
|
285
|
+
T::Array[
|
|
286
|
+
Increase::DigitalWalletToken::Decline::Reason::TaggedSymbol
|
|
287
|
+
]
|
|
288
|
+
)
|
|
289
|
+
end
|
|
290
|
+
def self.values
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
end
|
|
294
|
+
|
|
175
295
|
class Device < Increase::Internal::Type::BaseModel
|
|
176
296
|
OrHash =
|
|
177
297
|
T.type_alias do
|
|
@@ -387,6 +507,10 @@ module Increase
|
|
|
387
507
|
Increase::DigitalWalletToken::Status::TaggedSymbol
|
|
388
508
|
)
|
|
389
509
|
|
|
510
|
+
# The digital wallet token was declined during provisioning.
|
|
511
|
+
DECLINED =
|
|
512
|
+
T.let(:declined, Increase::DigitalWalletToken::Status::TaggedSymbol)
|
|
513
|
+
|
|
390
514
|
sig do
|
|
391
515
|
override.returns(
|
|
392
516
|
T::Array[Increase::DigitalWalletToken::Status::TaggedSymbol]
|
|
@@ -552,6 +676,13 @@ module Increase
|
|
|
552
676
|
Increase::DigitalWalletToken::Update::Status::TaggedSymbol
|
|
553
677
|
)
|
|
554
678
|
|
|
679
|
+
# The digital wallet token was declined during provisioning.
|
|
680
|
+
DECLINED =
|
|
681
|
+
T.let(
|
|
682
|
+
:declined,
|
|
683
|
+
Increase::DigitalWalletToken::Update::Status::TaggedSymbol
|
|
684
|
+
)
|
|
685
|
+
|
|
555
686
|
sig do
|
|
556
687
|
override.returns(
|
|
557
688
|
T::Array[
|
|
@@ -3333,7 +3333,7 @@ module Increase
|
|
|
3333
3333
|
end
|
|
3334
3334
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
3335
3335
|
|
|
3336
|
-
# The entity's tax identifier could not be
|
|
3336
|
+
# The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
|
|
3337
3337
|
ENTITY_TAX_IDENTIFIER =
|
|
3338
3338
|
T.let(
|
|
3339
3339
|
:entity_tax_identifier,
|
|
@@ -544,6 +544,28 @@ module Increase
|
|
|
544
544
|
Increase::Event::Category::TaggedSymbol
|
|
545
545
|
)
|
|
546
546
|
|
|
547
|
+
# Occurs whenever a Loan Application is created.
|
|
548
|
+
LOAN_APPLICATION_CREATED =
|
|
549
|
+
T.let(
|
|
550
|
+
:"loan_application.created",
|
|
551
|
+
Increase::Event::Category::TaggedSymbol
|
|
552
|
+
)
|
|
553
|
+
|
|
554
|
+
# Occurs whenever a Loan Application is updated.
|
|
555
|
+
LOAN_APPLICATION_UPDATED =
|
|
556
|
+
T.let(
|
|
557
|
+
:"loan_application.updated",
|
|
558
|
+
Increase::Event::Category::TaggedSymbol
|
|
559
|
+
)
|
|
560
|
+
|
|
561
|
+
# Occurs whenever a Loan Offer is created.
|
|
562
|
+
LOAN_OFFER_CREATED =
|
|
563
|
+
T.let(:"loan_offer.created", Increase::Event::Category::TaggedSymbol)
|
|
564
|
+
|
|
565
|
+
# Occurs whenever a Loan Offer is updated.
|
|
566
|
+
LOAN_OFFER_UPDATED =
|
|
567
|
+
T.let(:"loan_offer.updated", Increase::Event::Category::TaggedSymbol)
|
|
568
|
+
|
|
547
569
|
# Occurs whenever a Lockbox is created.
|
|
548
570
|
LOCKBOX_CREATED =
|
|
549
571
|
T.let(:"lockbox.created", Increase::Event::Category::TaggedSymbol)
|
|
@@ -643,6 +643,34 @@ module Increase
|
|
|
643
643
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
644
644
|
)
|
|
645
645
|
|
|
646
|
+
# Occurs whenever a Loan Application is created.
|
|
647
|
+
LOAN_APPLICATION_CREATED =
|
|
648
|
+
T.let(
|
|
649
|
+
:"loan_application.created",
|
|
650
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
651
|
+
)
|
|
652
|
+
|
|
653
|
+
# Occurs whenever a Loan Application is updated.
|
|
654
|
+
LOAN_APPLICATION_UPDATED =
|
|
655
|
+
T.let(
|
|
656
|
+
:"loan_application.updated",
|
|
657
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
658
|
+
)
|
|
659
|
+
|
|
660
|
+
# Occurs whenever a Loan Offer is created.
|
|
661
|
+
LOAN_OFFER_CREATED =
|
|
662
|
+
T.let(
|
|
663
|
+
:"loan_offer.created",
|
|
664
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
665
|
+
)
|
|
666
|
+
|
|
667
|
+
# Occurs whenever a Loan Offer is updated.
|
|
668
|
+
LOAN_OFFER_UPDATED =
|
|
669
|
+
T.let(
|
|
670
|
+
:"loan_offer.updated",
|
|
671
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
672
|
+
)
|
|
673
|
+
|
|
646
674
|
# Occurs whenever a Lockbox is created.
|
|
647
675
|
LOCKBOX_CREATED =
|
|
648
676
|
T.let(
|
|
@@ -668,6 +668,34 @@ module Increase
|
|
|
668
668
|
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
669
669
|
)
|
|
670
670
|
|
|
671
|
+
# Occurs whenever a Loan Application is created.
|
|
672
|
+
LOAN_APPLICATION_CREATED =
|
|
673
|
+
T.let(
|
|
674
|
+
:"loan_application.created",
|
|
675
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
676
|
+
)
|
|
677
|
+
|
|
678
|
+
# Occurs whenever a Loan Application is updated.
|
|
679
|
+
LOAN_APPLICATION_UPDATED =
|
|
680
|
+
T.let(
|
|
681
|
+
:"loan_application.updated",
|
|
682
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
683
|
+
)
|
|
684
|
+
|
|
685
|
+
# Occurs whenever a Loan Offer is created.
|
|
686
|
+
LOAN_OFFER_CREATED =
|
|
687
|
+
T.let(
|
|
688
|
+
:"loan_offer.created",
|
|
689
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
# Occurs whenever a Loan Offer is updated.
|
|
693
|
+
LOAN_OFFER_UPDATED =
|
|
694
|
+
T.let(
|
|
695
|
+
:"loan_offer.updated",
|
|
696
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
697
|
+
)
|
|
698
|
+
|
|
671
699
|
# Occurs whenever a Lockbox is created.
|
|
672
700
|
LOCKBOX_CREATED =
|
|
673
701
|
T.let(
|