increase 1.208.0 → 1.210.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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/account_statement.rb +2 -2
  5. data/lib/increase/models/ach_transfer.rb +3 -3
  6. data/lib/increase/models/bookkeeping_balance_lookup.rb +1 -1
  7. data/lib/increase/models/bookkeeping_entry.rb +2 -2
  8. data/lib/increase/models/card_payment.rb +11 -11
  9. data/lib/increase/models/card_push_transfer.rb +1 -1
  10. data/lib/increase/models/digital_card_profile.rb +1 -1
  11. data/lib/increase/models/file_link_create_params.rb +1 -1
  12. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  13. data/lib/increase/models/inbound_wire_drawdown_request.rb +1 -1
  14. data/lib/increase/models/pending_transaction.rb +2 -2
  15. data/lib/increase/models/physical_card_profile.rb +1 -1
  16. data/lib/increase/models/simulations/card_increment_create_params.rb +2 -2
  17. data/lib/increase/models/simulations/check_deposit_submit_params.rb +38 -1
  18. data/lib/increase/models/transaction.rb +9 -9
  19. data/lib/increase/resources/inbound_mail_items.rb +1 -1
  20. data/lib/increase/resources/simulations/ach_transfers.rb +2 -2
  21. data/lib/increase/resources/simulations/card_increments.rb +1 -1
  22. data/lib/increase/resources/simulations/check_deposits.rb +6 -2
  23. data/lib/increase/resources/simulations/digital_wallet_token_requests.rb +1 -1
  24. data/lib/increase/version.rb +1 -1
  25. data/rbi/increase/models/account_statement.rbi +2 -2
  26. data/rbi/increase/models/ach_transfer.rbi +4 -4
  27. data/rbi/increase/models/bookkeeping_balance_lookup.rbi +1 -1
  28. data/rbi/increase/models/bookkeeping_entry.rbi +2 -2
  29. data/rbi/increase/models/card_payment.rbi +15 -15
  30. data/rbi/increase/models/card_push_transfer.rbi +2 -2
  31. data/rbi/increase/models/digital_card_profile.rbi +2 -2
  32. data/rbi/increase/models/file_link_create_params.rbi +2 -2
  33. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  34. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +2 -2
  35. data/rbi/increase/models/pending_transaction.rbi +3 -3
  36. data/rbi/increase/models/physical_card_profile.rbi +2 -2
  37. data/rbi/increase/models/simulations/card_increment_create_params.rbi +2 -2
  38. data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +86 -4
  39. data/rbi/increase/models/transaction.rbi +12 -12
  40. data/rbi/increase/resources/file_links.rbi +1 -1
  41. data/rbi/increase/resources/inbound_mail_items.rbi +1 -1
  42. data/rbi/increase/resources/simulations/ach_transfers.rbi +2 -2
  43. data/rbi/increase/resources/simulations/card_increments.rbi +1 -1
  44. data/rbi/increase/resources/simulations/check_deposits.rbi +3 -0
  45. data/rbi/increase/resources/simulations/digital_wallet_token_requests.rbi +1 -1
  46. data/sig/increase/models/simulations/check_deposit_submit_params.rbs +45 -3
  47. data/sig/increase/resources/simulations/check_deposits.rbs +1 -0
  48. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d765d1aeb6574bcd88c3612a0c2679d3a15a9205d960b9624a4891367fd4bc6e
4
- data.tar.gz: 46064eb2145fc4a7a0697b0543b279f74e6ad1f63a047d225e0483a3268384aa
3
+ metadata.gz: 867d0e57bbd9462f134f01ee368e927d2ef47f98de9e185c146d4bac5ca03537
4
+ data.tar.gz: 9bf4dcf6858c6c6bb742f1da67d373081fccf95e00ee421ef5a5b2b606f8196a
5
5
  SHA512:
6
- metadata.gz: 5e7740cc256c2379d313596e07cc16c8f63b0258c1d306297b0e7448544ab02983ef8252474d92154630280a4eea634a93696da808a5b370a744fed882a25824
7
- data.tar.gz: b8a53039228c6660494e8a5bd1052ba13c9ea86868678ec3d1351973df213933b1a8ee46a532bc0138334a07b37d3e7b4c2a4166a7b893118acf7a9bd4ff911b
6
+ metadata.gz: 7a383fc41ccfee3bd411b086e1776b02014448192f1d109a2395ec0baa20acd17043b0f1edeb5500a9bbec6db5c914d5db67d50535838b574519c7e972be1c8d
7
+ data.tar.gz: 30469ea7832ed792da43bcb8a67a1ce2f077dfa81776e5d867e10fc01c8f0fb4b6baecdec04dbb7a70a949c054c85ecf825a30291f52de7cbf43e34158077b25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.210.0 (2026-02-18)
4
+
5
+ Full Changelog: [v1.209.0...v1.210.0](https://github.com/Increase/increase-ruby/compare/v1.209.0...v1.210.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([94b287f](https://github.com/Increase/increase-ruby/commit/94b287fcab61f856bc45512b38346d33d943771f))
10
+
11
+ ## 1.209.0 (2026-02-14)
12
+
13
+ Full Changelog: [v1.208.0...v1.209.0](https://github.com/Increase/increase-ruby/compare/v1.208.0...v1.209.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([6d4eb47](https://github.com/Increase/increase-ruby/commit/6d4eb473a5825b70b0acf61e0eaea8dbbb161b16))
18
+
3
19
  ## 1.208.0 (2026-02-10)
4
20
 
5
21
  Full Changelog: [v1.207.0...v1.208.0](https://github.com/Increase/increase-ruby/compare/v1.207.0...v1.208.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.208.0"
18
+ gem "increase", "~> 1.210.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -24,7 +24,7 @@ module Increase
24
24
  required :created_at, Time
25
25
 
26
26
  # @!attribute ending_balance
27
- # The Account's balance at the start of its statement period.
27
+ # The Account's balance at the end of its statement period.
28
28
  #
29
29
  # @return [Integer]
30
30
  required :ending_balance, Integer
@@ -82,7 +82,7 @@ module Increase
82
82
  #
83
83
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
84
84
  #
85
- # @param ending_balance [Integer] The Account's balance at the start of its statement period.
85
+ # @param ending_balance [Integer] The Account's balance at the end of its statement period.
86
86
  #
87
87
  # @param file_id [String] The identifier of the File containing a PDF of the statement.
88
88
  #
@@ -149,7 +149,7 @@ module Increase
149
149
  required :individual_id, String, nil?: true
150
150
 
151
151
  # @!attribute individual_name
152
- # The name of the transfer recipient. This value is information and not verified
152
+ # The name of the transfer recipient. This value is informational and not verified
153
153
  # by the recipient's bank.
154
154
  #
155
155
  # @return [String, nil]
@@ -300,7 +300,7 @@ module Increase
300
300
  #
301
301
  # @param individual_id [String, nil] Your identifier for the transfer recipient.
302
302
  #
303
- # @param individual_name [String, nil] The name of the transfer recipient. This value is information and not verified b
303
+ # @param individual_name [String, nil] The name of the transfer recipient. This value is informational and not verified
304
304
  #
305
305
  # @param network [Symbol, Increase::Models::ACHTransfer::Network] The transfer's network.
306
306
  #
@@ -1371,7 +1371,7 @@ module Increase
1371
1371
 
1372
1372
  # @!attribute expected_funds_settlement_at
1373
1373
  # When the transfer is expected to settle in the recipient's account. Credits may
1374
- # be available sooner, at the receiving banks discretion. The FedACH schedule is
1374
+ # be available sooner, at the receiving bank's discretion. The FedACH schedule is
1375
1375
  # published
1376
1376
  # [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
1377
1377
  #
@@ -28,7 +28,7 @@ module Increase
28
28
  # Some parameter documentations has been truncated, see
29
29
  # {Increase::Models::BookkeepingBalanceLookup} for more details.
30
30
  #
31
- # Represents a request to lookup the balance of an Bookkeeping Account at a given
31
+ # Represents a request to lookup the balance of a Bookkeeping Account at a given
32
32
  # point in time.
33
33
  #
34
34
  # @param balance [Integer] The Bookkeeping Account's current balance, representing the sum of all Bookkeepi
@@ -30,7 +30,7 @@ module Increase
30
30
  required :created_at, Time
31
31
 
32
32
  # @!attribute entry_set_id
33
- # The identifier for the Account the Entry belongs to.
33
+ # The identifier for the Entry Set the Entry belongs to.
34
34
  #
35
35
  # @return [String]
36
36
  required :entry_set_id, String
@@ -58,7 +58,7 @@ module Increase
58
58
  #
59
59
  # @param created_at [Time] When the entry set was created.
60
60
  #
61
- # @param entry_set_id [String] The identifier for the Account the Entry belongs to.
61
+ # @param entry_set_id [String] The identifier for the Entry Set the Entry belongs to.
62
62
  #
63
63
  # @param type [Symbol, Increase::Models::BookkeepingEntry::Type] A constant representing the object's type. For this resource it will always be `
64
64
 
@@ -111,7 +111,7 @@ module Increase
111
111
  # @!attribute card_authorization
112
112
  # A Card Authorization object. This field will be present in the JSON response if
113
113
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
114
- # temporary holds placed on a customers funds with the intent to later clear a
114
+ # temporary holds placed on a customer's funds with the intent to later clear a
115
115
  # transaction.
116
116
  #
117
117
  # @return [Increase::Models::CardPayment::Element::CardAuthorization, nil]
@@ -148,7 +148,7 @@ module Increase
148
148
  # @!attribute card_financial
149
149
  # A Card Financial object. This field will be present in the JSON response if and
150
150
  # only if `category` is equal to `card_financial`. Card Financials are temporary
151
- # holds placed on a customers funds with the intent to later clear a transaction.
151
+ # holds placed on a customer's funds with the intent to later clear a transaction.
152
152
  #
153
153
  # @return [Increase::Models::CardPayment::Element::CardFinancial, nil]
154
154
  optional :card_financial, -> { Increase::CardPayment::Element::CardFinancial }, nil?: true
@@ -177,7 +177,7 @@ module Increase
177
177
  # @!attribute card_refund
178
178
  # A Card Refund object. This field will be present in the JSON response if and
179
179
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
180
- # the cardholder. While they are usually connected to a Card Settlement an
180
+ # the cardholder. While they are usually connected to a Card Settlement, an
181
181
  # acquirer can also refund money directly to a card without relation to a
182
182
  # transaction.
183
183
  #
@@ -891,7 +891,7 @@ module Increase
891
891
  #
892
892
  # A Card Authorization object. This field will be present in the JSON response if
893
893
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
894
- # temporary holds placed on a customers funds with the intent to later clear a
894
+ # temporary holds placed on a customer's funds with the intent to later clear a
895
895
  # transaction.
896
896
  #
897
897
  # @param id [String] The Card Authorization identifier.
@@ -4609,7 +4609,7 @@ module Increase
4609
4609
  #
4610
4610
  # A Card Financial object. This field will be present in the JSON response if and
4611
4611
  # only if `category` is equal to `card_financial`. Card Financials are temporary
4612
- # holds placed on a customers funds with the intent to later clear a transaction.
4612
+ # holds placed on a customer's funds with the intent to later clear a transaction.
4613
4613
  #
4614
4614
  # @param id [String] The Card Financial identifier.
4615
4615
  #
@@ -6489,7 +6489,7 @@ module Increase
6489
6489
  required :currency, enum: -> { Increase::CardPayment::Element::CardRefund::Currency }
6490
6490
 
6491
6491
  # @!attribute interchange
6492
- # Interchange assessed as a part of this transaciton.
6492
+ # Interchange assessed as a part of this transaction.
6493
6493
  #
6494
6494
  # @return [Increase::Models::CardPayment::Element::CardRefund::Interchange, nil]
6495
6495
  required :interchange, -> { Increase::CardPayment::Element::CardRefund::Interchange }, nil?: true
@@ -6586,7 +6586,7 @@ module Increase
6586
6586
  #
6587
6587
  # A Card Refund object. This field will be present in the JSON response if and
6588
6588
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
6589
- # the cardholder. While they are usually connected to a Card Settlement an
6589
+ # the cardholder. While they are usually connected to a Card Settlement, an
6590
6590
  # acquirer can also refund money directly to a card without relation to a
6591
6591
  # transaction.
6592
6592
  #
@@ -6600,7 +6600,7 @@ module Increase
6600
6600
  #
6601
6601
  # @param currency [Symbol, Increase::Models::CardPayment::Element::CardRefund::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
6602
6602
  #
6603
- # @param interchange [Increase::Models::CardPayment::Element::CardRefund::Interchange, nil] Interchange assessed as a part of this transaciton.
6603
+ # @param interchange [Increase::Models::CardPayment::Element::CardRefund::Interchange, nil] Interchange assessed as a part of this transaction.
6604
6604
  #
6605
6605
  # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
6606
6606
  #
@@ -6712,7 +6712,7 @@ module Increase
6712
6712
  # {Increase::Models::CardPayment::Element::CardRefund::Interchange} for more
6713
6713
  # details.
6714
6714
  #
6715
- # Interchange assessed as a part of this transaciton.
6715
+ # Interchange assessed as a part of this transaction.
6716
6716
  #
6717
6717
  # @param amount [String] The interchange amount given as a string containing a decimal number in major un
6718
6718
  #
@@ -8212,7 +8212,7 @@ module Increase
8212
8212
 
8213
8213
  # @!attribute surcharge
8214
8214
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
8215
- # is added to to the overall transaction amount (surcharge), and negative if the
8215
+ # is added to the overall transaction amount (surcharge), and negative if the
8216
8216
  # surcharge is deducted from the overall transaction amount (discount).
8217
8217
  #
8218
8218
  # @return [Increase::Models::CardPayment::Element::CardSettlement::Surcharge, nil]
@@ -9452,7 +9452,7 @@ module Increase
9452
9452
  # details.
9453
9453
  #
9454
9454
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
9455
- # is added to to the overall transaction amount (surcharge), and negative if the
9455
+ # is added to the overall transaction amount (surcharge), and negative if the
9456
9456
  # surcharge is deducted from the overall transaction amount (discount).
9457
9457
  #
9458
9458
  # @param amount [Integer] The surcharge amount in the minor unit of the transaction's settlement currency.
@@ -1269,7 +1269,7 @@ module Increase
1269
1269
 
1270
1270
  # @!attribute submitted_at
1271
1271
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1272
- # the transfer was submitted to card network.
1272
+ # the transfer was submitted to the card network.
1273
1273
  #
1274
1274
  # @return [Time]
1275
1275
  required :submitted_at, Time
@@ -48,7 +48,7 @@ module Increase
48
48
 
49
49
  # @!attribute created_at
50
50
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
51
- # the Card Dispute was created.
51
+ # the Digital Card Profile was created.
52
52
  #
53
53
  # @return [Time]
54
54
  required :created_at, Time
@@ -15,7 +15,7 @@ module Increase
15
15
 
16
16
  # @!attribute expires_at
17
17
  # The time at which the File Link will expire. The default is 1 hour from the time
18
- # of the request. The maxiumum is 1 day from the time of the request.
18
+ # of the request. The maximum is 1 day from the time of the request.
19
19
  #
20
20
  # @return [Time, nil]
21
21
  optional :expires_at, Time
@@ -886,7 +886,7 @@ module Increase
886
886
  required :updated_account_number, String, nil?: true
887
887
 
888
888
  # @!attribute updated_routing_number
889
- # The new account number provided in the notification of change.
889
+ # The new routing number provided in the notification of change.
890
890
  #
891
891
  # @return [String, nil]
892
892
  required :updated_routing_number, String, nil?: true
@@ -897,7 +897,7 @@ module Increase
897
897
  #
898
898
  # @param updated_account_number [String, nil] The new account number provided in the notification of change.
899
899
  #
900
- # @param updated_routing_number [String, nil] The new account number provided in the notification of change.
900
+ # @param updated_routing_number [String, nil] The new routing number provided in the notification of change.
901
901
  end
902
902
 
903
903
  # @see Increase::Models::InboundACHTransfer#settlement
@@ -18,7 +18,7 @@ module Increase
18
18
 
19
19
  # @!attribute created_at
20
20
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
21
- # the inbound wire drawdown requested was created.
21
+ # the inbound wire drawdown request was created.
22
22
  #
23
23
  # @return [Time]
24
24
  required :created_at, Time
@@ -215,7 +215,7 @@ module Increase
215
215
  # @!attribute card_authorization
216
216
  # A Card Authorization object. This field will be present in the JSON response if
217
217
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
218
- # temporary holds placed on a customers funds with the intent to later clear a
218
+ # temporary holds placed on a customer's funds with the intent to later clear a
219
219
  # transaction.
220
220
  #
221
221
  # @return [Increase::Models::PendingTransaction::Source::CardAuthorization, nil]
@@ -770,7 +770,7 @@ module Increase
770
770
  #
771
771
  # A Card Authorization object. This field will be present in the JSON response if
772
772
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
773
- # temporary holds placed on a customers funds with the intent to later clear a
773
+ # temporary holds placed on a customer's funds with the intent to later clear a
774
774
  # transaction.
775
775
  #
776
776
  # @param id [String] The Card Authorization identifier.
@@ -32,7 +32,7 @@ module Increase
32
32
 
33
33
  # @!attribute created_at
34
34
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
35
- # the Card Dispute was created.
35
+ # the Physical Card Profile was created.
36
36
  #
37
37
  # @return [Time]
38
38
  required :created_at, Time
@@ -15,7 +15,7 @@ module Increase
15
15
  required :amount, Integer
16
16
 
17
17
  # @!attribute card_payment_id
18
- # The identifier of the Card Payment to create a increment on.
18
+ # The identifier of the Card Payment to create an increment on.
19
19
  #
20
20
  # @return [String]
21
21
  required :card_payment_id, String
@@ -35,7 +35,7 @@ module Increase
35
35
  #
36
36
  # @param amount [Integer] The amount of the increment in minor units in the card authorization's currency.
37
37
  #
38
- # @param card_payment_id [String] The identifier of the Card Payment to create a increment on.
38
+ # @param card_payment_id [String] The identifier of the Card Payment to create an increment on.
39
39
  #
40
40
  # @param event_subscription_id [String] The identifier of the Event Subscription to use. If provided, will override the
41
41
  #
@@ -8,8 +8,45 @@ module Increase
8
8
  extend Increase::Internal::Type::RequestParameters::Converter
9
9
  include Increase::Internal::Type::RequestParameters
10
10
 
11
- # @!method initialize(request_options: {})
11
+ # @!attribute scan
12
+ # If set, the simulation will use these values for the check's scanned MICR data.
13
+ #
14
+ # @return [Increase::Models::Simulations::CheckDepositSubmitParams::Scan, nil]
15
+ optional :scan, -> { Increase::Simulations::CheckDepositSubmitParams::Scan }
16
+
17
+ # @!method initialize(scan: nil, request_options: {})
18
+ # @param scan [Increase::Models::Simulations::CheckDepositSubmitParams::Scan] If set, the simulation will use these values for the check's scanned MICR data.
19
+ #
12
20
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
21
+
22
+ class Scan < Increase::Internal::Type::BaseModel
23
+ # @!attribute account_number
24
+ # The account number to be returned in the check deposit's scan data.
25
+ #
26
+ # @return [String]
27
+ required :account_number, String
28
+
29
+ # @!attribute routing_number
30
+ # The routing number to be returned in the check deposit's scan data.
31
+ #
32
+ # @return [String]
33
+ required :routing_number, String
34
+
35
+ # @!attribute auxiliary_on_us
36
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
37
+ #
38
+ # @return [String, nil]
39
+ optional :auxiliary_on_us, String
40
+
41
+ # @!method initialize(account_number:, routing_number:, auxiliary_on_us: nil)
42
+ # If set, the simulation will use these values for the check's scanned MICR data.
43
+ #
44
+ # @param account_number [String] The account number to be returned in the check deposit's scan data.
45
+ #
46
+ # @param routing_number [String] The routing number to be returned in the check deposit's scan data.
47
+ #
48
+ # @param auxiliary_on_us [String] The auxiliary on-us data to be returned in the check deposit's scan data.
49
+ end
13
50
  end
14
51
  end
15
52
  end
@@ -262,7 +262,7 @@ module Increase
262
262
  # @!attribute card_financial
263
263
  # A Card Financial object. This field will be present in the JSON response if and
264
264
  # only if `category` is equal to `card_financial`. Card Financials are temporary
265
- # holds placed on a customers funds with the intent to later clear a transaction.
265
+ # holds placed on a customer's funds with the intent to later clear a transaction.
266
266
  #
267
267
  # @return [Increase::Models::Transaction::Source::CardFinancial, nil]
268
268
  optional :card_financial, -> { Increase::Transaction::Source::CardFinancial }, nil?: true
@@ -281,7 +281,7 @@ module Increase
281
281
  # @!attribute card_refund
282
282
  # A Card Refund object. This field will be present in the JSON response if and
283
283
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
284
- # the cardholder. While they are usually connected to a Card Settlement an
284
+ # the cardholder. While they are usually connected to a Card Settlement, an
285
285
  # acquirer can also refund money directly to a card without relation to a
286
286
  # transaction.
287
287
  #
@@ -1644,7 +1644,7 @@ module Increase
1644
1644
  #
1645
1645
  # A Card Financial object. This field will be present in the JSON response if and
1646
1646
  # only if `category` is equal to `card_financial`. Card Financials are temporary
1647
- # holds placed on a customers funds with the intent to later clear a transaction.
1647
+ # holds placed on a customer's funds with the intent to later clear a transaction.
1648
1648
  #
1649
1649
  # @param id [String] The Card Financial identifier.
1650
1650
  #
@@ -2724,7 +2724,7 @@ module Increase
2724
2724
  required :currency, enum: -> { Increase::Transaction::Source::CardRefund::Currency }
2725
2725
 
2726
2726
  # @!attribute interchange
2727
- # Interchange assessed as a part of this transaciton.
2727
+ # Interchange assessed as a part of this transaction.
2728
2728
  #
2729
2729
  # @return [Increase::Models::Transaction::Source::CardRefund::Interchange, nil]
2730
2730
  required :interchange, -> { Increase::Transaction::Source::CardRefund::Interchange }, nil?: true
@@ -2821,7 +2821,7 @@ module Increase
2821
2821
  #
2822
2822
  # A Card Refund object. This field will be present in the JSON response if and
2823
2823
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
2824
- # the cardholder. While they are usually connected to a Card Settlement an
2824
+ # the cardholder. While they are usually connected to a Card Settlement, an
2825
2825
  # acquirer can also refund money directly to a card without relation to a
2826
2826
  # transaction.
2827
2827
  #
@@ -2835,7 +2835,7 @@ module Increase
2835
2835
  #
2836
2836
  # @param currency [Symbol, Increase::Models::Transaction::Source::CardRefund::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction'
2837
2837
  #
2838
- # @param interchange [Increase::Models::Transaction::Source::CardRefund::Interchange, nil] Interchange assessed as a part of this transaciton.
2838
+ # @param interchange [Increase::Models::Transaction::Source::CardRefund::Interchange, nil] Interchange assessed as a part of this transaction.
2839
2839
  #
2840
2840
  # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i
2841
2841
  #
@@ -2947,7 +2947,7 @@ module Increase
2947
2947
  # {Increase::Models::Transaction::Source::CardRefund::Interchange} for more
2948
2948
  # details.
2949
2949
  #
2950
- # Interchange assessed as a part of this transaciton.
2950
+ # Interchange assessed as a part of this transaction.
2951
2951
  #
2952
2952
  # @param amount [String] The interchange amount given as a string containing a decimal number in major un
2953
2953
  #
@@ -4206,7 +4206,7 @@ module Increase
4206
4206
 
4207
4207
  # @!attribute surcharge
4208
4208
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
4209
- # is added to to the overall transaction amount (surcharge), and negative if the
4209
+ # is added to the overall transaction amount (surcharge), and negative if the
4210
4210
  # surcharge is deducted from the overall transaction amount (discount).
4211
4211
  #
4212
4212
  # @return [Increase::Models::Transaction::Source::CardSettlement::Surcharge, nil]
@@ -5446,7 +5446,7 @@ module Increase
5446
5446
  # details.
5447
5447
  #
5448
5448
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
5449
- # is added to to the overall transaction amount (surcharge), and negative if the
5449
+ # is added to the overall transaction amount (surcharge), and negative if the
5450
5450
  # surcharge is deducted from the overall transaction amount (discount).
5451
5451
  #
5452
5452
  # @param amount [Integer] The surcharge amount in the minor unit of the transaction's settlement currency.
@@ -55,7 +55,7 @@ module Increase
55
55
  )
56
56
  end
57
57
 
58
- # Action a Inbound Mail Item
58
+ # Action an Inbound Mail Item
59
59
  #
60
60
  # @overload action(inbound_mail_item_id, checks:, request_options: {})
61
61
  #
@@ -5,10 +5,10 @@ module Increase
5
5
  class Simulations
6
6
  class ACHTransfers
7
7
  # Simulates the acknowledgement of an [ACH Transfer](#ach-transfers) by the
8
- # Federal Reserve. This transfer must first have a `status` of `submitted` . In
8
+ # Federal Reserve. This transfer must first have a `status` of `submitted`. In
9
9
  # production, the Federal Reserve generally acknowledges submitted ACH files
10
10
  # within 30 minutes. Since sandbox ACH Transfers are not submitted to the Federal
11
- # Reserve, this endpoint allows you to skip that delay and add the acknowledgment
11
+ # Reserve, this endpoint allows you to skip that delay and add the acknowledgement
12
12
  # subresource to the ACH Transfer.
13
13
  #
14
14
  # @overload acknowledge(ach_transfer_id, request_options: {})
@@ -14,7 +14,7 @@ module Increase
14
14
  #
15
15
  # @param amount [Integer] The amount of the increment in minor units in the card authorization's currency.
16
16
  #
17
- # @param card_payment_id [String] The identifier of the Card Payment to create a increment on.
17
+ # @param card_payment_id [String] The identifier of the Card Payment to create an increment on.
18
18
  #
19
19
  # @param event_subscription_id [String] The identifier of the Event Subscription to use. If provided, will override the
20
20
  #
@@ -50,21 +50,25 @@ module Increase
50
50
  # Simulates the submission of a [Check Deposit](#check-deposits) to the Federal
51
51
  # Reserve. This Check Deposit must first have a `status` of `pending`.
52
52
  #
53
- # @overload submit(check_deposit_id, request_options: {})
53
+ # @overload submit(check_deposit_id, scan: nil, request_options: {})
54
54
  #
55
55
  # @param check_deposit_id [String] The identifier of the Check Deposit you wish to submit.
56
56
  #
57
+ # @param scan [Increase::Models::Simulations::CheckDepositSubmitParams::Scan] If set, the simulation will use these values for the check's scanned MICR data.
58
+ #
57
59
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
58
60
  #
59
61
  # @return [Increase::Models::CheckDeposit]
60
62
  #
61
63
  # @see Increase::Models::Simulations::CheckDepositSubmitParams
62
64
  def submit(check_deposit_id, params = {})
65
+ parsed, options = Increase::Simulations::CheckDepositSubmitParams.dump_request(params)
63
66
  @client.request(
64
67
  method: :post,
65
68
  path: ["simulations/check_deposits/%1$s/submit", check_deposit_id],
69
+ body: parsed,
66
70
  model: Increase::CheckDeposit,
67
- options: params[:request_options]
71
+ options: options
68
72
  )
69
73
  end
70
74
 
@@ -4,7 +4,7 @@ module Increase
4
4
  module Resources
5
5
  class Simulations
6
6
  class DigitalWalletTokenRequests
7
- # Simulates a user attempting add a [Card](#cards) to a digital wallet such as
7
+ # Simulates a user attempting to add a [Card](#cards) to a digital wallet such as
8
8
  # Apple Pay.
9
9
  #
10
10
  # @overload create(card_id:, request_options: {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.208.0"
4
+ VERSION = "1.210.0"
5
5
  end
@@ -21,7 +21,7 @@ module Increase
21
21
  sig { returns(Time) }
22
22
  attr_accessor :created_at
23
23
 
24
- # The Account's balance at the start of its statement period.
24
+ # The Account's balance at the end of its statement period.
25
25
  sig { returns(Integer) }
26
26
  attr_accessor :ending_balance
27
27
 
@@ -82,7 +82,7 @@ module Increase
82
82
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
83
83
  # Statement was created.
84
84
  created_at:,
85
- # The Account's balance at the start of its statement period.
85
+ # The Account's balance at the end of its statement period.
86
86
  ending_balance:,
87
87
  # The identifier of the File containing a PDF of the statement.
88
88
  file_id:,
@@ -152,7 +152,7 @@ module Increase
152
152
  sig { returns(T.nilable(String)) }
153
153
  attr_accessor :individual_id
154
154
 
155
- # The name of the transfer recipient. This value is information and not verified
155
+ # The name of the transfer recipient. This value is informational and not verified
156
156
  # by the recipient's bank.
157
157
  sig { returns(T.nilable(String)) }
158
158
  attr_accessor :individual_name
@@ -358,7 +358,7 @@ module Increase
358
358
  inbound_funds_hold:,
359
359
  # Your identifier for the transfer recipient.
360
360
  individual_id:,
361
- # The name of the transfer recipient. This value is information and not verified
361
+ # The name of the transfer recipient. This value is informational and not verified
362
362
  # by the recipient's bank.
363
363
  individual_name:,
364
364
  # The transfer's network.
@@ -2485,7 +2485,7 @@ module Increase
2485
2485
  attr_accessor :effective_date
2486
2486
 
2487
2487
  # When the transfer is expected to settle in the recipient's account. Credits may
2488
- # be available sooner, at the receiving banks discretion. The FedACH schedule is
2488
+ # be available sooner, at the receiving bank's discretion. The FedACH schedule is
2489
2489
  # published
2490
2490
  # [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
2491
2491
  sig { returns(Time) }
@@ -2543,7 +2543,7 @@ module Increase
2543
2543
  # settlement schedule) at the time the transfer was submitted.
2544
2544
  effective_date:,
2545
2545
  # When the transfer is expected to settle in the recipient's account. Credits may
2546
- # be available sooner, at the receiving banks discretion. The FedACH schedule is
2546
+ # be available sooner, at the receiving bank's discretion. The FedACH schedule is
2547
2547
  # published
2548
2548
  # [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
2549
2549
  expected_funds_settlement_at:,
@@ -22,7 +22,7 @@ module Increase
22
22
  sig { returns(Increase::BookkeepingBalanceLookup::Type::TaggedSymbol) }
23
23
  attr_accessor :type
24
24
 
25
- # Represents a request to lookup the balance of an Bookkeeping Account at a given
25
+ # Represents a request to lookup the balance of a Bookkeeping Account at a given
26
26
  # point in time.
27
27
  sig do
28
28
  params(
@@ -25,7 +25,7 @@ module Increase
25
25
  sig { returns(Time) }
26
26
  attr_accessor :created_at
27
27
 
28
- # The identifier for the Account the Entry belongs to.
28
+ # The identifier for the Entry Set the Entry belongs to.
29
29
  sig { returns(String) }
30
30
  attr_accessor :entry_set_id
31
31
 
@@ -57,7 +57,7 @@ module Increase
57
57
  amount:,
58
58
  # When the entry set was created.
59
59
  created_at:,
60
- # The identifier for the Account the Entry belongs to.
60
+ # The identifier for the Entry Set the Entry belongs to.
61
61
  entry_set_id:,
62
62
  # A constant representing the object's type. For this resource it will always be
63
63
  # `bookkeeping_entry`.