increase 1.38.0 → 1.40.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c909d7b87634a7b4243ff4825ff00d7e234202569b9c17e22bbbda61835453f
4
- data.tar.gz: ecdf01af5c9721070e995eedd7b7a5484b1fdcb871a9f950c137723d66b8c544
3
+ metadata.gz: 431ebe1a12c0cc64bb236d37954675f6a2fc0997be59c5e313116c97773bcc61
4
+ data.tar.gz: 6ce174eaa92699f6797ebfa89695233201f3c0ff0c5bf9bc0c7f7d371b23cc62
5
5
  SHA512:
6
- metadata.gz: dbbf0308088954faf0e5922750074c6dee34c22587f9a3308b207e725bb8ff4882071eebe6c10946f919495aee10a82c4c285ab482f4e08068e2fc1f8124bd4b
7
- data.tar.gz: 4dd1585959dcb251cae1614ea797c995d493854d7d48bd6b730c47f72e6504ff566c278df037b497b1521b0babf97c0754080877865b7c0d5bd2e798a2f67633
6
+ metadata.gz: 93fa2087cc2641aba6aa9789afcfc7eb8722bc03536974b451419a4693f180e32817e62c1e950cd7a4c4e8296a1696be1378cda27c3dd570a4322ba2474b4c20
7
+ data.tar.gz: c4cd2f429007ef063627b2016cdc76ad7fcf09cf763fe2ad40e7c151d41a6170ce62a209f3a49a4e3467b7e199b1d11e94ae076f66f370b2d926a61d31b38251
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.40.0 (2025-08-20)
4
+
5
+ Full Changelog: [v1.39.0...v1.40.0](https://github.com/Increase/increase-ruby/compare/v1.39.0...v1.40.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([6f2b4ab](https://github.com/Increase/increase-ruby/commit/6f2b4ab35ffbb974911ac85740af55836f9609e1))
10
+
11
+ ## 1.39.0 (2025-08-20)
12
+
13
+ Full Changelog: [v1.38.0...v1.39.0](https://github.com/Increase/increase-ruby/compare/v1.38.0...v1.39.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([ada8b1d](https://github.com/Increase/increase-ruby/commit/ada8b1db94b95aeb27396d65c0971007845a2105))
18
+
3
19
  ## 1.38.0 (2025-08-19)
4
20
 
5
21
  Full Changelog: [v1.37.1...v1.38.0](https://github.com/Increase/increase-ruby/compare/v1.37.1...v1.38.0)
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.38.0"
18
+ gem "increase", "~> 1.40.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -0,0 +1,22 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::Cards#create_details_iframe
6
+ class CardCreateDetailsIframeParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ # @!attribute physical_card_id
11
+ # The identifier of the Physical Card to retrieve details for.
12
+ #
13
+ # @return [String, nil]
14
+ optional :physical_card_id, String
15
+
16
+ # @!method initialize(physical_card_id: nil, request_options: {})
17
+ # @param physical_card_id [String] The identifier of the Physical Card to retrieve details for.
18
+ #
19
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
20
+ end
21
+ end
22
+ end
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Increase
4
+ module Models
5
+ # @see Increase::Resources::Cards#create_details_iframe
6
+ class CardIframeURL < Increase::Internal::Type::BaseModel
7
+ # @!attribute expires_at
8
+ # The time the iframe URL will expire.
9
+ #
10
+ # @return [Time]
11
+ required :expires_at, Time
12
+
13
+ # @!attribute iframe_url
14
+ # The iframe URL for the Card. Treat this as an opaque URL.
15
+ #
16
+ # @return [String]
17
+ required :iframe_url, String
18
+
19
+ # @!attribute type
20
+ # A constant representing the object's type. For this resource it will always be
21
+ # `card_iframe_url`.
22
+ #
23
+ # @return [Symbol, Increase::Models::CardIframeURL::Type]
24
+ required :type, enum: -> { Increase::CardIframeURL::Type }
25
+
26
+ # @!method initialize(expires_at:, iframe_url:, type:)
27
+ # Some parameter documentations has been truncated, see
28
+ # {Increase::Models::CardIframeURL} for more details.
29
+ #
30
+ # An object containing the iframe URL for a Card.
31
+ #
32
+ # @param expires_at [Time] The time the iframe URL will expire.
33
+ #
34
+ # @param iframe_url [String] The iframe URL for the Card. Treat this as an opaque URL.
35
+ #
36
+ # @param type [Symbol, Increase::Models::CardIframeURL::Type] A constant representing the object's type. For this resource it will always be `
37
+
38
+ # A constant representing the object's type. For this resource it will always be
39
+ # `card_iframe_url`.
40
+ #
41
+ # @see Increase::Models::CardIframeURL#type
42
+ module Type
43
+ extend Increase::Internal::Type::Enum
44
+
45
+ CARD_IFRAME_URL = :card_iframe_url
46
+
47
+ # @!method self.values
48
+ # @return [Array<Symbol>]
49
+ end
50
+ end
51
+ end
52
+ end
@@ -28,36 +28,6 @@ module Increase
28
28
  # @return [Integer]
29
29
  required :amount, Integer
30
30
 
31
- # @!attribute beneficiary_address_line1
32
- # A free-form address field set by the sender.
33
- #
34
- # @return [String, nil]
35
- required :beneficiary_address_line1, String, nil?: true
36
-
37
- # @!attribute beneficiary_address_line2
38
- # A free-form address field set by the sender.
39
- #
40
- # @return [String, nil]
41
- required :beneficiary_address_line2, String, nil?: true
42
-
43
- # @!attribute beneficiary_address_line3
44
- # A free-form address field set by the sender.
45
- #
46
- # @return [String, nil]
47
- required :beneficiary_address_line3, String, nil?: true
48
-
49
- # @!attribute beneficiary_name
50
- # A name set by the sender.
51
- #
52
- # @return [String, nil]
53
- required :beneficiary_name, String, nil?: true
54
-
55
- # @!attribute beneficiary_reference
56
- # A free-form reference string set by the sender, to help identify the transfer.
57
- #
58
- # @return [String, nil]
59
- required :beneficiary_reference, String, nil?: true
60
-
61
31
  # @!attribute created_at
62
32
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
63
33
  # the inbound wire transfer was created.
@@ -146,67 +116,6 @@ module Increase
146
116
  # @return [String, nil]
147
117
  required :instruction_identification, String, nil?: true
148
118
 
149
- # @!attribute originator_address_line1
150
- # The address of the wire originator, set by the sending bank.
151
- #
152
- # @return [String, nil]
153
- required :originator_address_line1, String, nil?: true
154
-
155
- # @!attribute originator_address_line2
156
- # The address of the wire originator, set by the sending bank.
157
- #
158
- # @return [String, nil]
159
- required :originator_address_line2, String, nil?: true
160
-
161
- # @!attribute originator_address_line3
162
- # The address of the wire originator, set by the sending bank.
163
- #
164
- # @return [String, nil]
165
- required :originator_address_line3, String, nil?: true
166
-
167
- # @!attribute originator_name
168
- # The originator of the wire, set by the sending bank.
169
- #
170
- # @return [String, nil]
171
- required :originator_name, String, nil?: true
172
-
173
- # @!attribute originator_routing_number
174
- # The American Banking Association (ABA) routing number of the bank originating
175
- # the transfer.
176
- #
177
- # @return [String, nil]
178
- required :originator_routing_number, String, nil?: true
179
-
180
- # @!attribute originator_to_beneficiary_information
181
- # An Increase-created concatenation of the Originator-to-Beneficiary lines.
182
- #
183
- # @return [String, nil]
184
- required :originator_to_beneficiary_information, String, nil?: true
185
-
186
- # @!attribute originator_to_beneficiary_information_line1
187
- # A free-form message set by the wire originator.
188
- #
189
- # @return [String, nil]
190
- required :originator_to_beneficiary_information_line1, String, nil?: true
191
-
192
- # @!attribute originator_to_beneficiary_information_line2
193
- # A free-form message set by the wire originator.
194
- #
195
- # @return [String, nil]
196
- required :originator_to_beneficiary_information_line2, String, nil?: true
197
-
198
- # @!attribute originator_to_beneficiary_information_line3
199
- # A free-form message set by the wire originator.
200
- #
201
- # @return [String, nil]
202
- required :originator_to_beneficiary_information_line3, String, nil?: true
203
-
204
- # @!attribute originator_to_beneficiary_information_line4
205
- # A free-form message set by the wire originator.
206
- #
207
- # @return [String, nil]
208
- required :originator_to_beneficiary_information_line4, String, nil?: true
209
-
210
119
  # @!attribute reversal
211
120
  # Information about the reversal of the inbound wire transfer if it has been
212
121
  # reversed.
@@ -214,12 +123,6 @@ module Increase
214
123
  # @return [Increase::Models::InboundWireTransfer::Reversal, nil]
215
124
  required :reversal, -> { Increase::InboundWireTransfer::Reversal }, nil?: true
216
125
 
217
- # @!attribute sender_reference
218
- # The sending bank's reference number for the wire transfer.
219
- #
220
- # @return [String, nil]
221
- required :sender_reference, String, nil?: true
222
-
223
126
  # @!attribute status
224
127
  # The status of the transfer.
225
128
  #
@@ -253,7 +156,7 @@ module Increase
253
156
  # @return [String, nil]
254
157
  required :wire_drawdown_request_id, String, nil?: true
255
158
 
256
- # @!method initialize(id:, account_id:, account_number_id:, amount:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_reference:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, reversal:, sender_reference:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
159
+ # @!method initialize(id:, account_id:, account_number_id:, amount:, created_at:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, reversal:, status:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:, wire_drawdown_request_id:)
257
160
  # Some parameter documentations has been truncated, see
258
161
  # {Increase::Models::InboundWireTransfer} for more details.
259
162
  #
@@ -268,16 +171,6 @@ module Increase
268
171
  #
269
172
  # @param amount [Integer] The amount in USD cents.
270
173
  #
271
- # @param beneficiary_address_line1 [String, nil] A free-form address field set by the sender.
272
- #
273
- # @param beneficiary_address_line2 [String, nil] A free-form address field set by the sender.
274
- #
275
- # @param beneficiary_address_line3 [String, nil] A free-form address field set by the sender.
276
- #
277
- # @param beneficiary_name [String, nil] A name set by the sender.
278
- #
279
- # @param beneficiary_reference [String, nil] A free-form reference string set by the sender, to help identify the transfer.
280
- #
281
174
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
282
175
  #
283
176
  # @param creditor_address_line1 [String, nil] A free-form address field set by the sender.
@@ -306,30 +199,8 @@ module Increase
306
199
  #
307
200
  # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
308
201
  #
309
- # @param originator_address_line1 [String, nil] The address of the wire originator, set by the sending bank.
310
- #
311
- # @param originator_address_line2 [String, nil] The address of the wire originator, set by the sending bank.
312
- #
313
- # @param originator_address_line3 [String, nil] The address of the wire originator, set by the sending bank.
314
- #
315
- # @param originator_name [String, nil] The originator of the wire, set by the sending bank.
316
- #
317
- # @param originator_routing_number [String, nil] The American Banking Association (ABA) routing number of the bank originating th
318
- #
319
- # @param originator_to_beneficiary_information [String, nil] An Increase-created concatenation of the Originator-to-Beneficiary lines.
320
- #
321
- # @param originator_to_beneficiary_information_line1 [String, nil] A free-form message set by the wire originator.
322
- #
323
- # @param originator_to_beneficiary_information_line2 [String, nil] A free-form message set by the wire originator.
324
- #
325
- # @param originator_to_beneficiary_information_line3 [String, nil] A free-form message set by the wire originator.
326
- #
327
- # @param originator_to_beneficiary_information_line4 [String, nil] A free-form message set by the wire originator.
328
- #
329
202
  # @param reversal [Increase::Models::InboundWireTransfer::Reversal, nil] Information about the reversal of the inbound wire transfer if it has been rever
330
203
  #
331
- # @param sender_reference [String, nil] The sending bank's reference number for the wire transfer.
332
- #
333
204
  # @param status [Symbol, Increase::Models::InboundWireTransfer::Status] The status of the transfer.
334
205
  #
335
206
  # @param type [Symbol, Increase::Models::InboundWireTransfer::Type] A constant representing the object's type. For this resource it will always be `
@@ -131,6 +131,8 @@ module Increase
131
131
 
132
132
  Card = Increase::Models::Card
133
133
 
134
+ CardCreateDetailsIframeParams = Increase::Models::CardCreateDetailsIframeParams
135
+
134
136
  CardCreateParams = Increase::Models::CardCreateParams
135
137
 
136
138
  CardDetails = Increase::Models::CardDetails
@@ -145,6 +147,8 @@ module Increase
145
147
 
146
148
  CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
147
149
 
150
+ CardIframeURL = Increase::Models::CardIframeURL
151
+
148
152
  CardListParams = Increase::Models::CardListParams
149
153
 
150
154
  CardPayment = Increase::Models::CardPayment
@@ -121,7 +121,34 @@ module Increase
121
121
  )
122
122
  end
123
123
 
124
- # Retrieve sensitive details for a Card
124
+ # Create an iframe URL for a Card to display the card details. More details about
125
+ # styling and usage can be found in the
126
+ # [documentation](/documentation/embedded-card-component).
127
+ #
128
+ # @overload create_details_iframe(card_id, physical_card_id: nil, request_options: {})
129
+ #
130
+ # @param card_id [String] The identifier of the Card to retrieve details for.
131
+ #
132
+ # @param physical_card_id [String] The identifier of the Physical Card to retrieve details for.
133
+ #
134
+ # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
135
+ #
136
+ # @return [Increase::Models::CardIframeURL]
137
+ #
138
+ # @see Increase::Models::CardCreateDetailsIframeParams
139
+ def create_details_iframe(card_id, params = {})
140
+ parsed, options = Increase::CardCreateDetailsIframeParams.dump_request(params)
141
+ @client.request(
142
+ method: :post,
143
+ path: ["cards/%1$s/create_details_iframe", card_id],
144
+ body: parsed,
145
+ model: Increase::CardIframeURL,
146
+ options: options
147
+ )
148
+ end
149
+
150
+ # Sensitive details for a Card include the primary account number, expiry, card
151
+ # verification code, and PIN.
125
152
  #
126
153
  # @overload details(card_id, request_options: {})
127
154
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.38.0"
4
+ VERSION = "1.40.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -97,6 +97,7 @@ require_relative "increase/models/bookkeeping_entry_set_create_params"
97
97
  require_relative "increase/models/bookkeeping_entry_set_list_params"
98
98
  require_relative "increase/models/bookkeeping_entry_set_retrieve_params"
99
99
  require_relative "increase/models/card"
100
+ require_relative "increase/models/card_create_details_iframe_params"
100
101
  require_relative "increase/models/card_create_params"
101
102
  require_relative "increase/models/card_details"
102
103
  require_relative "increase/models/card_details_params"
@@ -104,6 +105,7 @@ require_relative "increase/models/card_dispute"
104
105
  require_relative "increase/models/card_dispute_create_params"
105
106
  require_relative "increase/models/card_dispute_list_params"
106
107
  require_relative "increase/models/card_dispute_retrieve_params"
108
+ require_relative "increase/models/card_iframe_url"
107
109
  require_relative "increase/models/card_list_params"
108
110
  require_relative "increase/models/card_payment"
109
111
  require_relative "increase/models/card_payment_list_params"
@@ -0,0 +1,49 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class CardCreateDetailsIframeParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::CardCreateDetailsIframeParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Physical Card to retrieve details for.
18
+ sig { returns(T.nilable(String)) }
19
+ attr_reader :physical_card_id
20
+
21
+ sig { params(physical_card_id: String).void }
22
+ attr_writer :physical_card_id
23
+
24
+ sig do
25
+ params(
26
+ physical_card_id: String,
27
+ request_options: Increase::RequestOptions::OrHash
28
+ ).returns(T.attached_class)
29
+ end
30
+ def self.new(
31
+ # The identifier of the Physical Card to retrieve details for.
32
+ physical_card_id: nil,
33
+ request_options: {}
34
+ )
35
+ end
36
+
37
+ sig do
38
+ override.returns(
39
+ {
40
+ physical_card_id: String,
41
+ request_options: Increase::RequestOptions
42
+ }
43
+ )
44
+ end
45
+ def to_hash
46
+ end
47
+ end
48
+ end
49
+ end
@@ -0,0 +1,77 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class CardIframeURL < Increase::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Increase::CardIframeURL, Increase::Internal::AnyHash)
9
+ end
10
+
11
+ # The time the iframe URL will expire.
12
+ sig { returns(Time) }
13
+ attr_accessor :expires_at
14
+
15
+ # The iframe URL for the Card. Treat this as an opaque URL.
16
+ sig { returns(String) }
17
+ attr_accessor :iframe_url
18
+
19
+ # A constant representing the object's type. For this resource it will always be
20
+ # `card_iframe_url`.
21
+ sig { returns(Increase::CardIframeURL::Type::TaggedSymbol) }
22
+ attr_accessor :type
23
+
24
+ # An object containing the iframe URL for a Card.
25
+ sig do
26
+ params(
27
+ expires_at: Time,
28
+ iframe_url: String,
29
+ type: Increase::CardIframeURL::Type::OrSymbol
30
+ ).returns(T.attached_class)
31
+ end
32
+ def self.new(
33
+ # The time the iframe URL will expire.
34
+ expires_at:,
35
+ # The iframe URL for the Card. Treat this as an opaque URL.
36
+ iframe_url:,
37
+ # A constant representing the object's type. For this resource it will always be
38
+ # `card_iframe_url`.
39
+ type:
40
+ )
41
+ end
42
+
43
+ sig do
44
+ override.returns(
45
+ {
46
+ expires_at: Time,
47
+ iframe_url: String,
48
+ type: Increase::CardIframeURL::Type::TaggedSymbol
49
+ }
50
+ )
51
+ end
52
+ def to_hash
53
+ end
54
+
55
+ # A constant representing the object's type. For this resource it will always be
56
+ # `card_iframe_url`.
57
+ module Type
58
+ extend Increase::Internal::Type::Enum
59
+
60
+ TaggedSymbol =
61
+ T.type_alias { T.all(Symbol, Increase::CardIframeURL::Type) }
62
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
63
+
64
+ CARD_IFRAME_URL =
65
+ T.let(:card_iframe_url, Increase::CardIframeURL::Type::TaggedSymbol)
66
+
67
+ sig do
68
+ override.returns(
69
+ T::Array[Increase::CardIframeURL::Type::TaggedSymbol]
70
+ )
71
+ end
72
+ def self.values
73
+ end
74
+ end
75
+ end
76
+ end
77
+ end
@@ -24,26 +24,6 @@ module Increase
24
24
  sig { returns(Integer) }
25
25
  attr_accessor :amount
26
26
 
27
- # A free-form address field set by the sender.
28
- sig { returns(T.nilable(String)) }
29
- attr_accessor :beneficiary_address_line1
30
-
31
- # A free-form address field set by the sender.
32
- sig { returns(T.nilable(String)) }
33
- attr_accessor :beneficiary_address_line2
34
-
35
- # A free-form address field set by the sender.
36
- sig { returns(T.nilable(String)) }
37
- attr_accessor :beneficiary_address_line3
38
-
39
- # A name set by the sender.
40
- sig { returns(T.nilable(String)) }
41
- attr_accessor :beneficiary_name
42
-
43
- # A free-form reference string set by the sender, to help identify the transfer.
44
- sig { returns(T.nilable(String)) }
45
- attr_accessor :beneficiary_reference
46
-
47
27
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
48
28
  # the inbound wire transfer was created.
49
29
  sig { returns(Time) }
@@ -104,47 +84,6 @@ module Increase
104
84
  sig { returns(T.nilable(String)) }
105
85
  attr_accessor :instruction_identification
106
86
 
107
- # The address of the wire originator, set by the sending bank.
108
- sig { returns(T.nilable(String)) }
109
- attr_accessor :originator_address_line1
110
-
111
- # The address of the wire originator, set by the sending bank.
112
- sig { returns(T.nilable(String)) }
113
- attr_accessor :originator_address_line2
114
-
115
- # The address of the wire originator, set by the sending bank.
116
- sig { returns(T.nilable(String)) }
117
- attr_accessor :originator_address_line3
118
-
119
- # The originator of the wire, set by the sending bank.
120
- sig { returns(T.nilable(String)) }
121
- attr_accessor :originator_name
122
-
123
- # The American Banking Association (ABA) routing number of the bank originating
124
- # the transfer.
125
- sig { returns(T.nilable(String)) }
126
- attr_accessor :originator_routing_number
127
-
128
- # An Increase-created concatenation of the Originator-to-Beneficiary lines.
129
- sig { returns(T.nilable(String)) }
130
- attr_accessor :originator_to_beneficiary_information
131
-
132
- # A free-form message set by the wire originator.
133
- sig { returns(T.nilable(String)) }
134
- attr_accessor :originator_to_beneficiary_information_line1
135
-
136
- # A free-form message set by the wire originator.
137
- sig { returns(T.nilable(String)) }
138
- attr_accessor :originator_to_beneficiary_information_line2
139
-
140
- # A free-form message set by the wire originator.
141
- sig { returns(T.nilable(String)) }
142
- attr_accessor :originator_to_beneficiary_information_line3
143
-
144
- # A free-form message set by the wire originator.
145
- sig { returns(T.nilable(String)) }
146
- attr_accessor :originator_to_beneficiary_information_line4
147
-
148
87
  # Information about the reversal of the inbound wire transfer if it has been
149
88
  # reversed.
150
89
  sig { returns(T.nilable(Increase::InboundWireTransfer::Reversal)) }
@@ -157,10 +96,6 @@ module Increase
157
96
  end
158
97
  attr_writer :reversal
159
98
 
160
- # The sending bank's reference number for the wire transfer.
161
- sig { returns(T.nilable(String)) }
162
- attr_accessor :sender_reference
163
-
164
99
  # The status of the transfer.
165
100
  sig { returns(Increase::InboundWireTransfer::Status::TaggedSymbol) }
166
101
  attr_accessor :status
@@ -192,11 +127,6 @@ module Increase
192
127
  account_id: String,
193
128
  account_number_id: String,
194
129
  amount: Integer,
195
- beneficiary_address_line1: T.nilable(String),
196
- beneficiary_address_line2: T.nilable(String),
197
- beneficiary_address_line3: T.nilable(String),
198
- beneficiary_name: T.nilable(String),
199
- beneficiary_reference: T.nilable(String),
200
130
  created_at: Time,
201
131
  creditor_address_line1: T.nilable(String),
202
132
  creditor_address_line2: T.nilable(String),
@@ -211,18 +141,7 @@ module Increase
211
141
  input_message_accountability_data: T.nilable(String),
212
142
  instructing_agent_routing_number: T.nilable(String),
213
143
  instruction_identification: T.nilable(String),
214
- originator_address_line1: T.nilable(String),
215
- originator_address_line2: T.nilable(String),
216
- originator_address_line3: T.nilable(String),
217
- originator_name: T.nilable(String),
218
- originator_routing_number: T.nilable(String),
219
- originator_to_beneficiary_information: T.nilable(String),
220
- originator_to_beneficiary_information_line1: T.nilable(String),
221
- originator_to_beneficiary_information_line2: T.nilable(String),
222
- originator_to_beneficiary_information_line3: T.nilable(String),
223
- originator_to_beneficiary_information_line4: T.nilable(String),
224
144
  reversal: T.nilable(Increase::InboundWireTransfer::Reversal::OrHash),
225
- sender_reference: T.nilable(String),
226
145
  status: Increase::InboundWireTransfer::Status::OrSymbol,
227
146
  type: Increase::InboundWireTransfer::Type::OrSymbol,
228
147
  unique_end_to_end_transaction_reference: T.nilable(String),
@@ -239,16 +158,6 @@ module Increase
239
158
  account_number_id:,
240
159
  # The amount in USD cents.
241
160
  amount:,
242
- # A free-form address field set by the sender.
243
- beneficiary_address_line1:,
244
- # A free-form address field set by the sender.
245
- beneficiary_address_line2:,
246
- # A free-form address field set by the sender.
247
- beneficiary_address_line3:,
248
- # A name set by the sender.
249
- beneficiary_name:,
250
- # A free-form reference string set by the sender, to help identify the transfer.
251
- beneficiary_reference:,
252
161
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
253
162
  # the inbound wire transfer was created.
254
163
  created_at:,
@@ -281,32 +190,9 @@ module Increase
281
190
  instructing_agent_routing_number:,
282
191
  # The sending bank's identifier for the wire transfer.
283
192
  instruction_identification:,
284
- # The address of the wire originator, set by the sending bank.
285
- originator_address_line1:,
286
- # The address of the wire originator, set by the sending bank.
287
- originator_address_line2:,
288
- # The address of the wire originator, set by the sending bank.
289
- originator_address_line3:,
290
- # The originator of the wire, set by the sending bank.
291
- originator_name:,
292
- # The American Banking Association (ABA) routing number of the bank originating
293
- # the transfer.
294
- originator_routing_number:,
295
- # An Increase-created concatenation of the Originator-to-Beneficiary lines.
296
- originator_to_beneficiary_information:,
297
- # A free-form message set by the wire originator.
298
- originator_to_beneficiary_information_line1:,
299
- # A free-form message set by the wire originator.
300
- originator_to_beneficiary_information_line2:,
301
- # A free-form message set by the wire originator.
302
- originator_to_beneficiary_information_line3:,
303
- # A free-form message set by the wire originator.
304
- originator_to_beneficiary_information_line4:,
305
193
  # Information about the reversal of the inbound wire transfer if it has been
306
194
  # reversed.
307
195
  reversal:,
308
- # The sending bank's reference number for the wire transfer.
309
- sender_reference:,
310
196
  # The status of the transfer.
311
197
  status:,
312
198
  # A constant representing the object's type. For this resource it will always be
@@ -330,11 +216,6 @@ module Increase
330
216
  account_id: String,
331
217
  account_number_id: String,
332
218
  amount: Integer,
333
- beneficiary_address_line1: T.nilable(String),
334
- beneficiary_address_line2: T.nilable(String),
335
- beneficiary_address_line3: T.nilable(String),
336
- beneficiary_name: T.nilable(String),
337
- beneficiary_reference: T.nilable(String),
338
219
  created_at: Time,
339
220
  creditor_address_line1: T.nilable(String),
340
221
  creditor_address_line2: T.nilable(String),
@@ -349,18 +230,7 @@ module Increase
349
230
  input_message_accountability_data: T.nilable(String),
350
231
  instructing_agent_routing_number: T.nilable(String),
351
232
  instruction_identification: T.nilable(String),
352
- originator_address_line1: T.nilable(String),
353
- originator_address_line2: T.nilable(String),
354
- originator_address_line3: T.nilable(String),
355
- originator_name: T.nilable(String),
356
- originator_routing_number: T.nilable(String),
357
- originator_to_beneficiary_information: T.nilable(String),
358
- originator_to_beneficiary_information_line1: T.nilable(String),
359
- originator_to_beneficiary_information_line2: T.nilable(String),
360
- originator_to_beneficiary_information_line3: T.nilable(String),
361
- originator_to_beneficiary_information_line4: T.nilable(String),
362
233
  reversal: T.nilable(Increase::InboundWireTransfer::Reversal),
363
- sender_reference: T.nilable(String),
364
234
  status: Increase::InboundWireTransfer::Status::TaggedSymbol,
365
235
  type: Increase::InboundWireTransfer::Type::TaggedSymbol,
366
236
  unique_end_to_end_transaction_reference: T.nilable(String),
@@ -104,6 +104,9 @@ module Increase
104
104
 
105
105
  Card = Increase::Models::Card
106
106
 
107
+ CardCreateDetailsIframeParams =
108
+ Increase::Models::CardCreateDetailsIframeParams
109
+
107
110
  CardCreateParams = Increase::Models::CardCreateParams
108
111
 
109
112
  CardDetails = Increase::Models::CardDetails
@@ -118,6 +121,8 @@ module Increase
118
121
 
119
122
  CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
120
123
 
124
+ CardIframeURL = Increase::Models::CardIframeURL
125
+
121
126
  CardListParams = Increase::Models::CardListParams
122
127
 
123
128
  CardPayment = Increase::Models::CardPayment
@@ -111,7 +111,27 @@ module Increase
111
111
  )
