increase 1.356.0 → 1.358.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/README.md +2 -2
- data/lib/increase/internal/transport/base_client.rb +1 -2
- data/lib/increase/models/account_statement.rb +12 -8
- data/lib/increase/models/card.rb +106 -1
- data/lib/increase/models/card_create_params.rb +63 -1
- data/lib/increase/models/card_payment.rb +37 -1
- data/lib/increase/models/card_renew_params.rb +22 -0
- data/lib/increase/models/check_deposit.rb +3 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/digital_card_profile.rb +12 -9
- data/lib/increase/models/digital_card_profile_clone_params.rb +12 -9
- data/lib/increase/models/digital_card_profile_create_params.rb +12 -9
- data/lib/increase/models/entity_create_params.rb +8 -4
- data/lib/increase/models/entity_update_params.rb +8 -4
- data/lib/increase/models/event.rb +3 -0
- data/lib/increase/models/event_list_params.rb +7 -4
- data/lib/increase/models/event_subscription.rb +3 -0
- data/lib/increase/models/event_subscription_create_params.rb +3 -0
- data/lib/increase/models/export.rb +12 -12
- data/lib/increase/models/export_create_params.rb +19 -18
- data/lib/increase/models/file.rb +1 -1
- data/lib/increase/models/file_create_params.rb +1 -1
- data/lib/increase/models/file_list_params.rb +1 -1
- data/lib/increase/models/inbound_check_deposit.rb +9 -7
- data/lib/increase/models/inbound_fednow_transfer.rb +12 -3
- data/lib/increase/models/pending_transaction.rb +9 -6
- data/lib/increase/models/physical_card.rb +32 -2
- data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +3 -0
- data/lib/increase/models/transaction.rb +24 -0
- data/lib/increase/models/unwrap_webhook_event.rb +3 -0
- data/lib/increase/models.rb +2 -0
- data/lib/increase/resources/cards.rb +29 -1
- data/lib/increase/resources/digital_card_profiles.rb +12 -8
- data/lib/increase/resources/events.rb +2 -2
- data/lib/increase/resources/files.rb +3 -1
- data/lib/increase/resources/intrafi_account_enrollments.rb +2 -2
- data/lib/increase/resources/physical_card_profiles.rb +1 -1
- data/lib/increase/resources/supplemental_documents.rb +2 -2
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/models/account_statement.rbi +12 -8
- data/rbi/increase/models/card.rbi +162 -0
- data/rbi/increase/models/card_create_params.rbi +120 -0
- data/rbi/increase/models/card_payment.rbi +85 -1
- data/rbi/increase/models/card_renew_params.rbi +40 -0
- data/rbi/increase/models/check_deposit.rbi +7 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/digital_card_profile.rbi +10 -8
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +13 -11
- data/rbi/increase/models/digital_card_profile_create_params.rbi +13 -8
- data/rbi/increase/models/entity_create_params.rbi +8 -4
- data/rbi/increase/models/entity_update_params.rbi +8 -4
- data/rbi/increase/models/event.rbi +7 -0
- data/rbi/increase/models/event_list_params.rbi +11 -4
- data/rbi/increase/models/event_subscription.rbi +7 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
- data/rbi/increase/models/export.rbi +12 -12
- data/rbi/increase/models/export_create_params.rbi +18 -18
- data/rbi/increase/models/file.rbi +1 -1
- data/rbi/increase/models/file_create_params.rbi +1 -1
- data/rbi/increase/models/file_list_params.rbi +1 -1
- data/rbi/increase/models/inbound_check_deposit.rbi +13 -6
- data/rbi/increase/models/inbound_fednow_transfer.rbi +10 -2
- data/rbi/increase/models/pending_transaction.rbi +13 -6
- data/rbi/increase/models/physical_card.rbi +28 -0
- data/rbi/increase/models/simulations/check_deposit_adjustment_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +7 -0
- data/rbi/increase/models/transaction.rbi +56 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
- data/rbi/increase/models.rbi +2 -0
- data/rbi/increase/resources/cards.rbi +22 -0
- data/rbi/increase/resources/digital_card_profiles.rbi +10 -8
- data/rbi/increase/resources/events.rbi +2 -2
- data/rbi/increase/resources/files.rbi +3 -1
- data/rbi/increase/resources/intrafi_account_enrollments.rbi +2 -2
- data/rbi/increase/resources/physical_card_profiles.rbi +1 -1
- data/rbi/increase/resources/supplemental_documents.rbi +2 -2
- data/sig/increase/models/card.rbs +79 -0
- data/sig/increase/models/card_create_params.rbs +52 -1
- data/sig/increase/models/card_payment.rbs +49 -1
- data/sig/increase/models/card_renew_params.rbs +23 -0
- data/sig/increase/models/check_deposit.rbs +8 -1
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_card_profile.rbs +5 -5
- data/sig/increase/models/digital_card_profile_clone_params.rbs +7 -7
- data/sig/increase/models/digital_card_profile_create_params.rbs +7 -5
- data/sig/increase/models/event.rbs +4 -0
- data/sig/increase/models/event_list_params.rbs +4 -0
- data/sig/increase/models/event_subscription.rbs +4 -0
- data/sig/increase/models/event_subscription_create_params.rbs +4 -0
- data/sig/increase/models/file.rbs +1 -1
- data/sig/increase/models/file_create_params.rbs +1 -1
- data/sig/increase/models/file_list_params.rbs +1 -1
- data/sig/increase/models/inbound_check_deposit.rbs +12 -9
- data/sig/increase/models/inbound_fednow_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +4 -0
- data/sig/increase/models/physical_card.rbs +15 -0
- data/sig/increase/models/simulations/check_deposit_adjustment_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +4 -1
- data/sig/increase/models/transaction.rbs +32 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
- data/sig/increase/models.rbs +2 -0
- data/sig/increase/resources/cards.rbs +6 -0
- data/sig/increase/resources/digital_card_profiles.rbs +2 -2
- metadata +5 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5177cdfe1239c7b4bab3d9f51e69c9a6ec59bf783e85dfbce359eb8c83cfdddb
|
|
4
|
+
data.tar.gz: 3c656b8ed86c9a50b74b58d36a6c990bf07b4bea04a3038b415a0a21063ef8c8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7993401711f57c8f5eef204efcc1a95b1e08a9b8597a09696283f9315ecf1d1b66581571a1c562cc51955253ab2629504157ed7facd2522f4ba29b3cc82e2048
|
|
7
|
+
data.tar.gz: 2245649be2c54f647dcfd2703671bf6461813129652e3185767c12a698c6f9151b90e71e2a6433237d94dad1a424c3a847eff0413286dd2a759121568a6eae21
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
15
15
|
<!-- x-release-please-start-version -->
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
gem "increase", "~> 1.
|
|
18
|
+
gem "increase", "~> 1.358.0"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
<!-- x-release-please-end -->
|
|
@@ -149,7 +149,7 @@ All errors raised by this gem, including `Increase::Errors::APIError` and respon
|
|
|
149
149
|
|
|
150
150
|
Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
|
|
151
151
|
|
|
152
|
-
Connection errors (for example, due to a network connectivity problem), 408 Request Timeout,
|
|
152
|
+
Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 429 Rate Limit, >=500 Internal errors, and timeouts will all be retried by default.
|
|
153
153
|
|
|
154
154
|
You can use the `max_retries` option to configure or disable this:
|
|
155
155
|
|
|
@@ -50,8 +50,9 @@ module Increase
|
|
|
50
50
|
# @!attribute statement_period_end
|
|
51
51
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
|
|
52
52
|
# of the period the Account Statement covers. The statement covers all
|
|
53
|
-
# transactions up to, but not including this timestamp.
|
|
54
|
-
#
|
|
53
|
+
# transactions up to, but not including this timestamp. Statement periods are
|
|
54
|
+
# measured in UTC days, so this is usually midnight UTC on the first day of the
|
|
55
|
+
# following month.
|
|
55
56
|
#
|
|
56
57
|
# @return [Time]
|
|
57
58
|
required :statement_period_end, Time
|
|
@@ -59,8 +60,9 @@ module Increase
|
|
|
59
60
|
# @!attribute statement_period_start
|
|
60
61
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
|
|
61
62
|
# start of the period the Account Statement covers. This is the first moment of
|
|
62
|
-
# the statement period and is inclusive.
|
|
63
|
-
#
|
|
63
|
+
# the statement period and is inclusive. Statement periods are measured in UTC
|
|
64
|
+
# days, so this is usually midnight UTC on the first day of the month this
|
|
65
|
+
# statement covers.
|
|
64
66
|
#
|
|
65
67
|
# @return [Time]
|
|
66
68
|
required :statement_period_start, Time
|
|
@@ -96,14 +98,16 @@ module Increase
|
|
|
96
98
|
# @param statement_period_end [Time]
|
|
97
99
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
|
|
98
100
|
# of the period the Account Statement covers. The statement covers all
|
|
99
|
-
# transactions up to, but not including this timestamp.
|
|
100
|
-
#
|
|
101
|
+
# transactions up to, but not including this timestamp. Statement periods are
|
|
102
|
+
# measured in UTC days, so this is usually midnight UTC on the first day of the
|
|
103
|
+
# following month.
|
|
101
104
|
#
|
|
102
105
|
# @param statement_period_start [Time]
|
|
103
106
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
|
|
104
107
|
# start of the period the Account Statement covers. This is the first moment of
|
|
105
|
-
# the statement period and is inclusive.
|
|
106
|
-
#
|
|
108
|
+
# the statement period and is inclusive. Statement periods are measured in UTC
|
|
109
|
+
# days, so this is usually midnight UTC on the first day of the month this
|
|
110
|
+
# statement covers.
|
|
107
111
|
#
|
|
108
112
|
# @param type [Symbol, Increase::Models::AccountStatement::Type]
|
|
109
113
|
# A constant representing the object's type. For this resource it will always be
|
data/lib/increase/models/card.rb
CHANGED
|
@@ -94,6 +94,19 @@ module Increase
|
|
|
94
94
|
# @return [String]
|
|
95
95
|
required :last4, String
|
|
96
96
|
|
|
97
|
+
# @!attribute renewals
|
|
98
|
+
# Completed renewals of this Card, sorted by `renewed_at` in ascending order. Each
|
|
99
|
+
# renewal records the expiration date the Card had before it was renewed.
|
|
100
|
+
#
|
|
101
|
+
# @return [Array<Increase::Models::Card::Renewal>]
|
|
102
|
+
required :renewals, -> { Increase::Internal::Type::ArrayOf[Increase::Card::Renewal] }
|
|
103
|
+
|
|
104
|
+
# @!attribute replacement_for
|
|
105
|
+
# Details about the Card this Card replaces, if it was created as a replacement.
|
|
106
|
+
#
|
|
107
|
+
# @return [Increase::Models::Card::ReplacementFor, nil]
|
|
108
|
+
required :replacement_for, -> { Increase::Card::ReplacementFor }, nil?: true
|
|
109
|
+
|
|
97
110
|
# @!attribute status
|
|
98
111
|
# This indicates if payments can be made with the card.
|
|
99
112
|
#
|
|
@@ -107,7 +120,7 @@ module Increase
|
|
|
107
120
|
# @return [Symbol, Increase::Models::Card::Type]
|
|
108
121
|
required :type, enum: -> { Increase::Card::Type }
|
|
109
122
|
|
|
110
|
-
# @!method initialize(id:, account_id:, authorization_controls:, billing_address:, bin:, cardholder_name:, created_at:, description:, digital_wallet:, entity_id:, expiration_month:, expiration_year:, idempotency_key:, last4:, status:, type:)
|
|
123
|
+
# @!method initialize(id:, account_id:, authorization_controls:, billing_address:, bin:, cardholder_name:, created_at:, description:, digital_wallet:, entity_id:, expiration_month:, expiration_year:, idempotency_key:, last4:, renewals:, replacement_for:, status:, type:)
|
|
111
124
|
# Cards may operate on credit, debit, or prepaid BINs. They’ll immediately work
|
|
112
125
|
# for online purchases after you create them. All cards work on a good funds
|
|
113
126
|
# model, and maintain a maximum limit of 100% of the Account’s available balance
|
|
@@ -153,6 +166,13 @@ module Increase
|
|
|
153
166
|
#
|
|
154
167
|
# @param last4 [String] The last 4 digits of the Card's Primary Account Number.
|
|
155
168
|
#
|
|
169
|
+
# @param renewals [Array<Increase::Models::Card::Renewal>]
|
|
170
|
+
# Completed renewals of this Card, sorted by `renewed_at` in ascending order. Each
|
|
171
|
+
# renewal records the expiration date the Card had before it was renewed.
|
|
172
|
+
#
|
|
173
|
+
# @param replacement_for [Increase::Models::Card::ReplacementFor, nil]
|
|
174
|
+
# Details about the Card this Card replaces, if it was created as a replacement.
|
|
175
|
+
#
|
|
156
176
|
# @param status [Symbol, Increase::Models::Card::Status]
|
|
157
177
|
# This indicates if payments can be made with the card.
|
|
158
178
|
#
|
|
@@ -696,6 +716,91 @@ module Increase
|
|
|
696
716
|
# over SMS.
|
|
697
717
|
end
|
|
698
718
|
|
|
719
|
+
class Renewal < Increase::Internal::Type::BaseModel
|
|
720
|
+
# @!attribute previous_expiration_month
|
|
721
|
+
# The month the Card expired in before this renewal, in M format (e.g., August is
|
|
722
|
+
# 8).
|
|
723
|
+
#
|
|
724
|
+
# @return [Integer]
|
|
725
|
+
required :previous_expiration_month, Integer
|
|
726
|
+
|
|
727
|
+
# @!attribute previous_expiration_year
|
|
728
|
+
# The year the Card expired in before this renewal, in YYYY format (e.g., 2025).
|
|
729
|
+
#
|
|
730
|
+
# @return [Integer]
|
|
731
|
+
required :previous_expiration_year, Integer
|
|
732
|
+
|
|
733
|
+
# @!attribute renewed_at
|
|
734
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
735
|
+
# the Card was renewed.
|
|
736
|
+
#
|
|
737
|
+
# @return [Time]
|
|
738
|
+
required :renewed_at, Time
|
|
739
|
+
|
|
740
|
+
# @!method initialize(previous_expiration_month:, previous_expiration_year:, renewed_at:)
|
|
741
|
+
# @param previous_expiration_month [Integer]
|
|
742
|
+
# The month the Card expired in before this renewal, in M format (e.g., August is
|
|
743
|
+
# 8).
|
|
744
|
+
#
|
|
745
|
+
# @param previous_expiration_year [Integer]
|
|
746
|
+
# The year the Card expired in before this renewal, in YYYY format (e.g., 2025).
|
|
747
|
+
#
|
|
748
|
+
# @param renewed_at [Time]
|
|
749
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
750
|
+
# the Card was renewed.
|
|
751
|
+
end
|
|
752
|
+
|
|
753
|
+
# @see Increase::Models::Card#replacement_for
|
|
754
|
+
class ReplacementFor < Increase::Internal::Type::BaseModel
|
|
755
|
+
# @!attribute card_id
|
|
756
|
+
# The identifier of the replaced Card.
|
|
757
|
+
#
|
|
758
|
+
# @return [String]
|
|
759
|
+
required :card_id, String
|
|
760
|
+
|
|
761
|
+
# @!attribute reason
|
|
762
|
+
# Why the Card was replaced. Only `expiring` notifies merchants that have the
|
|
763
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
764
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
765
|
+
#
|
|
766
|
+
# @return [Symbol, Increase::Models::Card::ReplacementFor::Reason]
|
|
767
|
+
required :reason, enum: -> { Increase::Card::ReplacementFor::Reason }
|
|
768
|
+
|
|
769
|
+
# @!method initialize(card_id:, reason:)
|
|
770
|
+
# Details about the Card this Card replaces, if it was created as a replacement.
|
|
771
|
+
#
|
|
772
|
+
# @param card_id [String] The identifier of the replaced Card.
|
|
773
|
+
#
|
|
774
|
+
# @param reason [Symbol, Increase::Models::Card::ReplacementFor::Reason]
|
|
775
|
+
# Why the Card was replaced. Only `expiring` notifies merchants that have the
|
|
776
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
777
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
778
|
+
|
|
779
|
+
# Why the Card was replaced. Only `expiring` notifies merchants that have the
|
|
780
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
781
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
782
|
+
#
|
|
783
|
+
# @see Increase::Models::Card::ReplacementFor#reason
|
|
784
|
+
module Reason
|
|
785
|
+
extend Increase::Internal::Type::Enum
|
|
786
|
+
|
|
787
|
+
# The replaced card is expiring. Merchants with the replaced card on file will be notified of the new card, and its digital wallet tokens that have not been deactivated will move to the new card.
|
|
788
|
+
EXPIRING = :expiring
|
|
789
|
+
|
|
790
|
+
# The replaced card was lost. Merchants will not be notified of the new card.
|
|
791
|
+
LOST = :lost
|
|
792
|
+
|
|
793
|
+
# The replaced card was stolen. Merchants will not be notified of the new card.
|
|
794
|
+
STOLEN = :stolen
|
|
795
|
+
|
|
796
|
+
# The replaced card was used fraudulently. Merchants will not be notified of the new card.
|
|
797
|
+
FRAUD = :fraud
|
|
798
|
+
|
|
799
|
+
# @!method self.values
|
|
800
|
+
# @return [Array<Symbol>]
|
|
801
|
+
end
|
|
802
|
+
end
|
|
803
|
+
|
|
699
804
|
# This indicates if payments can be made with the card.
|
|
700
805
|
#
|
|
701
806
|
# @see Increase::Models::Card#status
|
|
@@ -55,7 +55,14 @@ module Increase
|
|
|
55
55
|
# @return [String, nil]
|
|
56
56
|
optional :entity_id, String
|
|
57
57
|
|
|
58
|
-
# @!
|
|
58
|
+
# @!attribute replacement_for
|
|
59
|
+
# Details about the Card this Card replaces. Supply this when issuing a new Card
|
|
60
|
+
# to take over from an existing one. The replaced Card is not canceled.
|
|
61
|
+
#
|
|
62
|
+
# @return [Increase::Models::CardCreateParams::ReplacementFor, nil]
|
|
63
|
+
optional :replacement_for, -> { Increase::CardCreateParams::ReplacementFor }
|
|
64
|
+
|
|
65
|
+
# @!method initialize(account_id:, authorization_controls: nil, billing_address: nil, cardholder_name: nil, description: nil, digital_wallet: nil, entity_id: nil, replacement_for: nil, request_options: {})
|
|
59
66
|
# @param account_id [String] The Account the card should belong to.
|
|
60
67
|
#
|
|
61
68
|
# @param authorization_controls [Increase::Models::CardCreateParams::AuthorizationControls]
|
|
@@ -80,6 +87,10 @@ module Increase
|
|
|
80
87
|
# The Entity the card belongs to. You only need to supply this in rare situations
|
|
81
88
|
# when the card is not for the Account holder.
|
|
82
89
|
#
|
|
90
|
+
# @param replacement_for [Increase::Models::CardCreateParams::ReplacementFor]
|
|
91
|
+
# Details about the Card this Card replaces. Supply this when issuing a new Card
|
|
92
|
+
# to take over from an existing one. The replaced Card is not canceled.
|
|
93
|
+
#
|
|
83
94
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
84
95
|
|
|
85
96
|
class AuthorizationControls < Increase::Internal::Type::BaseModel
|
|
@@ -598,6 +609,57 @@ module Increase
|
|
|
598
609
|
# A phone number that can be used to contact and verify the cardholder via
|
|
599
610
|
# one-time passcode over SMS.
|
|
600
611
|
end
|
|
612
|
+
|
|
613
|
+
class ReplacementFor < Increase::Internal::Type::BaseModel
|
|
614
|
+
# @!attribute card_id
|
|
615
|
+
# The identifier of the Card being replaced.
|
|
616
|
+
#
|
|
617
|
+
# @return [String]
|
|
618
|
+
required :card_id, String
|
|
619
|
+
|
|
620
|
+
# @!attribute reason
|
|
621
|
+
# Why the Card is being replaced. Only `expiring` notifies merchants that have the
|
|
622
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
623
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
624
|
+
#
|
|
625
|
+
# @return [Symbol, Increase::Models::CardCreateParams::ReplacementFor::Reason]
|
|
626
|
+
required :reason, enum: -> { Increase::CardCreateParams::ReplacementFor::Reason }
|
|
627
|
+
|
|
628
|
+
# @!method initialize(card_id:, reason:)
|
|
629
|
+
# Details about the Card this Card replaces. Supply this when issuing a new Card
|
|
630
|
+
# to take over from an existing one. The replaced Card is not canceled.
|
|
631
|
+
#
|
|
632
|
+
# @param card_id [String] The identifier of the Card being replaced.
|
|
633
|
+
#
|
|
634
|
+
# @param reason [Symbol, Increase::Models::CardCreateParams::ReplacementFor::Reason]
|
|
635
|
+
# Why the Card is being replaced. Only `expiring` notifies merchants that have the
|
|
636
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
637
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
638
|
+
|
|
639
|
+
# Why the Card is being replaced. Only `expiring` notifies merchants that have the
|
|
640
|
+
# replaced Card on file of the new Card and moves Digital Wallet Tokens on the
|
|
641
|
+
# replaced Card that have not been deactivated to the new Card.
|
|
642
|
+
#
|
|
643
|
+
# @see Increase::Models::CardCreateParams::ReplacementFor#reason
|
|
644
|
+
module Reason
|
|
645
|
+
extend Increase::Internal::Type::Enum
|
|
646
|
+
|
|
647
|
+
# The replaced card is expiring. Merchants with the replaced card on file will be notified of the new card, and its digital wallet tokens that have not been deactivated will move to the new card.
|
|
648
|
+
EXPIRING = :expiring
|
|
649
|
+
|
|
650
|
+
# The replaced card was lost. Merchants will not be notified of the new card.
|
|
651
|
+
LOST = :lost
|
|
652
|
+
|
|
653
|
+
# The replaced card was stolen. Merchants will not be notified of the new card.
|
|
654
|
+
STOLEN = :stolen
|
|
655
|
+
|
|
656
|
+
# The replaced card was used fraudulently. Merchants will not be notified of the new card.
|
|
657
|
+
FRAUD = :fraud
|
|
658
|
+
|
|
659
|
+
# @!method self.values
|
|
660
|
+
# @return [Array<Symbol>]
|
|
661
|
+
end
|
|
662
|
+
end
|
|
601
663
|
end
|
|
602
664
|
end
|
|
603
665
|
end
|
|
@@ -868,7 +868,7 @@ module Increase
|
|
|
868
868
|
# The one-time code was sent via email.
|
|
869
869
|
EMAIL = :email
|
|
870
870
|
|
|
871
|
-
# The one-time code
|
|
871
|
+
# The one-time code could not be delivered because the card has no phone number or email on file.
|
|
872
872
|
NONE_AVAILABLE = :none_available
|
|
873
873
|
|
|
874
874
|
# @!method self.values
|
|
@@ -2782,6 +2782,9 @@ module Increase
|
|
|
2782
2782
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
2783
2783
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
2784
2784
|
|
|
2785
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
2786
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
2787
|
+
|
|
2785
2788
|
# @!method self.values
|
|
2786
2789
|
# @return [Array<Symbol>]
|
|
2787
2790
|
end
|
|
@@ -4283,6 +4286,9 @@ module Increase
|
|
|
4283
4286
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
4284
4287
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
4285
4288
|
|
|
4289
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
4290
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
4291
|
+
|
|
4286
4292
|
# @!method self.values
|
|
4287
4293
|
# @return [Array<Symbol>]
|
|
4288
4294
|
end
|
|
@@ -5938,6 +5944,9 @@ module Increase
|
|
|
5938
5944
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
5939
5945
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
5940
5946
|
|
|
5947
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
5948
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
5949
|
+
|
|
5941
5950
|
# @!method self.values
|
|
5942
5951
|
# @return [Array<Symbol>]
|
|
5943
5952
|
end
|
|
@@ -7455,6 +7464,9 @@ module Increase
|
|
|
7455
7464
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
7456
7465
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
7457
7466
|
|
|
7467
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
7468
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
7469
|
+
|
|
7458
7470
|
# @!method self.values
|
|
7459
7471
|
# @return [Array<Symbol>]
|
|
7460
7472
|
end
|
|
@@ -8017,6 +8029,9 @@ module Increase
|
|
|
8017
8029
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
8018
8030
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
8019
8031
|
|
|
8032
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
8033
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
8034
|
+
|
|
8020
8035
|
# @!method self.values
|
|
8021
8036
|
# @return [Array<Symbol>]
|
|
8022
8037
|
end
|
|
@@ -8901,6 +8916,9 @@ module Increase
|
|
|
8901
8916
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
8902
8917
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
8903
8918
|
|
|
8919
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
8920
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
8921
|
+
|
|
8904
8922
|
# @!method self.values
|
|
8905
8923
|
# @return [Array<Symbol>]
|
|
8906
8924
|
end
|
|
@@ -10445,6 +10463,9 @@ module Increase
|
|
|
10445
10463
|
# Invoice number
|
|
10446
10464
|
INVOICE_NUMBER = :invoice_number
|
|
10447
10465
|
|
|
10466
|
+
# Visa Recurrent reference identifier
|
|
10467
|
+
VISA_RECURRENT_REFERENCE_IDENTIFIER = :visa_recurrent_reference_identifier
|
|
10468
|
+
|
|
10448
10469
|
# @!method self.values
|
|
10449
10470
|
# @return [Array<Symbol>]
|
|
10450
10471
|
end
|
|
@@ -11080,6 +11101,9 @@ module Increase
|
|
|
11080
11101
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
11081
11102
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
11082
11103
|
|
|
11104
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
11105
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
11106
|
+
|
|
11083
11107
|
# @!method self.values
|
|
11084
11108
|
# @return [Array<Symbol>]
|
|
11085
11109
|
end
|
|
@@ -11600,6 +11624,9 @@ module Increase
|
|
|
11600
11624
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
11601
11625
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
11602
11626
|
|
|
11627
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
11628
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
11629
|
+
|
|
11603
11630
|
# @!method self.values
|
|
11604
11631
|
# @return [Array<Symbol>]
|
|
11605
11632
|
end
|
|
@@ -13175,6 +13202,9 @@ module Increase
|
|
|
13175
13202
|
# Invoice number
|
|
13176
13203
|
INVOICE_NUMBER = :invoice_number
|
|
13177
13204
|
|
|
13205
|
+
# Visa Recurrent reference identifier
|
|
13206
|
+
VISA_RECURRENT_REFERENCE_IDENTIFIER = :visa_recurrent_reference_identifier
|
|
13207
|
+
|
|
13178
13208
|
# @!method self.values
|
|
13179
13209
|
# @return [Array<Symbol>]
|
|
13180
13210
|
end
|
|
@@ -13812,6 +13842,9 @@ module Increase
|
|
|
13812
13842
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
13813
13843
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
13814
13844
|
|
|
13845
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
13846
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
13847
|
+
|
|
13815
13848
|
# @!method self.values
|
|
13816
13849
|
# @return [Array<Symbol>]
|
|
13817
13850
|
end
|
|
@@ -15058,6 +15091,9 @@ module Increase
|
|
|
15058
15091
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
15059
15092
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
15060
15093
|
|
|
15094
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
15095
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
15096
|
+
|
|
15061
15097
|
# @!method self.values
|
|
15062
15098
|
# @return [Array<Symbol>]
|
|
15063
15099
|
end
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
# @see Increase::Resources::Cards#renew
|
|
6
|
+
class CardRenewParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute card_id
|
|
11
|
+
# The identifier of the Card to renew.
|
|
12
|
+
#
|
|
13
|
+
# @return [String]
|
|
14
|
+
required :card_id, String
|
|
15
|
+
|
|
16
|
+
# @!method initialize(card_id:, request_options: {})
|
|
17
|
+
# @param card_id [String] The identifier of the Card to renew.
|
|
18
|
+
#
|
|
19
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -345,6 +345,9 @@ module Increase
|
|
|
345
345
|
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
346
346
|
PAID = :paid
|
|
347
347
|
|
|
348
|
+
# A previous adjustment for the check was applied twice and the duplicate has been reversed.
|
|
349
|
+
DUPLICATE_ENTRY = :duplicate_entry
|
|
350
|
+
|
|
348
351
|
# @!method self.values
|
|
349
352
|
# @return [Array<Symbol>]
|
|
350
353
|
end
|
|
@@ -1937,6 +1937,9 @@ module Increase
|
|
|
1937
1937
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
1938
1938
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
1939
1939
|
|
|
1940
|
+
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
1941
|
+
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
1942
|
+
|
|
1940
1943
|
# @!method self.values
|
|
1941
1944
|
# @return [Array<Symbol>]
|
|
1942
1945
|
end
|
|
@@ -34,6 +34,13 @@ module Increase
|
|
|
34
34
|
# @return [String, nil]
|
|
35
35
|
required :contact_email, String, nil?: true
|
|
36
36
|
|
|
37
|
+
# @!attribute contact_name
|
|
38
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
39
|
+
# for support with their card.
|
|
40
|
+
#
|
|
41
|
+
# @return [String]
|
|
42
|
+
required :contact_name, String
|
|
43
|
+
|
|
37
44
|
# @!attribute contact_phone
|
|
38
45
|
# A phone number the user can contact to receive support for their card.
|
|
39
46
|
#
|
|
@@ -67,12 +74,6 @@ module Increase
|
|
|
67
74
|
# @return [String, nil]
|
|
68
75
|
required :idempotency_key, String, nil?: true
|
|
69
76
|
|
|
70
|
-
# @!attribute issuer_name
|
|
71
|
-
# A user-facing description for whoever is issuing the card.
|
|
72
|
-
#
|
|
73
|
-
# @return [String]
|
|
74
|
-
required :issuer_name, String
|
|
75
|
-
|
|
76
77
|
# @!attribute status
|
|
77
78
|
# The status of the Card Profile.
|
|
78
79
|
#
|
|
@@ -92,7 +93,7 @@ module Increase
|
|
|
92
93
|
# @return [Symbol, Increase::Models::DigitalCardProfile::Type]
|
|
93
94
|
required :type, enum: -> { Increase::DigitalCardProfile::Type }
|
|
94
95
|
|
|
95
|
-
# @!method initialize(id:, app_icon_file_id:, background_image_file_id:, card_description:, contact_email:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:,
|
|
96
|
+
# @!method initialize(id:, app_icon_file_id:, background_image_file_id:, card_description:, contact_email:, contact_name:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, status:, text_color:, type:)
|
|
96
97
|
# This contains artwork and metadata relating to a Card's appearance in digital
|
|
97
98
|
# wallet apps like Apple Pay and Google Pay. For more information, see our guide
|
|
98
99
|
# on [digital card artwork](https://increase.com/documentation/card-art).
|
|
@@ -108,6 +109,10 @@ module Increase
|
|
|
108
109
|
# @param contact_email [String, nil]
|
|
109
110
|
# An email address the user can contact to receive support for their card.
|
|
110
111
|
#
|
|
112
|
+
# @param contact_name [String]
|
|
113
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
114
|
+
# for support with their card.
|
|
115
|
+
#
|
|
111
116
|
# @param contact_phone [String, nil] A phone number the user can contact to receive support for their card.
|
|
112
117
|
#
|
|
113
118
|
# @param contact_website [String, nil]
|
|
@@ -124,8 +129,6 @@ module Increase
|
|
|
124
129
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
125
130
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
126
131
|
#
|
|
127
|
-
# @param issuer_name [String] A user-facing description for whoever is issuing the card.
|
|
128
|
-
#
|
|
129
132
|
# @param status [Symbol, Increase::Models::DigitalCardProfile::Status] The status of the Card Profile.
|
|
130
133
|
#
|
|
131
134
|
# @param text_color [Increase::Models::DigitalCardProfile::TextColor]
|
|
@@ -37,6 +37,13 @@ module Increase
|
|
|
37
37
|
# @return [String, nil]
|
|
38
38
|
optional :contact_email, String
|
|
39
39
|
|
|
40
|
+
# @!attribute contact_name
|
|
41
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
42
|
+
# for support with their card.
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
optional :contact_name, String
|
|
46
|
+
|
|
40
47
|
# @!attribute contact_phone
|
|
41
48
|
# A phone number the user can contact to receive support for their card.
|
|
42
49
|
#
|
|
@@ -55,19 +62,13 @@ module Increase
|
|
|
55
62
|
# @return [String, nil]
|
|
56
63
|
optional :description, String
|
|
57
64
|
|
|
58
|
-
# @!attribute issuer_name
|
|
59
|
-
# A user-facing description for whoever is issuing the card.
|
|
60
|
-
#
|
|
61
|
-
# @return [String, nil]
|
|
62
|
-
optional :issuer_name, String
|
|
63
|
-
|
|
64
65
|
# @!attribute text_color
|
|
65
66
|
# The Card's text color, specified as an RGB triple. The default is white.
|
|
66
67
|
#
|
|
67
68
|
# @return [Increase::Models::DigitalCardProfileCloneParams::TextColor, nil]
|
|
68
69
|
optional :text_color, -> { Increase::DigitalCardProfileCloneParams::TextColor }
|
|
69
70
|
|
|
70
|
-
# @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil,
|
|
71
|
+
# @!method initialize(digital_card_profile_id:, app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, description: nil, text_color: nil, request_options: {})
|
|
71
72
|
# @param digital_card_profile_id [String] The identifier of the Digital Card Profile to clone.
|
|
72
73
|
#
|
|
73
74
|
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
|
|
@@ -78,14 +79,16 @@ module Increase
|
|
|
78
79
|
#
|
|
79
80
|
# @param contact_email [String] An email address the user can contact to receive support for their card.
|
|
80
81
|
#
|
|
82
|
+
# @param contact_name [String]
|
|
83
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
84
|
+
# for support with their card.
|
|
85
|
+
#
|
|
81
86
|
# @param contact_phone [String] A phone number the user can contact to receive support for their card.
|
|
82
87
|
#
|
|
83
88
|
# @param contact_website [String] A website the user can visit to view and receive support for their card.
|
|
84
89
|
#
|
|
85
90
|
# @param description [String] A description you can use to identify the Card Profile.
|
|
86
91
|
#
|
|
87
|
-
# @param issuer_name [String] A user-facing description for whoever is issuing the card.
|
|
88
|
-
#
|
|
89
92
|
# @param text_color [Increase::Models::DigitalCardProfileCloneParams::TextColor]
|
|
90
93
|
# The Card's text color, specified as an RGB triple. The default is white.
|
|
91
94
|
#
|
|
@@ -31,18 +31,19 @@ module Increase
|
|
|
31
31
|
# @return [String]
|
|
32
32
|
required :description, String
|
|
33
33
|
|
|
34
|
-
# @!attribute issuer_name
|
|
35
|
-
# A user-facing description for whoever is issuing the card.
|
|
36
|
-
#
|
|
37
|
-
# @return [String]
|
|
38
|
-
required :issuer_name, String
|
|
39
|
-
|
|
40
34
|
# @!attribute contact_email
|
|
41
35
|
# An email address the user can contact to receive support for their card.
|
|
42
36
|
#
|
|
43
37
|
# @return [String, nil]
|
|
44
38
|
optional :contact_email, String
|
|
45
39
|
|
|
40
|
+
# @!attribute contact_name
|
|
41
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
42
|
+
# for support with their card.
|
|
43
|
+
#
|
|
44
|
+
# @return [String, nil]
|
|
45
|
+
optional :contact_name, String
|
|
46
|
+
|
|
46
47
|
# @!attribute contact_phone
|
|
47
48
|
# A phone number the user can contact to receive support for their card.
|
|
48
49
|
#
|
|
@@ -61,7 +62,7 @@ module Increase
|
|
|
61
62
|
# @return [Increase::Models::DigitalCardProfileCreateParams::TextColor, nil]
|
|
62
63
|
optional :text_color, -> { Increase::DigitalCardProfileCreateParams::TextColor }
|
|
63
64
|
|
|
64
|
-
# @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:,
|
|
65
|
+
# @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, contact_email: nil, contact_name: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {})
|
|
65
66
|
# @param app_icon_file_id [String] The identifier of the File containing the card's icon image.
|
|
66
67
|
#
|
|
67
68
|
# @param background_image_file_id [String] The identifier of the File containing the card's front image.
|
|
@@ -70,10 +71,12 @@ module Increase
|
|
|
70
71
|
#
|
|
71
72
|
# @param description [String] A description you can use to identify the Card Profile.
|
|
72
73
|
#
|
|
73
|
-
# @param issuer_name [String] A user-facing description for whoever is issuing the card.
|
|
74
|
-
#
|
|
75
74
|
# @param contact_email [String] An email address the user can contact to receive support for their card.
|
|
76
75
|
#
|
|
76
|
+
# @param contact_name [String]
|
|
77
|
+
# The name of your company or card program, shown to the user as who to contact
|
|
78
|
+
# for support with their card.
|
|
79
|
+
#
|
|
77
80
|
# @param contact_phone [String] A phone number the user can contact to receive support for their card.
|
|
78
81
|
#
|
|
79
82
|
# @param contact_website [String] A website the user can visit to view and receive support for their card.
|