increase 1.260.0 → 1.262.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f0ce2838a24b7d7fb3cc821d7ed82e39205d5ad0688bec7e25e578e632943b0
4
- data.tar.gz: 97a226d61e2fdde405a6517dcb4395e838a96625a489a5a8ef91efc4a039f1ac
3
+ metadata.gz: d0f3f38754c155a91be7996e2f3e6dcdfcfde9ecfb8cf3ae3d0a09fd4830f94f
4
+ data.tar.gz: 5f2bba57f4ca04ff2c9c53a12d48ad4cf494e1d85cd51eca3a64cb84f429b642
5
5
  SHA512:
6
- metadata.gz: 1149ee2d75d174c23c114621451482ccd22ada10883c2201574da42fbbef6d6e5caf291ddff0ccaf55e8ca2cc51995169f3274475d18ff18b9f1fb1e91c24499
7
- data.tar.gz: 02f242d6839922b1f2f64c9fd47238569728b4788e2fbd2b23605dbf0bcd4e2534fd8c9033e0b0447b4ce9e161a175b49bdd088eafbd80100de068b6817f753e
6
+ metadata.gz: 16f37b5106c75e286044e4bfb737ac142b8a85e7389ab4067538a298393573d7a7ed022c103a0850e5471c4fdffda18ec936eda9e1d17d2c4ceae94a4b04892b
7
+ data.tar.gz: aacc0d1372a9a99e643727dd2d0728de35f0b61b7bc22da9fddfb4b05e53ddf5c2d53e4534fbe2d486c618c94050b5439e6d1407224e4ca8ba4ec45ec978cbee
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.262.0 (2026-03-19)
4
+
5
+ Full Changelog: [v1.261.0...v1.262.0](https://github.com/Increase/increase-ruby/compare/v1.261.0...v1.262.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([325e615](https://github.com/Increase/increase-ruby/commit/325e615c919f3227d89d969a80bf7abbd439df3b))
10
+
11
+ ## 1.261.0 (2026-03-18)
12
+
13
+ Full Changelog: [v1.260.0...v1.261.0](https://github.com/Increase/increase-ruby/compare/v1.260.0...v1.261.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([f340950](https://github.com/Increase/increase-ruby/commit/f34095058142fc4db5d34c07f75fbe62db75f080))
18
+
3
19
  ## 1.260.0 (2026-03-18)
4
20
 
5
21
  Full Changelog: [v1.259.0...v1.260.0](https://github.com/Increase/increase-ruby/compare/v1.259.0...v1.260.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.260.0"
18
+ gem "increase", "~> 1.262.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -732,9 +732,6 @@ module Increase
732
732
  # The previous message associated with the transaction could not be located.
733
733
  UNABLE_TO_LOCATE_PREVIOUS_MESSAGE = :unable_to_locate_previous_message
734
734
 
735
- # The data in the transaction is inconsistent with the original message.
736
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE = :data_inconsistent_with_original_message
737
-
738
735
  # An error was found with the PIN associated with the transaction.
739
736
  PIN_ERROR_FOUND = :pin_error_found
740
737
 
@@ -758,15 +755,6 @@ module Increase
758
755
  TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT =
759
756
  :transaction_amount_exceeds_pre_authorized_approval_amount
760
757
 
761
- # The biller information provided is invalid.
762
- INVALID_BILLER_INFORMATION = :invalid_biller_information
763
-
764
- # The PIN change request has been declined.
765
- PIN_CHANGE_REQUEST_DECLINED = :pin_change_request_declined
766
-
767
- # The PIN provided is considered unsafe.
768
- UNSAFE_PIN = :unsafe_pin
769
-
770
758
  # The transaction does not qualify for Visa PIN processing.
771
759
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN = :transaction_does_not_qualify_for_visa_pin
772
760
 
@@ -783,9 +771,6 @@ module Increase
783
771
  INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT =
784
772
  :invalid_use_of_merchant_category_code_correct_and_reattempt
785
773
 
786
- # The transaction should be forwarded to the issuer for processing.
787
- FORWARD_TO_ISSUER = :forward_to_issuer
788
-
789
774
  # The card authentication process has failed.
790
775
  CARD_AUTHENTICATION_FAILED = :card_authentication_failed
791
776
 
@@ -712,9 +712,6 @@ module Increase
712
712
  # The previous message associated with the transaction could not be located.
713
713
  UNABLE_TO_LOCATE_PREVIOUS_MESSAGE = :unable_to_locate_previous_message
714
714
 
715
- # The data in the transaction is inconsistent with the original message.
716
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE = :data_inconsistent_with_original_message
717
-
718
715
  # An error was found with the PIN associated with the transaction.
719
716
  PIN_ERROR_FOUND = :pin_error_found
720
717
 
@@ -738,15 +735,6 @@ module Increase
738
735
  TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT =
739
736
  :transaction_amount_exceeds_pre_authorized_approval_amount
740
737
 
741
- # The biller information provided is invalid.
742
- INVALID_BILLER_INFORMATION = :invalid_biller_information
743
-
744
- # The PIN change request has been declined.
745
- PIN_CHANGE_REQUEST_DECLINED = :pin_change_request_declined
746
-
747
- # The PIN provided is considered unsafe.
748
- UNSAFE_PIN = :unsafe_pin
749
-
750
738
  # The transaction does not qualify for Visa PIN processing.
751
739
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN = :transaction_does_not_qualify_for_visa_pin
752
740
 
@@ -763,9 +751,6 @@ module Increase
763
751
  INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT =
764
752
  :invalid_use_of_merchant_category_code_correct_and_reattempt
765
753
 
766
- # The transaction should be forwarded to the issuer for processing.
767
- FORWARD_TO_ISSUER = :forward_to_issuer
768
-
769
754
  # The card authentication process has failed.
770
755
  CARD_AUTHENTICATION_FAILED = :card_authentication_failed
771
756
 
@@ -340,9 +340,6 @@ module Increase
340
340
  # The previous message associated with the transaction could not be located.
341
341
  UNABLE_TO_LOCATE_PREVIOUS_MESSAGE = :unable_to_locate_previous_message
342
342
 
343
- # The data in the transaction is inconsistent with the original message.
344
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE = :data_inconsistent_with_original_message
345
-
346
343
  # An error was found with the PIN associated with the transaction.
347
344
  PIN_ERROR_FOUND = :pin_error_found
348
345
 
@@ -366,15 +363,6 @@ module Increase
366
363
  TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT =
367
364
  :transaction_amount_exceeds_pre_authorized_approval_amount
368
365
 
369
- # The biller information provided is invalid.
370
- INVALID_BILLER_INFORMATION = :invalid_biller_information
371
-
372
- # The PIN change request has been declined.
373
- PIN_CHANGE_REQUEST_DECLINED = :pin_change_request_declined
374
-
375
- # The PIN provided is considered unsafe.
376
- UNSAFE_PIN = :unsafe_pin
377
-
378
366
  # The transaction does not qualify for Visa PIN processing.
379
367
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN = :transaction_does_not_qualify_for_visa_pin
380
368
 
@@ -391,9 +379,6 @@ module Increase
391
379
  INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT =
392
380
  :invalid_use_of_merchant_category_code_correct_and_reattempt
393
381
 
394
- # The transaction should be forwarded to the issuer for processing.
395
- FORWARD_TO_ISSUER = :forward_to_issuer
396
-
397
382
  # The card authentication process has failed.
398
383
  CARD_AUTHENTICATION_FAILED = :card_authentication_failed
399
384
 
@@ -49,6 +49,13 @@ module Increase
49
49
  # @return [String]
50
50
  required :unstructured_remittance_information, String
51
51
 
52
+ # @!attribute charge_bearer
53
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
54
+ # not specified.
55
+ #
56
+ # @return [Symbol, Increase::Models::WireDrawdownRequestCreateParams::ChargeBearer, nil]
57
+ optional :charge_bearer, enum: -> { Increase::WireDrawdownRequestCreateParams::ChargeBearer }
58
+
52
59
  # @!attribute debtor_account_number
53
60
  # The debtor's account number.
54
61
  #
@@ -75,7 +82,7 @@ module Increase
75
82
  # @return [String, nil]
76
83
  optional :end_to_end_identification, String
77
84
 
78
- # @!method initialize(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, end_to_end_identification: nil, request_options: {})
85
+ # @!method initialize(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, charge_bearer: nil, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, end_to_end_identification: nil, request_options: {})
79
86
  # Some parameter documentations has been truncated, see
80
87
  # {Increase::Models::WireDrawdownRequestCreateParams} for more details.
81
88
  #
@@ -93,6 +100,8 @@ module Increase
93
100
  #
94
101
  # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
95
102
  #
103
+ # @param charge_bearer [Symbol, Increase::Models::WireDrawdownRequestCreateParams::ChargeBearer] Determines who bears the cost of the drawdown request. Defaults to `shared` if n
104
+ #
96
105
  # @param debtor_account_number [String] The debtor's account number.
97
106
  #
98
107
  # @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
@@ -220,6 +229,27 @@ module Increase
220
229
  #
221
230
  # @param state [String] The address state.
222
231
  end
232
+
233
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
234
+ # not specified.
235
+ module ChargeBearer
236
+ extend Increase::Internal::Type::Enum
237
+
238
+ # Charges are shared between the debtor and creditor.
239
+ SHARED = :shared
240
+
241
+ # Charges are borne by the debtor.
242
+ DEBTOR = :debtor
243
+
244
+ # Charges are borne by the creditor.
245
+ CREDITOR = :creditor
246
+
247
+ # Charges are determined by the service level.
248
+ SERVICE_LEVEL = :service_level
249
+
250
+ # @!method self.values
251
+ # @return [Array<Symbol>]
252
+ end
223
253
  end
224
254
  end
225
255
  end
@@ -8,7 +8,7 @@ module Increase
8
8
  #
9
9
  # Create a Wire Drawdown Request
10
10
  #
11
- # @overload create(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, end_to_end_identification: nil, request_options: {})
11
+ # @overload create(account_number_id:, amount:, creditor_address:, creditor_name:, debtor_address:, debtor_name:, unstructured_remittance_information:, charge_bearer: nil, debtor_account_number: nil, debtor_external_account_id: nil, debtor_routing_number: nil, end_to_end_identification: nil, request_options: {})
12
12
  #
13
13
  # @param account_number_id [String] The Account Number to which the debtor should send funds.
14
14
  #
@@ -24,6 +24,8 @@ module Increase
24
24
  #
25
25
  # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the request.
26
26
  #
27
+ # @param charge_bearer [Symbol, Increase::Models::WireDrawdownRequestCreateParams::ChargeBearer] Determines who bears the cost of the drawdown request. Defaults to `shared` if n
28
+ #
27
29
  # @param debtor_account_number [String] The debtor's account number.
28
30
  #
29
31
  # @param debtor_external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.260.0"
4
+ VERSION = "1.262.0"
5
5
  end
@@ -1322,13 +1322,6 @@ module Increase
1322
1322
  Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1323
1323
  )
1324
1324
 
1325
- # The data in the transaction is inconsistent with the original message.
1326
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE =
1327
- T.let(
1328
- :data_inconsistent_with_original_message,
1329
- Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1330
- )
1331
-
1332
1325
  # An error was found with the PIN associated with the transaction.
1333
1326
  PIN_ERROR_FOUND =
1334
1327
  T.let(
@@ -1378,27 +1371,6 @@ module Increase
1378
1371
  Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1379
1372
  )
1380
1373
 
1381
- # The biller information provided is invalid.
1382
- INVALID_BILLER_INFORMATION =
1383
- T.let(
1384
- :invalid_biller_information,
1385
- Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1386
- )
1387
-
1388
- # The PIN change request has been declined.
1389
- PIN_CHANGE_REQUEST_DECLINED =
1390
- T.let(
1391
- :pin_change_request_declined,
1392
- Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1393
- )
1394
-
1395
- # The PIN provided is considered unsafe.
1396
- UNSAFE_PIN =
1397
- T.let(
1398
- :unsafe_pin,
1399
- Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1400
- )
1401
-
1402
1374
  # The transaction does not qualify for Visa PIN processing.
1403
1375
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN =
1404
1376
  T.let(
@@ -1434,13 +1406,6 @@ module Increase
1434
1406
  Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1435
1407
  )
1436
1408
 
1437
- # The transaction should be forwarded to the issuer for processing.
1438
- FORWARD_TO_ISSUER =
1439
- T.let(
1440
- :forward_to_issuer,
1441
- Increase::CardPushTransfer::Decline::Reason::TaggedSymbol
1442
- )
1443
-
1444
1409
  # The card authentication process has failed.
1445
1410
  CARD_AUTHENTICATION_FAILED =
1446
1411
  T.let(
@@ -1366,13 +1366,6 @@ module Increase
1366
1366
  Increase::CardValidation::Decline::Reason::TaggedSymbol
1367
1367
  )
1368
1368
 
1369
- # The data in the transaction is inconsistent with the original message.
1370
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE =
1371
- T.let(
1372
- :data_inconsistent_with_original_message,
1373
- Increase::CardValidation::Decline::Reason::TaggedSymbol
1374
- )
1375
-
1376
1369
  # An error was found with the PIN associated with the transaction.
1377
1370
  PIN_ERROR_FOUND =
1378
1371
  T.let(
@@ -1422,27 +1415,6 @@ module Increase
1422
1415
  Increase::CardValidation::Decline::Reason::TaggedSymbol
1423
1416
  )
1424
1417
 
1425
- # The biller information provided is invalid.
1426
- INVALID_BILLER_INFORMATION =
1427
- T.let(
1428
- :invalid_biller_information,
1429
- Increase::CardValidation::Decline::Reason::TaggedSymbol
1430
- )
1431
-
1432
- # The PIN change request has been declined.
1433
- PIN_CHANGE_REQUEST_DECLINED =
1434
- T.let(
1435
- :pin_change_request_declined,
1436
- Increase::CardValidation::Decline::Reason::TaggedSymbol
1437
- )
1438
-
1439
- # The PIN provided is considered unsafe.
1440
- UNSAFE_PIN =
1441
- T.let(
1442
- :unsafe_pin,
1443
- Increase::CardValidation::Decline::Reason::TaggedSymbol
1444
- )
1445
-
1446
1418
  # The transaction does not qualify for Visa PIN processing.
1447
1419
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN =
1448
1420
  T.let(
@@ -1478,13 +1450,6 @@ module Increase
1478
1450
  Increase::CardValidation::Decline::Reason::TaggedSymbol
1479
1451
  )
1480
1452
 
1481
- # The transaction should be forwarded to the issuer for processing.
1482
- FORWARD_TO_ISSUER =
1483
- T.let(
1484
- :forward_to_issuer,
1485
- Increase::CardValidation::Decline::Reason::TaggedSymbol
1486
- )
1487
-
1488
1453
  # The card authentication process has failed.
1489
1454
  CARD_AUTHENTICATION_FAILED =
1490
1455
  T.let(
@@ -823,13 +823,6 @@ module Increase
823
823
  Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
824
824
  )
825
825
 
826
- # The data in the transaction is inconsistent with the original message.
827
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE =
828
- T.let(
829
- :data_inconsistent_with_original_message,
830
- Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
831
- )
832
-
833
826
  # An error was found with the PIN associated with the transaction.
834
827
  PIN_ERROR_FOUND =
835
828
  T.let(
@@ -879,27 +872,6 @@ module Increase
879
872
  Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
880
873
  )
881
874
 
882
- # The biller information provided is invalid.
883
- INVALID_BILLER_INFORMATION =
884
- T.let(
885
- :invalid_biller_information,
886
- Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
887
- )
888
-
889
- # The PIN change request has been declined.
890
- PIN_CHANGE_REQUEST_DECLINED =
891
- T.let(
892
- :pin_change_request_declined,
893
- Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
894
- )
895
-
896
- # The PIN provided is considered unsafe.
897
- UNSAFE_PIN =
898
- T.let(
899
- :unsafe_pin,
900
- Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
901
- )
902
-
903
875
  # The transaction does not qualify for Visa PIN processing.
904
876
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN =
905
877
  T.let(
@@ -935,13 +907,6 @@ module Increase
935
907
  Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
936
908
  )
937
909
 
938
- # The transaction should be forwarded to the issuer for processing.
939
- FORWARD_TO_ISSUER =
940
- T.let(
941
- :forward_to_issuer,
942
- Increase::Simulations::CardTokenCreateParams::Outcome::Decline::Reason::TaggedSymbol
943
- )
944
-
945
910
  # The card authentication process has failed.
946
911
  CARD_AUTHENTICATION_FAILED =
947
912
  T.let(
@@ -60,6 +60,25 @@ module Increase
60
60
  sig { returns(String) }
61
61
  attr_accessor :unstructured_remittance_information
62
62
 
63
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
64
+ # not specified.
65
+ sig do
66
+ returns(
67
+ T.nilable(
68
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::OrSymbol
69
+ )
70
+ )
71
+ end
72
+ attr_reader :charge_bearer
73
+
74
+ sig do
75
+ params(
76
+ charge_bearer:
77
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::OrSymbol
78
+ ).void
79
+ end
80
+ attr_writer :charge_bearer
81
+
63
82
  # The debtor's account number.
64
83
  sig { returns(T.nilable(String)) }
65
84
  attr_reader :debtor_account_number
@@ -101,6 +120,8 @@ module Increase
101
120
  Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
102
121
  debtor_name: String,
103
122
  unstructured_remittance_information: String,
123
+ charge_bearer:
124
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::OrSymbol,
104
125
  debtor_account_number: String,
105
126
  debtor_external_account_id: String,
106
127
  debtor_routing_number: String,
@@ -123,6 +144,9 @@ module Increase
123
144
  debtor_name:,
124
145
  # Remittance information the debtor will see as part of the request.
125
146
  unstructured_remittance_information:,
147
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
148
+ # not specified.
149
+ charge_bearer: nil,
126
150
  # The debtor's account number.
127
151
  debtor_account_number: nil,
128
152
  # The ID of an External Account to initiate a transfer to. If this parameter is
@@ -149,6 +173,8 @@ module Increase
149
173
  Increase::WireDrawdownRequestCreateParams::DebtorAddress,
150
174
  debtor_name: String,
151
175
  unstructured_remittance_information: String,
176
+ charge_bearer:
177
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::OrSymbol,
152
178
  debtor_account_number: String,
153
179
  debtor_external_account_id: String,
154
180
  debtor_routing_number: String,
@@ -337,6 +363,59 @@ module Increase
337
363
  def to_hash
338
364
  end
339
365
  end
366
+
367
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
368
+ # not specified.
369
+ module ChargeBearer
370
+ extend Increase::Internal::Type::Enum
371
+
372
+ TaggedSymbol =
373
+ T.type_alias do
374
+ T.all(
375
+ Symbol,
376
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer
377
+ )
378
+ end
379
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
380
+
381
+ # Charges are shared between the debtor and creditor.
382
+ SHARED =
383
+ T.let(
384
+ :shared,
385
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::TaggedSymbol
386
+ )
387
+
388
+ # Charges are borne by the debtor.
389
+ DEBTOR =
390
+ T.let(
391
+ :debtor,
392
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::TaggedSymbol
393
+ )
394
+
395
+ # Charges are borne by the creditor.
396
+ CREDITOR =
397
+ T.let(
398
+ :creditor,
399
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::TaggedSymbol
400
+ )
401
+
402
+ # Charges are determined by the service level.
403
+ SERVICE_LEVEL =
404
+ T.let(
405
+ :service_level,
406
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::TaggedSymbol
407
+ )
408
+
409
+ sig do
410
+ override.returns(
411
+ T::Array[
412
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::TaggedSymbol
413
+ ]
414
+ )
415
+ end
416
+ def self.values
417
+ end
418
+ end
340
419
  end
341
420
  end
342
421
  end
@@ -15,6 +15,8 @@ module Increase
15
15
  Increase::WireDrawdownRequestCreateParams::DebtorAddress::OrHash,
16
16
  debtor_name: String,
17
17
  unstructured_remittance_information: String,
18
+ charge_bearer:
19
+ Increase::WireDrawdownRequestCreateParams::ChargeBearer::OrSymbol,
18
20
  debtor_account_number: String,
19
21
  debtor_external_account_id: String,
20
22
  debtor_routing_number: String,
@@ -37,6 +39,9 @@ module Increase
37
39
  debtor_name:,
38
40
  # Remittance information the debtor will see as part of the request.
39
41
  unstructured_remittance_information:,
42
+ # Determines who bears the cost of the drawdown request. Defaults to `shared` if
43
+ # not specified.
44
+ charge_bearer: nil,
40
45
  # The debtor's account number.
41
46
  debtor_account_number: nil,
42
47
  # The ID of an External Account to initiate a transfer to. If this parameter is
@@ -450,7 +450,6 @@ module Increase
450
450
  | :incorrect_pin
451
451
  | :allowable_number_of_pin_entry_tries_exceeded
452
452
  | :unable_to_locate_previous_message
453
- | :data_inconsistent_with_original_message
454
453
  | :pin_error_found
455
454
  | :cannot_verify_pin
456
455
  | :verification_data_failed
@@ -458,15 +457,11 @@ module Increase
458
457
  | :cash_service_not_available
459
458
  | :cashback_request_exceeds_issuer_limit
460
459
  | :transaction_amount_exceeds_pre_authorized_approval_amount
461
- | :invalid_biller_information
462
- | :pin_change_request_declined
463
- | :unsafe_pin
464
460
  | :transaction_does_not_qualify_for_visa_pin
465
461
  | :offline_declined
466
462
  | :unable_to_go_online
467
463
  | :valid_account_but_amount_not_supported
468
464
  | :invalid_use_of_merchant_category_code_correct_and_reattempt
469
- | :forward_to_issuer
470
465
  | :card_authentication_failed
471
466
 
472
467
  module Reason
@@ -619,9 +614,6 @@ module Increase
619
614
  # The previous message associated with the transaction could not be located.
620
615
  UNABLE_TO_LOCATE_PREVIOUS_MESSAGE: :unable_to_locate_previous_message
621
616
 
622
- # The data in the transaction is inconsistent with the original message.
623
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE: :data_inconsistent_with_original_message
624
-
625
617
  # An error was found with the PIN associated with the transaction.
626
618
  PIN_ERROR_FOUND: :pin_error_found
627
619
 
@@ -643,15 +635,6 @@ module Increase
643
635
  # The transaction amount exceeds the pre-authorized approval amount.
644
636
  TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT: :transaction_amount_exceeds_pre_authorized_approval_amount
645
637
 
646
- # The biller information provided is invalid.
647
- INVALID_BILLER_INFORMATION: :invalid_biller_information
648
-
649
- # The PIN change request has been declined.
650
- PIN_CHANGE_REQUEST_DECLINED: :pin_change_request_declined
651
-
652
- # The PIN provided is considered unsafe.
653
- UNSAFE_PIN: :unsafe_pin
654
-
655
638
  # The transaction does not qualify for Visa PIN processing.
656
639
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN: :transaction_does_not_qualify_for_visa_pin
657
640
 
@@ -667,9 +650,6 @@ module Increase
667
650
  # The merchant category code was used incorrectly; correct it and reattempt the transaction.
668
651
  INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT: :invalid_use_of_merchant_category_code_correct_and_reattempt
669
652
 
670
- # The transaction should be forwarded to the issuer for processing.
671
- FORWARD_TO_ISSUER: :forward_to_issuer
672
-
673
653
  # The card authentication process has failed.
674
654
  CARD_AUTHENTICATION_FAILED: :card_authentication_failed
675
655
 
@@ -448,7 +448,6 @@ module Increase
448
448
  | :incorrect_pin
449
449
  | :allowable_number_of_pin_entry_tries_exceeded
450
450
  | :unable_to_locate_previous_message
451
- | :data_inconsistent_with_original_message
452
451
  | :pin_error_found
453
452
  | :cannot_verify_pin
454
453
  | :verification_data_failed
@@ -456,15 +455,11 @@ module Increase
456
455
  | :cash_service_not_available
457
456
  | :cashback_request_exceeds_issuer_limit
458
457
  | :transaction_amount_exceeds_pre_authorized_approval_amount
459
- | :invalid_biller_information
460
- | :pin_change_request_declined
461
- | :unsafe_pin
462
458
  | :transaction_does_not_qualify_for_visa_pin
463
459
  | :offline_declined
464
460
  | :unable_to_go_online
465
461
  | :valid_account_but_amount_not_supported
466
462
  | :invalid_use_of_merchant_category_code_correct_and_reattempt
467
- | :forward_to_issuer
468
463
  | :card_authentication_failed
469
464
 
470
465
  module Reason
@@ -617,9 +612,6 @@ module Increase
617
612
  # The previous message associated with the transaction could not be located.
618
613
  UNABLE_TO_LOCATE_PREVIOUS_MESSAGE: :unable_to_locate_previous_message
619
614
 
620
- # The data in the transaction is inconsistent with the original message.
621
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE: :data_inconsistent_with_original_message
622
-
623
615
  # An error was found with the PIN associated with the transaction.
624
616
  PIN_ERROR_FOUND: :pin_error_found
625
617
 
@@ -641,15 +633,6 @@ module Increase
641
633
  # The transaction amount exceeds the pre-authorized approval amount.
642
634
  TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT: :transaction_amount_exceeds_pre_authorized_approval_amount
643
635
 
644
- # The biller information provided is invalid.
645
- INVALID_BILLER_INFORMATION: :invalid_biller_information
646
-
647
- # The PIN change request has been declined.
648
- PIN_CHANGE_REQUEST_DECLINED: :pin_change_request_declined
649
-
650
- # The PIN provided is considered unsafe.
651
- UNSAFE_PIN: :unsafe_pin
652
-
653
636
  # The transaction does not qualify for Visa PIN processing.
654
637
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN: :transaction_does_not_qualify_for_visa_pin
655
638
 
@@ -665,9 +648,6 @@ module Increase
665
648
  # The merchant category code was used incorrectly; correct it and reattempt the transaction.
666
649
  INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT: :invalid_use_of_merchant_category_code_correct_and_reattempt
667
650
 
668
- # The transaction should be forwarded to the issuer for processing.
669
- FORWARD_TO_ISSUER: :forward_to_issuer
670
-
671
651
  # The card authentication process has failed.
672
652
  CARD_AUTHENTICATION_FAILED: :card_authentication_failed
673
653
 
@@ -242,7 +242,6 @@ module Increase
242
242
  | :incorrect_pin
243
243
  | :allowable_number_of_pin_entry_tries_exceeded
244
244
  | :unable_to_locate_previous_message
245
- | :data_inconsistent_with_original_message
246
245
  | :pin_error_found
247
246
  | :cannot_verify_pin
248
247
  | :verification_data_failed
@@ -250,15 +249,11 @@ module Increase
250
249
  | :cash_service_not_available
251
250
  | :cashback_request_exceeds_issuer_limit
252
251
  | :transaction_amount_exceeds_pre_authorized_approval_amount
253
- | :invalid_biller_information
254
- | :pin_change_request_declined
255
- | :unsafe_pin
256
252
  | :transaction_does_not_qualify_for_visa_pin
257
253
  | :offline_declined
258
254
  | :unable_to_go_online
259
255
  | :valid_account_but_amount_not_supported
260
256
  | :invalid_use_of_merchant_category_code_correct_and_reattempt
261
- | :forward_to_issuer
262
257
  | :card_authentication_failed
263
258
 
264
259
  module Reason
@@ -411,9 +406,6 @@ module Increase
411
406
  # The previous message associated with the transaction could not be located.
412
407
  UNABLE_TO_LOCATE_PREVIOUS_MESSAGE: :unable_to_locate_previous_message
413
408
 
414
- # The data in the transaction is inconsistent with the original message.
415
- DATA_INCONSISTENT_WITH_ORIGINAL_MESSAGE: :data_inconsistent_with_original_message
416
-
417
409
  # An error was found with the PIN associated with the transaction.
418
410
  PIN_ERROR_FOUND: :pin_error_found
419
411
 
@@ -435,15 +427,6 @@ module Increase
435
427
  # The transaction amount exceeds the pre-authorized approval amount.
436
428
  TRANSACTION_AMOUNT_EXCEEDS_PRE_AUTHORIZED_APPROVAL_AMOUNT: :transaction_amount_exceeds_pre_authorized_approval_amount
437
429
 
438
- # The biller information provided is invalid.
439
- INVALID_BILLER_INFORMATION: :invalid_biller_information
440
-
441
- # The PIN change request has been declined.
442
- PIN_CHANGE_REQUEST_DECLINED: :pin_change_request_declined
443
-
444
- # The PIN provided is considered unsafe.
445
- UNSAFE_PIN: :unsafe_pin
446
-
447
430
  # The transaction does not qualify for Visa PIN processing.
448
431
  TRANSACTION_DOES_NOT_QUALIFY_FOR_VISA_PIN: :transaction_does_not_qualify_for_visa_pin
449
432
 
@@ -459,9 +442,6 @@ module Increase
459
442
  # The merchant category code was used incorrectly; correct it and reattempt the transaction.
460
443
  INVALID_USE_OF_MERCHANT_CATEGORY_CODE_CORRECT_AND_REATTEMPT: :invalid_use_of_merchant_category_code_correct_and_reattempt
461
444
 
462
- # The transaction should be forwarded to the issuer for processing.
463
- FORWARD_TO_ISSUER: :forward_to_issuer
464
-
465
445
  # The card authentication process has failed.
466
446
  CARD_AUTHENTICATION_FAILED: :card_authentication_failed
467
447
 
@@ -9,6 +9,7 @@ module Increase
9
9
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
10
10
  debtor_name: String,
11
11
  unstructured_remittance_information: String,
12
+ charge_bearer: Increase::Models::WireDrawdownRequestCreateParams::charge_bearer,
12
13
  debtor_account_number: String,
13
14
  debtor_external_account_id: String,
14
15
  debtor_routing_number: String,
@@ -34,6 +35,12 @@ module Increase
34
35
 
35
36
  attr_accessor unstructured_remittance_information: String
36
37
 
38
+ attr_reader charge_bearer: Increase::Models::WireDrawdownRequestCreateParams::charge_bearer?
39
+
40
+ def charge_bearer=: (
41
+ Increase::Models::WireDrawdownRequestCreateParams::charge_bearer
42
+ ) -> Increase::Models::WireDrawdownRequestCreateParams::charge_bearer
43
+
37
44
  attr_reader debtor_account_number: String?
38
45
 
39
46
  def debtor_account_number=: (String) -> String
@@ -58,6 +65,7 @@ module Increase
58
65
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
59
66
  debtor_name: String,
60
67
  unstructured_remittance_information: String,
68
+ ?charge_bearer: Increase::Models::WireDrawdownRequestCreateParams::charge_bearer,
61
69
  ?debtor_account_number: String,
62
70
  ?debtor_external_account_id: String,
63
71
  ?debtor_routing_number: String,
@@ -73,6 +81,7 @@ module Increase
73
81
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
74
82
  debtor_name: String,
75
83
  unstructured_remittance_information: String,
84
+ charge_bearer: Increase::Models::WireDrawdownRequestCreateParams::charge_bearer,
76
85
  debtor_account_number: String,
77
86
  debtor_external_account_id: String,
78
87
  debtor_routing_number: String,
@@ -175,6 +184,26 @@ module Increase
175
184
  state: String
176
185
  }
177
186
  end
187
+
188
+ type charge_bearer = :shared | :debtor | :creditor | :service_level
189
+
190
+ module ChargeBearer
191
+ extend Increase::Internal::Type::Enum
192
+
193
+ # Charges are shared between the debtor and creditor.
194
+ SHARED: :shared
195
+
196
+ # Charges are borne by the debtor.
197
+ DEBTOR: :debtor
198
+
199
+ # Charges are borne by the creditor.
200
+ CREDITOR: :creditor
201
+
202
+ # Charges are determined by the service level.
203
+ SERVICE_LEVEL: :service_level
204
+
205
+ def self?.values: -> ::Array[Increase::Models::WireDrawdownRequestCreateParams::charge_bearer]
206
+ end
178
207
  end
179
208
  end
180
209
  end
@@ -9,6 +9,7 @@ module Increase
9
9
  debtor_address: Increase::WireDrawdownRequestCreateParams::DebtorAddress,
10
10
  debtor_name: String,
11
11
  unstructured_remittance_information: String,
12
+ ?charge_bearer: Increase::Models::WireDrawdownRequestCreateParams::charge_bearer,
12
13
  ?debtor_account_number: String,
13
14
  ?debtor_external_account_id: String,
14
15
  ?debtor_routing_number: String,
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.260.0
4
+ version: 1.262.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-03-18 00:00:00.000000000 Z
11
+ date: 2026-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi