increase 1.334.1 → 1.335.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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +7 -0
  3. data/README.md +23 -1
  4. data/lib/increase/models/ach_transfer.rb +3 -0
  5. data/lib/increase/models/ach_transfer_create_params.rb +3 -0
  6. data/lib/increase/models/card_payment.rb +9 -0
  7. data/lib/increase/models/declined_transaction.rb +3 -0
  8. data/lib/increase/models/pending_transaction.rb +3 -0
  9. data/lib/increase/models/real_time_decision.rb +3 -0
  10. data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -0
  11. data/lib/increase/models/transaction.rb +6 -3
  12. data/lib/increase/resources/events.rb +4 -1
  13. data/lib/increase/version.rb +1 -1
  14. data/rbi/increase/models/ach_transfer.rbi +3 -0
  15. data/rbi/increase/models/ach_transfer_create_params.rbi +4 -0
  16. data/rbi/increase/models/card_payment.rbi +21 -0
  17. data/rbi/increase/models/declined_transaction.rbi +7 -0
  18. data/rbi/increase/models/pending_transaction.rbi +7 -0
  19. data/rbi/increase/models/real_time_decision.rbi +7 -0
  20. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +7 -0
  21. data/rbi/increase/models/transaction.rbi +11 -4
  22. data/rbi/increase/resources/events.rbi +4 -1
  23. data/sig/increase/models/ach_transfer.rbs +4 -1
  24. data/sig/increase/models/ach_transfer_create_params.rbs +4 -1
  25. data/sig/increase/models/card_payment.rbs +12 -0
  26. data/sig/increase/models/declined_transaction.rbs +4 -0
  27. data/sig/increase/models/pending_transaction.rbs +4 -0
  28. data/sig/increase/models/real_time_decision.rbs +4 -0
  29. data/sig/increase/models/simulations/card_authorization_create_params.rbs +4 -0
  30. data/sig/increase/models/transaction.rbs +4 -0
  31. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0738f1e265f44f1c43532a9288011e11f1b5b35d5e14a1ac3c3a81706c68bc04'
4
- data.tar.gz: 0ba828fc5f2308ad42d2337aefb8477c034de046c3e6b6ffe82acd4a9a336f9e
3
+ metadata.gz: 3fc22de92c329bbd0c21bdf33a84eb2a88cc071b0cdd727aac925c60d2934a9f
4
+ data.tar.gz: 2417aeb99f89e5507f223477aac5946ee8469cf022f2fd628c29a0eb445f3bd5
5
5
  SHA512:
6
- metadata.gz: cb648f0381adf986a15d643787b2ce9ff4d4918e61fa0cf09fee56009189eab2fc30d5e44ddab96b61c0d12bbdadd39a622048600cb0a0ba8912693367afd63b
7
- data.tar.gz: 5442f39859c698039a9b07079e19982f970f6898d051bd54def2c5ee1c064dfa439aee520f508dd9621a2123030fdbab7f2c4e8823b0386fc866a6c5f39e8af8
6
+ metadata.gz: 85a1b699cf6399f16b9c21083e75125d1c974787d49ea1a6238bb6771d091eb54524215f4e112fb49ddde7f0025367069bb64afd8fa2b32aff53296d5aea1408
7
+ data.tar.gz: ad9b6471bead2acbe265d8eadbe81051e5c0379324284c8eae73271b346e131fae4c7ddd2eac51b04179e68f50b9cf32fca66afa9e20a40818efbb541d19665e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.335.0](https://github.com/Increase/increase-ruby/compare/v1.334.1...v1.335.0) (2026-06-17)
4
+
5
+
6
+ ### Features
7
+
8
+ * **api:** api update ([#451](https://github.com/Increase/increase-ruby/issues/451)) ([b0ece67](https://github.com/Increase/increase-ruby/commit/b0ece6779717f29245e8f50b1a6d3122b29bf48f))
9
+
3
10
  ## [1.334.1](https://github.com/Increase/increase-ruby/compare/v1.334.0...v1.334.1) (2026-06-12)
4
11
 
5
12
 
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.334.1"
18
+ gem "increase", "~> 1.335.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -39,6 +39,9 @@ account = increase.accounts.create(
39
39
  puts(account.id)
40
40
  ```
41
41
 
42
+ > [!IMPORTANT]
43
+ > Fields whose names collide with Ruby keywords are suffixed with an underscore. For example, the `return` field on an ACH Transfer is exposed as `transfer.return_`, and the return simulation is `client.simulations.ach_transfers.return_`.
44
+
42
45
  ### Pagination
43
46
 
44
47
  List methods in the Increase API are paginated.
@@ -67,6 +70,8 @@ if page.next_page?
67
70
  end
68
71
  ```
69
72
 
73
+ Note that page objects are not `Enumerable` — access the current page's items with `#data`, or iterate across pages with `#auto_paging_each` as above.
74
+
70
75
  ### File uploads
71
76
 
72
77
  Request parameters that correspond to file uploads can be passed as raw contents, a [`Pathname`](https://rubyapi.org/3.2/o/pathname) instance, [`StringIO`](https://rubyapi.org/3.2/o/stringio), or more.
@@ -89,6 +94,21 @@ puts(file.id)
89
94
 
90
95
  Note that you can also pass a raw `IO` descriptor, but this disables retries, as the library can't be sure if the descriptor is a file or pipe (which cannot be rewound).
91
96
 
97
+ ### Webhook verification
98
+
99
+ This library includes a helper for verifying webhook signatures. Construct the client with your `webhook_secret` (read from `ENV["INCREASE_WEBHOOK_SECRET"]` by default), then pass the raw request body and headers to `events.unwrap`, which verifies the signature and parses the payload:
100
+
101
+ ```ruby
102
+ increase = Increase::Client.new(
103
+ webhook_secret: ENV["INCREASE_WEBHOOK_SECRET"] # This is the default and can be omitted
104
+ )
105
+
106
+ # In your webhook handler, e.g. a Rails controller action:
107
+ event = increase.events.unwrap(request.body.read, headers: request.headers.to_h)
108
+ ```
109
+
110
+ `StandardWebhooks::WebhookVerificationError` is raised if the signature is invalid, so a webhook that unwraps without raising is guaranteed authentic. Note that the secret is Base64-encoded before being passed to `StandardWebhooks::Webhook` — to sign a synthetic payload in tests, construct the signer the same way: `StandardWebhooks::Webhook.new(Base64.strict_encode64(secret))`.
111
+
92
112
  ### Handling errors
93
113
 
94
114
  When the library is unable to connect to the API, or if the API returns a non-success status code (i.e., 4xx or 5xx response), a subclass of `Increase::Errors::APIError` will be thrown:
@@ -122,6 +142,8 @@ Error codes are as follows:
122
142
  | Timeout | `APITimeoutError` |
123
143
  | Network error | `APIConnectionError` |
124
144
 
145
+ All errors raised by this gem, including `Increase::Errors::APIError` and response-parsing errors like `Increase::Errors::ConversionError`, inherit from `Increase::Errors::Error`, which you can rescue to catch anything the gem raises.
146
+
125
147
  ### Retries
126
148
 
127
149
  Certain errors will be automatically retried 2 times by default, with a short exponential backoff.
@@ -672,6 +672,9 @@ module Increase
672
672
  # A savings account.
673
673
  SAVINGS = :savings
674
674
 
675
+ # A loan account used in a lender-borrower relationship. Uncommon.
676
+ LOAN = :loan
677
+
675
678
  # A bank's general ledger. Uncommon.
676
679
  GENERAL_LEDGER = :general_ledger
677
680
 
@@ -343,6 +343,9 @@ module Increase
343
343
  # A savings account.
344
344
  SAVINGS = :savings
345
345
 
346
+ # A loan account used in a lender-borrower relationship. Uncommon.
347
+ LOAN = :loan
348
+
346
349
  # A bank's general ledger. Uncommon.
347
350
  GENERAL_LEDGER = :general_ledger
348
351
 
@@ -2400,6 +2400,9 @@ module Increase
2400
2400
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
2401
2401
  CASH_DISBURSEMENT = :cash_disbursement
2402
2402
 
2403
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
2404
+ CASH_DEPOSIT = :cash_deposit
2405
+
2403
2406
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
2404
2407
  BALANCE_INQUIRY = :balance_inquiry
2405
2408
 
@@ -5294,6 +5297,9 @@ module Increase
5294
5297
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
5295
5298
  CASH_DISBURSEMENT = :cash_disbursement
5296
5299
 
5300
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
5301
+ CASH_DEPOSIT = :cash_deposit
5302
+
5297
5303
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
5298
5304
  BALANCE_INQUIRY = :balance_inquiry
5299
5305
 
@@ -6832,6 +6838,9 @@ module Increase
6832
6838
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
6833
6839
  CASH_DISBURSEMENT = :cash_disbursement
6834
6840
 
6841
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
6842
+ CASH_DEPOSIT = :cash_deposit
6843
+
6835
6844
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
6836
6845
  BALANCE_INQUIRY = :balance_inquiry
6837
6846
 
@@ -1541,6 +1541,9 @@ module Increase
1541
1541
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1542
1542
  CASH_DISBURSEMENT = :cash_disbursement
1543
1543
 
1544
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1545
+ CASH_DEPOSIT = :cash_deposit
1546
+
1544
1547
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1545
1548
  BALANCE_INQUIRY = :balance_inquiry
1546
1549
 
@@ -1828,6 +1828,9 @@ module Increase
1828
1828
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1829
1829
  CASH_DISBURSEMENT = :cash_disbursement
1830
1830
 
1831
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1832
+ CASH_DEPOSIT = :cash_deposit
1833
+
1831
1834
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1832
1835
  BALANCE_INQUIRY = :balance_inquiry
1833
1836
 
@@ -2095,6 +2095,9 @@ module Increase
2095
2095
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
2096
2096
  CASH_DISBURSEMENT = :cash_disbursement
2097
2097
 
2098
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
2099
+ CASH_DEPOSIT = :cash_deposit
2100
+
2098
2101
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
2099
2102
  BALANCE_INQUIRY = :balance_inquiry
2100
2103
 
@@ -355,6 +355,9 @@ module Increase
355
355
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
356
356
  CASH_DISBURSEMENT = :cash_disbursement
357
357
 
358
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
359
+ CASH_DEPOSIT = :cash_deposit
360
+
358
361
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
359
362
  BALANCE_INQUIRY = :balance_inquiry
360
363
 
@@ -24,8 +24,8 @@ module Increase
24
24
  required :amount, Integer
25
25
 
26
26
  # @!attribute created_at
27
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
28
- # Transaction occurred.
27
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
28
+ # the Transaction occurred.
29
29
  #
30
30
  # @return [Time]
31
31
  required :created_at, Time
@@ -89,7 +89,7 @@ module Increase
89
89
  #
90
90
  # @param amount [Integer] The Transaction amount in the minor unit of its currency. For dollars, for examp
91
91
  #
92
- # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Transac
92
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
93
93
  #
94
94
  # @param currency [Symbol, Increase::Models::Transaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Transaction'
95
95
  #
@@ -2523,6 +2523,9 @@ module Increase
2523
2523
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
2524
2524
  CASH_DISBURSEMENT = :cash_disbursement
2525
2525
 
2526
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
2527
+ CASH_DEPOSIT = :cash_deposit
2528
+
2526
2529
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
2527
2530
  BALANCE_INQUIRY = :balance_inquiry
2528
2531
 
@@ -64,7 +64,10 @@ module Increase
64
64
  #
65
65
  # @param headers [Hash{String=>String}] The raw HTTP headers that came with the payload
66
66
  #
67
- # @param key [String, nil] The webhook signing key
67
+ # @param key [String, nil] The webhook signing key, as the raw secret string. It is Base64-encoded before
68
+ # being passed to StandardWebhooks, so to sign a synthetic payload in tests,
69
+ # construct the signer the same way:
70
+ # StandardWebhooks::Webhook.new(Base64.strict_encode64(key))
68
71
  #
69
72
  # @return [Increase::Models::UnwrapWebhookEvent]
70
73
  def unwrap(payload, headers:, key: @client.webhook_secret)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.334.1"
4
+ VERSION = "1.335.0"
5
5
  end
@@ -1146,6 +1146,9 @@ module Increase
1146
1146
  # A savings account.
1147
1147
  SAVINGS = T.let(:savings, Increase::ACHTransfer::Funding::TaggedSymbol)
1148
1148
 
1149
+ # A loan account used in a lender-borrower relationship. Uncommon.
1150
+ LOAN = T.let(:loan, Increase::ACHTransfer::Funding::TaggedSymbol)
1151
+
1149
1152
  # A bank's general ledger. Uncommon.
1150
1153
  GENERAL_LEDGER =
1151
1154
  T.let(:general_ledger, Increase::ACHTransfer::Funding::TaggedSymbol)
@@ -706,6 +706,10 @@ module Increase
706
706
  Increase::ACHTransferCreateParams::Funding::TaggedSymbol
707
707
  )
708
708
 
709
+ # A loan account used in a lender-borrower relationship. Uncommon.
710
+ LOAN =
711
+ T.let(:loan, Increase::ACHTransferCreateParams::Funding::TaggedSymbol)
712
+
709
713
  # A bank's general ledger. Uncommon.
710
714
  GENERAL_LEDGER =
711
715
  T.let(
@@ -4570,6 +4570,13 @@ module Increase
4570
4570
  Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
4571
4571
  )
4572
4572
 
4573
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
4574
+ CASH_DEPOSIT =
4575
+ T.let(
4576
+ :cash_deposit,
4577
+ Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
4578
+ )
4579
+
4573
4580
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
4574
4581
  BALANCE_INQUIRY =
4575
4582
  T.let(
@@ -10183,6 +10190,13 @@ module Increase
10183
10190
  Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
10184
10191
  )
10185
10192
 
10193
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
10194
+ CASH_DEPOSIT =
10195
+ T.let(
10196
+ :cash_deposit,
10197
+ Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
10198
+ )
10199
+
10186
10200
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
10187
10201
  BALANCE_INQUIRY =
10188
10202
  T.let(
@@ -13207,6 +13221,13 @@ module Increase
13207
13221
  Increase::CardPayment::Element::CardFinancial::ProcessingCategory::TaggedSymbol
13208
13222
  )
13209
13223
 
13224
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
13225
+ CASH_DEPOSIT =
13226
+ T.let(
13227
+ :cash_deposit,
13228
+ Increase::CardPayment::Element::CardFinancial::ProcessingCategory::TaggedSymbol
13229
+ )
13230
+
13210
13231
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
13211
13232
  BALANCE_INQUIRY =
13212
13233
  T.let(
@@ -2906,6 +2906,13 @@ module Increase
2906
2906
  Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
2907
2907
  )
2908
2908
 
2909
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
2910
+ CASH_DEPOSIT =
2911
+ T.let(
2912
+ :cash_deposit,
2913
+ Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
2914
+ )
2915
+
2909
2916
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
2910
2917
  BALANCE_INQUIRY =
2911
2918
  T.let(
@@ -3470,6 +3470,13 @@ module Increase
3470
3470
  Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
3471
3471
  )
3472
3472
 
3473
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
3474
+ CASH_DEPOSIT =
3475
+ T.let(
3476
+ :cash_deposit,
3477
+ Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
3478
+ )
3479
+
3473
3480
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
3474
3481
  BALANCE_INQUIRY =
3475
3482
  T.let(
@@ -4010,6 +4010,13 @@ module Increase
4010
4010
  Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
4011
4011
  )
4012
4012
 
4013
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
4014
+ CASH_DEPOSIT =
4015
+ T.let(
4016
+ :cash_deposit,
4017
+ Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
4018
+ )
4019
+
4013
4020
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
4014
4021
  BALANCE_INQUIRY =
4015
4022
  T.let(
@@ -770,6 +770,13 @@ module Increase
770
770
  Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::TaggedSymbol
771
771
  )
772
772
 
773
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
774
+ CASH_DEPOSIT =
775
+ T.let(
776
+ :cash_deposit,
777
+ Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::TaggedSymbol
778
+ )
779
+
773
780
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
774
781
  BALANCE_INQUIRY =
775
782
  T.let(
@@ -21,8 +21,8 @@ module Increase
21
21
  sig { returns(Integer) }
22
22
  attr_accessor :amount
23
23
 
24
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
25
- # Transaction occurred.
24
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
25
+ # the Transaction occurred.
26
26
  sig { returns(Time) }
27
27
  attr_accessor :created_at
28
28
 
@@ -87,8 +87,8 @@ module Increase
87
87
  # The Transaction amount in the minor unit of its currency. For dollars, for
88
88
  # example, this is cents.
89
89
  amount:,
90
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
91
- # Transaction occurred.
90
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
91
+ # the Transaction occurred.
92
92
  created_at:,
93
93
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
94
94
  # Transaction's currency. This will match the currency on the Transaction's
@@ -5023,6 +5023,13 @@ module Increase
5023
5023
  Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol
5024
5024
  )
5025
5025
 
5026
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
5027
+ CASH_DEPOSIT =
5028
+ T.let(
5029
+ :cash_deposit,
5030
+ Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol
5031
+ )
5032
+
5026
5033
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
5027
5034
  BALANCE_INQUIRY =
5028
5035
  T.let(
@@ -56,7 +56,10 @@ module Increase
56
56
  payload,
57
57
  # The raw HTTP headers that came with the payload
58
58
  headers:,
59
- # The webhook signing key
59
+ # The webhook signing key, as the raw secret string. It is Base64-encoded before
60
+ # being passed to StandardWebhooks, so to sign a synthetic payload in tests,
61
+ # construct the signer the same way:
62
+ # StandardWebhooks::Webhook.new(Base64.strict_encode64(key))
60
63
  key: @client.webhook_secret
61
64
  )
62
65
  end
@@ -433,7 +433,7 @@ module Increase
433
433
  def self?.values: -> ::Array[Increase::Models::ACHTransfer::destination_account_holder]
434
434
  end
435
435
 
436
- type funding = :checking | :savings | :general_ledger
436
+ type funding = :checking | :savings | :loan | :general_ledger
437
437
 
438
438
  module Funding
439
439
  extend Increase::Internal::Type::Enum
@@ -444,6 +444,9 @@ module Increase
444
444
  # A savings account.
445
445
  SAVINGS: :savings
446
446
 
447
+ # A loan account used in a lender-borrower relationship. Uncommon.
448
+ LOAN: :loan
449
+
447
450
  # A bank's general ledger. Uncommon.
448
451
  GENERAL_LEDGER: :general_ledger
449
452
 
@@ -281,7 +281,7 @@ module Increase
281
281
  def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::destination_account_holder]
282
282
  end
283
283
 
284
- type funding = :checking | :savings | :general_ledger
284
+ type funding = :checking | :savings | :loan | :general_ledger
285
285
 
286
286
  module Funding
287
287
  extend Increase::Internal::Type::Enum
@@ -292,6 +292,9 @@ module Increase
292
292
  # A savings account.
293
293
  SAVINGS: :savings
294
294
 
295
+ # A loan account used in a lender-borrower relationship. Uncommon.
296
+ LOAN: :loan
297
+
295
298
  # A bank's general ledger. Uncommon.
296
299
  GENERAL_LEDGER: :general_ledger
297
300
 
@@ -1682,6 +1682,7 @@ module Increase
1682
1682
  | :quasi_cash
1683
1683
  | :refund
1684
1684
  | :cash_disbursement
1685
+ | :cash_deposit
1685
1686
  | :balance_inquiry
1686
1687
  | :unknown
1687
1688
 
@@ -1712,6 +1713,9 @@ module Increase
1712
1713
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1713
1714
  CASH_DISBURSEMENT: :cash_disbursement
1714
1715
 
1716
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1717
+ CASH_DEPOSIT: :cash_deposit
1718
+
1715
1719
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1716
1720
  BALANCE_INQUIRY: :balance_inquiry
1717
1721
 
@@ -3758,6 +3762,7 @@ module Increase
3758
3762
  | :quasi_cash
3759
3763
  | :refund
3760
3764
  | :cash_disbursement
3765
+ | :cash_deposit
3761
3766
  | :balance_inquiry
3762
3767
  | :unknown
3763
3768
 
@@ -3788,6 +3793,9 @@ module Increase
3788
3793
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
3789
3794
  CASH_DISBURSEMENT: :cash_disbursement
3790
3795
 
3796
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
3797
+ CASH_DEPOSIT: :cash_deposit
3798
+
3791
3799
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
3792
3800
  BALANCE_INQUIRY: :balance_inquiry
3793
3801
 
@@ -4921,6 +4929,7 @@ module Increase
4921
4929
  | :quasi_cash
4922
4930
  | :refund
4923
4931
  | :cash_disbursement
4932
+ | :cash_deposit
4924
4933
  | :balance_inquiry
4925
4934
  | :unknown
4926
4935
 
@@ -4951,6 +4960,9 @@ module Increase
4951
4960
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
4952
4961
  CASH_DISBURSEMENT: :cash_disbursement
4953
4962
 
4963
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
4964
+ CASH_DEPOSIT: :cash_deposit
4965
+
4954
4966
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
4955
4967
  BALANCE_INQUIRY: :balance_inquiry
4956
4968
 
@@ -1018,6 +1018,7 @@ module Increase
1018
1018
  | :quasi_cash
1019
1019
  | :refund
1020
1020
  | :cash_disbursement
1021
+ | :cash_deposit
1021
1022
  | :balance_inquiry
1022
1023
  | :unknown
1023
1024
 
@@ -1048,6 +1049,9 @@ module Increase
1048
1049
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1049
1050
  CASH_DISBURSEMENT: :cash_disbursement
1050
1051
 
1052
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1053
+ CASH_DEPOSIT: :cash_deposit
1054
+
1051
1055
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1052
1056
  BALANCE_INQUIRY: :balance_inquiry
1053
1057
 
@@ -1152,6 +1152,7 @@ module Increase
1152
1152
  | :quasi_cash
1153
1153
  | :refund
1154
1154
  | :cash_disbursement
1155
+ | :cash_deposit
1155
1156
  | :balance_inquiry
1156
1157
  | :unknown
1157
1158
 
@@ -1182,6 +1183,9 @@ module Increase
1182
1183
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1183
1184
  CASH_DISBURSEMENT: :cash_disbursement
1184
1185
 
1186
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1187
+ CASH_DEPOSIT: :cash_deposit
1188
+
1185
1189
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1186
1190
  BALANCE_INQUIRY: :balance_inquiry
1187
1191
 
@@ -1471,6 +1471,7 @@ module Increase
1471
1471
  | :quasi_cash
1472
1472
  | :refund
1473
1473
  | :cash_disbursement
1474
+ | :cash_deposit
1474
1475
  | :balance_inquiry
1475
1476
  | :unknown
1476
1477
 
@@ -1501,6 +1502,9 @@ module Increase
1501
1502
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1502
1503
  CASH_DISBURSEMENT: :cash_disbursement
1503
1504
 
1505
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1506
+ CASH_DEPOSIT: :cash_deposit
1507
+
1504
1508
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1505
1509
  BALANCE_INQUIRY: :balance_inquiry
1506
1510
 
@@ -345,6 +345,7 @@ module Increase
345
345
  | :quasi_cash
346
346
  | :refund
347
347
  | :cash_disbursement
348
+ | :cash_deposit
348
349
  | :balance_inquiry
349
350
 
350
351
  module Category
@@ -374,6 +375,9 @@ module Increase
374
375
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
375
376
  CASH_DISBURSEMENT: :cash_disbursement
376
377
 
378
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
379
+ CASH_DEPOSIT: :cash_deposit
380
+
377
381
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
378
382
  BALANCE_INQUIRY: :balance_inquiry
379
383
 
@@ -1750,6 +1750,7 @@ module Increase
1750
1750
  | :quasi_cash
1751
1751
  | :refund
1752
1752
  | :cash_disbursement
1753
+ | :cash_deposit
1753
1754
  | :balance_inquiry
1754
1755
  | :unknown
1755
1756
 
@@ -1780,6 +1781,9 @@ module Increase
1780
1781
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1781
1782
  CASH_DISBURSEMENT: :cash_disbursement
1782
1783
 
1784
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1785
+ CASH_DEPOSIT: :cash_deposit
1786
+
1783
1787
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1784
1788
  BALANCE_INQUIRY: :balance_inquiry
1785
1789
 
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.334.1
4
+ version: 1.335.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-06-12 00:00:00.000000000 Z
11
+ date: 2026-06-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi