increase 1.367.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 (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/card_payment.rb +30 -0
  4. data/lib/increase/models/declined_transaction.rb +3 -0
  5. data/lib/increase/models/export.rb +19 -5
  6. data/lib/increase/models/export_create_params.rb +36 -13
  7. data/lib/increase/models/inbound_check_deposit.rb +0 -3
  8. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  9. data/lib/increase/models/pending_transaction.rb +76 -1
  10. data/lib/increase/models/pending_transaction_list_params.rb +3 -0
  11. data/lib/increase/models/simulations/card_refund_create_params.rb +2 -2
  12. data/lib/increase/models/transaction.rb +86 -1
  13. data/lib/increase/models/transaction_list_params.rb +3 -0
  14. data/lib/increase/resources/exports.rb +5 -1
  15. data/lib/increase/resources/simulations/card_refunds.rb +1 -1
  16. data/lib/increase/version.rb +1 -1
  17. data/rbi/increase/models/card_payment.rbi +70 -0
  18. data/rbi/increase/models/declined_transaction.rbi +7 -0
  19. data/rbi/increase/models/export.rbi +18 -6
  20. data/rbi/increase/models/export_create_params.rbi +44 -15
  21. data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
  22. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  23. data/rbi/increase/models/pending_transaction.rbi +162 -0
  24. data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
  25. data/rbi/increase/models/simulations/card_refund_create_params.rbi +2 -2
  26. data/rbi/increase/models/transaction.rbi +179 -0
  27. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  28. data/rbi/increase/resources/exports.rbi +5 -1
  29. data/rbi/increase/resources/simulations/card_refunds.rbi +1 -1
  30. data/sig/increase/models/card_payment.rbs +40 -0
  31. data/sig/increase/models/declined_transaction.rbs +4 -0
  32. data/sig/increase/models/export.rbs +13 -4
  33. data/sig/increase/models/export_create_params.rbs +16 -5
  34. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  35. data/sig/increase/models/pending_transaction.rbs +63 -0
  36. data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
  37. data/sig/increase/models/transaction.rbs +71 -0
  38. data/sig/increase/models/transaction_list_params.rbs +4 -0
  39. metadata +2 -2
@@ -4983,6 +4983,13 @@ module Increase
4983
4983
  Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4984
4984
  )
4985
4985
 
4986
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
4987
+ PULSE_SWITCH_FEE_CREDIT =
4988
+ T.let(
4989
+ :pulse_switch_fee_credit,
4990
+ Increase::CardPayment::Element::CardAuthorization::SchemeFee::FeeType::TaggedSymbol
4991
+ )
4992
+
4986
4993
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4987
4994
  PULSE_TOKENIZATION_FEE =
4988
4995
  T.let(
@@ -7782,6 +7789,13 @@ module Increase
7782
7789
  Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
7783
7790
  )
7784
7791
 
7792
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
7793
+ PULSE_SWITCH_FEE_CREDIT =
7794
+ T.let(
7795
+ :pulse_switch_fee_credit,
7796
+ Increase::CardPayment::Element::CardBalanceInquiry::SchemeFee::FeeType::TaggedSymbol
7797
+ )
7798
+
7785
7799
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
7786
7800
  PULSE_TOKENIZATION_FEE =
7787
7801
  T.let(
@@ -10904,6 +10918,13 @@ module Increase
10904
10918
  Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
10905
10919
  )
10906
10920
 
10921
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
10922
+ PULSE_SWITCH_FEE_CREDIT =
10923
+ T.let(
10924
+ :pulse_switch_fee_credit,
10925
+ Increase::CardPayment::Element::CardDecline::SchemeFee::FeeType::TaggedSymbol
10926
+ )
10927
+
10907
10928
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10908
10929
  PULSE_TOKENIZATION_FEE =
10909
10930
  T.let(
@@ -13725,6 +13746,13 @@ module Increase
13725
13746
  Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
13726
13747
  )
13727
13748
 
13749
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
13750
+ PULSE_SWITCH_FEE_CREDIT =
13751
+ T.let(
13752
+ :pulse_switch_fee_credit,
13753
+ Increase::CardPayment::Element::CardFinancial::SchemeFee::FeeType::TaggedSymbol
13754
+ )
13755
+
13728
13756
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
13729
13757
  PULSE_TOKENIZATION_FEE =
13730
13758
  T.let(
@@ -14822,6 +14850,13 @@ module Increase
14822
14850
  Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
14823
14851
  )
14824
14852
 
14853
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
14854
+ PULSE_SWITCH_FEE_CREDIT =
14855
+ T.let(
14856
+ :pulse_switch_fee_credit,
14857
+ Increase::CardPayment::Element::CardFuelConfirmation::SchemeFee::FeeType::TaggedSymbol
14858
+ )
14859
+
14825
14860
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
14826
14861
  PULSE_TOKENIZATION_FEE =
14827
14862
  T.let(
@@ -16413,6 +16448,13 @@ module Increase
16413
16448
  Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
16414
16449
  )
16415
16450
 
16451
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
16452
+ PULSE_SWITCH_FEE_CREDIT =
16453
+ T.let(
16454
+ :pulse_switch_fee_credit,
16455
+ Increase::CardPayment::Element::CardIncrement::SchemeFee::FeeType::TaggedSymbol
16456
+ )
16457
+
16416
16458
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
16417
16459
  PULSE_TOKENIZATION_FEE =
16418
16460
  T.let(
@@ -20619,6 +20661,13 @@ module Increase
20619
20661
  Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
20620
20662
  )
20621
20663
 
20664
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
20665
+ PULSE_SWITCH_FEE_CREDIT =
20666
+ T.let(
20667
+ :pulse_switch_fee_credit,
20668
+ Increase::CardPayment::Element::CardRefund::SchemeFee::FeeType::TaggedSymbol
20669
+ )
20670
+
20622
20671
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
20623
20672
  PULSE_TOKENIZATION_FEE =
20624
20673
  T.let(
@@ -21503,6 +21552,13 @@ module Increase
21503
21552
  Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
21504
21553
  )
21505
21554
 
21555
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
21556
+ PULSE_SWITCH_FEE_CREDIT =
21557
+ T.let(
21558
+ :pulse_switch_fee_credit,
21559
+ Increase::CardPayment::Element::CardReversal::SchemeFee::FeeType::TaggedSymbol
21560
+ )
21561
+
21506
21562
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
21507
21563
  PULSE_TOKENIZATION_FEE =
21508
21564
  T.let(
@@ -25768,6 +25824,13 @@ module Increase
25768
25824
  Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
25769
25825
  )
25770
25826
 
25827
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
25828
+ PULSE_SWITCH_FEE_CREDIT =
25829
+ T.let(
25830
+ :pulse_switch_fee_credit,
25831
+ Increase::CardPayment::Element::CardSettlement::SchemeFee::FeeType::TaggedSymbol
25832
+ )
25833
+
25771
25834
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
25772
25835
  PULSE_TOKENIZATION_FEE =
25773
25836
  T.let(
@@ -28067,6 +28130,13 @@ module Increase
28067
28130
  Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
28068
28131
  )
28069
28132
 
28133
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
28134
+ PULSE_SWITCH_FEE_CREDIT =
28135
+ T.let(
28136
+ :pulse_switch_fee_credit,
28137
+ Increase::CardPayment::Element::CardValidation::SchemeFee::FeeType::TaggedSymbol
28138
+ )
28139
+
28070
28140
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
28071
28141
  PULSE_TOKENIZATION_FEE =
28072
28142
  T.let(
@@ -3546,6 +3546,13 @@ module Increase
3546
3546
  Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3547
3547
  )
3548
3548
 
3549
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
3550
+ PULSE_SWITCH_FEE_CREDIT =
3551
+ T.let(
3552
+ :pulse_switch_fee_credit,
3553
+ Increase::DeclinedTransaction::Source::CardDecline::SchemeFee::FeeType::TaggedSymbol
3554
+ )
3555
+
3549
3556
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
3550
3557
  PULSE_TOKENIZATION_FEE =
3551
3558
  T.let(
@@ -377,9 +377,15 @@ module Increase
377
377
  sig { returns(T.nilable(String)) }
378
378
  attr_accessor :account_id
379
379
 
380
- # The UTC date for which to retrieve the balance.
380
+ # The first as-of date (UTC) reported in the BAI2 file. If null, the report
381
+ # started from the earliest included Account.
381
382
  sig { returns(T.nilable(Date)) }
382
- attr_accessor :effective_date
383
+ attr_accessor :on_or_after_date
384
+
385
+ # The last as-of date (UTC) reported in the BAI2 file. If null, the report ran
386
+ # through the date the Export was created.
387
+ sig { returns(T.nilable(Date)) }
388
+ attr_accessor :on_or_before_date
383
389
 
384
390
  # Filter results by Program.
385
391
  sig { returns(T.nilable(String)) }
@@ -390,15 +396,20 @@ module Increase
390
396
  sig do
391
397
  params(
392
398
  account_id: T.nilable(String),
393
- effective_date: T.nilable(Date),
399
+ on_or_after_date: T.nilable(Date),
400
+ on_or_before_date: T.nilable(Date),
394
401
  program_id: T.nilable(String)
395
402
  ).returns(T.attached_class)
396
403
  end
397
404
  def self.new(
398
405
  # Filter results by Account.
399
406
  account_id:,
400
- # The UTC date for which to retrieve the balance.
401
- effective_date:,
407
+ # The first as-of date (UTC) reported in the BAI2 file. If null, the report
408
+ # started from the earliest included Account.
409
+ on_or_after_date:,
410
+ # The last as-of date (UTC) reported in the BAI2 file. If null, the report ran
411
+ # through the date the Export was created.
412
+ on_or_before_date:,
402
413
  # Filter results by Program.
403
414
  program_id:
404
415
  )
@@ -408,7 +419,8 @@ module Increase
408
419
  override.returns(
409
420
  {
410
421
  account_id: T.nilable(String),
411
- effective_date: T.nilable(Date),
422
+ on_or_after_date: T.nilable(Date),
423
+ on_or_before_date: T.nilable(Date),
412
424
  program_id: T.nilable(String)
413
425
  }
414
426
  )
@@ -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(
@@ -25,7 +25,7 @@ module Increase
25
25
 
26
26
  # The identifier of the Pending Transaction for the refund or original credit
27
27
  # authorization. If this is provided, `transaction` must not be provided as a
28
- # refund with a refund authorized can not be linked to a regular transaction.
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
 
@@ -54,7 +54,7 @@ module Increase
54
54
  amount: nil,
55
55
  # The identifier of the Pending Transaction for the refund or original credit
56
56
  # authorization. If this is provided, `transaction` must not be provided as a
57
- # refund with a refund authorized can not be linked to a regular transaction.
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.