increase 1.3.0 → 1.5.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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_payment.rb +15 -0
  5. data/lib/increase/models/declined_transaction.rb +9 -0
  6. data/lib/increase/models/entity_create_beneficial_owner_params.rb +8 -3
  7. data/lib/increase/models/entity_create_params.rb +40 -15
  8. data/lib/increase/models/pending_transaction.rb +6 -0
  9. data/lib/increase/models/real_time_decision.rb +6 -0
  10. data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -0
  11. data/lib/increase/models/wire_transfer.rb +10 -1
  12. data/lib/increase/models/wire_transfer_create_params.rb +10 -1
  13. data/lib/increase/resources/wire_transfers.rb +3 -1
  14. data/lib/increase/version.rb +1 -1
  15. data/rbi/increase/models/card_payment.rbi +35 -0
  16. data/rbi/increase/models/declined_transaction.rbi +21 -0
  17. data/rbi/increase/models/entity_create_beneficial_owner_params.rbi +6 -4
  18. data/rbi/increase/models/entity_create_params.rbi +30 -20
  19. data/rbi/increase/models/pending_transaction.rbi +14 -0
  20. data/rbi/increase/models/real_time_decision.rbi +14 -0
  21. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +7 -0
  22. data/rbi/increase/models/wire_transfer.rbi +10 -0
  23. data/rbi/increase/models/wire_transfer_create_params.rbi +13 -0
  24. data/rbi/increase/resources/wire_transfers.rbi +4 -0
  25. data/sig/increase/models/card_payment.rbs +20 -0
  26. data/sig/increase/models/declined_transaction.rbs +12 -0
  27. data/sig/increase/models/pending_transaction.rbs +8 -0
  28. data/sig/increase/models/real_time_decision.rbs +8 -0
  29. data/sig/increase/models/simulations/card_authorization_create_params.rbs +4 -0
  30. data/sig/increase/models/wire_transfer.rbs +5 -0
  31. data/sig/increase/models/wire_transfer_create_params.rbs +7 -0
  32. data/sig/increase/resources/wire_transfers.rbs +1 -0
  33. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ea317fc071bf7df944bfcb883f5ff8c4a47c258ea4ed96102ce327d7291c11a
4
- data.tar.gz: 4ec74af5d62615fdb9791812a25eebafe541477cc7b44da841d8ce62c60ae2e5
3
+ metadata.gz: f90ad0e65a733a8fa78e06bc24a2c6a67f660bee3678d0a04854c8c8da70563a
4
+ data.tar.gz: 1842165afd6922d52cd3035165f6a2246614fabf4d9547eefb351f96e67cebe0
5
5
  SHA512:
6
- metadata.gz: e92be1947ec512eb6571153ab5a39f6c5af78d852afd9a5c3b9b5e0e6cd02df3b49fa161c85edfa3d04857029ee9216216cc9b8bbae753b9037a51413172b285
7
- data.tar.gz: d237cbc36a9e4b2ff82e81b91b4a5dfa24cc6e73d8884a3b22dc332ddedd4ae2c36d314c08fdf8c89eb4a34dfbde8fcd38f0ddbc10c7a686197b1e58a95b1939
6
+ metadata.gz: 77ccba76a454af68264d2d28c0a4b0ca94cfdc0ecd1887777238e0dd0ee18d99732c49b35b30ef547831ef1d1489e7012223546d638a6a62d7f901320f4d3b61
7
+ data.tar.gz: 33dc17a1e79e328ef6f0b3f3cadc29b505825e1cf26b7e9121fb0d6777ccd2f16d9ba4b2a03f7a969054b1105298cca8f06ace84e3de946731cb7acbe3cb5b4c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.5.0 (2025-06-26)
4
+
5
+ Full Changelog: [v1.4.0...v1.5.0](https://github.com/Increase/increase-ruby/compare/v1.4.0...v1.5.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([c5054f1](https://github.com/Increase/increase-ruby/commit/c5054f152ece6c990269c83a7c7537fc137ac665))
10
+ * **api:** api update ([dbddbd3](https://github.com/Increase/increase-ruby/commit/dbddbd30aae44f3600916e4e0bef10d35f866a45))
11
+
12
+ ## 1.4.0 (2025-06-25)
13
+
14
+ Full Changelog: [v1.3.0...v1.4.0](https://github.com/Increase/increase-ruby/compare/v1.3.0...v1.4.0)
15
+
16
+ ### Features
17
+
18
+ * **api:** api update ([5e84760](https://github.com/Increase/increase-ruby/commit/5e847601520f15c05af732d75fc3836a0db58e11))
19
+ * **api:** api update ([05ab542](https://github.com/Increase/increase-ruby/commit/05ab5422b9a7ca0fef94405a930ca991ae2b7b34))
20
+
3
21
  ## 1.3.0 (2025-06-24)
4
22
 
5
23
  Full Changelog: [v1.2.0...v1.3.0](https://github.com/Increase/increase-ruby/compare/v1.2.0...v1.3.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.3.0"
18
+ gem "increase", "~> 1.5.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -1207,6 +1207,12 @@ module Increase
1207
1207
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1208
1208
  REFUND = :refund
1209
1209
 
1210
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1211
+ CASH_DISBURSEMENT = :cash_disbursement
1212
+
1213
+ # The processing category is unknown.
1214
+ UNKNOWN = :unknown
1215
+
1210
1216
  # @!method self.values
1211
1217
  # @return [Array<Symbol>]
1212
1218
  end
@@ -2081,6 +2087,12 @@ module Increase
2081
2087
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
2082
2088
  REFUND = :refund
2083
2089
 
2090
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
2091
+ CASH_DISBURSEMENT = :cash_disbursement
2092
+
2093
+ # The processing category is unknown.
2094
+ UNKNOWN = :unknown
2095
+
2084
2096
  # @!method self.values
2085
2097
  # @return [Array<Symbol>]
2086
2098
  end
@@ -2144,6 +2156,9 @@ module Increase
2144
2156
  # The given CVV2 did not match the card's value.
2145
2157
  CVV2_MISMATCH = :cvv2_mismatch
2146
2158
 
2159
+ # The given PIN did not match the card's value.
2160
+ PIN_MISMATCH = :pin_mismatch
2161
+
2147
2162
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
2148
2163
  CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
2149
2164
 
@@ -999,6 +999,12 @@ module Increase
999
999
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1000
1000
  REFUND = :refund
1001
1001
 
1002
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1003
+ CASH_DISBURSEMENT = :cash_disbursement
1004
+
1005
+ # The processing category is unknown.
1006
+ UNKNOWN = :unknown
1007
+
1002
1008
  # @!method self.values
1003
1009
  # @return [Array<Symbol>]
1004
1010
  end
@@ -1062,6 +1068,9 @@ module Increase
1062
1068
  # The given CVV2 did not match the card's value.
1063
1069
  CVV2_MISMATCH = :cvv2_mismatch
1064
1070
 
1071
+ # The given PIN did not match the card's value.
1072
+ PIN_MISMATCH = :pin_mismatch
1073
+
1065
1074
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
1066
1075
  CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
1067
1076
 
@@ -312,7 +312,7 @@ module Increase
312
312
  class Other < Increase::Internal::Type::BaseModel
313
313
  # @!attribute country
314
314
  # The two-character ISO 3166-1 code representing the country that issued the
315
- # document.
315
+ # document (e.g., `US`).
316
316
  #
317
317
  # @return [String]
318
318
  required :country, String
@@ -364,7 +364,8 @@ module Increase
364
364
  # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#passport
365
365
  class Passport < Increase::Internal::Type::BaseModel
366
366
  # @!attribute country
367
- # The country that issued the passport.
367
+ # The two-character ISO 3166-1 code representing the country that issued the
368
+ # document (e.g., `US`).
368
369
  #
369
370
  # @return [String]
370
371
  required :country, String
@@ -382,10 +383,14 @@ module Increase
382
383
  required :file_id, String
383
384
 
384
385
  # @!method initialize(country:, expiration_date:, file_id:)
386
+ # Some parameter documentations has been truncated, see
387
+ # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport}
388
+ # for more details.
389
+ #
385
390
  # Information about the passport used for identification. Required if `method` is
386
391
  # equal to `passport`.
387
392
  #
388
- # @param country [String] The country that issued the passport.
393
+ # @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
389
394
  #
390
395
  # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
391
396
  #
@@ -542,7 +542,7 @@ module Increase
542
542
  class Other < Increase::Internal::Type::BaseModel
543
543
  # @!attribute country
544
544
  # The two-character ISO 3166-1 code representing the country that issued the
545
- # document.
545
+ # document (e.g., `US`).
546
546
  #
547
547
  # @return [String]
548
548
  required :country, String
@@ -594,7 +594,8 @@ module Increase
594
594
  # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#passport
595
595
  class Passport < Increase::Internal::Type::BaseModel
596
596
  # @!attribute country
597
- # The country that issued the passport.
597
+ # The two-character ISO 3166-1 code representing the country that issued the
598
+ # document (e.g., `US`).
598
599
  #
599
600
  # @return [String]
600
601
  required :country, String
@@ -612,10 +613,14 @@ module Increase
612
613
  required :file_id, String
613
614
 
614
615
  # @!method initialize(country:, expiration_date:, file_id:)
616
+ # Some parameter documentations has been truncated, see
617
+ # {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport}
618
+ # for more details.
619
+ #
615
620
  # Information about the passport used for identification. Required if `method` is
616
621
  # equal to `passport`.
617
622
  #
618
- # @param country [String] The country that issued the passport.
623
+ # @param country [String] The two-character ISO 3166-1 code representing the country that issued the docum
619
624
  #
620
625
  # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
621
626
  #
@@ -1047,7 +1052,7 @@ module Increase
1047
1052
  class Other < Increase::Internal::Type::BaseModel
1048
1053
  # @!attribute country
1049
1054
  # The two-character ISO 3166-1 code representing the country that issued the
1050
- # document.
1055
+ # document (e.g., `US`).
1051
1056
  #
1052
1057
  # @return [String]
1053
1058
  required :country, String
@@ -1099,7 +1104,8 @@ module Increase
1099
1104
  # @see Increase::Models::EntityCreateParams::Joint::Individual::Identification#passport
1100
1105
  class Passport < Increase::Internal::Type::BaseModel
1101
1106
  # @!attribute country
1102
- # The country that issued the passport.
1107
+ # The two-character ISO 3166-1 code representing the country that issued the
1108
+ # passport (e.g., `US`).
1103
1109
  #
1104
1110
  # @return [String]
1105
1111
  required :country, String
@@ -1117,10 +1123,14 @@ module Increase
1117
1123
  required :file_id, String
1118
1124
 
1119
1125
  # @!method initialize(country:, expiration_date:, file_id:)
1126
+ # Some parameter documentations has been truncated, see
1127
+ # {Increase::Models::EntityCreateParams::Joint::Individual::Identification::Passport}
1128
+ # for more details.
1129
+ #
1120
1130
  # Information about the passport used for identification. Required if `method` is
1121
1131
  # equal to `passport`.
1122
1132
  #
1123
- # @param country [String] The country that issued the passport.
1133
+ # @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
1124
1134
  #
1125
1135
  # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
1126
1136
  #
@@ -1359,7 +1369,7 @@ module Increase
1359
1369
  class Other < Increase::Internal::Type::BaseModel
1360
1370
  # @!attribute country
1361
1371
  # The two-character ISO 3166-1 code representing the country that issued the
1362
- # document.
1372
+ # document (e.g., `US`).
1363
1373
  #
1364
1374
  # @return [String]
1365
1375
  required :country, String
@@ -1411,7 +1421,8 @@ module Increase
1411
1421
  # @see Increase::Models::EntityCreateParams::NaturalPerson::Identification#passport
1412
1422
  class Passport < Increase::Internal::Type::BaseModel
1413
1423
  # @!attribute country
1414
- # The country that issued the passport.
1424
+ # The two-character ISO 3166-1 code representing the country that issued the
1425
+ # passport (e.g., `US`).
1415
1426
  #
1416
1427
  # @return [String]
1417
1428
  required :country, String
@@ -1429,10 +1440,14 @@ module Increase
1429
1440
  required :file_id, String
1430
1441
 
1431
1442
  # @!method initialize(country:, expiration_date:, file_id:)
1443
+ # Some parameter documentations has been truncated, see
1444
+ # {Increase::Models::EntityCreateParams::NaturalPerson::Identification::Passport}
1445
+ # for more details.
1446
+ #
1432
1447
  # Information about the passport used for identification. Required if `method` is
1433
1448
  # equal to `passport`.
1434
1449
  #
1435
- # @param country [String] The country that issued the passport.
1450
+ # @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
1436
1451
  #
1437
1452
  # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
1438
1453
  #
@@ -1920,7 +1935,7 @@ module Increase
1920
1935
  class Other < Increase::Internal::Type::BaseModel
1921
1936
  # @!attribute country
1922
1937
  # The two-character ISO 3166-1 code representing the country that issued the
1923
- # document.
1938
+ # document (e.g., `US`).
1924
1939
  #
1925
1940
  # @return [String]
1926
1941
  required :country, String
@@ -1972,7 +1987,8 @@ module Increase
1972
1987
  # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification#passport
1973
1988
  class Passport < Increase::Internal::Type::BaseModel
1974
1989
  # @!attribute country
1975
- # The country that issued the passport.
1990
+ # The two-character ISO 3166-1 code representing the country that issued the
1991
+ # passport (e.g., `US`).
1976
1992
  #
1977
1993
  # @return [String]
1978
1994
  required :country, String
@@ -1990,10 +2006,14 @@ module Increase
1990
2006
  required :file_id, String
1991
2007
 
1992
2008
  # @!method initialize(country:, expiration_date:, file_id:)
2009
+ # Some parameter documentations has been truncated, see
2010
+ # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport}
2011
+ # for more details.
2012
+ #
1993
2013
  # Information about the passport used for identification. Required if `method` is
1994
2014
  # equal to `passport`.
1995
2015
  #
1996
- # @param country [String] The country that issued the passport.
2016
+ # @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
1997
2017
  #
1998
2018
  # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
1999
2019
  #
@@ -2231,7 +2251,7 @@ module Increase
2231
2251
  class Other < Increase::Internal::Type::BaseModel
2232
2252
  # @!attribute country
2233
2253
  # The two-character ISO 3166-1 code representing the country that issued the
2234
- # document.
2254
+ # document (e.g., `US`).
2235
2255
  #
2236
2256
  # @return [String]
2237
2257
  required :country, String
@@ -2283,7 +2303,8 @@ module Increase
2283
2303
  # @see Increase::Models::EntityCreateParams::Trust::Grantor::Identification#passport
2284
2304
  class Passport < Increase::Internal::Type::BaseModel
2285
2305
  # @!attribute country
2286
- # The country that issued the passport.
2306
+ # The two-character ISO 3166-1 code representing the country that issued the
2307
+ # passport (e.g., `US`).
2287
2308
  #
2288
2309
  # @return [String]
2289
2310
  required :country, String
@@ -2301,10 +2322,14 @@ module Increase
2301
2322
  required :file_id, String
2302
2323
 
2303
2324
  # @!method initialize(country:, expiration_date:, file_id:)
2325
+ # Some parameter documentations has been truncated, see
2326
+ # {Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Passport}
2327
+ # for more details.
2328
+ #
2304
2329
  # Information about the passport used for identification. Required if `method` is
2305
2330
  # equal to `passport`.
2306
2331
  #
2307
- # @param country [String] The country that issued the passport.
2332
+ # @param country [String] The two-character ISO 3166-1 code representing the country that issued the passp
2308
2333
  #
2309
2334
  # @param expiration_date [Date] The passport's expiration date in YYYY-MM-DD format.
2310
2335
  #
@@ -1039,6 +1039,12 @@ module Increase
1039
1039
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1040
1040
  REFUND = :refund
1041
1041
 
1042
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1043
+ CASH_DISBURSEMENT = :cash_disbursement
1044
+
1045
+ # The processing category is unknown.
1046
+ UNKNOWN = :unknown
1047
+
1042
1048
  # @!method self.values
1043
1049
  # @return [Array<Symbol>]
1044
1050
  end
@@ -770,6 +770,12 @@ module Increase
770
770
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
771
771
  REFUND = :refund
772
772
 
773
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
774
+ CASH_DISBURSEMENT = :cash_disbursement
775
+
776
+ # The processing category is unknown.
777
+ UNKNOWN = :unknown
778
+
773
779
  # @!method self.values
774
780
  # @return [Array<Symbol>]
775
781
  end
@@ -192,6 +192,9 @@ module Increase
192
192
  # The given CVV2 did not match the card's value.
193
193
  CVV2_MISMATCH = :cvv2_mismatch
194
194
 
195
+ # The given PIN did not match the card's value.
196
+ PIN_MISMATCH = :pin_mismatch
197
+
195
198
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
196
199
  CARD_EXPIRATION_MISMATCH = :card_expiration_mismatch
197
200
 
@@ -100,6 +100,13 @@ module Increase
100
100
  # @return [String, nil]
101
101
  required :idempotency_key, String, nil?: true
102
102
 
103
+ # @!attribute inbound_wire_drawdown_request_id
104
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer
105
+ # was sent.
106
+ #
107
+ # @return [String, nil]
108
+ required :inbound_wire_drawdown_request_id, String, nil?: true
109
+
103
110
  # @!attribute message_to_recipient
104
111
  # The message that will show on the recipient's bank statement.
105
112
  #
@@ -189,7 +196,7 @@ module Increase
189
196
  # @return [Symbol, Increase::Models::WireTransfer::Type]
190
197
  required :type, enum: -> { Increase::WireTransfer::Type }
191
198
 
192
- # @!method initialize(id:, account_id:, account_number:, amount:, approval:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, cancellation:, created_at:, created_by:, currency:, external_account_id:, idempotency_key:, message_to_recipient:, network:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, pending_transaction_id:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
199
+ # @!method initialize(id:, account_id:, account_number:, amount:, approval:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, cancellation:, created_at:, created_by:, currency:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, message_to_recipient:, network:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, pending_transaction_id:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
193
200
  # Some parameter documentations has been truncated, see
194
201
  # {Increase::Models::WireTransfer} for more details.
195
202
  #
@@ -226,6 +233,8 @@ module Increase
226
233
  #
227
234
  # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
228
235
  #
236
+ # @param inbound_wire_drawdown_request_id [String, nil] The ID of an Inbound Wire Drawdown Request in response to which this transfer wa
237
+ #
229
238
  # @param message_to_recipient [String, nil] The message that will show on the recipient's bank statement.
230
239
  #
231
240
  # @param network [Symbol, Increase::Models::WireTransfer::Network] The transfer's network.
@@ -62,6 +62,13 @@ module Increase
62
62
  # @return [String, nil]
63
63
  optional :external_account_id, String
64
64
 
65
+ # @!attribute inbound_wire_drawdown_request_id
66
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer is
67
+ # being sent.
68
+ #
69
+ # @return [String, nil]
70
+ optional :inbound_wire_drawdown_request_id, String
71
+
65
72
  # @!attribute originator_address_line1
66
73
  # The originator's address line 1. This is only necessary if you're transferring
67
74
  # from a commingled account. Otherwise, we'll use the associated entity's details.
@@ -109,7 +116,7 @@ module Increase
109
116
  # @return [String, nil]
110
117
  optional :source_account_number_id, String
111
118
 
112
- # @!method initialize(account_id:, amount:, beneficiary_name:, message_to_recipient:, account_number: nil, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, external_account_id: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
119
+ # @!method initialize(account_id:, amount:, beneficiary_name:, message_to_recipient:, account_number: nil, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
113
120
  # Some parameter documentations has been truncated, see
114
121
  # {Increase::Models::WireTransferCreateParams} for more details.
115
122
  #
@@ -131,6 +138,8 @@ module Increase
131
138
  #
132
139
  # @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
133
140
  #
141
+ # @param inbound_wire_drawdown_request_id [String] The ID of an Inbound Wire Drawdown Request in response to which this transfer is
142
+ #
134
143
  # @param originator_address_line1 [String] The originator's address line 1. This is only necessary if you're transferring f
135
144
  #
136
145
  # @param originator_address_line2 [String] The originator's address line 2. This is only necessary if you're transferring f
@@ -8,7 +8,7 @@ module Increase
8
8
  #
9
9
  # Create a Wire Transfer
10
10
  #
11
- # @overload create(account_id:, amount:, beneficiary_name:, message_to_recipient:, account_number: nil, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, external_account_id: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
11
+ # @overload create(account_id:, amount:, beneficiary_name:, message_to_recipient:, account_number: nil, beneficiary_address_line1: nil, beneficiary_address_line2: nil, beneficiary_address_line3: nil, external_account_id: nil, inbound_wire_drawdown_request_id: nil, originator_address_line1: nil, originator_address_line2: nil, originator_address_line3: nil, originator_name: nil, require_approval: nil, routing_number: nil, source_account_number_id: nil, request_options: {})
12
12
  #
13
13
  # @param account_id [String] The identifier for the account that will send the transfer.
14
14
  #
@@ -28,6 +28,8 @@ module Increase
28
28
  #
29
29
  # @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr
30
30
  #
31
+ # @param inbound_wire_drawdown_request_id [String] The ID of an Inbound Wire Drawdown Request in response to which this transfer is
32
+ #
31
33
  # @param originator_address_line1 [String] The originator's address line 1. This is only necessary if you're transferring f
32
34
  #
33
35
  # @param originator_address_line2 [String] The originator's address line 2. This is only necessary if you're transferring f
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.3.0"
4
+ VERSION = "1.5.0"
5
5
  end
@@ -2245,6 +2245,20 @@ module Increase
2245
2245
  Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
2246
2246
  )
2247
2247
 
2248
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
2249
+ CASH_DISBURSEMENT =
2250
+ T.let(
2251
+ :cash_disbursement,
2252
+ Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
2253
+ )
2254
+
2255
+ # The processing category is unknown.
2256
+ UNKNOWN =
2257
+ T.let(
2258
+ :unknown,
2259
+ Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol
2260
+ )
2261
+
2248
2262
  sig do
2249
2263
  override.returns(
2250
2264
  T::Array[
@@ -3906,6 +3920,20 @@ module Increase
3906
3920
  Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
3907
3921
  )
3908
3922
 
3923
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
3924
+ CASH_DISBURSEMENT =
3925
+ T.let(
3926
+ :cash_disbursement,
3927
+ Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
3928
+ )
3929
+
3930
+ # The processing category is unknown.
3931
+ UNKNOWN =
3932
+ T.let(
3933
+ :unknown,
3934
+ Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol
3935
+ )
3936
+
3909
3937
  sig do
3910
3938
  override.returns(
3911
3939
  T::Array[
@@ -4053,6 +4081,13 @@ module Increase
4053
4081
  Increase::CardPayment::Element::CardDecline::Reason::TaggedSymbol
4054
4082
  )
4055
4083
 
4084
+ # The given PIN did not match the card's value.
4085
+ PIN_MISMATCH =
4086
+ T.let(
4087
+ :pin_mismatch,
4088
+ Increase::CardPayment::Element::CardDecline::Reason::TaggedSymbol
4089
+ )
4090
+
4056
4091
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
4057
4092
  CARD_EXPIRATION_MISMATCH =
4058
4093
  T.let(
@@ -1835,6 +1835,20 @@ module Increase
1835
1835
  Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
1836
1836
  )
1837
1837
 
1838
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1839
+ CASH_DISBURSEMENT =
1840
+ T.let(
1841
+ :cash_disbursement,
1842
+ Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
1843
+ )
1844
+
1845
+ # The processing category is unknown.
1846
+ UNKNOWN =
1847
+ T.let(
1848
+ :unknown,
1849
+ Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
1850
+ )
1851
+
1838
1852
  sig do
1839
1853
  override.returns(
1840
1854
  T::Array[
@@ -1982,6 +1996,13 @@ module Increase
1982
1996
  Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
1983
1997
  )
1984
1998
 
1999
+ # The given PIN did not match the card's value.
2000
+ PIN_MISMATCH =
2001
+ T.let(
2002
+ :pin_mismatch,
2003
+ Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
2004
+ )
2005
+
1985
2006
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
1986
2007
  CARD_EXPIRATION_MISMATCH =
1987
2008
  T.let(
@@ -602,7 +602,7 @@ module Increase
602
602
  end
603
603
 
604
604
  # The two-character ISO 3166-1 code representing the country that issued the
605
- # document.
605
+ # document (e.g., `US`).
606
606
  sig { returns(String) }
607
607
  attr_accessor :country
608
608
 
@@ -642,7 +642,7 @@ module Increase
642
642
  end
643
643
  def self.new(
644
644
  # The two-character ISO 3166-1 code representing the country that issued the
645
- # document.
645
+ # document (e.g., `US`).
646
646
  country:,
647
647
  # A description of the document submitted.
648
648
  description:,
@@ -680,7 +680,8 @@ module Increase
680
680
  )
681
681
  end
682
682
 
683
- # The country that issued the passport.
683
+ # The two-character ISO 3166-1 code representing the country that issued the
684
+ # document (e.g., `US`).
684
685
  sig { returns(String) }
685
686
  attr_accessor :country
686
687
 
@@ -702,7 +703,8 @@ module Increase
702
703
  ).returns(T.attached_class)
703
704
  end
704
705
  def self.new(
705
- # The country that issued the passport.
706
+ # The two-character ISO 3166-1 code representing the country that issued the
707
+ # document (e.g., `US`).
706
708
  country:,
707
709
  # The passport's expiration date in YYYY-MM-DD format.
708
710
  expiration_date:,
@@ -1002,7 +1002,7 @@ module Increase
1002
1002
  end
1003
1003
 
1004
1004
  # The two-character ISO 3166-1 code representing the country that issued the
1005
- # document.
1005
+ # document (e.g., `US`).
1006
1006
  sig { returns(String) }
1007
1007
  attr_accessor :country
1008
1008
 
@@ -1042,7 +1042,7 @@ module Increase
1042
1042
  end
1043
1043
  def self.new(
1044
1044
  # The two-character ISO 3166-1 code representing the country that issued the
1045
- # document.
1045
+ # document (e.g., `US`).
1046
1046
  country:,
1047
1047
  # A description of the document submitted.
1048
1048
  description:,
@@ -1080,7 +1080,8 @@ module Increase
1080
1080
  )
1081
1081
  end
1082
1082
 
1083
- # The country that issued the passport.
1083
+ # The two-character ISO 3166-1 code representing the country that issued the
1084
+ # document (e.g., `US`).
1084
1085
  sig { returns(String) }
1085
1086
  attr_accessor :country
1086
1087
 
@@ -1102,7 +1103,8 @@ module Increase
1102
1103
  ).returns(T.attached_class)
1103
1104
  end
1104
1105
  def self.new(
1105
- # The country that issued the passport.
1106
+ # The two-character ISO 3166-1 code representing the country that issued the
1107
+ # document (e.g., `US`).
1106
1108
  country:,
1107
1109
  # The passport's expiration date in YYYY-MM-DD format.
1108
1110
  expiration_date:,
@@ -1940,7 +1942,7 @@ module Increase
1940
1942
  end
1941
1943
 
1942
1944
  # The two-character ISO 3166-1 code representing the country that issued the
1943
- # document.
1945
+ # document (e.g., `US`).
1944
1946
  sig { returns(String) }
1945
1947
  attr_accessor :country
1946
1948
 
@@ -1980,7 +1982,7 @@ module Increase
1980
1982
  end
1981
1983
  def self.new(
1982
1984
  # The two-character ISO 3166-1 code representing the country that issued the
1983
- # document.
1985
+ # document (e.g., `US`).
1984
1986
  country:,
1985
1987
  # A description of the document submitted.
1986
1988
  description:,
@@ -2018,7 +2020,8 @@ module Increase
2018
2020
  )
2019
2021
  end
2020
2022
 
2021
- # The country that issued the passport.
2023
+ # The two-character ISO 3166-1 code representing the country that issued the
2024
+ # passport (e.g., `US`).
2022
2025
  sig { returns(String) }
2023
2026
  attr_accessor :country
2024
2027
 
@@ -2040,7 +2043,8 @@ module Increase
2040
2043
  ).returns(T.attached_class)
2041
2044
  end
2042
2045
  def self.new(
2043
- # The country that issued the passport.
2046
+ # The two-character ISO 3166-1 code representing the country that issued the
2047
+ # passport (e.g., `US`).
2044
2048
  country:,
2045
2049
  # The passport's expiration date in YYYY-MM-DD format.
2046
2050
  expiration_date:,
@@ -2499,7 +2503,7 @@ module Increase
2499
2503
  end
2500
2504
 
2501
2505
  # The two-character ISO 3166-1 code representing the country that issued the
2502
- # document.
2506
+ # document (e.g., `US`).
2503
2507
  sig { returns(String) }
2504
2508
  attr_accessor :country
2505
2509
 
@@ -2539,7 +2543,7 @@ module Increase
2539
2543
  end
2540
2544
  def self.new(
2541
2545
  # The two-character ISO 3166-1 code representing the country that issued the
2542
- # document.
2546
+ # document (e.g., `US`).
2543
2547
  country:,
2544
2548
  # A description of the document submitted.
2545
2549
  description:,
@@ -2577,7 +2581,8 @@ module Increase
2577
2581
  )
2578
2582
  end
2579
2583
 
2580
- # The country that issued the passport.
2584
+ # The two-character ISO 3166-1 code representing the country that issued the
2585
+ # passport (e.g., `US`).
2581
2586
  sig { returns(String) }
2582
2587
  attr_accessor :country
2583
2588
 
@@ -2599,7 +2604,8 @@ module Increase
2599
2604
  ).returns(T.attached_class)
2600
2605
  end
2601
2606
  def self.new(
2602
- # The country that issued the passport.
2607
+ # The two-character ISO 3166-1 code representing the country that issued the
2608
+ # passport (e.g., `US`).
2603
2609
  country:,
2604
2610
  # The passport's expiration date in YYYY-MM-DD format.
2605
2611
  expiration_date:,
@@ -3517,7 +3523,7 @@ module Increase
3517
3523
  end
3518
3524
 
3519
3525
  # The two-character ISO 3166-1 code representing the country that issued the
3520
- # document.
3526
+ # document (e.g., `US`).
3521
3527
  sig { returns(String) }
3522
3528
  attr_accessor :country
3523
3529
 
@@ -3557,7 +3563,7 @@ module Increase
3557
3563
  end
3558
3564
  def self.new(
3559
3565
  # The two-character ISO 3166-1 code representing the country that issued the
3560
- # document.
3566
+ # document (e.g., `US`).
3561
3567
  country:,
3562
3568
  # A description of the document submitted.
3563
3569
  description:,
@@ -3595,7 +3601,8 @@ module Increase
3595
3601
  )
3596
3602
  end
3597
3603
 
3598
- # The country that issued the passport.
3604
+ # The two-character ISO 3166-1 code representing the country that issued the
3605
+ # passport (e.g., `US`).
3599
3606
  sig { returns(String) }
3600
3607
  attr_accessor :country
3601
3608
 
@@ -3617,7 +3624,8 @@ module Increase
3617
3624
  ).returns(T.attached_class)
3618
3625
  end
3619
3626
  def self.new(
3620
- # The country that issued the passport.
3627
+ # The two-character ISO 3166-1 code representing the country that issued the
3628
+ # passport (e.g., `US`).
3621
3629
  country:,
3622
3630
  # The passport's expiration date in YYYY-MM-DD format.
3623
3631
  expiration_date:,
@@ -4075,7 +4083,7 @@ module Increase
4075
4083
  end
4076
4084
 
4077
4085
  # The two-character ISO 3166-1 code representing the country that issued the
4078
- # document.
4086
+ # document (e.g., `US`).
4079
4087
  sig { returns(String) }
4080
4088
  attr_accessor :country
4081
4089
 
@@ -4115,7 +4123,7 @@ module Increase
4115
4123
  end
4116
4124
  def self.new(
4117
4125
  # The two-character ISO 3166-1 code representing the country that issued the
4118
- # document.
4126
+ # document (e.g., `US`).
4119
4127
  country:,
4120
4128
  # A description of the document submitted.
4121
4129
  description:,
@@ -4153,7 +4161,8 @@ module Increase
4153
4161
  )
4154
4162
  end
4155
4163
 
4156
- # The country that issued the passport.
4164
+ # The two-character ISO 3166-1 code representing the country that issued the
4165
+ # passport (e.g., `US`).
4157
4166
  sig { returns(String) }
4158
4167
  attr_accessor :country
4159
4168
 
@@ -4175,7 +4184,8 @@ module Increase
4175
4184
  ).returns(T.attached_class)
4176
4185
  end
4177
4186
  def self.new(
4178
- # The country that issued the passport.
4187
+ # The two-character ISO 3166-1 code representing the country that issued the
4188
+ # passport (e.g., `US`).
4179
4189
  country:,
4180
4190
  # The passport's expiration date in YYYY-MM-DD format.
4181
4191
  expiration_date:,
@@ -1942,6 +1942,20 @@ module Increase
1942
1942
  Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
1943
1943
  )
1944
1944
 
1945
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1946
+ CASH_DISBURSEMENT =
1947
+ T.let(
1948
+ :cash_disbursement,
1949
+ Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
1950
+ )
1951
+
1952
+ # The processing category is unknown.
1953
+ UNKNOWN =
1954
+ T.let(
1955
+ :unknown,
1956
+ Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
1957
+ )
1958
+
1945
1959
  sig do
1946
1960
  override.returns(
1947
1961
  T::Array[
@@ -1413,6 +1413,20 @@ module Increase
1413
1413
  Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
1414
1414
  )
1415
1415
 
1416
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1417
+ CASH_DISBURSEMENT =
1418
+ T.let(
1419
+ :cash_disbursement,
1420
+ Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
1421
+ )
1422
+
1423
+ # The processing category is unknown.
1424
+ UNKNOWN =
1425
+ T.let(
1426
+ :unknown,
1427
+ Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
1428
+ )
1429
+
1416
1430
  sig do
1417
1431
  override.returns(
1418
1432
  T::Array[
@@ -348,6 +348,13 @@ module Increase
348
348
  Increase::Simulations::CardAuthorizationCreateParams::DeclineReason::TaggedSymbol
349
349
  )
350
350
 
351
+ # The given PIN did not match the card's value.
352
+ PIN_MISMATCH =
353
+ T.let(
354
+ :pin_mismatch,
355
+ Increase::Simulations::CardAuthorizationCreateParams::DeclineReason::TaggedSymbol
356
+ )
357
+
351
358
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
352
359
  CARD_EXPIRATION_MISMATCH =
353
360
  T.let(
@@ -95,6 +95,11 @@ module Increase
95
95
  sig { returns(T.nilable(String)) }
96
96
  attr_accessor :idempotency_key
97
97
 
98
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer
99
+ # was sent.
100
+ sig { returns(T.nilable(String)) }
101
+ attr_accessor :inbound_wire_drawdown_request_id
102
+
98
103
  # The message that will show on the recipient's bank statement.
99
104
  sig { returns(T.nilable(String)) }
100
105
  attr_accessor :message_to_recipient
@@ -189,6 +194,7 @@ module Increase
189
194
  currency: Increase::WireTransfer::Currency::OrSymbol,
190
195
  external_account_id: T.nilable(String),
191
196
  idempotency_key: T.nilable(String),
197
+ inbound_wire_drawdown_request_id: T.nilable(String),
192
198
  message_to_recipient: T.nilable(String),
193
199
  network: Increase::WireTransfer::Network::OrSymbol,
194
200
  originator_address_line1: T.nilable(String),
@@ -242,6 +248,9 @@ module Increase
242
248
  # Increase and is used to ensure that a request is only processed once. Learn more
243
249
  # about [idempotency](https://increase.com/documentation/idempotency-keys).
244
250
  idempotency_key:,
251
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer
252
+ # was sent.
253
+ inbound_wire_drawdown_request_id:,
245
254
  # The message that will show on the recipient's bank statement.
246
255
  message_to_recipient:,
247
256
  # The transfer's network.
@@ -296,6 +305,7 @@ module Increase
296
305
  currency: Increase::WireTransfer::Currency::TaggedSymbol,
297
306
  external_account_id: T.nilable(String),
298
307
  idempotency_key: T.nilable(String),
308
+ inbound_wire_drawdown_request_id: T.nilable(String),
299
309
  message_to_recipient: T.nilable(String),
300
310
  network: Increase::WireTransfer::Network::TaggedSymbol,
301
311
  originator_address_line1: T.nilable(String),
@@ -63,6 +63,14 @@ module Increase
63
63
  sig { params(external_account_id: String).void }
64
64
  attr_writer :external_account_id
65
65
 
66
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer is
67
+ # being sent.
68
+ sig { returns(T.nilable(String)) }
69
+ attr_reader :inbound_wire_drawdown_request_id
70
+
71
+ sig { params(inbound_wire_drawdown_request_id: String).void }
72
+ attr_writer :inbound_wire_drawdown_request_id
73
+
66
74
  # The originator's address line 1. This is only necessary if you're transferring
67
75
  # from a commingled account. Otherwise, we'll use the associated entity's details.
68
76
  sig { returns(T.nilable(String)) }
@@ -128,6 +136,7 @@ module Increase
128
136
  beneficiary_address_line2: String,
129
137
  beneficiary_address_line3: String,
130
138
  external_account_id: String,
139
+ inbound_wire_drawdown_request_id: String,
131
140
  originator_address_line1: String,
132
141
  originator_address_line2: String,
133
142
  originator_address_line3: String,
@@ -158,6 +167,9 @@ module Increase
158
167
  # The ID of an External Account to initiate a transfer to. If this parameter is
159
168
  # provided, `account_number` and `routing_number` must be absent.
160
169
  external_account_id: nil,
170
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer is
171
+ # being sent.
172
+ inbound_wire_drawdown_request_id: nil,
161
173
  # The originator's address line 1. This is only necessary if you're transferring
162
174
  # from a commingled account. Otherwise, we'll use the associated entity's details.
163
175
  originator_address_line1: nil,
@@ -193,6 +205,7 @@ module Increase
193
205
  beneficiary_address_line2: String,
194
206
  beneficiary_address_line3: String,
195
207
  external_account_id: String,
208
+ inbound_wire_drawdown_request_id: String,
196
209
  originator_address_line1: String,
197
210
  originator_address_line2: String,
198
211
  originator_address_line3: String,
@@ -15,6 +15,7 @@ module Increase
15
15
  beneficiary_address_line2: String,
16
16
  beneficiary_address_line3: String,
17
17
  external_account_id: String,
18
+ inbound_wire_drawdown_request_id: String,
18
19
  originator_address_line1: String,
19
20
  originator_address_line2: String,
20
21
  originator_address_line3: String,
@@ -45,6 +46,9 @@ module Increase
45
46
  # The ID of an External Account to initiate a transfer to. If this parameter is
46
47
  # provided, `account_number` and `routing_number` must be absent.
47
48
  external_account_id: nil,
49
+ # The ID of an Inbound Wire Drawdown Request in response to which this transfer is
50
+ # being sent.
51
+ inbound_wire_drawdown_request_id: nil,
48
52
  # The originator's address line 1. This is only necessary if you're transferring
49
53
  # from a commingled account. Otherwise, we'll use the associated entity's details.
50
54
  originator_address_line1: nil,
@@ -858,6 +858,8 @@ module Increase
858
858
  | :purchase
859
859
  | :quasi_cash
860
860
  | :refund
861
+ | :cash_disbursement
862
+ | :unknown
861
863
 
862
864
  module ProcessingCategory
863
865
  extend Increase::Internal::Type::Enum
@@ -883,6 +885,12 @@ module Increase
883
885
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
884
886
  REFUND: :refund
885
887
 
888
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
889
+ CASH_DISBURSEMENT: :cash_disbursement
890
+
891
+ # The processing category is unknown.
892
+ UNKNOWN: :unknown
893
+
886
894
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::processing_category]
887
895
  end
888
896
 
@@ -1533,6 +1541,8 @@ module Increase
1533
1541
  | :purchase
1534
1542
  | :quasi_cash
1535
1543
  | :refund
1544
+ | :cash_disbursement
1545
+ | :unknown
1536
1546
 
1537
1547
  module ProcessingCategory
1538
1548
  extend Increase::Internal::Type::Enum
@@ -1558,6 +1568,12 @@ module Increase
1558
1568
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
1559
1569
  REFUND: :refund
1560
1570
 
1571
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1572
+ CASH_DISBURSEMENT: :cash_disbursement
1573
+
1574
+ # The processing category is unknown.
1575
+ UNKNOWN: :unknown
1576
+
1561
1577
  def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::processing_category]
1562
1578
  end
1563
1579
 
@@ -1602,6 +1618,7 @@ module Increase
1602
1618
  | :group_locked
1603
1619
  | :insufficient_funds
1604
1620
  | :cvv2_mismatch
1621
+ | :pin_mismatch
1605
1622
  | :card_expiration_mismatch
1606
1623
  | :transaction_not_allowed
1607
1624
  | :breaches_limit
@@ -1640,6 +1657,9 @@ module Increase
1640
1657
  # The given CVV2 did not match the card's value.
1641
1658
  CVV2_MISMATCH: :cvv2_mismatch
1642
1659
 
1660
+ # The given PIN did not match the card's value.
1661
+ PIN_MISMATCH: :pin_mismatch
1662
+
1643
1663
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
1644
1664
  CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
1645
1665
 
@@ -735,6 +735,8 @@ module Increase
735
735
  | :purchase
736
736
  | :quasi_cash
737
737
  | :refund
738
+ | :cash_disbursement
739
+ | :unknown
738
740
 
739
741
  module ProcessingCategory
740
742
  extend Increase::Internal::Type::Enum
@@ -760,6 +762,12 @@ module Increase
760
762
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
761
763
  REFUND: :refund
762
764
 
765
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
766
+ CASH_DISBURSEMENT: :cash_disbursement
767
+
768
+ # The processing category is unknown.
769
+ UNKNOWN: :unknown
770
+
763
771
  def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::processing_category]
764
772
  end
765
773
 
@@ -804,6 +812,7 @@ module Increase
804
812
  | :group_locked
805
813
  | :insufficient_funds
806
814
  | :cvv2_mismatch
815
+ | :pin_mismatch
807
816
  | :card_expiration_mismatch
808
817
  | :transaction_not_allowed
809
818
  | :breaches_limit
@@ -842,6 +851,9 @@ module Increase
842
851
  # The given CVV2 did not match the card's value.
843
852
  CVV2_MISMATCH: :cvv2_mismatch
844
853
 
854
+ # The given PIN did not match the card's value.
855
+ PIN_MISMATCH: :pin_mismatch
856
+
845
857
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
846
858
  CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
847
859
 
@@ -701,6 +701,8 @@ module Increase
701
701
  | :purchase
702
702
  | :quasi_cash
703
703
  | :refund
704
+ | :cash_disbursement
705
+ | :unknown
704
706
 
705
707
  module ProcessingCategory
706
708
  extend Increase::Internal::Type::Enum
@@ -726,6 +728,12 @@ module Increase
726
728
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
727
729
  REFUND: :refund
728
730
 
731
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
732
+ CASH_DISBURSEMENT: :cash_disbursement
733
+
734
+ # The processing category is unknown.
735
+ UNKNOWN: :unknown
736
+
729
737
  def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category]
730
738
  end
731
739
 
@@ -549,6 +549,8 @@ module Increase
549
549
  | :purchase
550
550
  | :quasi_cash
551
551
  | :refund
552
+ | :cash_disbursement
553
+ | :unknown
552
554
 
553
555
  module ProcessingCategory
554
556
  extend Increase::Internal::Type::Enum
@@ -574,6 +576,12 @@ module Increase
574
576
  # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
575
577
  REFUND: :refund
576
578
 
579
+ # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
580
+ CASH_DISBURSEMENT: :cash_disbursement
581
+
582
+ # The processing category is unknown.
583
+ UNKNOWN: :unknown
584
+
577
585
  def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::processing_category]
578
586
  end
579
587
 
@@ -150,6 +150,7 @@ module Increase
150
150
  | :group_locked
151
151
  | :insufficient_funds
152
152
  | :cvv2_mismatch
153
+ | :pin_mismatch
153
154
  | :card_expiration_mismatch
154
155
  | :transaction_not_allowed
155
156
  | :breaches_limit
@@ -188,6 +189,9 @@ module Increase
188
189
  # The given CVV2 did not match the card's value.
189
190
  CVV2_MISMATCH: :cvv2_mismatch
190
191
 
192
+ # The given PIN did not match the card's value.
193
+ PIN_MISMATCH: :pin_mismatch
194
+
191
195
  # The given expiration date did not match the card's value. Only applies when a CVV2 is present.
192
196
  CARD_EXPIRATION_MISMATCH: :card_expiration_mismatch
193
197
 
@@ -17,6 +17,7 @@ module Increase
17
17
  currency: Increase::Models::WireTransfer::currency,
18
18
  external_account_id: String?,
19
19
  idempotency_key: String?,
20
+ inbound_wire_drawdown_request_id: String?,
20
21
  message_to_recipient: String?,
21
22
  network: Increase::Models::WireTransfer::network,
22
23
  :originator_address_line1 => String?,
@@ -64,6 +65,8 @@ module Increase
64
65
 
65
66
  attr_accessor idempotency_key: String?
66
67
 
68
+ attr_accessor inbound_wire_drawdown_request_id: String?
69
+
67
70
  attr_accessor message_to_recipient: String?
68
71
 
69
72
  attr_accessor network: Increase::Models::WireTransfer::network
@@ -108,6 +111,7 @@ module Increase
108
111
  currency: Increase::Models::WireTransfer::currency,
109
112
  external_account_id: String?,
110
113
  idempotency_key: String?,
114
+ inbound_wire_drawdown_request_id: String?,
111
115
  message_to_recipient: String?,
112
116
  network: Increase::Models::WireTransfer::network,
113
117
  originator_address_line1: String?,
@@ -140,6 +144,7 @@ module Increase
140
144
  currency: Increase::Models::WireTransfer::currency,
141
145
  external_account_id: String?,
142
146
  idempotency_key: String?,
147
+ inbound_wire_drawdown_request_id: String?,
143
148
  message_to_recipient: String?,
144
149
  network: Increase::Models::WireTransfer::network,
145
150
  :originator_address_line1 => String?,
@@ -11,6 +11,7 @@ module Increase
11
11
  :beneficiary_address_line2 => String,
12
12
  :beneficiary_address_line3 => String,
13
13
  external_account_id: String,
14
+ inbound_wire_drawdown_request_id: String,
14
15
  :originator_address_line1 => String,
15
16
  :originator_address_line2 => String,
16
17
  :originator_address_line3 => String,
@@ -53,6 +54,10 @@ module Increase
53
54
 
54
55
  def external_account_id=: (String) -> String
55
56
 
57
+ attr_reader inbound_wire_drawdown_request_id: String?
58
+
59
+ def inbound_wire_drawdown_request_id=: (String) -> String
60
+
56
61
  attr_reader originator_address_line1: String?
57
62
 
58
63
  def originator_address_line1=: (String) -> String
@@ -91,6 +96,7 @@ module Increase
91
96
  ?beneficiary_address_line2: String,
92
97
  ?beneficiary_address_line3: String,
93
98
  ?external_account_id: String,
99
+ ?inbound_wire_drawdown_request_id: String,
94
100
  ?originator_address_line1: String,
95
101
  ?originator_address_line2: String,
96
102
  ?originator_address_line3: String,
@@ -111,6 +117,7 @@ module Increase
111
117
  :beneficiary_address_line2 => String,
112
118
  :beneficiary_address_line3 => String,
113
119
  external_account_id: String,
120
+ inbound_wire_drawdown_request_id: String,
114
121
  :originator_address_line1 => String,
115
122
  :originator_address_line2 => String,
116
123
  :originator_address_line3 => String,
@@ -11,6 +11,7 @@ module Increase
11
11
  ?beneficiary_address_line2: String,
12
12
  ?beneficiary_address_line3: String,
13
13
  ?external_account_id: String,
14
+ ?inbound_wire_drawdown_request_id: String,
14
15
  ?originator_address_line1: String,
15
16
  ?originator_address_line2: String,
16
17
  ?originator_address_line3: 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.3.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-06-24 00:00:00.000000000 Z
11
+ date: 2025-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool