increase 1.366.0 → 1.368.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/ach_transfer.rb +6 -6
  4. data/lib/increase/models/card_dispute.rb +131 -2
  5. data/lib/increase/models/card_dispute_create_params.rb +20 -16
  6. data/lib/increase/models/card_dispute_provide_provisional_credit_params.rb +22 -0
  7. data/lib/increase/models/card_dispute_reverse_provisional_credit_params.rb +22 -0
  8. data/lib/increase/models/card_payment.rb +30 -0
  9. data/lib/increase/models/declined_transaction.rb +3 -0
  10. data/lib/increase/models/export.rb +19 -5
  11. data/lib/increase/models/export_create_params.rb +36 -13
  12. data/lib/increase/models/inbound_check_deposit.rb +0 -3
  13. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  14. data/lib/increase/models/pending_transaction.rb +76 -1
  15. data/lib/increase/models/pending_transaction_list_params.rb +3 -0
  16. data/lib/increase/models/simulations/card_refund_create_params.rb +6 -6
  17. data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +3 -0
  18. data/lib/increase/models/transaction.rb +86 -1
  19. data/lib/increase/models/transaction_list_params.rb +3 -0
  20. data/lib/increase/models.rb +4 -0
  21. data/lib/increase/resources/card_disputes.rb +50 -6
  22. data/lib/increase/resources/exports.rb +5 -1
  23. data/lib/increase/resources/simulations/card_refunds.rb +3 -3
  24. data/lib/increase/version.rb +1 -1
  25. data/lib/increase.rb +2 -0
  26. data/rbi/increase/models/ach_transfer.rbi +6 -6
  27. data/rbi/increase/models/card_dispute.rbi +188 -0
  28. data/rbi/increase/models/card_dispute_create_params.rbi +20 -16
  29. data/rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi +43 -0
  30. data/rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi +43 -0
  31. data/rbi/increase/models/card_payment.rbi +70 -0
  32. data/rbi/increase/models/declined_transaction.rbi +7 -0
  33. data/rbi/increase/models/export.rbi +18 -6
  34. data/rbi/increase/models/export_create_params.rbi +44 -15
  35. data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
  36. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  37. data/rbi/increase/models/pending_transaction.rbi +162 -0
  38. data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
  39. data/rbi/increase/models/simulations/card_refund_create_params.rbi +6 -6
  40. data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +3 -0
  41. data/rbi/increase/models/transaction.rbi +179 -0
  42. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  43. data/rbi/increase/models.rbi +6 -0
  44. data/rbi/increase/resources/card_disputes.rbi +38 -6
  45. data/rbi/increase/resources/exports.rbi +5 -1
  46. data/rbi/increase/resources/simulations/card_refunds.rbi +3 -3
  47. data/sig/increase/models/ach_transfer.rbs +8 -8
  48. data/sig/increase/models/card_dispute.rbs +79 -0
  49. data/sig/increase/models/card_dispute_provide_provisional_credit_params.rbs +23 -0
  50. data/sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs +23 -0
  51. data/sig/increase/models/card_payment.rbs +40 -0
  52. data/sig/increase/models/declined_transaction.rbs +4 -0
  53. data/sig/increase/models/export.rbs +13 -4
  54. data/sig/increase/models/export_create_params.rbs +16 -5
  55. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  56. data/sig/increase/models/pending_transaction.rbs +63 -0
  57. data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
  58. data/sig/increase/models/transaction.rbs +71 -0
  59. data/sig/increase/models/transaction_list_params.rbs +4 -0
  60. data/sig/increase/models.rbs +4 -0
  61. data/sig/increase/resources/card_disputes.rbs +10 -0
  62. metadata +8 -2
@@ -16,7 +16,11 @@ module Increase
16
16
  attr_accessor :category
17
17
 
18
18
  # Options for the created export. Required if `category` is equal to
19
- # `account_statement_bai2`.
19
+ # `account_statement_bai2`. Each as-of date from `on_or_after_date` through
20
+ # `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
21
+ # group's as-of date is before the UTC date the Export was created, it has
22
+ # end-of-day balances. If it's the UTC date the Export was created, it has
23
+ # intraday balances as of the time the Export was created.
20
24
  sig do
21
25
  returns(T.nilable(Increase::ExportCreateParams::AccountStatementBai2))
22
26
  end
@@ -185,7 +189,11 @@ module Increase
185
189
  # The type of Export to create.
186
190
  category:,
187
191
  # Options for the created export. Required if `category` is equal to
188
- # `account_statement_bai2`.
192
+ # `account_statement_bai2`. Each as-of date from `on_or_after_date` through
193
+ # `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
194
+ # group's as-of date is before the UTC date the Export was created, it has
195
+ # end-of-day balances. If it's the UTC date the Export was created, it has
196
+ # intraday balances as of the time the Export was created.
189
197
  account_statement_bai2: nil,
190
198
  # Options for the created export. Required if `category` is equal to
191
199
  # `account_statement_ofx`.
@@ -361,14 +369,22 @@ module Increase
361
369
  sig { params(account_id: String).void }
362
370
  attr_writer :account_id
363
371
 
364
- # The UTC date to create a BAI2 report for. If not provided, the current date will
365
- # be used. If the current date is used, the report will include intraday balances,
366
- # otherwise it will include end-of-day balances for the provided date.
372
+ # The first as-of date (UTC) to report. Each as-of date gets its own group in the
373
+ # BAI2 file. If not provided, the report starts from the earliest included
374
+ # Account.
367
375
  sig { returns(T.nilable(Date)) }
368
- attr_reader :effective_date
376
+ attr_reader :on_or_after_date
377
+
378
+ sig { params(on_or_after_date: Date).void }
379
+ attr_writer :on_or_after_date
369
380
 
370
- sig { params(effective_date: Date).void }
371
- attr_writer :effective_date
381
+ # The last as-of date (UTC) to report. If not provided, the report runs through
382
+ # the current UTC date.
383
+ sig { returns(T.nilable(Date)) }
384
+ attr_reader :on_or_before_date
385
+
386
+ sig { params(on_or_before_date: Date).void }
387
+ attr_writer :on_or_before_date
372
388
 
373
389
  # The Program to create a BAI2 report for. If not provided, all open accounts will
374
390
  # be included.
@@ -379,11 +395,16 @@ module Increase
379
395
  attr_writer :program_id
380
396
 
381
397
  # Options for the created export. Required if `category` is equal to
382
- # `account_statement_bai2`.
398
+ # `account_statement_bai2`. Each as-of date from `on_or_after_date` through
399
+ # `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
400
+ # group's as-of date is before the UTC date the Export was created, it has
401
+ # end-of-day balances. If it's the UTC date the Export was created, it has
402
+ # intraday balances as of the time the Export was created.
383
403
  sig do
384
404
  params(
385
405
  account_id: String,
386
- effective_date: Date,
406
+ on_or_after_date: Date,
407
+ on_or_before_date: Date,
387
408
  program_id: String
388
409
  ).returns(T.attached_class)
389
410
  end
@@ -391,10 +412,13 @@ module Increase
391
412
  # The Account to create a BAI2 report for. If not provided, all open accounts will
392
413
  # be included.
393
414
  account_id: nil,
394
- # The UTC date to create a BAI2 report for. If not provided, the current date will
395
- # be used. If the current date is used, the report will include intraday balances,
396
- # otherwise it will include end-of-day balances for the provided date.
397
- effective_date: nil,
415
+ # The first as-of date (UTC) to report. Each as-of date gets its own group in the
416
+ # BAI2 file. If not provided, the report starts from the earliest included
417
+ # Account.
418
+ on_or_after_date: nil,
419
+ # The last as-of date (UTC) to report. If not provided, the report runs through
420
+ # the current UTC date.
421
+ on_or_before_date: nil,
398
422
  # The Program to create a BAI2 report for. If not provided, all open accounts will
399
423
  # be included.
400
424
  program_id: nil
@@ -403,7 +427,12 @@ module Increase
403
427
 
404
428
  sig do
405
429
  override.returns(
406
- { account_id: String, effective_date: Date, program_id: String }
430
+ {
431
+ account_id: String,
432
+ on_or_after_date: Date,
433
+ on_or_before_date: Date,
434
+ program_id: String
435
+ }
407
436
  )
408
437
  end
409
438
  def to_hash
@@ -103,7 +103,6 @@ module Increase
103
103
  attr_accessor :front_image_file_id
104
104
 
105
105
  # Whether the details on the check match the recipient name of the check transfer.
106
- # This is an optional feature, contact sales to enable.
107
106
  sig do
108
107
  returns(Increase::InboundCheckDeposit::PayeeNameAnalysis::TaggedSymbol)
109
108
  end
@@ -206,7 +205,6 @@ module Increase
206
205
  # The ID for the File containing the image of the front of the check.
207
206
  front_image_file_id:,
208
207
  # Whether the details on the check match the recipient name of the check transfer.
209
- # This is an optional feature, contact sales to enable.
210
208
  payee_name_analysis:,
211
209
  # The status of the Inbound Check Deposit.
212
210
  status:,
@@ -508,7 +506,6 @@ module Increase
508
506
  end
509
507
 
510
508
  # Whether the details on the check match the recipient name of the check transfer.
511
- # This is an optional feature, contact sales to enable.
512
509
  module PayeeNameAnalysis
513
510
  extend Increase::Internal::Type::Enum
514
511
 
@@ -423,6 +423,13 @@ module Increase
423
423
  Increase::InboundFednowTransfer::Status::TaggedSymbol
424
424
  )
425
425
 
426
+ # The transfer has been returned, in full or in part, to its sender.
427
+ RETURNED =
428
+ T.let(
429
+ :returned,
430
+ Increase::InboundFednowTransfer::Status::TaggedSymbol
431
+ )
432
+
426
433
  # The transfer requires attention from an Increase operator.
427
434
  REQUIRES_ATTENTION =
428
435
  T.let(
@@ -440,6 +440,29 @@ module Increase
440
440
  end
441
441
  attr_writer :fednow_transfer_instruction
442
442
 
443
+ # An Inbound FedNow Transfer Return object. This field will be present in the JSON
444
+ # response if and only if `category` is equal to `inbound_fednow_transfer_return`.
445
+ # An Inbound FedNow Transfer Return is created when Increase has received a FedNow
446
+ # transfer and the User requests that it be returned.
447
+ sig do
448
+ returns(
449
+ T.nilable(
450
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn
451
+ )
452
+ )
453
+ end
454
+ attr_reader :inbound_fednow_transfer_return
455
+
456
+ sig do
457
+ params(
458
+ inbound_fednow_transfer_return:
459
+ T.nilable(
460
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::OrHash
461
+ )
462
+ ).void
463
+ end
464
+ attr_writer :inbound_fednow_transfer_return
465
+
443
466
  # An Inbound Funds Hold object. This field will be present in the JSON response if
444
467
  # and only if `category` is equal to `inbound_funds_hold`. We hold funds for
445
468
  # certain transaction types to account for return windows where funds might still
@@ -653,6 +676,10 @@ module Increase
653
676
  T.nilable(
654
677
  Increase::PendingTransaction::Source::FednowTransferInstruction::OrHash
655
678
  ),
679
+ inbound_fednow_transfer_return:
680
+ T.nilable(
681
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::OrHash
682
+ ),
656
683
  inbound_funds_hold:
657
684
  T.nilable(
658
685
  Increase::PendingTransaction::Source::InboundFundsHold::OrHash
@@ -722,6 +749,11 @@ module Increase
722
749
  # A FedNow Transfer Instruction object. This field will be present in the JSON
723
750
  # response if and only if `category` is equal to `fednow_transfer_instruction`.
724
751
  fednow_transfer_instruction: nil,
752
+ # An Inbound FedNow Transfer Return object. This field will be present in the JSON
753
+ # response if and only if `category` is equal to `inbound_fednow_transfer_return`.
754
+ # An Inbound FedNow Transfer Return is created when Increase has received a FedNow
755
+ # transfer and the User requests that it be returned.
756
+ inbound_fednow_transfer_return: nil,
725
757
  # An Inbound Funds Hold object. This field will be present in the JSON response if
726
758
  # and only if `category` is equal to `inbound_funds_hold`. We hold funds for
727
759
  # certain transaction types to account for return windows where funds might still
@@ -801,6 +833,10 @@ module Increase
801
833
  T.nilable(
802
834
  Increase::PendingTransaction::Source::FednowTransferInstruction
803
835
  ),
836
+ inbound_fednow_transfer_return:
837
+ T.nilable(
838
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn
839
+ ),
804
840
  inbound_funds_hold:
805
841
  T.nilable(
806
842
  Increase::PendingTransaction::Source::InboundFundsHold
@@ -890,6 +926,13 @@ module Increase
890
926
  Increase::PendingTransaction::Source::Category::TaggedSymbol
891
927
  )
892
928
 
929
+ # Inbound FedNow Transfer Return: details will be under the `inbound_fednow_transfer_return` object.
930
+ INBOUND_FEDNOW_TRANSFER_RETURN =
931
+ T.let(
932
+ :inbound_fednow_transfer_return,
933
+ Increase::PendingTransaction::Source::Category::TaggedSymbol
934
+ )
935
+
893
936
  # Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
894
937
  INBOUND_FUNDS_HOLD =
895
938
  T.let(
@@ -3969,6 +4012,13 @@ module Increase
3969
4012
  Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
3970
4013
  )
3971
4014
 
4015
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
4016
+ PULSE_SWITCH_FEE_CREDIT =
4017
+ T.let(
4018
+ :pulse_switch_fee_credit,
4019
+ Increase::PendingTransaction::Source::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4020
+ )
4021
+
3972
4022
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
3973
4023
  PULSE_TOKENIZATION_FEE =
3974
4024
  T.let(
@@ -4679,6 +4729,118 @@ module Increase
4679
4729
  end
4680
4730
  end
4681
4731
 
4732
+ class InboundFednowTransferReturn < Increase::Internal::Type::BaseModel
4733
+ OrHash =
4734
+ T.type_alias do
4735
+ T.any(
4736
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn,
4737
+ Increase::Internal::AnyHash
4738
+ )
4739
+ end
4740
+
4741
+ # The identifier of the Inbound FedNow Transfer that is being returned.
4742
+ sig { returns(String) }
4743
+ attr_accessor :inbound_fednow_transfer_id
4744
+
4745
+ # The reason for the return.
4746
+ sig do
4747
+ returns(
4748
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4749
+ )
4750
+ end
4751
+ attr_accessor :reason
4752
+
4753
+ # An Inbound FedNow Transfer Return object. This field will be present in the JSON
4754
+ # response if and only if `category` is equal to `inbound_fednow_transfer_return`.
4755
+ # An Inbound FedNow Transfer Return is created when Increase has received a FedNow
4756
+ # transfer and the User requests that it be returned.
4757
+ sig do
4758
+ params(
4759
+ inbound_fednow_transfer_id: String,
4760
+ reason:
4761
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::OrSymbol
4762
+ ).returns(T.attached_class)
4763
+ end
4764
+ def self.new(
4765
+ # The identifier of the Inbound FedNow Transfer that is being returned.
4766
+ inbound_fednow_transfer_id:,
4767
+ # The reason for the return.
4768
+ reason:
4769
+ )
4770
+ end
4771
+
4772
+ sig do
4773
+ override.returns(
4774
+ {
4775
+ inbound_fednow_transfer_id: String,
4776
+ reason:
4777
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4778
+ }
4779
+ )
4780
+ end
4781
+ def to_hash
4782
+ end
4783
+
4784
+ # The reason for the return.
4785
+ module Reason
4786
+ extend Increase::Internal::Type::Enum
4787
+
4788
+ TaggedSymbol =
4789
+ T.type_alias do
4790
+ T.all(
4791
+ Symbol,
4792
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason
4793
+ )
4794
+ end
4795
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
4796
+
4797
+ # The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
4798
+ DUPLICATE =
4799
+ T.let(
4800
+ :duplicate,
4801
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4802
+ )
4803
+
4804
+ # The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
4805
+ CREDITOR_REQUEST =
4806
+ T.let(
4807
+ :creditor_request,
4808
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4809
+ )
4810
+
4811
+ # The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
4812
+ WRONG_AMOUNT =
4813
+ T.let(
4814
+ :wrong_amount,
4815
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4816
+ )
4817
+
4818
+ # The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
4819
+ UNDUE_PAYMENT =
4820
+ T.let(
4821
+ :undue_payment,
4822
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4823
+ )
4824
+
4825
+ # The inbound FedNow transfer was determined to be fraudulent. Corresponds to the FedNow reason code `FR01`, and reports the fraud to the Federal Reserve and the sending bank.
4826
+ FRAUD =
4827
+ T.let(
4828
+ :fraud,
4829
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4830
+ )
4831
+
4832
+ sig do
4833
+ override.returns(
4834
+ T::Array[
4835
+ Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason::TaggedSymbol
4836
+ ]
4837
+ )
4838
+ end
4839
+ def self.values
4840
+ end
4841
+ end
4842
+ end
4843
+
4682
4844
  class InboundFundsHold < Increase::Internal::Type::BaseModel
4683
4845
  OrHash =
4684
4846
  T.type_alias do
@@ -241,6 +241,13 @@ module Increase
241
241
  Increase::PendingTransactionListParams::Category::In::TaggedSymbol
242
242
  )
243
243
 
244
+ # Inbound FedNow Transfer Return: details will be under the `inbound_fednow_transfer_return` object.
245
+ INBOUND_FEDNOW_TRANSFER_RETURN =
246
+ T.let(
247
+ :inbound_fednow_transfer_return,
248
+ Increase::PendingTransactionListParams::Category::In::TaggedSymbol
249
+ )
250
+
244
251
  # Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
245
252
  INBOUND_FUNDS_HOLD =
246
253
  T.let(
@@ -23,9 +23,9 @@ module Increase
23
23
  sig { params(amount: Integer).void }
24
24
  attr_writer :amount
25
25
 
26
- # The identifier of the Pending Transaction for the refund authorization. If this
27
- # is provided, `transaction` must not be provided as a refund with a refund
28
- # authorized can not be linked to a regular transaction.
26
+ # The identifier of the Pending Transaction for the refund or original credit
27
+ # authorization. If this is provided, `transaction` must not be provided as a
28
+ # refund with a refund authorization can not be linked to a regular transaction.
29
29
  sig { returns(T.nilable(String)) }
30
30
  attr_reader :pending_transaction_id
31
31
 
@@ -52,9 +52,9 @@ module Increase
52
52
  # The refund amount in cents. Pulled off the `pending_transaction` or the
53
53
  # `transaction` if not provided.
54
54
  amount: nil,
55
- # The identifier of the Pending Transaction for the refund authorization. If this
56
- # is provided, `transaction` must not be provided as a refund with a refund
57
- # authorized can not be linked to a regular transaction.
55
+ # The identifier of the Pending Transaction for the refund or original credit
56
+ # authorization. If this is provided, `transaction` must not be provided as a
57
+ # refund with a refund authorization can not be linked to a regular transaction.
58
58
  pending_transaction_id: nil,
59
59
  # The identifier for the Transaction to refund. The Transaction's source must have
60
60
  # a category of card_settlement.
@@ -213,6 +213,7 @@ module Increase
213
213
  attr_accessor :category
214
214
 
215
215
  # Unstructured `payment_related_information` passed through with the transfer.
216
+ # Required if and only if `category` is `freeform`.
216
217
  sig do
217
218
  returns(
218
219
  T.nilable(
@@ -243,6 +244,7 @@ module Increase
243
244
  # The type of addenda to simulate being sent with the transfer.
244
245
  category:,
245
246
  # Unstructured `payment_related_information` passed through with the transfer.
247
+ # Required if and only if `category` is `freeform`.
246
248
  freeform: nil
247
249
  )
248
250
  end
@@ -311,6 +313,7 @@ module Increase
311
313
  attr_accessor :entries
312
314
 
313
315
  # Unstructured `payment_related_information` passed through with the transfer.
316
+ # Required if and only if `category` is `freeform`.
314
317
  sig do
315
318
  params(
316
319
  entries:
@@ -766,6 +766,30 @@ module Increase
766
766
  end
767
767
  attr_writer :inbound_fednow_transfer_confirmation
768
768
 
769
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
770
+ # present in the JSON response if and only if `category` is equal to
771
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
772
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
773
+ # has been accepted and settled by the FedNow Service.
774
+ sig do
775
+ returns(
776
+ T.nilable(
777
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement
778
+ )
779
+ )
780
+ end
781
+ attr_reader :inbound_fednow_transfer_return_acknowledgement
782
+
783
+ sig do
784
+ params(
785
+ inbound_fednow_transfer_return_acknowledgement:
786
+ T.nilable(
787
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::OrHash
788
+ )
789
+ ).void
790
+ end
791
+ attr_writer :inbound_fednow_transfer_return_acknowledgement
792
+
769
793
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
770
794
  # present in the JSON response if and only if `category` is equal to
771
795
  # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
@@ -1149,6 +1173,10 @@ module Increase
1149
1173
  T.nilable(
1150
1174
  Increase::Transaction::Source::InboundFednowTransferConfirmation::OrHash
1151
1175
  ),
1176
+ inbound_fednow_transfer_return_acknowledgement:
1177
+ T.nilable(
1178
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::OrHash
1179
+ ),
1152
1180
  inbound_real_time_payments_transfer_confirmation:
1153
1181
  T.nilable(
1154
1182
  Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::OrHash
@@ -1349,6 +1377,12 @@ module Increase
1349
1377
  # is created when a FedNow transfer is initiated at another bank and received by
1350
1378
  # Increase.
1351
1379
  inbound_fednow_transfer_confirmation: nil,
1380
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
1381
+ # present in the JSON response if and only if `category` is equal to
1382
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
1383
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
1384
+ # has been accepted and settled by the FedNow Service.
1385
+ inbound_fednow_transfer_return_acknowledgement: nil,
1352
1386
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
1353
1387
  # present in the JSON response if and only if `category` is equal to
1354
1388
  # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
@@ -1501,6 +1535,10 @@ module Increase
1501
1535
  T.nilable(
1502
1536
  Increase::Transaction::Source::InboundFednowTransferConfirmation
1503
1537
  ),
1538
+ inbound_fednow_transfer_return_acknowledgement:
1539
+ T.nilable(
1540
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement
1541
+ ),
1504
1542
  inbound_real_time_payments_transfer_confirmation:
1505
1543
  T.nilable(
1506
1544
  Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation
@@ -1725,6 +1763,13 @@ module Increase
1725
1763
  Increase::Transaction::Source::Category::TaggedSymbol
1726
1764
  )
1727
1765
 
1766
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
1767
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT =
1768
+ T.let(
1769
+ :inbound_fednow_transfer_return_acknowledgement,
1770
+ Increase::Transaction::Source::Category::TaggedSymbol
1771
+ )
1772
+
1728
1773
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
1729
1774
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION =
1730
1775
  T.let(
@@ -5804,6 +5849,13 @@ module Increase
5804
5849
  Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5805
5850
  )
5806
5851
 
5852
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5853
+ PULSE_SWITCH_FEE_CREDIT =
5854
+ T.let(
5855
+ :pulse_switch_fee_credit,
5856
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5857
+ )
5858
+
5807
5859
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5808
5860
  PULSE_TOKENIZATION_FEE =
5809
5861
  T.let(
@@ -10442,6 +10494,13 @@ module Increase
10442
10494
  Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
10443
10495
  )
10444
10496
 
10497
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
10498
+ PULSE_SWITCH_FEE_CREDIT =
10499
+ T.let(
10500
+ :pulse_switch_fee_credit,
10501
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
10502
+ )
10503
+
10445
10504
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10446
10505
  PULSE_TOKENIZATION_FEE =
10447
10506
  T.let(
@@ -14812,6 +14871,13 @@ module Increase
14812
14871
  Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
14813
14872
  )
14814
14873
 
14874
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
14875
+ PULSE_SWITCH_FEE_CREDIT =
14876
+ T.let(
14877
+ :pulse_switch_fee_credit,
14878
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
14879
+ )
14880
+
14815
14881
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
14816
14882
  PULSE_TOKENIZATION_FEE =
14817
14883
  T.let(
@@ -16568,6 +16634,119 @@ module Increase
16568
16634
  end
16569
16635
  end
16570
16636
 
16637
+ class InboundFednowTransferReturnAcknowledgement < Increase::Internal::Type::BaseModel
16638
+ OrHash =
16639
+ T.type_alias do
16640
+ T.any(
16641
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement,
16642
+ Increase::Internal::AnyHash
16643
+ )
16644
+ end
16645
+
16646
+ # The identifier of the Inbound FedNow Transfer that was returned.
16647
+ sig { returns(String) }
16648
+ attr_accessor :inbound_fednow_transfer_id
16649
+
16650
+ # The reason for the return.
16651
+ sig do
16652
+ returns(
16653
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16654
+ )
16655
+ end
16656
+ attr_accessor :reason
16657
+
16658
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
16659
+ # present in the JSON response if and only if `category` is equal to
16660
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
16661
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
16662
+ # has been accepted and settled by the FedNow Service.
16663
+ sig do
16664
+ params(
16665
+ inbound_fednow_transfer_id: String,
16666
+ reason:
16667
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::OrSymbol
16668
+ ).returns(T.attached_class)
16669
+ end
16670
+ def self.new(
16671
+ # The identifier of the Inbound FedNow Transfer that was returned.
16672
+ inbound_fednow_transfer_id:,
16673
+ # The reason for the return.
16674
+ reason:
16675
+ )
16676
+ end
16677
+
16678
+ sig do
16679
+ override.returns(
16680
+ {
16681
+ inbound_fednow_transfer_id: String,
16682
+ reason:
16683
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16684
+ }
16685
+ )
16686
+ end
16687
+ def to_hash
16688
+ end
16689
+
16690
+ # The reason for the return.
16691
+ module Reason
16692
+ extend Increase::Internal::Type::Enum
16693
+
16694
+ TaggedSymbol =
16695
+ T.type_alias do
16696
+ T.all(
16697
+ Symbol,
16698
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason
16699
+ )
16700
+ end
16701
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
16702
+
16703
+ # The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
16704
+ DUPLICATE =
16705
+ T.let(
16706
+ :duplicate,
16707
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16708
+ )
16709
+
16710
+ # The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
16711
+ CREDITOR_REQUEST =
16712
+ T.let(
16713
+ :creditor_request,
16714
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16715
+ )
16716
+
16717
+ # The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
16718
+ WRONG_AMOUNT =
16719
+ T.let(
16720
+ :wrong_amount,
16721
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16722
+ )
16723
+
16724
+ # The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
16725
+ UNDUE_PAYMENT =
16726
+ T.let(
16727
+ :undue_payment,
16728
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16729
+ )
16730
+
16731
+ # The inbound FedNow transfer was determined to be fraudulent. Corresponds to the FedNow reason code `FR01`, and reports the fraud to the Federal Reserve and the sending bank.
16732
+ FRAUD =
16733
+ T.let(
16734
+ :fraud,
16735
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16736
+ )
16737
+
16738
+ sig do
16739
+ override.returns(
16740
+ T::Array[
16741
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16742
+ ]
16743
+ )
16744
+ end
16745
+ def self.values
16746
+ end
16747
+ end
16748
+ end
16749
+
16571
16750
  class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel
16572
16751
  OrHash =
16573
16752
  T.type_alias do
@@ -338,6 +338,13 @@ module Increase
338
338
  Increase::TransactionListParams::Category::In::TaggedSymbol
339
339
  )
340
340
 
341
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
342
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT =
343
+ T.let(
344
+ :inbound_fednow_transfer_return_acknowledgement,
345
+ Increase::TransactionListParams::Category::In::TaggedSymbol
346
+ )
347
+
341
348
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
342
349
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION =
343
350
  T.let(