112
112
  end
113
113
 
114
- # Retrieve sensitive details for a Card
114
+ # Create an iframe URL for a Card to display the card details. More details about
115
+ # styling and usage can be found in the
116
+ # [documentation](/documentation/embedded-card-component).
117
+ sig do
118
+ params(
119
+ card_id: String,
120
+ physical_card_id: String,
121
+ request_options: Increase::RequestOptions::OrHash
122
+ ).returns(Increase::CardIframeURL)
123
+ end
124
+ def create_details_iframe(
125
+ # The identifier of the Card to retrieve details for.
126
+ card_id,
127
+ # The identifier of the Physical Card to retrieve details for.
128
+ physical_card_id: nil,
129
+ request_options: {}
130
+ )
131
+ end
132
+
133
+ # Sensitive details for a Card include the primary account number, expiry, card
134
+ # verification code, and PIN.
115
135
  sig do
116
136
  params(
117
137
  card_id: String,
@@ -0,0 +1,26 @@
1
+ module Increase
2
+ module Models
3
+ type card_create_details_iframe_params =
4
+ { physical_card_id: String }
5
+ & Increase::Internal::Type::request_parameters
6
+
7
+ class CardCreateDetailsIframeParams < Increase::Internal::Type::BaseModel
8
+ extend Increase::Internal::Type::RequestParameters::Converter
9
+ include Increase::Internal::Type::RequestParameters
10
+
11
+ attr_reader physical_card_id: String?
12
+
13
+ def physical_card_id=: (String) -> String
14
+
15
+ def initialize: (
16
+ ?physical_card_id: String,
17
+ ?request_options: Increase::request_opts
18
+ ) -> void
19
+
20
+ def to_hash: -> {
21
+ physical_card_id: String,
22
+ request_options: Increase::RequestOptions
23
+ }
24
+ end
25
+ end
26
+ end
@@ -0,0 +1,40 @@
1
+ module Increase
2
+ module Models
3
+ type card_iframe_url =
4
+ {
5
+ expires_at: Time,
6
+ iframe_url: String,
7
+ type: Increase::Models::CardIframeURL::type_
8
+ }
9
+
10
+ class CardIframeURL < Increase::Internal::Type::BaseModel
11
+ attr_accessor expires_at: Time
12
+
13
+ attr_accessor iframe_url: String
14
+
15
+ attr_accessor type: Increase::Models::CardIframeURL::type_
16
+
17
+ def initialize: (
18
+ expires_at: Time,
19
+ iframe_url: String,
20
+ type: Increase::Models::CardIframeURL::type_
21
+ ) -> void
22
+
23
+ def to_hash: -> {
24
+ expires_at: Time,
25
+ iframe_url: String,
26
+ type: Increase::Models::CardIframeURL::type_
27
+ }
28
+
29
+ type type_ = :card_iframe_url
30
+
31
+ module Type
32
+ extend Increase::Internal::Type::Enum
33
+
34
+ CARD_IFRAME_URL: :card_iframe_url
35
+
36
+ def self?.values: -> ::Array[Increase::Models::CardIframeURL::type_]
37
+ end
38
+ end
39
+ end
40
+ end
@@ -6,11 +6,6 @@ module Increase
6
6
  account_id: String,
7
7
  account_number_id: String,
8
8
  amount: Integer,
9
- :beneficiary_address_line1 => String?,
10
- :beneficiary_address_line2 => String?,
11
- :beneficiary_address_line3 => String?,
12
- beneficiary_name: String?,
13
- beneficiary_reference: String?,
14
9
  created_at: Time,
15
10
  :creditor_address_line1 => String?,
16
11
  :creditor_address_line2 => String?,
@@ -25,18 +20,7 @@ module Increase
25
20
  input_message_accountability_data: String?,
26
21
  instructing_agent_routing_number: String?,
27
22
  instruction_identification: String?,
28
- :originator_address_line1 => String?,
29
- :originator_address_line2 => String?,
30
- :originator_address_line3 => String?,
31
- originator_name: String?,
32
- originator_routing_number: String?,
33
- originator_to_beneficiary_information: String?,
34
- :originator_to_beneficiary_information_line1 => String?,
35
- :originator_to_beneficiary_information_line2 => String?,
36
- :originator_to_beneficiary_information_line3 => String?,
37
- :originator_to_beneficiary_information_line4 => String?,
38
23
  reversal: Increase::InboundWireTransfer::Reversal?,
39
- sender_reference: String?,
40
24
  status: Increase::Models::InboundWireTransfer::status,
41
25
  type: Increase::Models::InboundWireTransfer::type_,
42
26
  unique_end_to_end_transaction_reference: String?,
@@ -53,16 +37,6 @@ module Increase
53
37
 
54
38
  attr_accessor amount: Integer
55
39
 
56
- attr_accessor beneficiary_address_line1: String?
57
-
58
- attr_accessor beneficiary_address_line2: String?
59
-
60
- attr_accessor beneficiary_address_line3: String?
61
-
62
- attr_accessor beneficiary_name: String?
63
-
64
- attr_accessor beneficiary_reference: String?
65
-
66
40
  attr_accessor created_at: Time
67
41
 
68
42
  attr_accessor creditor_address_line1: String?
@@ -91,30 +65,8 @@ module Increase
91
65
 
92
66
  attr_accessor instruction_identification: String?
93
67
 
94
- attr_accessor originator_address_line1: String?
95
-
96
- attr_accessor originator_address_line2: String?
97
-
98
- attr_accessor originator_address_line3: String?
99
-
100
- attr_accessor originator_name: String?
101
-
102
- attr_accessor originator_routing_number: String?
103
-
104
- attr_accessor originator_to_beneficiary_information: String?
105
-
106
- attr_accessor originator_to_beneficiary_information_line1: String?
107
-
108
- attr_accessor originator_to_beneficiary_information_line2: String?
109
-
110
- attr_accessor originator_to_beneficiary_information_line3: String?
111
-
112
- attr_accessor originator_to_beneficiary_information_line4: String?
113
-
114
68
  attr_accessor reversal: Increase::InboundWireTransfer::Reversal?
115
69
 
116
- attr_accessor sender_reference: String?
117
-
118
70
  attr_accessor status: Increase::Models::InboundWireTransfer::status
119
71
 
120
72
  attr_accessor type: Increase::Models::InboundWireTransfer::type_
@@ -130,11 +82,6 @@ module Increase
130
82
  account_id: String,
131
83
  account_number_id: String,
132
84
  amount: Integer,
133
- beneficiary_address_line1: String?,
134
- beneficiary_address_line2: String?,
135
- beneficiary_address_line3: String?,
136
- beneficiary_name: String?,
137
- beneficiary_reference: String?,
138
85
  created_at: Time,
139
86
  creditor_address_line1: String?,
140
87
  creditor_address_line2: String?,
@@ -149,18 +96,7 @@ module Increase
149
96
  input_message_accountability_data: String?,
150
97
  instructing_agent_routing_number: String?,
151
98
  instruction_identification: String?,
152
- originator_address_line1: String?,
153
- originator_address_line2: String?,
154
- originator_address_line3: String?,
155
- originator_name: String?,
156
- originator_routing_number: String?,
157
- originator_to_beneficiary_information: String?,
158
- originator_to_beneficiary_information_line1: String?,
159
- originator_to_beneficiary_information_line2: String?,
160
- originator_to_beneficiary_information_line3: String?,
161
- originator_to_beneficiary_information_line4: String?,
162
99
  reversal: Increase::InboundWireTransfer::Reversal?,
163
- sender_reference: String?,
164
100
  status: Increase::Models::InboundWireTransfer::status,
165
101
  type: Increase::Models::InboundWireTransfer::type_,
166
102
  unique_end_to_end_transaction_reference: String?,
@@ -173,11 +109,6 @@ module Increase
173
109
  account_id: String,
174
110
  account_number_id: String,
175
111
  amount: Integer,
176
- :beneficiary_address_line1 => String?,
177
- :beneficiary_address_line2 => String?,
178
- :beneficiary_address_line3 => String?,
179
- beneficiary_name: String?,
180
- beneficiary_reference: String?,
181
112
  created_at: Time,
182
113
  :creditor_address_line1 => String?,
183
114
  :creditor_address_line2 => String?,
@@ -192,18 +123,7 @@ module Increase
192
123
  input_message_accountability_data: String?,
193
124
  instructing_agent_routing_number: String?,
194
125
  instruction_identification: String?,
195
- :originator_address_line1 => String?,
196
- :originator_address_line2 => String?,
197
- :originator_address_line3 => String?,
198
- originator_name: String?,
199
- originator_routing_number: String?,
200
- originator_to_beneficiary_information: String?,
201
- :originator_to_beneficiary_information_line1 => String?,
202
- :originator_to_beneficiary_information_line2 => String?,
203
- :originator_to_beneficiary_information_line3 => String?,
204
- :originator_to_beneficiary_information_line4 => String?,
205
126
  reversal: Increase::InboundWireTransfer::Reversal?,
206
- sender_reference: String?,
207
127
  status: Increase::Models::InboundWireTransfer::status,
208
128
  type: Increase::Models::InboundWireTransfer::type_,
209
129
  unique_end_to_end_transaction_reference: String?,
@@ -91,6 +91,8 @@ module Increase
91
91
 
92
92
  class Card = Increase::Models::Card
93
93
 
94
+ class CardCreateDetailsIframeParams = Increase::Models::CardCreateDetailsIframeParams
95
+
94
96
  class CardCreateParams = Increase::Models::CardCreateParams
95
97
 
96
98
  class CardDetails = Increase::Models::CardDetails
@@ -105,6 +107,8 @@ module Increase
105
107
 
106
108
  class CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
107
109
 
110
+ class CardIframeURL = Increase::Models::CardIframeURL
111
+
108
112
  class CardListParams = Increase::Models::CardListParams
109
113
 
110
114
  class CardPayment = Increase::Models::CardPayment
@@ -35,6 +35,12 @@ module Increase
35
35
  ?request_options: Increase::request_opts
36
36
  ) -> Increase::Internal::Page[Increase::Card]
37
37
 
38
+ def create_details_iframe: (
39
+ String card_id,
40
+ ?physical_card_id: String,
41
+ ?request_options: Increase::request_opts
42
+ ) -> Increase::CardIframeURL
43
+
38
44
  def details: (
39
45
  String card_id,
40
46
  ?request_options: Increase::request_opts
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-19 00:00:00.000000000 Z
11
+ date: 2025-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -102,6 +102,7 @@ files:
102
102
  - lib/increase/models/bookkeeping_entry_set_list_params.rb
103
103
  - lib/increase/models/bookkeeping_entry_set_retrieve_params.rb
104
104
  - lib/increase/models/card.rb
105
+ - lib/increase/models/card_create_details_iframe_params.rb
105
106
  - lib/increase/models/card_create_params.rb
106
107
  - lib/increase/models/card_details.rb
107
108
  - lib/increase/models/card_details_params.rb
@@ -109,6 +110,7 @@ files:
109
110
  - lib/increase/models/card_dispute_create_params.rb
110
111
  - lib/increase/models/card_dispute_list_params.rb
111
112
  - lib/increase/models/card_dispute_retrieve_params.rb
113
+ - lib/increase/models/card_iframe_url.rb
112
114
  - lib/increase/models/card_list_params.rb
113
115
  - lib/increase/models/card_payment.rb
114
116
  - lib/increase/models/card_payment_list_params.rb
@@ -484,6 +486,7 @@ files:
484
486
  - rbi/increase/models/bookkeeping_entry_set_list_params.rbi
485
487
  - rbi/increase/models/bookkeeping_entry_set_retrieve_params.rbi
486
488
  - rbi/increase/models/card.rbi
489
+ - rbi/increase/models/card_create_details_iframe_params.rbi
487
490
  - rbi/increase/models/card_create_params.rbi
488
491
  - rbi/increase/models/card_details.rbi
489
492
  - rbi/increase/models/card_details_params.rbi
@@ -491,6 +494,7 @@ files:
491
494
  - rbi/increase/models/card_dispute_create_params.rbi
492
495
  - rbi/increase/models/card_dispute_list_params.rbi
493
496
  - rbi/increase/models/card_dispute_retrieve_params.rbi
497
+ - rbi/increase/models/card_iframe_url.rbi
494
498
  - rbi/increase/models/card_list_params.rbi
495
499
  - rbi/increase/models/card_payment.rbi
496
500
  - rbi/increase/models/card_payment_list_params.rbi
@@ -865,6 +869,7 @@ files:
865
869
  - sig/increase/models/bookkeeping_entry_set_list_params.rbs
866
870
  - sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs
867
871
  - sig/increase/models/card.rbs
872
+ - sig/increase/models/card_create_details_iframe_params.rbs
868
873
  - sig/increase/models/card_create_params.rbs
869
874
  - sig/increase/models/card_details.rbs
870
875
  - sig/increase/models/card_details_params.rbs
@@ -872,6 +877,7 @@ files:
872
877
  - sig/increase/models/card_dispute_create_params.rbs
873
878
  - sig/increase/models/card_dispute_list_params.rbs
874
879
  - sig/increase/models/card_dispute_retrieve_params.rbs
880
+ - sig/increase/models/card_iframe_url.rbs
875
881
  - sig/increase/models/card_list_params.rbs
876
882
  - sig/increase/models/card_payment.rbs
877
883
  - sig/increase/models/card_payment_list_params.rbs