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
@@ -142,7 +142,7 @@ module Increase
142
142
 
143
143
  # A Card Authorization object. This field will be present in the JSON response if
144
144
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
145
- # temporary holds placed on a customers funds with the intent to later clear a
145
+ # temporary holds placed on a customer's funds with the intent to later clear a
146
146
  # transaction.
147
147
  sig do
148
148
  returns(T.nilable(Increase::CardPayment::Element::CardAuthorization))
@@ -217,7 +217,7 @@ module Increase
217
217
 
218
218
  # A Card Financial object. This field will be present in the JSON response if and
219
219
  # only if `category` is equal to `card_financial`. Card Financials are temporary
220
- # holds placed on a customers funds with the intent to later clear a transaction.
220
+ # holds placed on a customer's funds with the intent to later clear a transaction.
221
221
  sig do
222
222
  returns(T.nilable(Increase::CardPayment::Element::CardFinancial))
223
223
  end
@@ -270,7 +270,7 @@ module Increase
270
270
 
271
271
  # A Card Refund object. This field will be present in the JSON response if and
272
272
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
273
- # the cardholder. While they are usually connected to a Card Settlement an
273
+ # the cardholder. While they are usually connected to a Card Settlement, an
274
274
  # acquirer can also refund money directly to a card without relation to a
275
275
  # transaction.
276
276
  sig { returns(T.nilable(Increase::CardPayment::Element::CardRefund)) }
@@ -399,7 +399,7 @@ module Increase
399
399
  card_authentication: nil,
400
400
  # A Card Authorization object. This field will be present in the JSON response if
401
401
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
402
- # temporary holds placed on a customers funds with the intent to later clear a
402
+ # temporary holds placed on a customer's funds with the intent to later clear a
403
403
  # transaction.
404
404
  card_authorization: nil,
405
405
  # A Card Authorization Expiration object. This field will be present in the JSON
@@ -418,7 +418,7 @@ module Increase
418
418
  card_decline: nil,
419
419
  # A Card Financial object. This field will be present in the JSON response if and
420
420
  # only if `category` is equal to `card_financial`. Card Financials are temporary
421
- # holds placed on a customers funds with the intent to later clear a transaction.
421
+ # holds placed on a customer's funds with the intent to later clear a transaction.
422
422
  card_financial: nil,
423
423
  # A Card Fuel Confirmation object. This field will be present in the JSON response
424
424
  # if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel
@@ -431,7 +431,7 @@ module Increase
431
431
  card_increment: nil,
432
432
  # A Card Refund object. This field will be present in the JSON response if and
433
433
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
434
- # the cardholder. While they are usually connected to a Card Settlement an
434
+ # the cardholder. While they are usually connected to a Card Settlement, an
435
435
  # acquirer can also refund money directly to a card without relation to a
436
436
  # transaction.
437
437
  card_refund: nil,
@@ -1554,7 +1554,7 @@ module Increase
1554
1554
 
1555
1555
  # A Card Authorization object. This field will be present in the JSON response if
1556
1556
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
1557
- # temporary holds placed on a customers funds with the intent to later clear a
1557
+ # temporary holds placed on a customer's funds with the intent to later clear a
1558
1558
  # transaction.
1559
1559
  sig do
1560
1560
  params(
@@ -8713,7 +8713,7 @@ module Increase
8713
8713
 
8714
8714
  # A Card Financial object. This field will be present in the JSON response if and
8715
8715
  # only if `category` is equal to `card_financial`. Card Financials are temporary
8716
- # holds placed on a customers funds with the intent to later clear a transaction.
8716
+ # holds placed on a customer's funds with the intent to later clear a transaction.
8717
8717
  sig do
8718
8718
  params(
8719
8719
  id: String,
@@ -12381,7 +12381,7 @@ module Increase
12381
12381
  end
12382
12382
  attr_accessor :currency
12383
12383
 
12384
- # Interchange assessed as a part of this transaciton.
12384
+ # Interchange assessed as a part of this transaction.
12385
12385
  sig do
12386
12386
  returns(
12387
12387
  T.nilable(Increase::CardPayment::Element::CardRefund::Interchange)
@@ -12489,7 +12489,7 @@ module Increase
12489
12489
 
12490
12490
  # A Card Refund object. This field will be present in the JSON response if and
12491
12491
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
12492
- # the cardholder. While they are usually connected to a Card Settlement an
12492
+ # the cardholder. While they are usually connected to a Card Settlement, an
12493
12493
  # acquirer can also refund money directly to a card without relation to a
12494
12494
  # transaction.
12495
12495
  sig do
@@ -12540,7 +12540,7 @@ module Increase
12540
12540
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
12541
12541
  # transaction's settlement currency.
12542
12542
  currency:,
12543
- # Interchange assessed as a part of this transaciton.
12543
+ # Interchange assessed as a part of this transaction.
12544
12544
  interchange:,
12545
12545
  # The merchant identifier (commonly abbreviated as MID) of the merchant the card
12546
12546
  # is transacting with.
@@ -12762,7 +12762,7 @@ module Increase
12762
12762
  end
12763
12763
  attr_accessor :currency
12764
12764
 
12765
- # Interchange assessed as a part of this transaciton.
12765
+ # Interchange assessed as a part of this transaction.
12766
12766
  sig do
12767
12767
  params(
12768
12768
  amount: String,
@@ -15311,7 +15311,7 @@ module Increase
15311
15311
  attr_writer :purchase_details
15312
15312
 
15313
15313
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
15314
- # is added to to the overall transaction amount (surcharge), and negative if the
15314
+ # is added to the overall transaction amount (surcharge), and negative if the
15315
15315
  # surcharge is deducted from the overall transaction amount (discount).
15316
15316
  sig do
15317
15317
  returns(
@@ -15442,7 +15442,7 @@ module Increase
15442
15442
  # fields.
15443
15443
  purchase_details:,
15444
15444
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
15445
- # is added to to the overall transaction amount (surcharge), and negative if the
15445
+ # is added to the overall transaction amount (surcharge), and negative if the
15446
15446
  # surcharge is deducted from the overall transaction amount (discount).
15447
15447
  surcharge:,
15448
15448
  # The identifier of the Transaction associated with this Transaction.
@@ -17573,7 +17573,7 @@ module Increase
17573
17573
  attr_accessor :presentment_amount
17574
17574
 
17575
17575
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
17576
- # is added to to the overall transaction amount (surcharge), and negative if the
17576
+ # is added to the overall transaction amount (surcharge), and negative if the
17577
17577
  # surcharge is deducted from the overall transaction amount (discount).
17578
17578
  sig do
17579
17579
  params(amount: Integer, presentment_amount: Integer).returns(
@@ -2547,7 +2547,7 @@ module Increase
2547
2547
  attr_accessor :sender_reference
2548
2548
 
2549
2549
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
2550
- # the transfer was submitted to card network.
2550
+ # the transfer was submitted to the card network.
2551
2551
  sig { returns(Time) }
2552
2552
  attr_accessor :submitted_at
2553
2553
 
@@ -2573,7 +2573,7 @@ module Increase
2573
2573
  # A unique reference for the transfer.
2574
2574
  sender_reference:,
2575
2575
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
2576
- # the transfer was submitted to card network.
2576
+ # the transfer was submitted to the card network.
2577
2577
  submitted_at:,
2578
2578
  # A 6-digit trace number that identifies the transfer within a small window of
2579
2579
  # time.
@@ -37,7 +37,7 @@ module Increase
37
37
  attr_accessor :contact_website
38
38
 
39
39
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
40
- # the Card Dispute was created.
40
+ # the Digital Card Profile was created.
41
41
  sig { returns(Time) }
42
42
  attr_accessor :created_at
43
43
 
@@ -110,7 +110,7 @@ module Increase
110
110
  # A website the user can visit to view and receive support for their card.
111
111
  contact_website:,
112
112
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
113
- # the Card Dispute was created.
113
+ # the Digital Card Profile was created.
114
114
  created_at:,
115
115
  # A description you can use to identify the Card Profile.
116
116
  description:,
@@ -16,7 +16,7 @@ module Increase
16
16
  attr_accessor :file_id
17
17
 
18
18
  # The time at which the File Link will expire. The default is 1 hour from the time
19
- # of the request. The maxiumum is 1 day from the time of the request.
19
+ # of the request. The maximum is 1 day from the time of the request.
20
20
  sig { returns(T.nilable(Time)) }
21
21
  attr_reader :expires_at
22
22
 
@@ -34,7 +34,7 @@ module Increase
34
34
  # The File to create a File Link for.
35
35
  file_id:,
36
36
  # The time at which the File Link will expire. The default is 1 hour from the time
37
- # of the request. The maxiumum is 1 day from the time of the request.
37
+ # of the request. The maximum is 1 day from the time of the request.
38
38
  expires_at: nil,
39
39
  request_options: {}
40
40
  )
@@ -1485,7 +1485,7 @@ module Increase
1485
1485
  sig { returns(T.nilable(String)) }
1486
1486
  attr_accessor :updated_account_number
1487
1487
 
1488
- # The new account number provided in the notification of change.
1488
+ # The new routing number provided in the notification of change.
1489
1489
  sig { returns(T.nilable(String)) }
1490
1490
  attr_accessor :updated_routing_number
1491
1491
 
@@ -1500,7 +1500,7 @@ module Increase
1500
1500
  def self.new(
1501
1501
  # The new account number provided in the notification of change.
1502
1502
  updated_account_number:,
1503
- # The new account number provided in the notification of change.
1503
+ # The new routing number provided in the notification of change.
1504
1504
  updated_routing_number:
1505
1505
  )
1506
1506
  end
@@ -20,7 +20,7 @@ module Increase
20
20
  attr_accessor :amount
21
21
 
22
22
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
23
- # the inbound wire drawdown requested was created.
23
+ # the inbound wire drawdown request was created.
24
24
  sig { returns(Time) }
25
25
  attr_accessor :created_at
26
26
 
@@ -138,7 +138,7 @@ module Increase
138
138
  # The amount being requested in cents.
139
139
  amount:,
140
140
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
141
- # the inbound wire drawdown requested was created.
141
+ # the inbound wire drawdown request was created.
142
142
  created_at:,
143
143
  # The creditor's account number.
144
144
  creditor_account_number:,
@@ -330,7 +330,7 @@ module Increase
330
330
 
331
331
  # A Card Authorization object. This field will be present in the JSON response if
332
332
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
333
- # temporary holds placed on a customers funds with the intent to later clear a
333
+ # temporary holds placed on a customer's funds with the intent to later clear a
334
334
  # transaction.
335
335
  sig do
336
336
  returns(
@@ -647,7 +647,7 @@ module Increase
647
647
  blockchain_onramp_transfer_instruction: nil,
648
648
  # A Card Authorization object. This field will be present in the JSON response if
649
649
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
650
- # temporary holds placed on a customers funds with the intent to later clear a
650
+ # temporary holds placed on a customer's funds with the intent to later clear a
651
651
  # transaction.
652
652
  card_authorization: nil,
653
653
  # A Card Push Transfer Instruction object. This field will be present in the JSON
@@ -1336,7 +1336,7 @@ module Increase
1336
1336
 
1337
1337
  # A Card Authorization object. This field will be present in the JSON response if
1338
1338
  # and only if `category` is equal to `card_authorization`. Card Authorizations are
1339
- # temporary holds placed on a customers funds with the intent to later clear a
1339
+ # temporary holds placed on a customer's funds with the intent to later clear a
1340
1340
  # transaction.
1341
1341
  sig do
1342
1342
  params(
@@ -27,7 +27,7 @@ module Increase
27
27
  attr_accessor :contact_phone
28
28
 
29
29
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
30
- # the Card Dispute was created.
30
+ # the Physical Card Profile was created.
31
31
  sig { returns(Time) }
32
32
  attr_accessor :created_at
33
33
 
@@ -100,7 +100,7 @@ module Increase
100
100
  # A phone number the user can contact to receive support for their card.
101
101
  contact_phone:,
102
102
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
103
- # the Card Dispute was created.
103
+ # the Physical Card Profile was created.
104
104
  created_at:,
105
105
  # The creator of this Physical Card Profile.
106
106
  creator:,
@@ -19,7 +19,7 @@ module Increase
19
19
  sig { returns(Integer) }
20
20
  attr_accessor :amount
21
21
 
22
- # The identifier of the Card Payment to create a increment on.
22
+ # The identifier of the Card Payment to create an increment on.
23
23
  sig { returns(String) }
24
24
  attr_accessor :card_payment_id
25
25
 
@@ -44,7 +44,7 @@ module Increase
44
44
  def self.new(
45
45
  # The amount of the increment in minor units in the card authorization's currency.
46
46
  amount:,
47
- # The identifier of the Card Payment to create a increment on.
47
+ # The identifier of the Card Payment to create an increment on.
48
48
  card_payment_id:,
49
49
  # The identifier of the Event Subscription to use. If provided, will override the
50
50
  # default real time event subscription. Because you can only create one real time
@@ -15,17 +15,99 @@ module Increase
15
15
  )
16
16
  end
17
17
 
18
+ # If set, the simulation will use these values for the check's scanned MICR data.
18
19
  sig do
19
- params(request_options: Increase::RequestOptions::OrHash).returns(
20
- T.attached_class
20
+ returns(
21
+ T.nilable(Increase::Simulations::CheckDepositSubmitParams::Scan)
21
22
  )
22
23
  end
23
- def self.new(request_options: {})
24
+ attr_reader :scan
25
+
26
+ sig do
27
+ params(
28
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash
29
+ ).void
30
+ end
31
+ attr_writer :scan
32
+
33
+ sig do
34
+ params(
35
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash,
36
+ request_options: Increase::RequestOptions::OrHash
37
+ ).returns(T.attached_class)
38
+ end
39
+ def self.new(
40
+ # If set, the simulation will use these values for the check's scanned MICR data.
41
+ scan: nil,
42
+ request_options: {}
43
+ )
24
44
  end
25
45
 
26
- sig { override.returns({ request_options: Increase::RequestOptions }) }
46
+ sig do
47
+ override.returns(
48
+ {
49
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
50
+ request_options: Increase::RequestOptions
51
+ }
52
+ )
53
+ end
27
54
  def to_hash
28
55
  end
56
+
57
+ class Scan < Increase::Internal::Type::BaseModel
58
+ OrHash =
59
+ T.type_alias do
60
+ T.any(
61
+ Increase::Simulations::CheckDepositSubmitParams::Scan,
62
+ Increase::Internal::AnyHash
63
+ )
64
+ end
65
+
66
+ # The account number to be returned in the check deposit's scan data.
67
+ sig { returns(String) }
68
+ attr_accessor :account_number
69
+
70
+ # The routing number to be returned in the check deposit's scan data.
71
+ sig { returns(String) }
72
+ attr_accessor :routing_number
73
+
74
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
75
+ sig { returns(T.nilable(String)) }
76
+ attr_reader :auxiliary_on_us
77
+
78
+ sig { params(auxiliary_on_us: String).void }
79
+ attr_writer :auxiliary_on_us
80
+
81
+ # If set, the simulation will use these values for the check's scanned MICR data.
82
+ sig do
83
+ params(
84
+ account_number: String,
85
+ routing_number: String,
86
+ auxiliary_on_us: String
87
+ ).returns(T.attached_class)
88
+ end
89
+ def self.new(
90
+ # The account number to be returned in the check deposit's scan data.
91
+ account_number:,
92
+ # The routing number to be returned in the check deposit's scan data.
93
+ routing_number:,
94
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
95
+ auxiliary_on_us: nil
96
+ )
97
+ end
98
+
99
+ sig do
100
+ override.returns(
101
+ {
102
+ account_number: String,
103
+ routing_number: String,
104
+ auxiliary_on_us: String
105
+ }
106
+ )
107
+ end
108
+ def to_hash
109
+ end
110
+ end
29
111
  end
30
112
  end
31
113
  end
@@ -402,7 +402,7 @@ module Increase
402
402
 
403
403
  # A Card Financial object. This field will be present in the JSON response if and
404
404
  # only if `category` is equal to `card_financial`. Card Financials are temporary
405
- # holds placed on a customers funds with the intent to later clear a transaction.
405
+ # holds placed on a customer's funds with the intent to later clear a transaction.
406
406
  sig { returns(T.nilable(Increase::Transaction::Source::CardFinancial)) }
407
407
  attr_reader :card_financial
408
408
 
@@ -437,7 +437,7 @@ module Increase
437
437
 
438
438
  # A Card Refund object. This field will be present in the JSON response if and
439
439
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
440
- # the cardholder. While they are usually connected to a Card Settlement an
440
+ # the cardholder. While they are usually connected to a Card Settlement, an
441
441
  # acquirer can also refund money directly to a card without relation to a
442
442
  # transaction.
443
443
  sig { returns(T.nilable(Increase::Transaction::Source::CardRefund)) }
@@ -1138,7 +1138,7 @@ module Increase
1138
1138
  card_dispute_loss: nil,
1139
1139
  # A Card Financial object. This field will be present in the JSON response if and
1140
1140
  # only if `category` is equal to `card_financial`. Card Financials are temporary
1141
- # holds placed on a customers funds with the intent to later clear a transaction.
1141
+ # holds placed on a customer's funds with the intent to later clear a transaction.
1142
1142
  card_financial: nil,
1143
1143
  # A Card Push Transfer Acceptance object. This field will be present in the JSON
1144
1144
  # response if and only if `category` is equal to `card_push_transfer_acceptance`.
@@ -1147,7 +1147,7 @@ module Increase
1147
1147
  card_push_transfer_acceptance: nil,
1148
1148
  # A Card Refund object. This field will be present in the JSON response if and
1149
1149
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
1150
- # the cardholder. While they are usually connected to a Card Settlement an
1150
+ # the cardholder. While they are usually connected to a Card Settlement, an
1151
1151
  # acquirer can also refund money directly to a card without relation to a
1152
1152
  # transaction.
1153
1153
  card_refund: nil,
@@ -3205,7 +3205,7 @@ module Increase
3205
3205
 
3206
3206
  # A Card Financial object. This field will be present in the JSON response if and
3207
3207
  # only if `category` is equal to `card_financial`. Card Financials are temporary
3208
- # holds placed on a customers funds with the intent to later clear a transaction.
3208
+ # holds placed on a customer's funds with the intent to later clear a transaction.
3209
3209
  sig do
3210
3210
  params(
3211
3211
  id: String,
@@ -5419,7 +5419,7 @@ module Increase
5419
5419
  end
5420
5420
  attr_accessor :currency
5421
5421
 
5422
- # Interchange assessed as a part of this transaciton.
5422
+ # Interchange assessed as a part of this transaction.
5423
5423
  sig do
5424
5424
  returns(
5425
5425
  T.nilable(Increase::Transaction::Source::CardRefund::Interchange)
@@ -5527,7 +5527,7 @@ module Increase
5527
5527
 
5528
5528
  # A Card Refund object. This field will be present in the JSON response if and
5529
5529
  # only if `category` is equal to `card_refund`. Card Refunds move money back to
5530
- # the cardholder. While they are usually connected to a Card Settlement an
5530
+ # the cardholder. While they are usually connected to a Card Settlement, an
5531
5531
  # acquirer can also refund money directly to a card without relation to a
5532
5532
  # transaction.
5533
5533
  sig do
@@ -5578,7 +5578,7 @@ module Increase
5578
5578
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
5579
5579
  # transaction's settlement currency.
5580
5580
  currency:,
5581
- # Interchange assessed as a part of this transaciton.
5581
+ # Interchange assessed as a part of this transaction.
5582
5582
  interchange:,
5583
5583
  # The merchant identifier (commonly abbreviated as MID) of the merchant the card
5584
5584
  # is transacting with.
@@ -5800,7 +5800,7 @@ module Increase
5800
5800
  end
5801
5801
  attr_accessor :currency
5802
5802
 
5803
- # Interchange assessed as a part of this transaciton.
5803
+ # Interchange assessed as a part of this transaction.
5804
5804
  sig do
5805
5805
  params(
5806
5806
  amount: String,
@@ -7972,7 +7972,7 @@ module Increase
7972
7972
  attr_writer :purchase_details
7973
7973
 
7974
7974
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
7975
- # is added to to the overall transaction amount (surcharge), and negative if the
7975
+ # is added to the overall transaction amount (surcharge), and negative if the
7976
7976
  # surcharge is deducted from the overall transaction amount (discount).
7977
7977
  sig do
7978
7978
  returns(
@@ -8103,7 +8103,7 @@ module Increase
8103
8103
  # fields.
8104
8104
  purchase_details:,
8105
8105
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
8106
- # is added to to the overall transaction amount (surcharge), and negative if the
8106
+ # is added to the overall transaction amount (surcharge), and negative if the
8107
8107
  # surcharge is deducted from the overall transaction amount (discount).
8108
8108
  surcharge:,
8109
8109
  # The identifier of the Transaction associated with this Transaction.
@@ -10234,7 +10234,7 @@ module Increase
10234
10234
  attr_accessor :presentment_amount
10235
10235
 
10236
10236
  # Surcharge amount details, if applicable. The amount is positive if the surcharge
10237
- # is added to to the overall transaction amount (surcharge), and negative if the
10237
+ # is added to the overall transaction amount (surcharge), and negative if the
10238
10238
  # surcharge is deducted from the overall transaction amount (discount).
10239
10239
  sig do
10240
10240
  params(amount: Integer, presentment_amount: Integer).returns(
@@ -15,7 +15,7 @@ module Increase
15
15
  # The File to create a File Link for.
16
16
  file_id:,
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
  expires_at: nil,
20
20
  request_options: {}
21
21
  )
@@ -40,7 +40,7 @@ module Increase
40
40
  )
41
41
  end
42
42
 
43
- # Action a Inbound Mail Item
43
+ # Action an Inbound Mail Item
44
44
  sig do
45
45
  params(
46
46
  inbound_mail_item_id: String,
@@ -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
  sig do
14
14
  params(
@@ -17,7 +17,7 @@ module Increase
17
17
  def create(
18
18
  # The amount of the increment in minor units in the card authorization's currency.
19
19
  amount:,
20
- # The identifier of the Card Payment to create a increment on.
20
+ # The identifier of the Card Payment to create an increment on.
21
21
  card_payment_id:,
22
22
  # The identifier of the Event Subscription to use. If provided, will override the
23
23
  # default real time event subscription. Because you can only create one real time
@@ -40,12 +40,15 @@ module Increase
40
40
  sig do
41
41
  params(
42
42
  check_deposit_id: String,
43
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash,
43
44
  request_options: Increase::RequestOptions::OrHash
44
45
  ).returns(Increase::CheckDeposit)
45
46
  end
46
47
  def submit(
47
48
  # The identifier of the Check Deposit you wish to submit.
48
49
  check_deposit_id,
50
+ # If set, the simulation will use these values for the check's scanned MICR data.
51
+ scan: nil,
49
52
  request_options: {}
50
53
  )
51
54
  end
@@ -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
  sig do
10
10
  params(
@@ -2,15 +2,57 @@ module Increase
2
2
  module Models
3
3
  module Simulations
4
4
  type check_deposit_submit_params =
5
- { } & Increase::Internal::Type::request_parameters
5
+ { scan: Increase::Simulations::CheckDepositSubmitParams::Scan }
6
+ & Increase::Internal::Type::request_parameters
6
7
 
7
8
  class CheckDepositSubmitParams < Increase::Internal::Type::BaseModel
8
9
  extend Increase::Internal::Type::RequestParameters::Converter
9
10
  include Increase::Internal::Type::RequestParameters
10
11
 
11
- def initialize: (?request_options: Increase::request_opts) -> void
12
+ attr_reader scan: Increase::Simulations::CheckDepositSubmitParams::Scan?
12
13
 
13
- def to_hash: -> { request_options: Increase::RequestOptions }
14
+ def scan=: (
15
+ Increase::Simulations::CheckDepositSubmitParams::Scan
16
+ ) -> Increase::Simulations::CheckDepositSubmitParams::Scan
17
+
18
+ def initialize: (
19
+ ?scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
20
+ ?request_options: Increase::request_opts
21
+ ) -> void
22
+
23
+ def to_hash: -> {
24
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
25
+ request_options: Increase::RequestOptions
26
+ }
27
+
28
+ type scan =
29
+ {
30
+ account_number: String,
31
+ routing_number: String,
32
+ auxiliary_on_us: String
33
+ }
34
+
35
+ class Scan < Increase::Internal::Type::BaseModel
36
+ attr_accessor account_number: String
37
+
38
+ attr_accessor routing_number: String
39
+
40
+ attr_reader auxiliary_on_us: String?
41
+
42
+ def auxiliary_on_us=: (String) -> String
43
+
44
+ def initialize: (
45
+ account_number: String,
46
+ routing_number: String,
47
+ ?auxiliary_on_us: String
48
+ ) -> void
49
+
50
+ def to_hash: -> {
51
+ account_number: String,
52
+ routing_number: String,
53
+ auxiliary_on_us: String
54
+ }
55
+ end
14
56
  end
15
57
  end
16
58
  end
@@ -14,6 +14,7 @@ module Increase
14
14
 
15
15
  def submit: (
16
16
  String check_deposit_id,
17
+ ?scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
17
18
  ?request_options: Increase::request_opts
18
19
  ) -> Increase::CheckDeposit
19
20
 
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.208.0
4
+ version: 1.210.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-10 00:00:00.000000000 Z
11
+ date: 2026-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi