increase 1.333.1 → 1.334.1

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 (118) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +4 -5
  4. data/lib/increase/models/ach_prenotification.rb +5 -2
  5. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  6. data/lib/increase/models/ach_transfer.rb +6 -3
  7. data/lib/increase/models/card.rb +9 -1
  8. data/lib/increase/models/card_dispute.rb +40 -1
  9. data/lib/increase/models/card_dispute_list_params.rb +3 -0
  10. data/lib/increase/models/card_payment.rb +65 -6
  11. data/lib/increase/models/card_push_transfer.rb +53 -1
  12. data/lib/increase/models/check_transfer.rb +4 -8
  13. data/lib/increase/models/declined_transaction.rb +1 -1
  14. data/lib/increase/models/digital_wallet_token.rb +59 -1
  15. data/lib/increase/models/entity.rb +1 -1
  16. data/lib/increase/models/event.rb +12 -0
  17. data/lib/increase/models/event_list_params.rb +12 -0
  18. data/lib/increase/models/event_subscription.rb +12 -0
  19. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  20. data/lib/increase/models/export.rb +17 -1
  21. data/lib/increase/models/export_create_params.rb +78 -1
  22. data/lib/increase/models/fednow_transfer.rb +47 -1
  23. data/lib/increase/models/inbound_wire_transfer.rb +9 -1
  24. data/lib/increase/models/pending_transaction.rb +54 -1
  25. data/lib/increase/models/physical_card.rb +1 -1
  26. data/lib/increase/models/physical_card_profile.rb +38 -1
  27. data/lib/increase/models/real_time_decision.rb +52 -1
  28. data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
  29. data/lib/increase/models/simulations/card_authorization_create_params.rb +1 -1
  30. data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
  31. data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
  32. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
  33. data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
  34. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
  35. data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
  36. data/lib/increase/models/transaction.rb +17 -5
  37. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  38. data/lib/increase/models/wire_drawdown_request.rb +20 -1
  39. data/lib/increase/resources/exports.rb +3 -1
  40. data/lib/increase/resources/simulations/check_deposits.rb +3 -0
  41. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
  42. data/lib/increase/version.rb +1 -1
  43. data/rbi/increase/models/ach_prenotification.rbi +9 -2
  44. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  45. data/rbi/increase/models/ach_transfer.rbi +11 -4
  46. data/rbi/increase/models/card.rbi +8 -0
  47. data/rbi/increase/models/card_dispute.rbi +56 -0
  48. data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
  49. data/rbi/increase/models/card_payment.rbi +135 -7
  50. data/rbi/increase/models/card_push_transfer.rbi +56 -0
  51. data/rbi/increase/models/check_transfer.rbi +4 -10
  52. data/rbi/increase/models/declined_transaction.rbi +1 -1
  53. data/rbi/increase/models/digital_wallet_token.rbi +131 -0
  54. data/rbi/increase/models/entity.rbi +1 -1
  55. data/rbi/increase/models/event.rbi +22 -0
  56. data/rbi/increase/models/event_list_params.rbi +28 -0
  57. data/rbi/increase/models/event_subscription.rbi +28 -0
  58. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  59. data/rbi/increase/models/export.rbi +25 -5
  60. data/rbi/increase/models/export_create_params.rbi +151 -0
  61. data/rbi/increase/models/fednow_transfer.rbi +77 -0
  62. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  63. data/rbi/increase/models/pending_transaction.rbi +122 -0
  64. data/rbi/increase/models/physical_card.rbi +1 -1
  65. data/rbi/increase/models/physical_card_profile.rbi +60 -0
  66. data/rbi/increase/models/real_time_decision.rbi +120 -0
  67. data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
  68. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +1 -1
  69. data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
  70. data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
  71. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
  72. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
  73. data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
  74. data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
  75. data/rbi/increase/models/transaction.rbi +20 -6
  76. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  77. data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
  78. data/rbi/increase/resources/exports.rbi +3 -0
  79. data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
  80. data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
  81. data/sig/increase/models/ach_prenotification.rbs +7 -3
  82. data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
  83. data/sig/increase/models/ach_transfer.rbs +5 -1
  84. data/sig/increase/models/card.rbs +5 -0
  85. data/sig/increase/models/card_dispute.rbs +21 -0
  86. data/sig/increase/models/card_dispute_list_params.rbs +4 -0
  87. data/sig/increase/models/card_payment.rbs +37 -1
  88. data/sig/increase/models/card_push_transfer.rbs +30 -0
  89. data/sig/increase/models/check_transfer.rbs +5 -5
  90. data/sig/increase/models/declined_transaction.rbs +1 -1
  91. data/sig/increase/models/digital_wallet_token.rbs +61 -2
  92. data/sig/increase/models/entity.rbs +1 -1
  93. data/sig/increase/models/event.rbs +16 -0
  94. data/sig/increase/models/event_list_params.rbs +16 -0
  95. data/sig/increase/models/event_subscription.rbs +16 -0
  96. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  97. data/sig/increase/models/export.rbs +23 -3
  98. data/sig/increase/models/export_create_params.rbs +76 -0
  99. data/sig/increase/models/fednow_transfer.rbs +37 -0
  100. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  101. data/sig/increase/models/pending_transaction.rbs +36 -0
  102. data/sig/increase/models/physical_card.rbs +1 -1
  103. data/sig/increase/models/physical_card_profile.rbs +17 -0
  104. data/sig/increase/models/real_time_decision.rbs +36 -0
  105. data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
  106. data/sig/increase/models/simulations/card_authorization_create_params.rbs +1 -1
  107. data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
  108. data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
  109. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
  110. data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
  111. data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
  112. data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
  113. data/sig/increase/models/transaction.rbs +5 -0
  114. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  115. data/sig/increase/models/wire_drawdown_request.rbs +10 -0
  116. data/sig/increase/resources/exports.rbs +1 -0
  117. data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
  118. metadata +4 -4
@@ -9,6 +9,7 @@ module Increase
9
9
  bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
10
10
  daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
11
11
  entity_csv: Increase::ExportCreateParams::EntityCsv,
12
+ fee_csv: Increase::ExportCreateParams::FeeCsv,
12
13
  funding_instructions: Increase::ExportCreateParams::FundingInstructions,
13
14
  transaction_csv: Increase::ExportCreateParams::TransactionCsv,
14
15
  vendor_csv: Increase::ExportCreateParams::VendorCsv,
@@ -58,6 +59,12 @@ module Increase
58
59
  Increase::ExportCreateParams::EntityCsv
59
60
  ) -> Increase::ExportCreateParams::EntityCsv
60
61
 
62
+ attr_reader fee_csv: Increase::ExportCreateParams::FeeCsv?
63
+
64
+ def fee_csv=: (
65
+ Increase::ExportCreateParams::FeeCsv
66
+ ) -> Increase::ExportCreateParams::FeeCsv
67
+
61
68
  attr_reader funding_instructions: Increase::ExportCreateParams::FundingInstructions?
62
69
 
63
70
  def funding_instructions=: (
@@ -90,6 +97,7 @@ module Increase
90
97
  ?bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
91
98
  ?daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
92
99
  ?entity_csv: Increase::ExportCreateParams::EntityCsv,
100
+ ?fee_csv: Increase::ExportCreateParams::FeeCsv,
93
101
  ?funding_instructions: Increase::ExportCreateParams::FundingInstructions,
94
102
  ?transaction_csv: Increase::ExportCreateParams::TransactionCsv,
95
103
  ?vendor_csv: Increase::ExportCreateParams::VendorCsv,
@@ -105,6 +113,7 @@ module Increase
105
113
  bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv,
106
114
  daily_account_balance_csv: Increase::ExportCreateParams::DailyAccountBalanceCsv,
107
115
  entity_csv: Increase::ExportCreateParams::EntityCsv,
116
+ fee_csv: Increase::ExportCreateParams::FeeCsv,
108
117
  funding_instructions: Increase::ExportCreateParams::FundingInstructions,
109
118
  transaction_csv: Increase::ExportCreateParams::TransactionCsv,
110
119
  vendor_csv: Increase::ExportCreateParams::VendorCsv,
@@ -122,6 +131,7 @@ module Increase
122
131
  | :vendor_csv
123
132
  | :account_verification_letter
124
133
  | :funding_instructions
134
+ | :fee_csv
125
135
  | :voided_check
126
136
  | :daily_account_balance_csv
127
137
 
@@ -155,6 +165,9 @@ module Increase
155
165
  # A PDF of funding instructions.
156
166
  FUNDING_INSTRUCTIONS: :funding_instructions
157
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
170
+
158
171
  # A PDF of a voided check.
159
172
  VOIDED_CHECK: :voided_check
160
173
 
@@ -320,6 +333,69 @@ module Increase
320
333
  def to_hash: -> { }
321
334
  end
322
335
 
336
+ type fee_csv =
337
+ {
338
+ created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
339
+ program_id: String
340
+ }
341
+
342
+ class FeeCsv < Increase::Internal::Type::BaseModel
343
+ attr_reader created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt?
344
+
345
+ def created_at=: (
346
+ Increase::ExportCreateParams::FeeCsv::CreatedAt
347
+ ) -> Increase::ExportCreateParams::FeeCsv::CreatedAt
348
+
349
+ attr_reader program_id: String?
350
+
351
+ def program_id=: (String) -> String
352
+
353
+ def initialize: (
354
+ ?created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
355
+ ?program_id: String
356
+ ) -> void
357
+
358
+ def to_hash: -> {
359
+ created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
360
+ program_id: String
361
+ }
362
+
363
+ type created_at =
364
+ { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
365
+
366
+ class CreatedAt < Increase::Internal::Type::BaseModel
367
+ attr_reader after: Time?
368
+
369
+ def after=: (Time) -> Time
370
+
371
+ attr_reader before: Time?
372
+
373
+ def before=: (Time) -> Time
374
+
375
+ attr_reader on_or_after: Time?
376
+
377
+ def on_or_after=: (Time) -> Time
378
+
379
+ attr_reader on_or_before: Time?
380
+
381
+ def on_or_before=: (Time) -> Time
382
+
383
+ def initialize: (
384
+ ?after: Time,
385
+ ?before: Time,
386
+ ?on_or_after: Time,
387
+ ?on_or_before: Time
388
+ ) -> void
389
+
390
+ def to_hash: -> {
391
+ after: Time,
392
+ before: Time,
393
+ on_or_after: Time,
394
+ on_or_before: Time
395
+ }
396
+ end
397
+ end
398
+
323
399
  type funding_instructions = { account_number_id: String }
324
400
 
325
401
  class FundingInstructions < Increase::Internal::Type::BaseModel
@@ -12,6 +12,7 @@ module Increase
12
12
  creditor_address: Increase::FednowTransfer::CreditorAddress?,
13
13
  creditor_name: String,
14
14
  currency: Increase::Models::FednowTransfer::currency,
15
+ debtor_address: Increase::FednowTransfer::DebtorAddress?,
15
16
  debtor_name: String,
16
17
  external_account_id: String?,
17
18
  idempotency_key: String?,
@@ -48,6 +49,8 @@ module Increase
48
49
 
49
50
  attr_accessor currency: Increase::Models::FednowTransfer::currency
50
51
 
52
+ attr_accessor debtor_address: Increase::FednowTransfer::DebtorAddress?
53
+
51
54
  attr_accessor debtor_name: String
52
55
 
53
56
  attr_accessor external_account_id: String?
@@ -85,6 +88,7 @@ module Increase
85
88
  creditor_address: Increase::FednowTransfer::CreditorAddress?,
86
89
  creditor_name: String,
87
90
  currency: Increase::Models::FednowTransfer::currency,
91
+ debtor_address: Increase::FednowTransfer::DebtorAddress?,
88
92
  debtor_name: String,
89
93
  external_account_id: String?,
90
94
  idempotency_key: String?,
@@ -111,6 +115,7 @@ module Increase
111
115
  creditor_address: Increase::FednowTransfer::CreditorAddress?,
112
116
  creditor_name: String,
113
117
  currency: Increase::Models::FednowTransfer::currency,
118
+ debtor_address: Increase::FednowTransfer::DebtorAddress?,
114
119
  debtor_name: String,
115
120
  external_account_id: String?,
116
121
  idempotency_key: String?,
@@ -258,6 +263,38 @@ module Increase
258
263
  def self?.values: -> ::Array[Increase::Models::FednowTransfer::currency]
259
264
  end
260
265
 
266
+ type debtor_address =
267
+ {
268
+ city: String?,
269
+ :line1 => String?,
270
+ postal_code: String?,
271
+ state: String?
272
+ }
273
+
274
+ class DebtorAddress < Increase::Internal::Type::BaseModel
275
+ attr_accessor city: String?
276
+
277
+ attr_accessor line1: String?
278
+
279
+ attr_accessor postal_code: String?
280
+
281
+ attr_accessor state: String?
282
+
283
+ def initialize: (
284
+ city: String?,
285
+ line1: String?,
286
+ postal_code: String?,
287
+ state: String?
288
+ ) -> void
289
+
290
+ def to_hash: -> {
291
+ city: String?,
292
+ :line1 => String?,
293
+ postal_code: String?,
294
+ state: String?
295
+ }
296
+ end
297
+
261
298
  type rejection =
262
299
  {
263
300
  reject_reason_additional_information: String?,
@@ -21,6 +21,7 @@ module Increase
21
21
  input_message_accountability_data: String?,
22
22
  instructing_agent_routing_number: String?,
23
23
  instruction_identification: String?,
24
+ purpose: String?,
24
25
  reversal: Increase::InboundWireTransfer::Reversal?,
25
26
  status: Increase::Models::InboundWireTransfer::status,
26
27
  type: Increase::Models::InboundWireTransfer::type_,
@@ -68,6 +69,8 @@ module Increase
68
69
 
69
70
  attr_accessor instruction_identification: String?
70
71
 
72
+ attr_accessor purpose: String?
73
+
71
74
  attr_accessor reversal: Increase::InboundWireTransfer::Reversal?
72
75
 
73
76
  attr_accessor status: Increase::Models::InboundWireTransfer::status
@@ -100,6 +103,7 @@ module Increase
100
103
  input_message_accountability_data: String?,
101
104
  instructing_agent_routing_number: String?,
102
105
  instruction_identification: String?,
106
+ purpose: String?,
103
107
  reversal: Increase::InboundWireTransfer::Reversal?,
104
108
  status: Increase::Models::InboundWireTransfer::status,
105
109
  type: Increase::Models::InboundWireTransfer::type_,
@@ -128,6 +132,7 @@ module Increase
128
132
  input_message_accountability_data: String?,
129
133
  instructing_agent_routing_number: String?,
130
134
  instruction_identification: String?,
135
+ purpose: String?,
131
136
  reversal: Increase::InboundWireTransfer::Reversal?,
132
137
  status: Increase::Models::InboundWireTransfer::status,
133
138
  type: Increase::Models::InboundWireTransfer::type_,
@@ -457,6 +457,7 @@ module Increase
457
457
  digital_wallet_token_id: String?,
458
458
  direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction,
459
459
  expires_at: Time,
460
+ healthcare: Increase::PendingTransaction::Source::CardAuthorization::Healthcare?,
460
461
  merchant_acceptor_id: String,
461
462
  merchant_category_code: String,
462
463
  merchant_city: String?,
@@ -498,6 +499,8 @@ module Increase
498
499
 
499
500
  attr_accessor expires_at: Time
500
501
 
502
+ attr_accessor healthcare: Increase::PendingTransaction::Source::CardAuthorization::Healthcare?
503
+
501
504
  attr_accessor merchant_acceptor_id: String
502
505
 
503
506
  attr_accessor merchant_category_code: String
@@ -548,6 +551,7 @@ module Increase
548
551
  digital_wallet_token_id: String?,
549
552
  direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction,
550
553
  expires_at: Time,
554
+ healthcare: Increase::PendingTransaction::Source::CardAuthorization::Healthcare?,
551
555
  merchant_acceptor_id: String,
552
556
  merchant_category_code: String,
553
557
  merchant_city: String?,
@@ -580,6 +584,7 @@ module Increase
580
584
  digital_wallet_token_id: String?,
581
585
  direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction,
582
586
  expires_at: Time,
587
+ healthcare: Increase::PendingTransaction::Source::CardAuthorization::Healthcare?,
583
588
  merchant_acceptor_id: String,
584
589
  merchant_category_code: String,
585
590
  merchant_city: String?,
@@ -826,6 +831,37 @@ module Increase
826
831
  def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::direction]
827
832
  end
828
833
 
834
+ type healthcare =
835
+ {
836
+ merchant_ninety_percent_eligibility: Increase::Models::PendingTransaction::Source::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
837
+ }
838
+
839
+ class Healthcare < Increase::Internal::Type::BaseModel
840
+ attr_accessor merchant_ninety_percent_eligibility: Increase::Models::PendingTransaction::Source::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
841
+
842
+ def initialize: (
843
+ merchant_ninety_percent_eligibility: Increase::Models::PendingTransaction::Source::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
844
+ ) -> void
845
+
846
+ def to_hash: -> {
847
+ merchant_ninety_percent_eligibility: Increase::Models::PendingTransaction::Source::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
848
+ }
849
+
850
+ type merchant_ninety_percent_eligibility = :eligible | :not_eligible
851
+
852
+ module MerchantNinetyPercentEligibility
853
+ extend Increase::Internal::Type::Enum
854
+
855
+ # The merchant is eligible for treatment under the 90% rule.
856
+ ELIGIBLE: :eligible
857
+
858
+ # The merchant is not eligible for treatment under the 90% rule.
859
+ NOT_ELIGIBLE: :not_eligible
860
+
861
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility]
862
+ end
863
+ end
864
+
829
865
  type network_details =
830
866
  {
831
867
  category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category,
@@ -327,7 +327,7 @@ module Increase
327
327
  # The physical card has been processed for delivery.
328
328
  PROCESSED_FOR_DELIVERY: :processed_for_delivery
329
329
 
330
- # The physical card has been delivered.
330
+ # The physical card has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single physical card may have more than one delivered event.
331
331
  DELIVERED: :delivered
332
332
 
333
333
  # There is an issue preventing delivery. The delivery will be attempted again if possible. If the issue cannot be resolved, the physical card will be returned to sender.
@@ -10,6 +10,7 @@ module Increase
10
10
  creator: Increase::Models::PhysicalCardProfile::creator,
11
11
  description: String,
12
12
  front_image_file_id: String?,
13
+ front_text: Increase::PhysicalCardProfile::FrontText?,
13
14
  idempotency_key: String?,
14
15
  is_default: bool,
15
16
  program_id: String,
@@ -34,6 +35,8 @@ module Increase
34
35
 
35
36
  attr_accessor front_image_file_id: String?
36
37
 
38
+ attr_accessor front_text: Increase::PhysicalCardProfile::FrontText?
39
+
37
40
  attr_accessor idempotency_key: String?
38
41
 
39
42
  attr_accessor is_default: bool
@@ -53,6 +56,7 @@ module Increase
53
56
  creator: Increase::Models::PhysicalCardProfile::creator,
54
57
  description: String,
55
58
  front_image_file_id: String?,
59
+ front_text: Increase::PhysicalCardProfile::FrontText?,
56
60
  idempotency_key: String?,
57
61
  is_default: bool,
58
62
  program_id: String,
@@ -69,6 +73,7 @@ module Increase
69
73
  creator: Increase::Models::PhysicalCardProfile::creator,
70
74
  description: String,
71
75
  front_image_file_id: String?,
76
+ front_text: Increase::PhysicalCardProfile::FrontText?,
72
77
  idempotency_key: String?,
73
78
  is_default: bool,
74
79
  program_id: String,
@@ -90,6 +95,18 @@ module Increase
90
95
  def self?.values: -> ::Array[Increase::Models::PhysicalCardProfile::creator]
91
96
  end
92
97
 
98
+ type front_text = { :line1 => String, :line2 => String? }
99
+
100
+ class FrontText < Increase::Internal::Type::BaseModel
101
+ attr_accessor line1: String
102
+
103
+ attr_accessor line2: String?
104
+
105
+ def initialize: (line1: String, line2: String?) -> void
106
+
107
+ def to_hash: -> { :line1 => String, :line2 => String? }
108
+ end
109
+
93
110
  type status =
94
111
  :pending_creating
95
112
  | :pending_reviewing
@@ -716,6 +716,7 @@ module Increase
716
716
  decline: Increase::RealTimeDecision::CardAuthorization::Decline?,
717
717
  digital_wallet_token_id: String?,
718
718
  direction: Increase::Models::RealTimeDecision::CardAuthorization::direction,
719
+ healthcare: Increase::RealTimeDecision::CardAuthorization::Healthcare?,
719
720
  merchant_acceptor_id: String,
720
721
  merchant_category_code: String,
721
722
  merchant_city: String?,
@@ -756,6 +757,8 @@ module Increase
756
757
 
757
758
  attr_accessor direction: Increase::Models::RealTimeDecision::CardAuthorization::direction
758
759
 
760
+ attr_accessor healthcare: Increase::RealTimeDecision::CardAuthorization::Healthcare?
761
+
759
762
  attr_accessor merchant_acceptor_id: String
760
763
 
761
764
  attr_accessor merchant_category_code: String
@@ -807,6 +810,7 @@ module Increase
807
810
  decline: Increase::RealTimeDecision::CardAuthorization::Decline?,
808
811
  digital_wallet_token_id: String?,
809
812
  direction: Increase::Models::RealTimeDecision::CardAuthorization::direction,
813
+ healthcare: Increase::RealTimeDecision::CardAuthorization::Healthcare?,
810
814
  merchant_acceptor_id: String,
811
815
  merchant_category_code: String,
812
816
  merchant_city: String?,
@@ -839,6 +843,7 @@ module Increase
839
843
  decline: Increase::RealTimeDecision::CardAuthorization::Decline?,
840
844
  digital_wallet_token_id: String?,
841
845
  direction: Increase::Models::RealTimeDecision::CardAuthorization::direction,
846
+ healthcare: Increase::RealTimeDecision::CardAuthorization::Healthcare?,
842
847
  merchant_acceptor_id: String,
843
848
  merchant_category_code: String,
844
849
  merchant_city: String?,
@@ -1131,6 +1136,37 @@ module Increase
1131
1136
  def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::direction]
1132
1137
  end
1133
1138
 
1139
+ type healthcare =
1140
+ {
1141
+ merchant_ninety_percent_eligibility: Increase::Models::RealTimeDecision::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
1142
+ }
1143
+
1144
+ class Healthcare < Increase::Internal::Type::BaseModel
1145
+ attr_accessor merchant_ninety_percent_eligibility: Increase::Models::RealTimeDecision::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
1146
+
1147
+ def initialize: (
1148
+ merchant_ninety_percent_eligibility: Increase::Models::RealTimeDecision::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
1149
+ ) -> void
1150
+
1151
+ def to_hash: -> {
1152
+ merchant_ninety_percent_eligibility: Increase::Models::RealTimeDecision::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility
1153
+ }
1154
+
1155
+ type merchant_ninety_percent_eligibility = :eligible | :not_eligible
1156
+
1157
+ module MerchantNinetyPercentEligibility
1158
+ extend Increase::Internal::Type::Enum
1159
+
1160
+ # The merchant is eligible for treatment under the 90% rule.
1161
+ ELIGIBLE: :eligible
1162
+
1163
+ # The merchant is not eligible for treatment under the 90% rule.
1164
+ NOT_ELIGIBLE: :not_eligible
1165
+
1166
+ def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::Healthcare::merchant_ninety_percent_eligibility]
1167
+ end
1168
+ end
1169
+
1134
1170
  type network_details =
1135
1171
  {
1136
1172
  category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category,
@@ -53,7 +53,8 @@ module Increase
53
53
  request_options: Increase::RequestOptions
54
54
  }
55
55
 
56
- type corrected_account_funding = :checking | :savings | :general_ledger
56
+ type corrected_account_funding =
57
+ :checking | :savings | :loan | :general_ledger
57
58
 
58
59
  module CorrectedAccountFunding
59
60
  extend Increase::Internal::Type::Enum
@@ -64,6 +65,9 @@ module Increase
64
65
  # A savings account.
65
66
  SAVINGS: :savings
66
67
 
68
+ # A loan account used in a lender-borrower relationship. Uncommon.
69
+ LOAN: :loan
70
+
67
71
  # A bank's general ledger. Uncommon.
68
72
  GENERAL_LEDGER: :general_ledger
69
73
 
@@ -200,7 +200,7 @@ module Increase
200
200
  # The attempted card transaction is not allowed per Increase's terms.
201
201
  TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
202
202
 
203
- # The transaction was blocked by a Limit.
203
+ # The transaction was blocked by a limit or an authorization control.
204
204
  BREACHES_LIMIT: :breaches_limit
205
205
 
206
206
  # Your application declined the transaction via webhook.
@@ -186,7 +186,7 @@ module Increase
186
186
  # The attempted card transaction is not allowed per Increase's terms.
187
187
  TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
188
188
 
189
- # The transaction was blocked by a Limit.
189
+ # The transaction was blocked by a limit or an authorization control.
190
190
  BREACHES_LIMIT: :breaches_limit
191
191
 
192
192
  # Your application declined the transaction via webhook.
@@ -36,7 +36,8 @@ module Increase
36
36
  {
37
37
  account_number: String,
38
38
  routing_number: String,
39
- auxiliary_on_us: String
39
+ auxiliary_on_us: String,
40
+ serial_number: String
40
41
  }
41
42
 
42
43
  class Scan < Increase::Internal::Type::BaseModel
@@ -48,16 +49,22 @@ module Increase
48
49
 
49
50
  def auxiliary_on_us=: (String) -> String
50
51
 
52
+ attr_reader serial_number: String?
53
+
54
+ def serial_number=: (String) -> String
55
+
51
56
  def initialize: (
52
57
  account_number: String,
53
58
  routing_number: String,
54
- ?auxiliary_on_us: String
59
+ ?auxiliary_on_us: String,
60
+ ?serial_number: String
55
61
  ) -> void
56
62
 
57
63
  def to_hash: -> {
58
64
  account_number: String,
59
65
  routing_number: String,
60
- auxiliary_on_us: String
66
+ auxiliary_on_us: String,
67
+ serial_number: String
61
68
  }
62
69
  end
63
70
  end
@@ -32,6 +32,8 @@ module Increase
32
32
  | :no_verification_method
33
33
  | :webhook_timed_out
34
34
  | :webhook_declined
35
+ | :incorrect_card_verification_code
36
+ | :declined_by_token_requestor
35
37
 
36
38
  module DeclineReason
37
39
  extend Increase::Internal::Type::Enum
@@ -48,6 +50,12 @@ module Increase
48
50
  # Your webhook declined the token provisioning attempt.
49
51
  WEBHOOK_DECLINED: :webhook_declined
50
52
 
53
+ # The tokenization attempt failed because the Card Verification Code (CVC) was incorrect.
54
+ INCORRECT_CARD_VERIFICATION_CODE: :incorrect_card_verification_code
55
+
56
+ # The tokenization attempt was declined by the token requestor.
57
+ DECLINED_BY_TOKEN_REQUESTOR: :declined_by_token_requestor
58
+
51
59
  def self?.values: -> ::Array[Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::decline_reason]
52
60
  end
53
61
 
@@ -53,7 +53,7 @@ module Increase
53
53
  module Category
54
54
  extend Increase::Internal::Type::Enum
55
55
 
56
- # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
56
+ # The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
57
57
  ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
58
58
 
59
59
  # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
@@ -16,6 +16,7 @@ module Increase
16
16
  end_to_end_identification: String,
17
17
  instructing_agent_routing_number: String,
18
18
  instruction_identification: String,
19
+ purpose: String,
19
20
  unique_end_to_end_transaction_reference: String,
20
21
  unstructured_remittance_information: String,
21
22
  wire_drawdown_request_id: String
@@ -74,6 +75,10 @@ module Increase
74
75
 
75
76
  def instruction_identification=: (String) -> String
76
77
 
78
+ attr_reader purpose: String?
79
+
80
+ def purpose=: (String) -> String
81
+
77
82
  attr_reader unique_end_to_end_transaction_reference: String?
78
83
 
79
84
  def unique_end_to_end_transaction_reference=: (String) -> String
@@ -100,6 +105,7 @@ module Increase
100
105
  ?end_to_end_identification: String,
101
106
  ?instructing_agent_routing_number: String,
102
107
  ?instruction_identification: String,
108
+ ?purpose: String,
103
109
  ?unique_end_to_end_transaction_reference: String,
104
110
  ?unstructured_remittance_information: String,
105
111
  ?wire_drawdown_request_id: String,
@@ -120,6 +126,7 @@ module Increase
120
126
  end_to_end_identification: String,
121
127
  instructing_agent_routing_number: String,
122
128
  instruction_identification: String,
129
+ purpose: String,
123
130
  unique_end_to_end_transaction_reference: String,
124
131
  unstructured_remittance_information: String,
125
132
  wire_drawdown_request_id: String,
@@ -72,7 +72,7 @@ module Increase
72
72
  # The physical card has been processed for delivery.
73
73
  PROCESSED_FOR_DELIVERY: :processed_for_delivery
74
74
 
75
- # The physical card has been delivered.
75
+ # The physical card has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single physical card may have more than one delivered event.
76
76
  DELIVERED: :delivered
77
77
 
78
78
  # There is an issue preventing delivery. The delivery will be attempted again if possible. If the issue cannot be resolved, the physical card will be returned to sender.
@@ -5357,6 +5357,7 @@ module Increase
5357
5357
  input_message_accountability_data: String?,
5358
5358
  instructing_agent_routing_number: String?,
5359
5359
  instruction_identification: String?,
5360
+ purpose: String?,
5360
5361
  transfer_id: String,
5361
5362
  unique_end_to_end_transaction_reference: String?,
5362
5363
  unstructured_remittance_information: String?
@@ -5391,6 +5392,8 @@ module Increase
5391
5392
 
5392
5393
  attr_accessor instruction_identification: String?
5393
5394
 
5395
+ attr_accessor purpose: String?
5396
+
5394
5397
  attr_accessor transfer_id: String
5395
5398
 
5396
5399
  attr_accessor unique_end_to_end_transaction_reference: String?
@@ -5412,6 +5415,7 @@ module Increase
5412
5415
  input_message_accountability_data: String?,
5413
5416
  instructing_agent_routing_number: String?,
5414
5417
  instruction_identification: String?,
5418
+ purpose: String?,
5415
5419
  transfer_id: String,
5416
5420
  unique_end_to_end_transaction_reference: String?,
5417
5421
  unstructured_remittance_information: String?
@@ -5432,6 +5436,7 @@ module Increase
5432
5436
  input_message_accountability_data: String?,
5433
5437
  instructing_agent_routing_number: String?,
5434
5438
  instruction_identification: String?,
5439
+ purpose: String?,
5435
5440
  transfer_id: String,
5436
5441
  unique_end_to_end_transaction_reference: String?,
5437
5442
  unstructured_remittance_information: String?
@@ -112,6 +112,10 @@ module Increase
112
112
  | :"intrafi_account_enrollment.updated"
113
113
  | :"intrafi_exclusion.created"
114
114
  | :"intrafi_exclusion.updated"
115
+ | :"loan_application.created"
116
+ | :"loan_application.updated"
117
+ | :"loan_offer.created"
118
+ | :"loan_offer.updated"
115
119
  | :"lockbox.created"
116
120
  | :"lockbox.updated"
117
121
  | :"oauth_connection.created"
@@ -363,6 +367,18 @@ module Increase
363
367
  # Occurs whenever an IntraFi Exclusion is updated.
364
368
  INTRAFI_EXCLUSION_UPDATED: :"intrafi_exclusion.updated"
365
369
 
370
+ # Occurs whenever a Loan Application is created.
371
+ LOAN_APPLICATION_CREATED: :"loan_application.created"
372
+
373
+ # Occurs whenever a Loan Application is updated.
374
+ LOAN_APPLICATION_UPDATED: :"loan_application.updated"
375
+
376
+ # Occurs whenever a Loan Offer is created.
377
+ LOAN_OFFER_CREATED: :"loan_offer.created"
378
+
379
+ # Occurs whenever a Loan Offer is updated.
380
+ LOAN_OFFER_UPDATED: :"loan_offer.updated"
381
+
366
382
  # Occurs whenever a Lockbox is created.
367
383
  LOCKBOX_CREATED: :"lockbox.created"
368
384