increase 1.347.0 → 1.348.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 (102) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  4. data/lib/increase/models/ach_transfer.rb +2 -2
  5. data/lib/increase/models/ach_transfer_create_params.rb +1 -24
  6. data/lib/increase/models/balance_lookup.rb +49 -1
  7. data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
  8. data/lib/increase/models/card.rb +43 -1
  9. data/lib/increase/models/card_create_params.rb +42 -1
  10. data/lib/increase/models/card_dispute.rb +1 -1
  11. data/lib/increase/models/card_dispute_list_params.rb +1 -1
  12. data/lib/increase/models/card_payment.rb +18 -1
  13. data/lib/increase/models/check_transfer.rb +13 -1
  14. data/lib/increase/models/check_transfer_create_params.rb +25 -13
  15. data/lib/increase/models/entity.rb +22 -4
  16. data/lib/increase/models/entity_update_params.rb +754 -1
  17. data/lib/increase/models/event.rb +9 -0
  18. data/lib/increase/models/event_list_params.rb +9 -0
  19. data/lib/increase/models/event_subscription.rb +9 -0
  20. data/lib/increase/models/event_subscription_create_params.rb +9 -0
  21. data/lib/increase/models/file.rb +7 -6
  22. data/lib/increase/models/inbound_ach_transfer.rb +6 -6
  23. data/lib/increase/models/pending_transaction.rb +18 -1
  24. data/lib/increase/models/real_time_decision.rb +18 -1
  25. data/lib/increase/models/real_time_payments_transfer.rb +30 -19
  26. data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
  27. data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
  28. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
  29. data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
  30. data/lib/increase/models/unwrap_webhook_event.rb +9 -0
  31. data/lib/increase/models/wire_transfer_create_params.rb +100 -42
  32. data/lib/increase/resources/ach_prenotifications.rb +1 -1
  33. data/lib/increase/resources/ach_transfers.rb +1 -4
  34. data/lib/increase/resources/beneficial_owners.rb +3 -1
  35. data/lib/increase/resources/cards.rb +5 -1
  36. data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
  37. data/lib/increase/version.rb +1 -1
  38. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  39. data/rbi/increase/models/ach_transfer.rbi +2 -2
  40. data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
  41. data/rbi/increase/models/balance_lookup.rbi +48 -0
  42. data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
  43. data/rbi/increase/models/card.rbi +63 -0
  44. data/rbi/increase/models/card_create_params.rbi +65 -0
  45. data/rbi/increase/models/card_dispute.rbi +1 -1
  46. data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
  47. data/rbi/increase/models/card_payment.rbi +16 -0
  48. data/rbi/increase/models/check_transfer.rbi +15 -0
  49. data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
  50. data/rbi/increase/models/entity.rbi +61 -3
  51. data/rbi/increase/models/entity_update_params.rbi +1326 -3
  52. data/rbi/increase/models/event.rbi +21 -0
  53. data/rbi/increase/models/event_list_params.rbi +21 -0
  54. data/rbi/increase/models/event_subscription.rbi +21 -0
  55. data/rbi/increase/models/event_subscription_create_params.rbi +21 -0
  56. data/rbi/increase/models/file.rbi +7 -6
  57. data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
  58. data/rbi/increase/models/pending_transaction.rbi +16 -0
  59. data/rbi/increase/models/real_time_decision.rbi +16 -0
  60. data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
  61. data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
  62. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
  63. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
  64. data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
  65. data/rbi/increase/models/unwrap_webhook_event.rbi +21 -0
  66. data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
  67. data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
  68. data/rbi/increase/resources/ach_transfers.rbi +0 -4
  69. data/rbi/increase/resources/beneficial_owners.rbi +3 -0
  70. data/rbi/increase/resources/cards.rbi +4 -0
  71. data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
  72. data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
  73. data/sig/increase/models/balance_lookup.rbs +30 -0
  74. data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
  75. data/sig/increase/models/card.rbs +19 -0
  76. data/sig/increase/models/card_create_params.rbs +25 -0
  77. data/sig/increase/models/card_dispute.rbs +1 -1
  78. data/sig/increase/models/card_dispute_list_params.rbs +1 -1
  79. data/sig/increase/models/card_payment.rbs +5 -0
  80. data/sig/increase/models/check_transfer.rbs +9 -0
  81. data/sig/increase/models/check_transfer_create_params.rbs +7 -0
  82. data/sig/increase/models/entity.rbs +21 -4
  83. data/sig/increase/models/entity_update_params.rbs +585 -3
  84. data/sig/increase/models/event.rbs +12 -0
  85. data/sig/increase/models/event_list_params.rbs +12 -0
  86. data/sig/increase/models/event_subscription.rbs +12 -0
  87. data/sig/increase/models/event_subscription_create_params.rbs +12 -0
  88. data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
  89. data/sig/increase/models/pending_transaction.rbs +5 -0
  90. data/sig/increase/models/real_time_decision.rbs +5 -0
  91. data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
  92. data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
  93. data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
  94. data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
  95. data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
  96. data/sig/increase/models/unwrap_webhook_event.rbs +12 -0
  97. data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
  98. data/sig/increase/resources/ach_transfers.rbs +0 -1
  99. data/sig/increase/resources/beneficial_owners.rbs +1 -0
  100. data/sig/increase/resources/cards.rbs +1 -0
  101. data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
  102. metadata +2 -2
@@ -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"
@@ -422,6 +425,9 @@ module Increase
422
425
  # Occurs whenever a Loan Distribution is created.
423
426
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
424
427
 
428
+ # Occurs whenever a Loan Obligation is created.
429
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
430
+
425
431
  # Occurs whenever a Loan Offer is created.
426
432
  LOAN_OFFER_CREATED: :"loan_offer.created"
427
433
 
@@ -437,6 +443,12 @@ module Increase
437
443
  # Occurs whenever a Lockbox is updated.
438
444
  LOCKBOX_UPDATED: :"lockbox.updated"
439
445
 
446
+ # Occurs whenever a Lockbox Address is created.
447
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
448
+
449
+ # Occurs whenever a Lockbox Address is updated.
450
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
451
+
440
452
  # Occurs whenever an OAuth Connection is created.
441
453
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
442
454
 
@@ -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"
@@ -425,6 +428,9 @@ module Increase
425
428
  # Occurs whenever a Loan Distribution is created.
426
429
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
427
430
 
431
+ # Occurs whenever a Loan Obligation is created.
432
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
433
+
428
434
  # Occurs whenever a Loan Offer is created.
429
435
  LOAN_OFFER_CREATED: :"loan_offer.created"
430
436
 
@@ -440,6 +446,12 @@ module Increase
440
446
  # Occurs whenever a Lockbox is updated.
441
447
  LOCKBOX_UPDATED: :"lockbox.updated"
442
448
 
449
+ # Occurs whenever a Lockbox Address is created.
450
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
451
+
452
+ # Occurs whenever a Lockbox Address is updated.
453
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
454
+
443
455
  # Occurs whenever an OAuth Connection is created.
444
456
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
445
457
 
@@ -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.
@@ -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,
@@ -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
 
@@ -74,61 +74,61 @@ module Increase
74
74
  module RejectReasonCode
75
75
  extend Increase::Internal::Type::Enum
76
76
 
77
- # The destination account is closed. Corresponds to the Real-Time Payments reason code `AC04`.
77
+ # The destination account is closed. Corresponds to the Real-Time Payments reason code "AC04".
78
78
  ACCOUNT_CLOSED: :account_closed
79
79
 
80
- # The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code `AC06`.
80
+ # The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code "AC06".
81
81
  ACCOUNT_BLOCKED: :account_blocked
82
82
 
83
- # The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code `AC14`.
83
+ # The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code "AC14".
84
84
  INVALID_CREDITOR_ACCOUNT_TYPE: :invalid_creditor_account_type
85
85
 
86
- # The destination account does not exist. Corresponds to the Real-Time Payments reason code `AC03`.
86
+ # The destination account does not exist. Corresponds to the Real-Time Payments reason code "AC03".
87
87
  INVALID_CREDITOR_ACCOUNT_NUMBER: :invalid_creditor_account_number
88
88
 
89
- # The destination routing number is invalid. Corresponds to the Real-Time Payments reason code `RC04`.
89
+ # The destination routing number is invalid. Corresponds to the Real-Time Payments reason code "RC04".
90
90
  INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER: :invalid_creditor_financial_institution_identifier
91
91
 
92
- # The destination account holder is deceased. Corresponds to the Real-Time Payments reason code `MD07`.
92
+ # The destination account holder is deceased. Corresponds to the Real-Time Payments reason code "MD07".
93
93
  END_CUSTOMER_DECEASED: :end_customer_deceased
94
94
 
95
95
  # The reason is provided as narrative information in the additional information field.
96
96
  NARRATIVE: :narrative
97
97
 
98
- # Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code `AG01`.
98
+ # Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code "AG01".
99
99
  TRANSACTION_FORBIDDEN: :transaction_forbidden
100
100
 
101
- # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code `AG03`.
101
+ # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "AG03".
102
102
  TRANSACTION_TYPE_NOT_SUPPORTED: :transaction_type_not_supported
103
103
 
104
- # The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
104
+ # The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code "AM09".
105
105
  UNEXPECTED_AMOUNT: :unexpected_amount
106
106
 
107
- # The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code `AM14`.
107
+ # The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code "AM14".
108
108
  AMOUNT_EXCEEDS_BANK_LIMITS: :amount_exceeds_bank_limits
109
109
 
110
- # The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
110
+ # The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE04".
111
111
  INVALID_CREDITOR_ADDRESS: :invalid_creditor_address
112
112
 
113
- # The specified creditor is unknown. Corresponds to the Real-Time Payments reason code `BE06`.
113
+ # The specified creditor is unknown. Corresponds to the Real-Time Payments reason code "BE06".
114
114
  UNKNOWN_END_CUSTOMER: :unknown_end_customer
115
115
 
116
- # The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code `BE07`.
116
+ # The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE07".
117
117
  INVALID_DEBTOR_ADDRESS: :invalid_debtor_address
118
118
 
119
- # There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code `DS24`.
119
+ # There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code "DS24".
120
120
  TIMEOUT: :timeout
121
121
 
122
- # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code `NOAT`.
122
+ # Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "NOAT".
123
123
  UNSUPPORTED_MESSAGE_FOR_RECIPIENT: :unsupported_message_for_recipient
124
124
 
125
- # The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code `9912`.
125
+ # The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code "9912".
126
126
  RECIPIENT_CONNECTION_NOT_AVAILABLE: :recipient_connection_not_available
127
127
 
128
- # Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code `9948`.
128
+ # Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code "9948".
129
129
  REAL_TIME_PAYMENTS_SUSPENDED: :real_time_payments_suspended
130
130
 
131
- # The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code `9910`.
131
+ # The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code "9910".
132
132
  INSTRUCTED_AGENT_SIGNED_OFF: :instructed_agent_signed_off
133
133
 
134
134
  # The transfer was rejected due to an internal Increase issue. We have been notified.
@@ -119,11 +119,14 @@ module Increase
119
119
  | :"loan_application.created"
120
120
  | :"loan_application.updated"
121
121
  | :"loan_distribution.created"
122
+ | :"loan_obligation.created"
122
123
  | :"loan_offer.created"
123
124
  | :"loan_offer.updated"
124
125
  | :"loan_purchase.created"
125
126
  | :"lockbox.created"
126
127
  | :"lockbox.updated"
128
+ | :"lockbox_address.created"
129
+ | :"lockbox_address.updated"
127
130
  | :"oauth_connection.created"
128
131
  | :"oauth_connection.deactivated"
129
132
  | :"card_push_transfer.created"
@@ -396,6 +399,9 @@ module Increase
396
399
  # Occurs whenever a Loan Distribution is created.
397
400
  LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
398
401
 
402
+ # Occurs whenever a Loan Obligation is created.
403
+ LOAN_OBLIGATION_CREATED: :"loan_obligation.created"
404
+
399
405
  # Occurs whenever a Loan Offer is created.
400
406
  LOAN_OFFER_CREATED: :"loan_offer.created"
401
407
 
@@ -411,6 +417,12 @@ module Increase
411
417
  # Occurs whenever a Lockbox is updated.
412
418
  LOCKBOX_UPDATED: :"lockbox.updated"
413
419
 
420
+ # Occurs whenever a Lockbox Address is created.
421
+ LOCKBOX_ADDRESS_CREATED: :"lockbox_address.created"
422
+
423
+ # Occurs whenever a Lockbox Address is updated.
424
+ LOCKBOX_ADDRESS_UPDATED: :"lockbox_address.updated"
425
+
414
426
  # Occurs whenever an OAuth Connection is created.
415
427
  OAUTH_CONNECTION_CREATED: :"oauth_connection.created"
416
428