increase 1.352.0 → 1.354.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 (66) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +3 -3
  4. data/lib/increase/models/beneficial_owner_create_params.rb +3 -0
  5. data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
  6. data/lib/increase/models/card_payment.rb +1177 -2
  7. data/lib/increase/models/check_transfer.rb +15 -9
  8. data/lib/increase/models/declined_transaction.rb +3 -0
  9. data/lib/increase/models/digital_wallet_token.rb +15 -0
  10. data/lib/increase/models/entity.rb +47 -1
  11. data/lib/increase/models/entity_beneficial_owner.rb +3 -0
  12. data/lib/increase/models/entity_create_params.rb +3 -0
  13. data/lib/increase/models/export.rb +19 -19
  14. data/lib/increase/models/export_create_params.rb +15 -15
  15. data/lib/increase/models/export_list_params.rb +19 -19
  16. data/lib/increase/models/inbound_wire_transfer.rb +10 -1
  17. data/lib/increase/models/real_time_decision.rb +3 -0
  18. data/lib/increase/models/real_time_decision_action_params.rb +3 -0
  19. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -0
  20. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  21. data/lib/increase/models/transaction.rb +1184 -3
  22. data/lib/increase/models/wire_drawdown_request.rb +3 -3
  23. data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
  24. data/lib/increase/version.rb +1 -1
  25. data/rbi/increase/models/ach_transfer.rbi +3 -3
  26. data/rbi/increase/models/beneficial_owner_create_params.rbi +7 -0
  27. data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
  28. data/rbi/increase/models/card_payment.rbi +5281 -2962
  29. data/rbi/increase/models/check_transfer.rbi +15 -9
  30. data/rbi/increase/models/declined_transaction.rbi +7 -0
  31. data/rbi/increase/models/digital_wallet_token.rbi +35 -0
  32. data/rbi/increase/models/entity.rbi +107 -0
  33. data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
  34. data/rbi/increase/models/entity_create_params.rbi +7 -0
  35. data/rbi/increase/models/export.rbi +32 -32
  36. data/rbi/increase/models/export_create_params.rbi +29 -29
  37. data/rbi/increase/models/export_list_params.rbi +37 -37
  38. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  39. data/rbi/increase/models/real_time_decision.rbi +7 -0
  40. data/rbi/increase/models/real_time_decision_action_params.rbi +7 -0
  41. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +21 -0
  42. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  43. data/rbi/increase/models/transaction.rbi +4656 -2336
  44. data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
  45. data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
  46. data/sig/increase/models/ach_transfer.rbs +4 -4
  47. data/sig/increase/models/beneficial_owner_create_params.rbs +4 -0
  48. data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
  49. data/sig/increase/models/card_payment.rbs +1190 -0
  50. data/sig/increase/models/declined_transaction.rbs +4 -0
  51. data/sig/increase/models/digital_wallet_token.rbs +31 -2
  52. data/sig/increase/models/entity.rbs +43 -0
  53. data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
  54. data/sig/increase/models/entity_create_params.rbs +4 -0
  55. data/sig/increase/models/export.rbs +28 -28
  56. data/sig/increase/models/export_create_params.rbs +22 -22
  57. data/sig/increase/models/export_list_params.rbs +28 -28
  58. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  59. data/sig/increase/models/real_time_decision.rbs +4 -0
  60. data/sig/increase/models/real_time_decision_action_params.rbs +4 -0
  61. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +12 -0
  62. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  63. data/sig/increase/models/transaction.rbs +1191 -0
  64. data/sig/increase/models/wire_drawdown_request.rbs +4 -4
  65. data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
  66. metadata +2 -2
@@ -1067,6 +1067,7 @@ module Increase
1067
1067
  | :exceeds_approval_limit
1068
1068
  | :card_temporarily_disabled
1069
1069
  | :suspected_fraud
1070
+ | :additional_customer_authentication_required
1070
1071
  | :other
1071
1072
 
1072
1073
  module RealTimeDecisionReason
@@ -1087,6 +1088,9 @@ module Increase
1087
1088
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
1088
1089
  SUSPECTED_FRAUD: :suspected_fraud
1089
1090
 
1091
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
1092
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
1093
+
1090
1094
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
1091
1095
  OTHER: :other
1092
1096
 
@@ -112,6 +112,9 @@ module Increase
112
112
  | :webhook_declined
113
113
  | :incorrect_card_verification_code
114
114
  | :declined_by_token_requestor
115
+ | :group_locked
116
+ | :account_closed
117
+ | :entity_not_active
115
118
 
116
119
  module Reason
117
120
  extend Increase::Internal::Type::Enum
@@ -134,6 +137,15 @@ module Increase
134
137
  # The tokenization attempt was declined by the token requestor.
135
138
  DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
136
139
 
140
+ # The group was locked.
141
+ GROUP_LOCKED: :group_locked
142
+
143
+ # The account has been closed.
144
+ ACCOUNT_CLOSED: :account_closed
145
+
146
+ # The account's entity was not active.
147
+ ENTITY_NOT_ACTIVE: :entity_not_active
148
+
137
149
  def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Decline::reason]
138
150
  end
139
151
  end
@@ -227,7 +239,13 @@ module Increase
227
239
  def to_hash: -> { :first6 => String, :last4 => String }
228
240
  end
229
241
 
230
- type status = :active | :inactive | :suspended | :deactivated | :declined
242
+ type status =
243
+ :active
244
+ | :inactive
245
+ | :suspended
246
+ | :deactivated
247
+ | :declined
248
+ | :pending_transitioning
231
249
 
232
250
  module Status
233
251
  extend Increase::Internal::Type::Enum
@@ -247,6 +265,9 @@ module Increase
247
265
  # The digital wallet token was declined during provisioning.
248
266
  DECLINED: :declined
249
267
 
268
+ # The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
269
+ PENDING_TRANSITIONING: :pending_transitioning
270
+
250
271
  def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::status]
251
272
  end
252
273
 
@@ -302,7 +323,12 @@ module Increase
302
323
  }
303
324
 
304
325
  type status =
305
- :active | :inactive | :suspended | :deactivated | :declined
326
+ :active
327
+ | :inactive
328
+ | :suspended
329
+ | :deactivated
330
+ | :declined
331
+ | :pending_transitioning
306
332
 
307
333
  module Status
308
334
  extend Increase::Internal::Type::Enum
@@ -322,6 +348,9 @@ module Increase
322
348
  # The digital wallet token was declined during provisioning.
323
349
  DECLINED: :declined
324
350
 
351
+ # The digital wallet token is transitioning to a new status and is awaiting confirmation from the card network.
352
+ PENDING_TRANSITIONING: :pending_transitioning
353
+
325
354
  def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Update::status]
326
355
  end
327
356
  end
@@ -336,6 +336,7 @@ module Increase
336
336
 
337
337
  type method_ =
338
338
  :social_security_number
339
+ | :social_security_number_last4
339
340
  | :individual_taxpayer_identification_number
340
341
  | :passport
341
342
  | :drivers_license
@@ -347,6 +348,9 @@ module Increase
347
348
  # A social security number.
348
349
  SOCIAL_SECURITY_NUMBER: :social_security_number
349
350
 
351
+ # The last four digits of a social security number. Not all programs can use this method.
352
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
353
+
350
354
  # An individual taxpayer identification number (ITIN).
351
355
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
352
356
 
@@ -674,6 +678,7 @@ module Increase
674
678
 
675
679
  type method_ =
676
680
  :social_security_number
681
+ | :social_security_number_last4
677
682
  | :individual_taxpayer_identification_number
678
683
  | :passport
679
684
  | :drivers_license
@@ -685,6 +690,9 @@ module Increase
685
690
  # A social security number.
686
691
  SOCIAL_SECURITY_NUMBER: :social_security_number
687
692
 
693
+ # The last four digits of a social security number. Not all programs can use this method.
694
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
695
+
688
696
  # An individual taxpayer identification number (ITIN).
689
697
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
690
698
 
@@ -799,6 +807,7 @@ module Increase
799
807
 
800
808
  type method_ =
801
809
  :social_security_number
810
+ | :social_security_number_last4
802
811
  | :individual_taxpayer_identification_number
803
812
  | :passport
804
813
  | :drivers_license
@@ -810,6 +819,9 @@ module Increase
810
819
  # A social security number.
811
820
  SOCIAL_SECURITY_NUMBER: :social_security_number
812
821
 
822
+ # The last four digits of a social security number. Not all programs can use this method.
823
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
824
+
813
825
  # An individual taxpayer identification number (ITIN).
814
826
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
815
827
 
@@ -1047,6 +1059,7 @@ module Increase
1047
1059
 
1048
1060
  type method_ =
