increase 1.347.0 → 1.349.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 (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_create_params.rb +15 -15
  4. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  5. data/lib/increase/models/ach_transfer.rb +2 -2
  6. data/lib/increase/models/ach_transfer_create_params.rb +1 -24
  7. data/lib/increase/models/balance_lookup.rb +49 -1
  8. data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
  9. data/lib/increase/models/card.rb +43 -1
  10. data/lib/increase/models/card_create_params.rb +42 -1
  11. data/lib/increase/models/card_dispute.rb +1 -1
  12. data/lib/increase/models/card_dispute_list_params.rb +1 -1
  13. data/lib/increase/models/card_payment.rb +18 -1
  14. data/lib/increase/models/check_transfer.rb +13 -1
  15. data/lib/increase/models/check_transfer_create_params.rb +25 -13
  16. data/lib/increase/models/entity.rb +315 -5
  17. data/lib/increase/models/entity_update_params.rb +754 -1
  18. data/lib/increase/models/event.rb +12 -0
  19. data/lib/increase/models/event_list_params.rb +12 -0
  20. data/lib/increase/models/event_subscription.rb +12 -0
  21. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  22. data/lib/increase/models/file.rb +7 -6
  23. data/lib/increase/models/inbound_ach_transfer.rb +6 -6
  24. data/lib/increase/models/inbound_check_deposit.rb +5 -2
  25. data/lib/increase/models/inbound_fednow_transfer.rb +18 -1
  26. data/lib/increase/models/pending_transaction.rb +25 -8
  27. data/lib/increase/models/pending_transaction_list_params.rb +1 -1
  28. data/lib/increase/models/physical_card_create_params.rb +6 -3
  29. data/lib/increase/models/real_time_decision.rb +18 -1
  30. data/lib/increase/models/real_time_payments_transfer.rb +30 -19
  31. data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
  32. data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
  33. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  34. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
  35. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
  36. data/lib/increase/models/transaction.rb +5 -2
  37. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  38. data/lib/increase/models/wire_transfer_create_params.rb +100 -42
  39. data/lib/increase/resources/ach_prenotifications.rb +1 -1
  40. data/lib/increase/resources/ach_transfers.rb +1 -4
  41. data/lib/increase/resources/beneficial_owners.rb +3 -1
  42. data/lib/increase/resources/cards.rb +5 -1
  43. data/lib/increase/resources/physical_cards.rb +2 -1
  44. data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
  45. data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
  46. data/lib/increase/version.rb +1 -1
  47. data/rbi/increase/models/account_create_params.rbi +37 -21
  48. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  49. data/rbi/increase/models/ach_transfer.rbi +2 -2
  50. data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
  51. data/rbi/increase/models/balance_lookup.rbi +48 -0
  52. data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
  53. data/rbi/increase/models/card.rbi +63 -0
  54. data/rbi/increase/models/card_create_params.rbi +65 -0
  55. data/rbi/increase/models/card_dispute.rbi +1 -1
  56. data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
  57. data/rbi/increase/models/card_payment.rbi +16 -0
  58. data/rbi/increase/models/check_transfer.rbi +15 -0
  59. data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
  60. data/rbi/increase/models/entity.rbi +552 -3
  61. data/rbi/increase/models/entity_update_params.rbi +1326 -3
  62. data/rbi/increase/models/event.rbi +28 -0
  63. data/rbi/increase/models/event_list_params.rbi +28 -0
  64. data/rbi/increase/models/event_subscription.rbi +28 -0
  65. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  66. data/rbi/increase/models/file.rbi +7 -6
  67. data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
  68. data/rbi/increase/models/inbound_check_deposit.rbi +4 -2
  69. data/rbi/increase/models/inbound_fednow_transfer.rbi +16 -0
  70. data/rbi/increase/models/pending_transaction.rbi +23 -7
  71. data/rbi/increase/models/pending_transaction_list_params.rbi +1 -1
  72. data/rbi/increase/models/physical_card_create_params.rbi +6 -3
  73. data/rbi/increase/models/real_time_decision.rbi +16 -0
  74. data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
  75. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
  76. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
  77. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  78. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
  79. data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
  80. data/rbi/increase/models/transaction.rbi +4 -2
  81. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  82. data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
  83. data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
  84. data/rbi/increase/resources/ach_transfers.rbi +0 -4
  85. data/rbi/increase/resources/beneficial_owners.rbi +3 -0
  86. data/rbi/increase/resources/cards.rbi +4 -0
  87. data/rbi/increase/resources/physical_cards.rbi +2 -1
  88. data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
  89. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
  90. data/sig/increase/models/account_create_params.rbs +20 -12
  91. data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
  92. data/sig/increase/models/balance_lookup.rbs +30 -0
  93. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
  94. data/sig/increase/models/card.rbs +19 -0
  95. data/sig/increase/models/card_create_params.rbs +25 -0
  96. data/sig/increase/models/card_dispute.rbs +1 -1
  97. data/sig/increase/models/card_dispute_list_params.rbs +1 -1
  98. data/sig/increase/models/card_payment.rbs +5 -0
  99. data/sig/increase/models/check_transfer.rbs +9 -0
  100. data/sig/increase/models/check_transfer_create_params.rbs +7 -0
  101. data/sig/increase/models/entity.rbs +248 -5
  102. data/sig/increase/models/entity_update_params.rbs +585 -3
  103. data/sig/increase/models/event.rbs +16 -0
  104. data/sig/increase/models/event_list_params.rbs +16 -0
  105. data/sig/increase/models/event_subscription.rbs +16 -0
  106. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  107. data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
  108. data/sig/increase/models/inbound_fednow_transfer.rbs +10 -0
  109. data/sig/increase/models/pending_transaction.rbs +6 -1
  110. data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
  111. data/sig/increase/models/real_time_decision.rbs +5 -0
  112. data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
  113. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
  114. data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
  115. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  116. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
  117. data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
  118. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  119. data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
  120. data/sig/increase/resources/ach_transfers.rbs +0 -1
  121. data/sig/increase/resources/beneficial_owners.rbs +1 -0
  122. data/sig/increase/resources/cards.rbs +1 -0
  123. data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
  124. metadata +2 -2
@@ -161,11 +161,14 @@ module Increase
161
161
  | :"loan_application.created"
162
162
  | :"loan_application.updated"
163
163
  | :"loan_distribution.created"
164
+ | :"loan_obligation.created"
164
165
  | :"loan_offer.created"
165
166
  | :"loan_offer.updated"
166
167
  | :"loan_purchase.created"
167
168
  | :"lockbox.created"
168
169
  | :"lockbox.updated"
170
+ | :"lockbox_address.created"
171
+ | :"lockbox_address.updated"
169
172
  | :"oauth_connection.created"
170
173
  | :"oauth_connection.deactivated"
171
174
  | :"card_push_transfer.created"
@@ -180,6 +183,7 @@ module Increase
180
183
  | :"physical_card_profile.updated"
181
184
  | :"physical_check.created"
182
185
  | :"physical_check.updated"
186
+ | :"plaid_processor_token.created"
183
187
  | :"checkbook.created"
184
188
  | :"checkbook.updated"
185
189
  | :"program.created"
@@ -438,6 +442,9 @@ module Increase
438
442
  # Occurs whenever a Loan Distribution is created.
439
443
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
440
444
 
445
+ # Occurs whenever a Loan Obligation is created.
446
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
447
+
441
448
  # Occurs whenever a Loan Offer is created.
442
449
  LOAN_OFFER_CREATED: :"loan_offer.created"
443
450
 
@@ -453,6 +460,12 @@ module Increase
453
460
  # Occurs whenever a Lockbox is updated.
454
461
  LOCKBOX_UPDATED: :"lockbox.updated"
455
462
 
463
+ # Occurs whenever a Lockbox Address is created.
464
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
465
+
466
+ # Occurs whenever a Lockbox Address is updated.
467
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
468
+
456
469
  # Occurs whenever an OAuth Connection is created.
457
470
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
458
471
 
@@ -495,6 +508,9 @@ module Increase
495
508
  # Occurs whenever a Physical Check is updated.
496
509
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
497
510
 
511
+ # Occurs whenever a Plaid Processor Token is created.
512
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
513
+
498
514
  # Occurs whenever a Checkbook is created.
499
515
  CHECKBOOK_CREATED: :"checkbook.created"
500
516
 
@@ -145,11 +145,14 @@ module Increase
145
145
  | :"loan_application.created"
146
146
  | :"loan_application.updated"
147
147
  | :"loan_distribution.created"
148
+ | :"loan_obligation.created"
148
149
  | :"loan_offer.created"
149
150
  | :"loan_offer.updated"
150
151
  | :"loan_purchase.created"
151
152
  | :"lockbox.created"
152
153
  | :"lockbox.updated"
154
+ | :"lockbox_address.created"
155
+ | :"lockbox_address.updated"
153
156
  | :"oauth_connection.created"
154
157
  | :"oauth_connection.deactivated"
155
158
  | :"card_push_transfer.created"
@@ -164,6 +167,7 @@ module Increase
164
167
  | :"physical_card_profile.updated"
165
168
  | :"physical_check.created"
166
169
  | :"physical_check.updated"
170
+ | :"plaid_processor_token.created"
167
171
  | :"checkbook.created"
168
172
  | :"checkbook.updated"
169
173
  | :"program.created"
@@ -422,6 +426,9 @@ module Increase
422
426
  # Occurs whenever a Loan Distribution is created.
423
427
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
424
428
 
429
+ # Occurs whenever a Loan Obligation is created.
430
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
431
+
425
432
  # Occurs whenever a Loan Offer is created.
426
433
  LOAN_OFFER_CREATED: :"loan_offer.created"
427
434
 
@@ -437,6 +444,12 @@ module Increase
437
444
  # Occurs whenever a Lockbox is updated.
438
445
  LOCKBOX_UPDATED: :"lockbox.updated"
439
446
 
447
+ # Occurs whenever a Lockbox Address is created.
448
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
449
+
450
+ # Occurs whenever a Lockbox Address is updated.
451
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
452
+
440
453
  # Occurs whenever an OAuth Connection is created.
441
454
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
442
455
 
@@ -479,6 +492,9 @@ module Increase
479
492
  # Occurs whenever a Physical Check is updated.
480
493
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
481
494
 
495
+ # Occurs whenever a Plaid Processor Token is created.
496
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
497
+
482
498
  # Occurs whenever a Checkbook is created.
483
499
  CHECKBOOK_CREATED: :"checkbook.created"
484
500
 
@@ -148,11 +148,14 @@ module Increase
148
148
  | :"loan_application.created"
149
149
  | :"loan_application.updated"
150
150
  | :"loan_distribution.created"
151
+ | :"loan_obligation.created"
151
152
  | :"loan_offer.created"
152
153
  | :"loan_offer.updated"
153
154
  | :"loan_purchase.created"
154
155
  | :"lockbox.created"
155
156
  | :"lockbox.updated"
157
+ | :"lockbox_address.created"
158
+ | :"lockbox_address.updated"
156
159
  | :"oauth_connection.created"
157
160
  | :"oauth_connection.deactivated"
158
161
  | :"card_push_transfer.created"
@@ -167,6 +170,7 @@ module Increase
167
170
  | :"physical_card_profile.updated"
168
171
  | :"physical_check.created"
169
172
  | :"physical_check.updated"
173
+ | :"plaid_processor_token.created"
170
174
  | :"checkbook.created"
171
175
  | :"checkbook.updated"
172
176
  | :"program.created"
@@ -425,6 +429,9 @@ module Increase
425
429
  # Occurs whenever a Loan Distribution is created.
426
430
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
427
431
 
432
+ # Occurs whenever a Loan Obligation is created.
433
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
434
+
428
435
  # Occurs whenever a Loan Offer is created.
429
436
  LOAN_OFFER_CREATED: :"loan_offer.created"
430
437
 
@@ -440,6 +447,12 @@ module Increase
440
447
  # Occurs whenever a Lockbox is updated.
441
448
  LOCKBOX_UPDATED: :"lockbox.updated"
442
449
 
450
+ # Occurs whenever a Lockbox Address is created.
451
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
452
+
453
+ # Occurs whenever a Lockbox Address is updated.
454
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
455
+
443
456
  # Occurs whenever an OAuth Connection is created.
444
457
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
445
458
 
@@ -482,6 +495,9 @@ module Increase
482
495
  # Occurs whenever a Physical Check is updated.
483
496
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
484
497
 
498
+ # Occurs whenever a Plaid Processor Token is created.
499
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
500
+
485
501
  # Occurs whenever a Checkbook is created.
486
502
  CHECKBOOK_CREATED: :"checkbook.created"
487
503
 
@@ -644,7 +644,7 @@ module Increase
644
644
  # A domestic clearing system number. In the US, for example, this is the American Banking Association (ABA) routing number.
645
645
  NATIONAL_CLEARING_SYSTEM_NUMBER: :national_clearing_system_number
646
646
 
647
- # The SWIFT Bank Identifier Code (BIC) of the bank.
647
+ # The Swift Bank Identifier Code (BIC) of the bank.
648
648
  BIC_CODE: :bic_code
649
649
 
650
650
  # An International Bank Account Number.
@@ -662,7 +662,7 @@ module Increase
662
662
  # A domestic clearing system number. In the US, for example, this is the American Banking Association (ABA) routing number.
663
663
  NATIONAL_CLEARING_SYSTEM_NUMBER: :national_clearing_system_number
664
664
 
665
- # The SWIFT Bank Identifier Code (BIC) of the bank.
665
+ # The Swift Bank Identifier Code (BIC) of the bank.
666
666
  BIC_CODE: :bic_code
667
667
 
668
668
  # An International Bank Account Number.
@@ -14,8 +14,10 @@ module Increase
14
14
  debtor_name: String,
15
15
  debtor_routing_number: String,
16
16
  decline: Increase::InboundFednowTransfer::Decline?,
17
+ end_to_end_identification: String?,
17
18
  status: Increase::Models::InboundFednowTransfer::status,
18
19
  transaction_id: String?,
20
+ transaction_identification: String?,
19
21
  type: Increase::Models::InboundFednowTransfer::type_,
20
22
  unique_end_to_end_transaction_reference: String?,
21
23
  unstructured_remittance_information: String?
@@ -46,10 +48,14 @@ module Increase
46
48
 
47
49
  attr_accessor decline: Increase::InboundFednowTransfer::Decline?
48
50
 
51
+ attr_accessor end_to_end_identification: String?
52
+
49
53
  attr_accessor status: Increase::Models::InboundFednowTransfer::status
50
54
 
51
55
  attr_accessor transaction_id: String?
52
56
 
57
+ attr_accessor transaction_identification: String?
58
+
53
59
  attr_accessor type: Increase::Models::InboundFednowTransfer::type_
54
60
 
55
61
  attr_accessor unique_end_to_end_transaction_reference: String?
@@ -69,8 +75,10 @@ module Increase
69
75
  debtor_name: String,
70
76
  debtor_routing_number: String,
71
77
  decline: Increase::InboundFednowTransfer::Decline?,
78
+ end_to_end_identification: String?,
72
79
  status: Increase::Models::InboundFednowTransfer::status,
73
80
  transaction_id: String?,
81
+ transaction_identification: String?,
74
82
  type: Increase::Models::InboundFednowTransfer::type_,
75
83
  unique_end_to_end_transaction_reference: String?,
76
84
  unstructured_remittance_information: String?
@@ -89,8 +97,10 @@ module Increase
89
97
  debtor_name: String,
90
98
  debtor_routing_number: String,
91
99
  decline: Increase::InboundFednowTransfer::Decline?,
100
+ end_to_end_identification: String?,
92
101
  status: Increase::Models::InboundFednowTransfer::status,
93
102
  transaction_id: String?,
103
+ transaction_identification: String?,
94
104
  type: Increase::Models::InboundFednowTransfer::type_,
95
105
  unique_end_to_end_transaction_reference: String?,
96
106
  unstructured_remittance_information: String?
@@ -468,6 +468,7 @@ module Increase
468
468
  network_details: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails,
469
469
  network_identifiers: Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers,
470
470
  network_risk_score: Integer?,
471
+ original_card_payment_id: String?,
471
472
  pending_transaction_id: String?,
472
473
  physical_card_id: String?,
473
474
  presentment_amount: Integer,
@@ -521,6 +522,8 @@ module Increase
521
522
 
522
523
  attr_accessor network_risk_score: Integer?
523
524
 
525
+ attr_accessor original_card_payment_id: String?
526
+
524
527
  attr_accessor pending_transaction_id: String?
525
528
 
526
529
  attr_accessor physical_card_id: String?
@@ -562,6 +565,7 @@ module Increase
562
565
  network_details: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails,
563
566
  network_identifiers: Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers,
564
567
  network_risk_score: Integer?,
568
+ original_card_payment_id: String?,
565
569
  pending_transaction_id: String?,
566
570
  physical_card_id: String?,
567
571
  presentment_amount: Integer,
@@ -595,6 +599,7 @@ module Increase
595
599
  network_details: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails,
596
600
  network_identifiers: Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers,
597
601
  network_risk_score: Integer?,
602
+ original_card_payment_id: String?,
598
603
  pending_transaction_id: String?,
599
604
  physical_card_id: String?,
600
605
  presentment_amount: Integer,
@@ -1829,7 +1834,7 @@ module Increase
1829
1834
  # The Pending Transaction is still awaiting confirmation.
1830
1835
  PENDING: :pending
1831
1836
 
1832
- # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
1837
+ # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
1833
1838
  COMPLETE: :complete
1834
1839
 
1835
1840
  def self?.values: -> ::Array[Increase::Models::PendingTransaction::status]
@@ -228,7 +228,7 @@ module Increase
228
228
  # The Pending Transaction is still awaiting confirmation.
229
229
  PENDING: :pending
230
230
 
231
- # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
231
+ # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
232
232
  COMPLETE: :complete
233
233
 
234
234
  def self?.values: -> ::Array[Increase::Models::PendingTransactionListParams::Status::in_]
@@ -727,6 +727,7 @@ module Increase
727
727
  network_details: Increase::RealTimeDecision::CardAuthorization::NetworkDetails,
728
728
  network_identifiers: Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers,
729
729
  network_risk_score: Integer?,
730
+ original_card_payment_id: String?,
730
731
  partial_approval_capability: Increase::Models::RealTimeDecision::CardAuthorization::partial_approval_capability,
731
732
  physical_card_id: String?,
732
733
  presentment_amount: Integer,
@@ -779,6 +780,8 @@ module Increase
779
780
 
780
781
  attr_accessor network_risk_score: Integer?
781
782
 
783
+ attr_accessor original_card_payment_id: String?
784
+
782
785
  attr_accessor partial_approval_capability: Increase::Models::RealTimeDecision::CardAuthorization::partial_approval_capability
783
786
 
784
787
  attr_accessor physical_card_id: String?
@@ -821,6 +824,7 @@ module Increase
821
824
  network_details: Increase::RealTimeDecision::CardAuthorization::NetworkDetails,
822
825
  network_identifiers: Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers,
823
826
  network_risk_score: Integer?,
827
+ original_card_payment_id: String?,
824
828
  partial_approval_capability: Increase::Models::RealTimeDecision::CardAuthorization::partial_approval_capability,
825
829
  physical_card_id: String?,
826
830
  presentment_amount: Integer,
@@ -854,6 +858,7 @@ module Increase
854
858
  network_details: Increase::RealTimeDecision::CardAuthorization::NetworkDetails,
855
859
  network_identifiers: Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers,
856
860
  network_risk_score: Integer?,
861
+ original_card_payment_id: String?,
857
862
  partial_approval_capability: Increase::Models::RealTimeDecision::CardAuthorization::partial_approval_capability,
858
863
  physical_card_id: String?,
859
864
  presentment_amount: Integer,
@@ -16,6 +16,7 @@ module Increase
16
16
  debtor_name: String?,
17
17
  external_account_id: String?,
18
18
  idempotency_key: String?,
19
+ inbound_real_time_payments_request_for_payment_id: String?,
19
20
  pending_transaction_id: String?,
20
21
  rejection: Increase::RealTimePaymentsTransfer::Rejection?,
21
22
  routing_number: String,
@@ -58,6 +59,8 @@ module Increase
58
59
 
59
60
  attr_accessor idempotency_key: String?
60
61
 
62
+ attr_accessor inbound_real_time_payments_request_for_payment_id: String?
63
+
61
64
  attr_accessor pending_transaction_id: String?
62
65
 
63
66
  attr_accessor rejection: Increase::RealTimePaymentsTransfer::Rejection?
@@ -95,6 +98,7 @@ module Increase
95
98
  debtor_name: String?,
96
99
  external_account_id: String?,
97
100
  idempotency_key: String?,
101
+ inbound_real_time_payments_request_for_payment_id: String?,
98
102
  pending_transaction_id: String?,
99
103
  rejection: Increase::RealTimePaymentsTransfer::Rejection?,
100
104
  routing_number: String,
@@ -123,6 +127,7 @@ module Increase
123
127
  debtor_name: String?,
124
128
  external_account_id: String?,
125
129
  idempotency_key: String?,
130
+ inbound_real_time_payments_request_for_payment_id: String?,
126
131
  pending_transaction_id: String?,
127
132
  rejection: Increase::RealTimePaymentsTransfer::Rejection?,
128
133
  routing_number: String,
@@ -312,61 +317,61 @@ module Increase
312
317
  module RejectReasonCode
313
318
  extend Increase::Internal::Type::Enum
314
319
 
315
- # The destination account is closed. Corresponds to the Real-Time Payments reason code `AC04`.
320
+ # The destination account is closed. Corresponds to the Real-Time Payments reason code "AC04".
316
321
  ACCOUNT_CLOSED: :account_closed
317
322
 
318
- # The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code `AC06`.
323
+ # The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code "AC06".
319
324
  ACCOUNT_BLOCKED: :account_blocked
320
325
 
321
- # The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code `AC14`.
326
+ # The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code "AC14".
322
327
  INVALID_CREDITOR_ACCOUNT_TYPE: :invalid_creditor_account_type
323
328
 
324
- # The destination account does not exist. Corresponds to the Real-Time Payments reason code `AC03`.
329
+ # The destination account does not exist. Corresponds to the Real-Time Payments reason code "AC03".
325
330
  INVALID_CREDITOR_ACCOUNT_NUMBER: :invalid_creditor_account_number
326
331
 
327
- # The destination routing number is invalid. Corresponds to the Real-Time Payments reason code `RC04`.
332
+ # The destination routing number is invalid. Corresponds to the Real-Time Payments reason code "RC04".
328
333
  INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER: :invalid_creditor_financial_institution_identifier
329
334
 
330
- # The destination account holder is deceased. Corresponds to the Real-Time Payments reason code `MD07`.
335
+ # The destination account holder is deceased. Corresponds to the Real-Time Payments reason code "MD07".
331
336
  END_CUSTOMER_DECEASED: :end_customer_deceased
332
337
 
333
338
  # The reason is provided as narrative information in the additional information field.
334
339
  NARRATIVE: :narrative
335
340
 
336
- # Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code `AG01`.
341
+ # Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code "AG01".
337
342
  TRANSACTION_FORBIDDEN: :transaction_forbidden
338
343
 
339
- # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code `AG03`.
344
+ # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "AG03".
340
345
  TRANSACTION_TYPE_NOT_SUPPORTED: :transaction_type_not_supported
341
346
 
342
- # The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
347
+ # The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code "AM09".
343
348
  UNEXPECTED_AMOUNT: :unexpected_amount
344
349
 
345
- # The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code `AM14`.
350
+ # The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code "AM14".
346
351
  AMOUNT_EXCEEDS_BANK_LIMITS: :amount_exceeds_bank_limits
347
352
 
348
- # The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
353
+ # The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE04".
349
354
  INVALID_CREDITOR_ADDRESS: :invalid_creditor_address
350
355
 
351
- # The specified creditor is unknown. Corresponds to the Real-Time Payments reason code `BE06`.
356
+ # The specified creditor is unknown. Corresponds to the Real-Time Payments reason code "BE06".
352
357
  UNKNOWN_END_CUSTOMER: :unknown_end_customer
353
358
 
354
- # The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code `BE07`.
359
+ # The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE07".
355
360
  INVALID_DEBTOR_ADDRESS: :invalid_debtor_address
356
361
 
357
- # There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code `DS24`.
362
+ # There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code "DS24".
358
363
  TIMEOUT: :timeout
359
364
 
360
- # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code `NOAT`.
365
+ # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "NOAT".
361
366
  UNSUPPORTED_MESSAGE_FOR_RECIPIENT: :unsupported_message_for_recipient
362
367
 
363
- # The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code `9912`.
368
+ # The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code "9912".
364
369
  RECIPIENT_CONNECTION_NOT_AVAILABLE: :recipient_connection_not_available
365
370
 
366
- # Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code `9948`.
371
+ # Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code "9948".
367
372
  REAL_TIME_PAYMENTS_SUSPENDED: :real_time_payments_suspended
368
373
 
369
- # The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code `9910`.
374
+ # The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code "9910".
370
375
  INSTRUCTED_AGENT_SIGNED_OFF: :instructed_agent_signed_off
371
376
 
372
377
  # The transfer was rejected due to an internal Increase issue. We have been notified.
@@ -9,6 +9,7 @@ module Increase
9
9
  account_number: String,
10
10
  debtor_name: String,
11
11
  external_account_id: String,
12
+ inbound_real_time_payments_request_for_payment_id: String,
12
13
  require_approval: bool,
13
14
  routing_number: String,
14
15
  ultimate_creditor_name: String,
@@ -40,6 +41,10 @@ module Increase
40
41
 
41
42
  def external_account_id=: (String) -> String
42
43
 
44
+ attr_reader inbound_real_time_payments_request_for_payment_id: String?
45
+
46
+ def inbound_real_time_payments_request_for_payment_id=: (String) -> String
47
+
43
48
  attr_reader require_approval: bool?
44
49
 
45
50
  def require_approval=: (bool) -> bool
@@ -64,6 +69,7 @@ module Increase
64
69
  ?account_number: String,
65
70
  ?debtor_name: String,
66
71
  ?external_account_id: String,
72
+ ?inbound_real_time_payments_request_for_payment_id: String,
67
73
  ?require_approval: bool,
68
74
  ?routing_number: String,
69
75
  ?ultimate_creditor_name: String,
@@ -79,6 +85,7 @@ module Increase
79
85
  account_number: String,
80
86
  debtor_name: String,
81
87
  external_account_id: String,
88
+ inbound_real_time_payments_request_for_payment_id: String,
82
89
  require_approval: bool,
83
90
  routing_number: String,
84
91
  ultimate_creditor_name: String,
@@ -55,6 +55,7 @@ module Increase
55
55
  accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
56
56
  decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
57
57
  receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
58
+ reject: Increase::Simulations::CardDisputeActionParams::Visa::Reject,
58
59
  represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent,
59
60
  request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation,
60
61
  time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback,
@@ -90,6 +91,12 @@ module Increase
90
91
  Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration
91
92
  ) -> Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration
92
93
 
94
+ attr_reader reject: Increase::Simulations::CardDisputeActionParams::Visa::Reject?
95
+
96
+ def reject=: (
97
+ Increase::Simulations::CardDisputeActionParams::Visa::Reject
98
+ ) -> Increase::Simulations::CardDisputeActionParams::Visa::Reject
99
+
93
100
  attr_reader represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent?
94
101
 
95
102
  def represent=: (
@@ -132,6 +139,7 @@ module Increase
132
139
  ?accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
133
140
  ?decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
134
141
  ?receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
142
+ ?reject: Increase::Simulations::CardDisputeActionParams::Visa::Reject,
135
143
  ?represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent,
136
144
  ?request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation,
137
145
  ?time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback,
@@ -146,6 +154,7 @@ module Increase
146
154
  accept_user_submission: Increase::Simulations::CardDisputeActionParams::Visa::AcceptUserSubmission,
147
155
  decline_user_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
148
156
  receive_merchant_prearbitration: Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
157
+ reject: Increase::Simulations::CardDisputeActionParams::Visa::Reject,
149
158
  represent: Increase::Simulations::CardDisputeActionParams::Visa::Represent,
150
159
  request_further_information: Increase::Simulations::CardDisputeActionParams::Visa::RequestFurtherInformation,
151
160
  time_out_chargeback: Increase::Simulations::CardDisputeActionParams::Visa::TimeOutChargeback,
@@ -159,6 +168,7 @@ module Increase
159
168
  | :accept_user_submission
160
169
  | :decline_user_prearbitration
161
170
  | :receive_merchant_prearbitration
171
+ | :reject
162
172
  | :represent
163
173
  | :request_further_information
164
174
  | :time_out_chargeback
@@ -181,6 +191,9 @@ module Increase
181
191
  # Simulate the merchant issuing pre-arbitration. This will move the dispute to a `user_submission_required` state.
182
192
  RECEIVE_MERCHANT_PREARBITRATION: :receive_merchant_prearbitration
183
193
 
194
+ # Simulate the dispute being rejected before it is submitted to the network. This will move the dispute to a `rejected` state.
195
+ REJECT: :reject
196
+
184
197
  # Simulate the merchant re-presenting the dispute. This will move the dispute to a `user_submission_required` state.
185
198
  REPRESENT: :represent
186
199
 
@@ -234,6 +247,16 @@ module Increase
234
247
  def to_hash: -> { }
235
248
  end
236
249
 
250
+ type reject = { explanation: String }
251
+
252
+ class Reject < Increase::Internal::Type::BaseModel
253
+ attr_accessor explanation: String
254
+
255
+ def initialize: (explanation: String) -> void
256
+
257
+ def to_hash: -> { explanation: String }
258
+ end
259
+
237
260
  type represent = { }
238
261
 
239
262
  class Represent < Increase::Internal::Type::BaseModel
@@ -47,6 +47,7 @@ module Increase
47
47
  type category =
48
48
  :entity_tax_identifier
49
49
  | :entity_address
50
+ | :entity_identity
50
51
  | :beneficial_owner_identity
51
52
  | :beneficial_owner_address
52
53
 
@@ -59,6 +60,9 @@ module Increase
59
60
  # 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).
60
61
  ENTITY_ADDRESS: :entity_address
61
62
 
63
+ # The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity.natural_person.identification).
64
+ ENTITY_IDENTITY: :entity_identity
65
+
62
66
  # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
63
67
  BENEFICIAL_OWNER_IDENTITY: :beneficial_owner_identity
64
68
 
@@ -39,12 +39,7 @@ module Increase
39
39
  request_options: Increase::RequestOptions
40
40
  }
41
41
 
42
- type reason =
43
- :late_return
44
- | :wrong_payee_credit
45
- | :adjusted_amount
46
- | :non_conforming_item
47
- | :paid
42
+ type reason = :late_return | :wrong_payee_credit
48
43
 
49
44
  module Reason
50
45
  extend Increase::Internal::Type::Enum
@@ -55,15 +50,6 @@ module Increase
55
50
  # The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
56
51
  WRONG_PAYEE_CREDIT: :wrong_payee_credit
57
52
 
58
- # The check was deposited with a different amount than what was written on the check.
59
- ADJUSTED_AMOUNT: :adjusted_amount
60
-
61
- # The recipient was not able to process the check. This usually happens for e.g., low quality images.
62
- NON_CONFORMING_ITEM: :non_conforming_item
63
-
64
- # The check has already been deposited elsewhere and so this is a duplicate.
65
- PAID: :paid
66
-
67
53
  def self?.values: -> ::Array[Increase::Models::Simulations::InboundCheckDepositAdjustmentParams::reason]
68
54
  end
69
55
  end