1049
1061
  :social_security_number
1062
+ | :social_security_number_last4
1050
1063
  | :individual_taxpayer_identification_number
1051
1064
  | :passport
1052
1065
  | :drivers_license
@@ -1058,6 +1071,9 @@ module Increase
1058
1071
  # A social security number.
1059
1072
  SOCIAL_SECURITY_NUMBER: :social_security_number
1060
1073
 
1074
+ # The last four digits of a social security number. Not all programs can use this method.
1075
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
1076
+
1061
1077
  # An individual taxpayer identification number (ITIN).
1062
1078
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1063
1079
 
@@ -1396,6 +1412,7 @@ module Increase
1396
1412
 
1397
1413
  type method_ =
1398
1414
  :social_security_number
1415
+ | :social_security_number_last4
1399
1416
  | :individual_taxpayer_identification_number
1400
1417
  | :passport
1401
1418
  | :drivers_license
@@ -1407,6 +1424,9 @@ module Increase
1407
1424
  # A social security number.
1408
1425
  SOCIAL_SECURITY_NUMBER: :social_security_number
1409
1426
 
1427
+ # The last four digits of a social security number. Not all programs can use this method.
1428
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
1429
+
1410
1430
  # An individual taxpayer identification number (ITIN).
1411
1431
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1412
1432
 
@@ -1541,6 +1561,7 @@ module Increase
1541
1561
 
1542
1562
  type method_ =
1543
1563
  :social_security_number
1564
+ | :social_security_number_last4
1544
1565
  | :individual_taxpayer_identification_number
1545
1566
  | :passport
1546
1567
  | :drivers_license
@@ -1552,6 +1573,9 @@ module Increase
1552
1573
  # A social security number.
1553
1574
  SOCIAL_SECURITY_NUMBER: :social_security_number
1554
1575
 
1576
+ # The last four digits of a social security number. Not all programs can use this method.
1577
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
1578
+
1555
1579
  # An individual taxpayer identification number (ITIN).
1556
1580
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
1557
1581
 
@@ -1617,6 +1641,7 @@ module Increase
1617
1641
  {
1618
1642
  beneficial_owner_address: Increase::Entity::Validation::Issue::BeneficialOwnerAddress?,
1619
1643
  beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?,
1644
+ beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?,
1620
1645
  category: Increase::Models::Entity::Validation::Issue::category,
1621
1646
  entity_address: Increase::Entity::Validation::Issue::EntityAddress?,
1622
1647
  entity_identity: Increase::Entity::Validation::Issue::EntityIdentity?,
@@ -1628,6 +1653,8 @@ module Increase
1628
1653
 
1629
1654
  attr_accessor beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?
1630
1655
 
1656
+ attr_accessor beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?
1657
+
1631
1658
  attr_accessor category: Increase::Models::Entity::Validation::Issue::category
1632
1659
 
1633
1660
  attr_accessor entity_address: Increase::Entity::Validation::Issue::EntityAddress?
@@ -1639,6 +1666,7 @@ module Increase
1639
1666
  def initialize: (
1640
1667
  beneficial_owner_address: Increase::Entity::Validation::Issue::BeneficialOwnerAddress?,
1641
1668
  beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?,
1669
+ beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?,
1642
1670
  category: Increase::Models::Entity::Validation::Issue::category,
1643
1671
  entity_address: Increase::Entity::Validation::Issue::EntityAddress?,
1644
1672
  entity_identity: Increase::Entity::Validation::Issue::EntityIdentity?,
@@ -1648,6 +1676,7 @@ module Increase
1648
1676
  def to_hash: -> {
1649
1677
  beneficial_owner_address: Increase::Entity::Validation::Issue::BeneficialOwnerAddress?,
1650
1678
  beneficial_owner_identity: Increase::Entity::Validation::Issue::BeneficialOwnerIdentity?,
1679
+ beneficial_owner_tax_identifier: Increase::Entity::Validation::Issue::BeneficialOwnerTaxIdentifier?,
1651
1680
  category: Increase::Models::Entity::Validation::Issue::category,
1652
1681
  entity_address: Increase::Entity::Validation::Issue::EntityAddress?,
1653
1682
  entity_identity: Increase::Entity::Validation::Issue::EntityIdentity?,
@@ -1697,12 +1726,23 @@ module Increase
1697
1726
  def to_hash: -> { beneficial_owner_id: String }
1698
1727
  end
1699
1728
 
1729
+ type beneficial_owner_tax_identifier = { beneficial_owner_id: String }
1730
+
1731
+ class BeneficialOwnerTaxIdentifier < Increase::Internal::Type::BaseModel
1732
+ attr_accessor beneficial_owner_id: String
1733
+
1734
+ def initialize: (beneficial_owner_id: String) -> void
1735
+
1736
+ def to_hash: -> { beneficial_owner_id: String }
1737
+ end
1738
+
1700
1739
  type category =
1701
1740
  :entity_tax_identifier
1702
1741
  | :entity_address
1703
1742
  | :entity_identity
1704
1743
  | :beneficial_owner_identity
1705
1744
  | :beneficial_owner_address
1745
+ | :beneficial_owner_tax_identifier
1706
1746
 
1707
1747
  module Category
1708
1748
  extend Increase::Internal::Type::Enum
@@ -1722,6 +1762,9 @@ module Increase
1722
1762
  # A beneficial owner's address could not be validated. Update the address with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
1723
1763
  BENEFICIAL_OWNER_ADDRESS: :beneficial_owner_address
1724
1764
 
1765
+ # A beneficial owner's full tax identifier is required. A non-US person can submit a passport or driver's license. Make changes via the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
1766
+ BENEFICIAL_OWNER_TAX_IDENTIFIER: :beneficial_owner_tax_identifier
1767
+
1725
1768
  def self?.values: -> ::Array[Increase::Models::Entity::Validation::Issue::category]
1726
1769
  end
1727
1770
 
@@ -147,6 +147,7 @@ module Increase
147
147
 
148
148
  type method_ =
149
149
  :social_security_number
150
+ | :social_security_number_last4
150
151
  | :individual_taxpayer_identification_number
151
152
  | :passport
152
153
  | :drivers_license
@@ -158,6 +159,9 @@ module Increase
158
159
  # A social security number.
159
160
  SOCIAL_SECURITY_NUMBER: :social_security_number
160
161
 
162
+ # The last four digits of a social security number. Not all programs can use this method.
163
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
164
+
161
165
  # An individual taxpayer identification number (ITIN).
162
166
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
163
167
 
@@ -431,6 +431,7 @@ module Increase
431
431
 
432
432
  type method_ =
433
433
  :social_security_number
434
+ | :social_security_number_last4
434
435
  | :individual_taxpayer_identification_number
435
436
  | :passport
436
437
  | :drivers_license
@@ -442,6 +443,9 @@ module Increase
442
443
  # A social security number.
443
444
  SOCIAL_SECURITY_NUMBER: :social_security_number
444
445
 
446
+ # The last four digits of a social security number. Not all programs can use this method.
447
+ SOCIAL_SECURITY_NUMBER_LAST4: :social_security_number_last4
448
+
445
449
  # An individual taxpayer identification number (ITIN).
446
450
  INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER: :individual_taxpayer_identification_number
447
451
 
@@ -253,33 +253,33 @@ module Increase
253
253
  end
254
254
 
255
255
  type category =
256
- :account_statement_ofx
257
- | :account_statement_bai2
258
- | :transaction_csv
256
+ :account_statement_bai2
257
+ | :account_statement_ofx
258
+ | :account_verification_letter
259
259
  | :balance_csv
260
260
  | :bookkeeping_account_balance_csv
261
- | :entity_csv
262
- | :vendor_csv
261
+ | :daily_account_balance_csv
263
262
  | :dashboard_table_csv
264
- | :account_verification_letter
265
- | :funding_instructions
263
+ | :entity_csv
264
+ | :fee_csv
266
265
  | :form_1099_int
267
266
  | :form_1099_misc
268
- | :fee_csv
267
+ | :funding_instructions
268
+ | :transaction_csv
269
+ | :vendor_csv
269
270
  | :voided_check
270
- | :daily_account_balance_csv
271
271
 
272
272
  module Category
273
273
  extend Increase::Internal::Type::Enum
274
274
 
275
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
276
- ACCOUNT_STATEMENT_OFX: :account_statement_ofx
277
-
278
275
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
279
276
  ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
280
277
 
281
- # Export a CSV of all transactions for a given time range.
282
- TRANSACTION_CSV: :transaction_csv
278
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
279
+ ACCOUNT_STATEMENT_OFX: :account_statement_ofx
280
+
281
+ # A PDF of an account verification letter.
282
+ ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
283
283
 
284
284
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
285
285
  BALANCE_CSV: :balance_csv
@@ -287,20 +287,17 @@ module Increase
287
287
  # Export a CSV of bookkeeping account balances for the dates in a given range.
288
288
  BOOKKEEPING_ACCOUNT_BALANCE_CSV: :bookkeeping_account_balance_csv
289
289
 
290
- # Export a CSV of entities with a given status.
291
- ENTITY_CSV: :entity_csv
292
-
293
- # Export a CSV of vendors added to the third-party risk management dashboard.
294
- VENDOR_CSV: :vendor_csv
290
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
291
+ DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
295
292
 
296
293
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
297
294
  DASHBOARD_TABLE_CSV: :dashboard_table_csv
298
295
 
299
- # A PDF of an account verification letter.
300
- ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
296
+ # Export a CSV of entities with a given status.
297
+ ENTITY_CSV: :entity_csv
301
298
 
302
- # A PDF of funding instructions.
303
- FUNDING_INSTRUCTIONS: :funding_instructions
299
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
300
+ FEE_CSV: :fee_csv
304
301
 
305
302
  # A PDF of an Internal Revenue Service Form 1099-INT.
306
303
  FORM_1099_INT: :form_1099_int
@@ -308,15 +305,18 @@ module Increase
308
305
  # A PDF of an Internal Revenue Service Form 1099-MISC.
309
306
  FORM_1099_MISC: :form_1099_misc
310
307
 
311
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
312
- FEE_CSV: :fee_csv
308
+ # A PDF of funding instructions.
309
+ FUNDING_INSTRUCTIONS: :funding_instructions
310
+
311
+ # Export a CSV of all transactions for a given time range.
312
+ TRANSACTION_CSV: :transaction_csv
313
+
314
+ # Export a CSV of vendors added to the third-party risk management dashboard.
315
+ VENDOR_CSV: :vendor_csv
313
316
 
314
317
  # A PDF of a voided check.
315
318
  VOIDED_CHECK: :voided_check
316
319
 
317
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
318
- DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
319
-
320
320
  def self?.values: -> ::Array[Increase::Models::Export::category]
321
321
  end
322
322
 
@@ -122,30 +122,30 @@ module Increase
122
122
  }
123
123
 
124
124
  type category =
125
- :account_statement_ofx
126
- | :account_statement_bai2
127
- | :transaction_csv
125
+ :account_statement_bai2
126
+ | :account_statement_ofx
127
+ | :account_verification_letter
128
128
  | :balance_csv
129
129
  | :bookkeeping_account_balance_csv
130
+ | :daily_account_balance_csv
130
131
  | :entity_csv
131
- | :vendor_csv
132
- | :account_verification_letter
133
- | :funding_instructions
134
132
  | :fee_csv
133
+ | :funding_instructions
134
+ | :transaction_csv
135
+ | :vendor_csv
135
136
  | :voided_check
136
- | :daily_account_balance_csv
137
137
 
138
138
  module Category
139
139
  extend Increase::Internal::Type::Enum
140
140
 
141
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
142
- ACCOUNT_STATEMENT_OFX: :account_statement_ofx
143
-
144
141
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
145
142
  ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
146
143
 
147
- # Export a CSV of all transactions for a given time range.
148
- TRANSACTION_CSV: :transaction_csv
144
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
145
+ ACCOUNT_STATEMENT_OFX: :account_statement_ofx
146
+
147
+ # A PDF of an account verification letter.
148
+ ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
149
149
 
150
150
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
151
151
  BALANCE_CSV: :balance_csv
@@ -153,27 +153,27 @@ module Increase
153
153
  # Export a CSV of bookkeeping account balances for the dates in a given range.
154
154
  BOOKKEEPING_ACCOUNT_BALANCE_CSV: :bookkeeping_account_balance_csv
155
155
 
156
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
157
+ DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
158
+
156
159
  # Export a CSV of entities with a given status.
157
160
  ENTITY_CSV: :entity_csv
158
161
 
159
- # Export a CSV of vendors added to the third-party risk management dashboard.
160
- VENDOR_CSV: :vendor_csv
161
-
162
- # A PDF of an account verification letter.
163
- ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
162
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
163
+ FEE_CSV: :fee_csv
164
164
 
165
165
  # A PDF of funding instructions.
166
166
  FUNDING_INSTRUCTIONS: :funding_instructions
167
167
 
168
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
169
- FEE_CSV: :fee_csv
168
+ # Export a CSV of all transactions for a given time range.
169
+ TRANSACTION_CSV: :transaction_csv
170
+
171
+ # Export a CSV of vendors added to the third-party risk management dashboard.
172
+ VENDOR_CSV: :vendor_csv
170
173
 
171
174
  # A PDF of a voided check.
172
175
  VOIDED_CHECK: :voided_check
173
176
 
174
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
175
- DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
176
-
177
177
  def self?.values: -> ::Array[Increase::Models::ExportCreateParams::category]
178
178
  end
179
179
 
@@ -84,33 +84,33 @@ module Increase
84
84
  }
85
85
 
86
86
  type category =
87
- :account_statement_ofx
88
- | :account_statement_bai2
89
- | :transaction_csv
87
+ :account_statement_bai2
88
+ | :account_statement_ofx
89
+ | :account_verification_letter
90
90
  | :balance_csv
91
91
  | :bookkeeping_account_balance_csv
92
- | :entity_csv
93
- | :vendor_csv
92
+ | :daily_account_balance_csv
94
93
  | :dashboard_table_csv
95
- | :account_verification_letter
96
- | :funding_instructions
94
+ | :entity_csv
95
+ | :fee_csv
97
96
  | :form_1099_int
98
97
  | :form_1099_misc
99
- | :fee_csv
98
+ | :funding_instructions
99
+ | :transaction_csv
100
+ | :vendor_csv
100
101
  | :voided_check
101
- | :daily_account_balance_csv
102
102
 
103
103
  module Category
104
104
  extend Increase::Internal::Type::Enum
105
105
 
106
- # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
107
- ACCOUNT_STATEMENT_OFX: :account_statement_ofx
108
-
109
106
  # Export a BAI2 file of transactions and balances for a given date and optional Account.
110
107
  ACCOUNT_STATEMENT_BAI2: :account_statement_bai2
111
108
 
112
- # Export a CSV of all transactions for a given time range.
113
- TRANSACTION_CSV: :transaction_csv
109
+ # Export an Open Financial Exchange (OFX) file of transactions and balances for a given time range and Account.
110
+ ACCOUNT_STATEMENT_OFX: :account_statement_ofx
111
+
112
+ # A PDF of an account verification letter.
113
+ ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
114
114
 
115
115
  # Export a CSV of account balances for the dates in a given range. (deprecated, use `daily_account_balance_csv` instead)
116
116
  BALANCE_CSV: :balance_csv
@@ -118,20 +118,17 @@ module Increase
118
118
  # Export a CSV of bookkeeping account balances for the dates in a given range.
119
119
  BOOKKEEPING_ACCOUNT_BALANCE_CSV: :bookkeeping_account_balance_csv
120
120
 
121
- # Export a CSV of entities with a given status.
122
- ENTITY_CSV: :entity_csv
123
-
124
- # Export a CSV of vendors added to the third-party risk management dashboard.
125
- VENDOR_CSV: :vendor_csv
121
+ # Export a CSV of daily account balances with starting and ending balances for a given date range.
122
+ DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
126
123
 
127
124
  # Certain dashboard tables are available as CSV exports. This export cannot be created via the API.
128
125
  DASHBOARD_TABLE_CSV: :dashboard_table_csv
129
126
 
130
- # A PDF of an account verification letter.
131
- ACCOUNT_VERIFICATION_LETTER: :account_verification_letter
127
+ # Export a CSV of entities with a given status.
128
+ ENTITY_CSV: :entity_csv
132
129
 
133
- # A PDF of funding instructions.
134
- FUNDING_INSTRUCTIONS: :funding_instructions
130
+ # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
131
+ FEE_CSV: :fee_csv
135
132
 
136
133
  # A PDF of an Internal Revenue Service Form 1099-INT.
137
134
  FORM_1099_INT: :form_1099_int
@@ -139,15 +136,18 @@ module Increase
139
136
  # A PDF of an Internal Revenue Service Form 1099-MISC.
140
137
  FORM_1099_MISC: :form_1099_misc
141
138
 
142
- # Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
143
- FEE_CSV: :fee_csv
139
+ # A PDF of funding instructions.
140
+ FUNDING_INSTRUCTIONS: :funding_instructions
141
+
142
+ # Export a CSV of all transactions for a given time range.
143
+ TRANSACTION_CSV: :transaction_csv
144
+
145
+ # Export a CSV of vendors added to the third-party risk management dashboard.
146
+ VENDOR_CSV: :vendor_csv
144
147
 
145
148
  # A PDF of a voided check.
146
149
  VOIDED_CHECK: :voided_check
147
150
 
148
- # Export a CSV of daily account balances with starting and ending balances for a given date range.
149
- DAILY_ACCOUNT_BALANCE_CSV: :daily_account_balance_csv
150
-
151
151
  def self?.values: -> ::Array[Increase::Models::ExportListParams::category]
152
152
  end
153
153
 
@@ -22,6 +22,7 @@ module Increase
22
22
  end_to_end_identification: String?,
23
23
  input_message_accountability_data: String?,
24
24
  instructing_agent_routing_number: String?,
25
+ instruction_for_creditor_agent: String?,
25
26
  instruction_identification: String?,
26
27
  purpose: String?,
27
28
  reversal: Increase::InboundWireTransfer::Reversal?,
@@ -73,6 +74,8 @@ module Increase
73
74
 
74
75
  attr_accessor instructing_agent_routing_number: String?
75
76
 
77
+ attr_accessor instruction_for_creditor_agent: String?
78
+
76
79
  attr_accessor instruction_identification: String?
77
80
 
78
81
  attr_accessor purpose: String?
@@ -110,6 +113,7 @@ module Increase
110
113
  end_to_end_identification: String?,
111
114
  input_message_accountability_data: String?,
112
115
  instructing_agent_routing_number: String?,
116
+ instruction_for_creditor_agent: String?,
113
117
  instruction_identification: String?,
114
118
  purpose: String?,
115
119
  reversal: Increase::InboundWireTransfer::Reversal?,
@@ -141,6 +145,7 @@ module Increase
141
145
  end_to_end_identification: String?,
142
146
  input_message_accountability_data: String?,
143
147
  instructing_agent_routing_number: String?,
148
+ instruction_for_creditor_agent: String?,
144
149
  instruction_identification: String?,
145
150
  purpose: String?,
146
151
  reversal: Increase::InboundWireTransfer::Reversal?,
@@ -1100,6 +1100,7 @@ module Increase
1100
1100
  | :exceeds_approval_limit
1101
1101
  | :card_temporarily_disabled
1102
1102
  | :suspected_fraud
1103
+ | :additional_customer_authentication_required
1103
1104
  | :other
1104
1105
 
1105
1106
  module Reason
@@ -1120,6 +1121,9 @@ module Increase
1120
1121
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
1121
1122
  SUSPECTED_FRAUD: :suspected_fraud
1122
1123
 
1124
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
1125
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
1126
+
1123
1127
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
1124
1128
  OTHER: :other
1125
1129
 
@@ -314,6 +314,7 @@ module Increase
314
314
  | :exceeds_approval_limit
315
315
  | :card_temporarily_disabled
316
316
  | :suspected_fraud
317
+ | :additional_customer_authentication_required
317
318
  | :other
318
319
 
319
320
  module Reason
@@ -334,6 +335,9 @@ module Increase
334
335
  # The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
335
336
  SUSPECTED_FRAUD: :suspected_fraud
336
337
 
338
+ # Additional customer authentication is required to complete the transaction, such as 3DS.
339
+ ADDITIONAL_CUSTOMER_AUTHENTICATION_REQUIRED: :additional_customer_authentication_required
340
+
337
341
  # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
338
342
  OTHER: :other
339
343
 
@@ -34,6 +34,9 @@ module Increase
34
34
  | :webhook_declined
35
35
  | :incorrect_card_verification_code
36
36
  | :declined_by_token_requestor
37
+ | :group_locked
38
+ | :account_closed
39
+ | :entity_not_active
37
40
 
38
41
  module DeclineReason
39
42
  extend Increase::Internal::Type::Enum
@@ -56,6 +59,15 @@ module Increase
56
59
  # The tokenization attempt was declined by the token requestor.
57
60
  DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
58
61
 
62
+ # The group was locked.
63
+ GROUP_LOCKED: :group_locked
64
+
65
+ # The account has been closed.
66
+ ACCOUNT_CLOSED: :account_closed
67
+
68
+ # The account's entity was not active.
69
+ ENTITY_NOT_ACTIVE: :entity_not_active
70
+
59
71
  def self?.values: -> ::Array[Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::decline_reason]
60
72
  end
61
73