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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/increase/models/ach_transfer.rb +6 -6
- data/lib/increase/models/card_dispute.rb +131 -2
- data/lib/increase/models/card_dispute_create_params.rb +20 -16
- data/lib/increase/models/card_dispute_provide_provisional_credit_params.rb +22 -0
- data/lib/increase/models/card_dispute_reverse_provisional_credit_params.rb +22 -0
- data/lib/increase/models/card_payment.rb +30 -0
- data/lib/increase/models/declined_transaction.rb +3 -0
- data/lib/increase/models/export.rb +19 -5
- data/lib/increase/models/export_create_params.rb +36 -13
- data/lib/increase/models/inbound_check_deposit.rb +0 -3
- data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
- data/lib/increase/models/pending_transaction.rb +76 -1
- data/lib/increase/models/pending_transaction_list_params.rb +3 -0
- data/lib/increase/models/simulations/card_refund_create_params.rb +6 -6
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +3 -0
- data/lib/increase/models/transaction.rb +86 -1
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models.rb +4 -0
- data/lib/increase/resources/card_disputes.rb +50 -6
- data/lib/increase/resources/exports.rb +5 -1
- data/lib/increase/resources/simulations/card_refunds.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -0
- data/rbi/increase/models/ach_transfer.rbi +6 -6
- data/rbi/increase/models/card_dispute.rbi +188 -0
- data/rbi/increase/models/card_dispute_create_params.rbi +20 -16
- data/rbi/increase/models/card_dispute_provide_provisional_credit_params.rbi +43 -0
- data/rbi/increase/models/card_dispute_reverse_provisional_credit_params.rbi +43 -0
- data/rbi/increase/models/card_payment.rbi +70 -0
- data/rbi/increase/models/declined_transaction.rbi +7 -0
- data/rbi/increase/models/export.rbi +18 -6
- data/rbi/increase/models/export_create_params.rbi +44 -15
- data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
- data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
- data/rbi/increase/models/pending_transaction.rbi +162 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
- data/rbi/increase/models/simulations/card_refund_create_params.rbi +6 -6
- data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +3 -0
- data/rbi/increase/models/transaction.rbi +179 -0
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models.rbi +6 -0
- data/rbi/increase/resources/card_disputes.rbi +38 -6
- data/rbi/increase/resources/exports.rbi +5 -1
- data/rbi/increase/resources/simulations/card_refunds.rbi +3 -3
- data/sig/increase/models/ach_transfer.rbs +8 -8
- data/sig/increase/models/card_dispute.rbs +79 -0
- data/sig/increase/models/card_dispute_provide_provisional_credit_params.rbs +23 -0
- data/sig/increase/models/card_dispute_reverse_provisional_credit_params.rbs +23 -0
- data/sig/increase/models/card_payment.rbs +40 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/export.rbs +13 -4
- data/sig/increase/models/export_create_params.rbs +16 -5
- data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
- data/sig/increase/models/pending_transaction.rbs +63 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
- data/sig/increase/models/transaction.rbs +71 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models.rbs +4 -0
- data/sig/increase/resources/card_disputes.rbs +10 -0
- metadata +8 -2
|
@@ -290,6 +290,17 @@ module Increase
|
|
|
290
290
|
-> { Increase::PendingTransaction::Source::FednowTransferInstruction },
|
|
291
291
|
nil?: true
|
|
292
292
|
|
|
293
|
+
# @!attribute inbound_fednow_transfer_return
|
|
294
|
+
# An Inbound FedNow Transfer Return object. This field will be present in the JSON
|
|
295
|
+
# response if and only if `category` is equal to `inbound_fednow_transfer_return`.
|
|
296
|
+
# An Inbound FedNow Transfer Return is created when Increase has received a FedNow
|
|
297
|
+
# transfer and the User requests that it be returned.
|
|
298
|
+
#
|
|
299
|
+
# @return [Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn, nil]
|
|
300
|
+
optional :inbound_fednow_transfer_return,
|
|
301
|
+
-> { Increase::PendingTransaction::Source::InboundFednowTransferReturn },
|
|
302
|
+
nil?: true
|
|
303
|
+
|
|
293
304
|
# @!attribute inbound_funds_hold
|
|
294
305
|
# An Inbound Funds Hold object. This field will be present in the JSON response if
|
|
295
306
|
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
|
|
@@ -379,7 +390,7 @@ module Increase
|
|
|
379
390
|
-> { Increase::PendingTransaction::Source::WireTransferInstruction },
|
|
380
391
|
nil?: true
|
|
381
392
|
|
|
382
|
-
# @!method initialize(category:, account_transfer_instruction: nil, ach_transfer_instruction: nil, blockchain_offramp_transfer: nil, blockchain_onramp_transfer_instruction: nil, card_authorization: nil, card_push_transfer_instruction: nil, check_deposit_instruction: nil, check_transfer_instruction: nil, fednow_transfer_instruction: nil, inbound_funds_hold: nil, inbound_wire_transfer_reversal: nil, other: nil, real_time_payments_transfer_instruction: nil, sepa_instant_transfer_instruction: nil, swift_transfer_instruction: nil, uk_faster_payment_system_transfer_instruction: nil, user_initiated_hold: nil, wire_transfer_instruction: nil)
|
|
393
|
+
# @!method initialize(category:, account_transfer_instruction: nil, ach_transfer_instruction: nil, blockchain_offramp_transfer: nil, blockchain_onramp_transfer_instruction: nil, card_authorization: nil, card_push_transfer_instruction: nil, check_deposit_instruction: nil, check_transfer_instruction: nil, fednow_transfer_instruction: nil, inbound_fednow_transfer_return: nil, inbound_funds_hold: nil, inbound_wire_transfer_reversal: nil, other: nil, real_time_payments_transfer_instruction: nil, sepa_instant_transfer_instruction: nil, swift_transfer_instruction: nil, uk_faster_payment_system_transfer_instruction: nil, user_initiated_hold: nil, wire_transfer_instruction: nil)
|
|
383
394
|
# This is an object giving more details on the network-level event that caused the
|
|
384
395
|
# Pending Transaction. For example, for a card transaction this lists the
|
|
385
396
|
# merchant's industry and location.
|
|
@@ -429,6 +440,12 @@ module Increase
|
|
|
429
440
|
# A FedNow Transfer Instruction object. This field will be present in the JSON
|
|
430
441
|
# response if and only if `category` is equal to `fednow_transfer_instruction`.
|
|
431
442
|
#
|
|
443
|
+
# @param inbound_fednow_transfer_return [Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn, nil]
|
|
444
|
+
# An Inbound FedNow Transfer Return object. This field will be present in the JSON
|
|
445
|
+
# response if and only if `category` is equal to `inbound_fednow_transfer_return`.
|
|
446
|
+
# An Inbound FedNow Transfer Return is created when Increase has received a FedNow
|
|
447
|
+
# transfer and the User requests that it be returned.
|
|
448
|
+
#
|
|
432
449
|
# @param inbound_funds_hold [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil]
|
|
433
450
|
# An Inbound Funds Hold object. This field will be present in the JSON response if
|
|
434
451
|
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
|
|
@@ -498,6 +515,9 @@ module Increase
|
|
|
498
515
|
# FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
|
|
499
516
|
FEDNOW_TRANSFER_INSTRUCTION = :fednow_transfer_instruction
|
|
500
517
|
|
|
518
|
+
# Inbound FedNow Transfer Return: details will be under the `inbound_fednow_transfer_return` object.
|
|
519
|
+
INBOUND_FEDNOW_TRANSFER_RETURN = :inbound_fednow_transfer_return
|
|
520
|
+
|
|
501
521
|
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
|
502
522
|
INBOUND_FUNDS_HOLD = :inbound_funds_hold
|
|
503
523
|
|
|
@@ -2221,6 +2241,9 @@ module Increase
|
|
|
2221
2241
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
2222
2242
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
2223
2243
|
|
|
2244
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
2245
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
2246
|
+
|
|
2224
2247
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
2225
2248
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
2226
2249
|
|
|
@@ -2592,6 +2615,58 @@ module Increase
|
|
|
2592
2615
|
# @param transfer_id [String] The identifier of the FedNow Transfer that led to this Pending Transaction.
|
|
2593
2616
|
end
|
|
2594
2617
|
|
|
2618
|
+
# @see Increase::Models::PendingTransaction::Source#inbound_fednow_transfer_return
|
|
2619
|
+
class InboundFednowTransferReturn < Increase::Internal::Type::BaseModel
|
|
2620
|
+
# @!attribute inbound_fednow_transfer_id
|
|
2621
|
+
# The identifier of the Inbound FedNow Transfer that is being returned.
|
|
2622
|
+
#
|
|
2623
|
+
# @return [String]
|
|
2624
|
+
required :inbound_fednow_transfer_id, String
|
|
2625
|
+
|
|
2626
|
+
# @!attribute reason
|
|
2627
|
+
# The reason for the return.
|
|
2628
|
+
#
|
|
2629
|
+
# @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::Reason]
|
|
2630
|
+
required :reason, enum: -> { Increase::PendingTransaction::Source::InboundFednowTransferReturn::Reason }
|
|
2631
|
+
|
|
2632
|
+
# @!method initialize(inbound_fednow_transfer_id:, reason:)
|
|
2633
|
+
# An Inbound FedNow Transfer Return object. This field will be present in the JSON
|
|
2634
|
+
# response if and only if `category` is equal to `inbound_fednow_transfer_return`.
|
|
2635
|
+
# An Inbound FedNow Transfer Return is created when Increase has received a FedNow
|
|
2636
|
+
# transfer and the User requests that it be returned.
|
|
2637
|
+
#
|
|
2638
|
+
# @param inbound_fednow_transfer_id [String]
|
|
2639
|
+
# The identifier of the Inbound FedNow Transfer that is being returned.
|
|
2640
|
+
#
|
|
2641
|
+
# @param reason [Symbol, Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn::Reason]
|
|
2642
|
+
# The reason for the return.
|
|
2643
|
+
|
|
2644
|
+
# The reason for the return.
|
|
2645
|
+
#
|
|
2646
|
+
# @see Increase::Models::PendingTransaction::Source::InboundFednowTransferReturn#reason
|
|
2647
|
+
module Reason
|
|
2648
|
+
extend Increase::Internal::Type::Enum
|
|
2649
|
+
|
|
2650
|
+
# The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
|
|
2651
|
+
DUPLICATE = :duplicate
|
|
2652
|
+
|
|
2653
|
+
# The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
|
|
2654
|
+
CREDITOR_REQUEST = :creditor_request
|
|
2655
|
+
|
|
2656
|
+
# The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
|
|
2657
|
+
WRONG_AMOUNT = :wrong_amount
|
|
2658
|
+
|
|
2659
|
+
# The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
|
|
2660
|
+
UNDUE_PAYMENT = :undue_payment
|
|
2661
|
+
|
|
2662
|
+
# 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.
|
|
2663
|
+
FRAUD = :fraud
|
|
2664
|
+
|
|
2665
|
+
# @!method self.values
|
|
2666
|
+
# @return [Array<Symbol>]
|
|
2667
|
+
end
|
|
2668
|
+
end
|
|
2669
|
+
|
|
2595
2670
|
# @see Increase::Models::PendingTransaction::Source#inbound_funds_hold
|
|
2596
2671
|
class InboundFundsHold < Increase::Internal::Type::BaseModel
|
|
2597
2672
|
# @!attribute amount
|
|
@@ -108,6 +108,9 @@ module Increase
|
|
|
108
108
|
# FedNow Transfer Instruction: details will be under the `fednow_transfer_instruction` object.
|
|
109
109
|
FEDNOW_TRANSFER_INSTRUCTION = :fednow_transfer_instruction
|
|
110
110
|
|
|
111
|
+
# Inbound FedNow Transfer Return: details will be under the `inbound_fednow_transfer_return` object.
|
|
112
|
+
INBOUND_FEDNOW_TRANSFER_RETURN = :inbound_fednow_transfer_return
|
|
113
|
+
|
|
111
114
|
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
|
112
115
|
INBOUND_FUNDS_HOLD = :inbound_funds_hold
|
|
113
116
|
|
|
@@ -16,9 +16,9 @@ module Increase
|
|
|
16
16
|
optional :amount, Integer
|
|
17
17
|
|
|
18
18
|
# @!attribute pending_transaction_id
|
|
19
|
-
# The identifier of the Pending Transaction for the refund
|
|
20
|
-
# is provided, `transaction` must not be provided as a
|
|
21
|
-
#
|
|
19
|
+
# The identifier of the Pending Transaction for the refund or original credit
|
|
20
|
+
# authorization. If this is provided, `transaction` must not be provided as a
|
|
21
|
+
# refund with a refund authorization can not be linked to a regular transaction.
|
|
22
22
|
#
|
|
23
23
|
# @return [String, nil]
|
|
24
24
|
optional :pending_transaction_id, String
|
|
@@ -36,9 +36,9 @@ module Increase
|
|
|
36
36
|
# `transaction` if not provided.
|
|
37
37
|
#
|
|
38
38
|
# @param pending_transaction_id [String]
|
|
39
|
-
# The identifier of the Pending Transaction for the refund
|
|
40
|
-
# is provided, `transaction` must not be provided as a
|
|
41
|
-
#
|
|
39
|
+
# The identifier of the Pending Transaction for the refund or original credit
|
|
40
|
+
# authorization. If this is provided, `transaction` must not be provided as a
|
|
41
|
+
# refund with a refund authorization can not be linked to a regular transaction.
|
|
42
42
|
#
|
|
43
43
|
# @param transaction_id [String]
|
|
44
44
|
# The identifier for the Transaction to refund. The Transaction's source must have
|
|
@@ -130,6 +130,7 @@ module Increase
|
|
|
130
130
|
|
|
131
131
|
# @!attribute freeform
|
|
132
132
|
# Unstructured `payment_related_information` passed through with the transfer.
|
|
133
|
+
# Required if and only if `category` is `freeform`.
|
|
133
134
|
#
|
|
134
135
|
# @return [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Freeform, nil]
|
|
135
136
|
optional :freeform, -> { Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform }
|
|
@@ -142,6 +143,7 @@ module Increase
|
|
|
142
143
|
#
|
|
143
144
|
# @param freeform [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Freeform]
|
|
144
145
|
# Unstructured `payment_related_information` passed through with the transfer.
|
|
146
|
+
# Required if and only if `category` is `freeform`.
|
|
145
147
|
|
|
146
148
|
# The type of addenda to simulate being sent with the transfer.
|
|
147
149
|
#
|
|
@@ -167,6 +169,7 @@ module Increase
|
|
|
167
169
|
|
|
168
170
|
# @!method initialize(entries:)
|
|
169
171
|
# Unstructured `payment_related_information` passed through with the transfer.
|
|
172
|
+
# Required if and only if `category` is `freeform`.
|
|
170
173
|
#
|
|
171
174
|
# @param entries [Array<Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry>]
|
|
172
175
|
# Each entry represents an addendum sent with the transfer.
|
|
@@ -471,6 +471,18 @@ module Increase
|
|
|
471
471
|
-> { Increase::Transaction::Source::InboundFednowTransferConfirmation },
|
|
472
472
|
nil?: true
|
|
473
473
|
|
|
474
|
+
# @!attribute inbound_fednow_transfer_return_acknowledgement
|
|
475
|
+
# An Inbound FedNow Transfer Return Acknowledgement object. This field will be
|
|
476
|
+
# present in the JSON response if and only if `category` is equal to
|
|
477
|
+
# `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
|
|
478
|
+
# Return Acknowledgement is created when a return of an Inbound FedNow Transfer
|
|
479
|
+
# has been accepted and settled by the FedNow Service.
|
|
480
|
+
#
|
|
481
|
+
# @return [Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement, nil]
|
|
482
|
+
optional :inbound_fednow_transfer_return_acknowledgement,
|
|
483
|
+
-> { Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement },
|
|
484
|
+
nil?: true
|
|
485
|
+
|
|
474
486
|
# @!attribute inbound_real_time_payments_transfer_confirmation
|
|
475
487
|
# An Inbound Real-Time Payments Transfer Confirmation object. This field will be
|
|
476
488
|
# present in the JSON response if and only if `category` is equal to
|
|
@@ -612,7 +624,7 @@ module Increase
|
|
|
612
624
|
},
|
|
613
625
|
nil?: true
|
|
614
626
|
|
|
615
|
-
# @!method initialize(category:, account_revenue_payment: nil, account_transfer_intention: nil, ach_transfer_intention: nil, ach_transfer_rejection: nil, ach_transfer_return: nil, blockchain_offramp_transfer_settlement: nil, blockchain_onramp_transfer_intention: nil, card_dispute_acceptance: nil, card_dispute_financial: nil, card_dispute_loss: nil, card_dispute_provisional_credit: nil, card_financial: nil, card_push_transfer_acceptance: nil, card_refund: nil, card_revenue_payment: nil, card_settlement: nil, cashback_payment: nil, check_deposit_acceptance: nil, check_deposit_return: nil, check_transfer_deposit: nil, fednow_transfer_acknowledgement: nil, fednow_transfer_return: nil, fee_payment: nil, inbound_ach_transfer: nil, inbound_ach_transfer_return_intention: nil, inbound_check_adjustment: nil, inbound_check_deposit_return_intention: nil, inbound_fednow_transfer_confirmation: nil, inbound_real_time_payments_transfer_confirmation: nil, inbound_wire_reversal: nil, inbound_wire_transfer: nil, inbound_wire_transfer_reversal: nil, interest_payment: nil, internal_source: nil, other: nil, real_time_payments_transfer_acknowledgement: nil, sample_funds: nil, sepa_instant_transfer_acceptance: nil, swift_transfer_intention: nil, swift_transfer_return: nil, uk_faster_payment_system_transfer_acceptance: nil, wire_transfer_intention: nil)
|
|
627
|
+
# @!method initialize(category:, account_revenue_payment: nil, account_transfer_intention: nil, ach_transfer_intention: nil, ach_transfer_rejection: nil, ach_transfer_return: nil, blockchain_offramp_transfer_settlement: nil, blockchain_onramp_transfer_intention: nil, card_dispute_acceptance: nil, card_dispute_financial: nil, card_dispute_loss: nil, card_dispute_provisional_credit: nil, card_financial: nil, card_push_transfer_acceptance: nil, card_refund: nil, card_revenue_payment: nil, card_settlement: nil, cashback_payment: nil, check_deposit_acceptance: nil, check_deposit_return: nil, check_transfer_deposit: nil, fednow_transfer_acknowledgement: nil, fednow_transfer_return: nil, fee_payment: nil, inbound_ach_transfer: nil, inbound_ach_transfer_return_intention: nil, inbound_check_adjustment: nil, inbound_check_deposit_return_intention: nil, inbound_fednow_transfer_confirmation: nil, inbound_fednow_transfer_return_acknowledgement: nil, inbound_real_time_payments_transfer_confirmation: nil, inbound_wire_reversal: nil, inbound_wire_transfer: nil, inbound_wire_transfer_reversal: nil, interest_payment: nil, internal_source: nil, other: nil, real_time_payments_transfer_acknowledgement: nil, sample_funds: nil, sepa_instant_transfer_acceptance: nil, swift_transfer_intention: nil, swift_transfer_return: nil, uk_faster_payment_system_transfer_acceptance: nil, wire_transfer_intention: nil)
|
|
616
628
|
# This is an object giving more details on the network-level event that caused the
|
|
617
629
|
# Transaction. Note that for backwards compatibility reasons, additional
|
|
618
630
|
# undocumented keys may appear in this object. These should be treated as
|
|
@@ -797,6 +809,13 @@ module Increase
|
|
|
797
809
|
# is created when a FedNow transfer is initiated at another bank and received by
|
|
798
810
|
# Increase.
|
|
799
811
|
#
|
|
812
|
+
# @param inbound_fednow_transfer_return_acknowledgement [Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement, nil]
|
|
813
|
+
# An Inbound FedNow Transfer Return Acknowledgement object. This field will be
|
|
814
|
+
# present in the JSON response if and only if `category` is equal to
|
|
815
|
+
# `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
|
|
816
|
+
# Return Acknowledgement is created when a return of an Inbound FedNow Transfer
|
|
817
|
+
# has been accepted and settled by the FedNow Service.
|
|
818
|
+
#
|
|
800
819
|
# @param inbound_real_time_payments_transfer_confirmation [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil]
|
|
801
820
|
# An Inbound Real-Time Payments Transfer Confirmation object. This field will be
|
|
802
821
|
# present in the JSON response if and only if `category` is equal to
|
|
@@ -959,6 +978,9 @@ module Increase
|
|
|
959
978
|
# Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
|
|
960
979
|
INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation
|
|
961
980
|
|
|
981
|
+
# Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
|
|
982
|
+
INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT = :inbound_fednow_transfer_return_acknowledgement
|
|
983
|
+
|
|
962
984
|
# Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
|
|
963
985
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation
|
|
964
986
|
|
|
@@ -3191,6 +3213,9 @@ module Increase
|
|
|
3191
3213
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
3192
3214
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
3193
3215
|
|
|
3216
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
3217
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
3218
|
+
|
|
3194
3219
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
3195
3220
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
3196
3221
|
|
|
@@ -5729,6 +5754,9 @@ module Increase
|
|
|
5729
5754
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
5730
5755
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
5731
5756
|
|
|
5757
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
5758
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
5759
|
+
|
|
5732
5760
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
5733
5761
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
5734
5762
|
|
|
@@ -8148,6 +8176,9 @@ module Increase
|
|
|
8148
8176
|
# Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
|
|
8149
8177
|
PULSE_SWITCH_FEE = :pulse_switch_fee
|
|
8150
8178
|
|
|
8179
|
+
# Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
|
|
8180
|
+
PULSE_SWITCH_FEE_CREDIT = :pulse_switch_fee_credit
|
|
8181
|
+
|
|
8151
8182
|
# Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
|
|
8152
8183
|
PULSE_TOKENIZATION_FEE = :pulse_tokenization_fee
|
|
8153
8184
|
|
|
@@ -9144,6 +9175,60 @@ module Increase
|
|
|
9144
9175
|
# @param transfer_id [String] The identifier of the FedNow Transfer that led to this Transaction.
|
|
9145
9176
|
end
|
|
9146
9177
|
|
|
9178
|
+
# @see Increase::Models::Transaction::Source#inbound_fednow_transfer_return_acknowledgement
|
|
9179
|
+
class InboundFednowTransferReturnAcknowledgement < Increase::Internal::Type::BaseModel
|
|
9180
|
+
# @!attribute inbound_fednow_transfer_id
|
|
9181
|
+
# The identifier of the Inbound FedNow Transfer that was returned.
|
|
9182
|
+
#
|
|
9183
|
+
# @return [String]
|
|
9184
|
+
required :inbound_fednow_transfer_id, String
|
|
9185
|
+
|
|
9186
|
+
# @!attribute reason
|
|
9187
|
+
# The reason for the return.
|
|
9188
|
+
#
|
|
9189
|
+
# @return [Symbol, Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason]
|
|
9190
|
+
required :reason,
|
|
9191
|
+
enum: -> { Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason }
|
|
9192
|
+
|
|
9193
|
+
# @!method initialize(inbound_fednow_transfer_id:, reason:)
|
|
9194
|
+
# An Inbound FedNow Transfer Return Acknowledgement object. This field will be
|
|
9195
|
+
# present in the JSON response if and only if `category` is equal to
|
|
9196
|
+
# `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
|
|
9197
|
+
# Return Acknowledgement is created when a return of an Inbound FedNow Transfer
|
|
9198
|
+
# has been accepted and settled by the FedNow Service.
|
|
9199
|
+
#
|
|
9200
|
+
# @param inbound_fednow_transfer_id [String]
|
|
9201
|
+
# The identifier of the Inbound FedNow Transfer that was returned.
|
|
9202
|
+
#
|
|
9203
|
+
# @param reason [Symbol, Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason]
|
|
9204
|
+
# The reason for the return.
|
|
9205
|
+
|
|
9206
|
+
# The reason for the return.
|
|
9207
|
+
#
|
|
9208
|
+
# @see Increase::Models::Transaction::Source::InboundFednowTransferReturnAcknowledgement#reason
|
|
9209
|
+
module Reason
|
|
9210
|
+
extend Increase::Internal::Type::Enum
|
|
9211
|
+
|
|
9212
|
+
# The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
|
|
9213
|
+
DUPLICATE = :duplicate
|
|
9214
|
+
|
|
9215
|
+
# The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
|
|
9216
|
+
CREDITOR_REQUEST = :creditor_request
|
|
9217
|
+
|
|
9218
|
+
# The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
|
|
9219
|
+
WRONG_AMOUNT = :wrong_amount
|
|
9220
|
+
|
|
9221
|
+
# The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
|
|
9222
|
+
UNDUE_PAYMENT = :undue_payment
|
|
9223
|
+
|
|
9224
|
+
# 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.
|
|
9225
|
+
FRAUD = :fraud
|
|
9226
|
+
|
|
9227
|
+
# @!method self.values
|
|
9228
|
+
# @return [Array<Symbol>]
|
|
9229
|
+
end
|
|
9230
|
+
end
|
|
9231
|
+
|
|
9147
9232
|
# @see Increase::Models::Transaction::Source#inbound_real_time_payments_transfer_confirmation
|
|
9148
9233
|
class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel
|
|
9149
9234
|
# @!attribute amount
|
|
@@ -158,6 +158,9 @@ module Increase
|
|
|
158
158
|
# Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
|
|
159
159
|
INBOUND_FEDNOW_TRANSFER_CONFIRMATION = :inbound_fednow_transfer_confirmation
|
|
160
160
|
|
|
161
|
+
# Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
|
|
162
|
+
INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT = :inbound_fednow_transfer_return_acknowledgement
|
|
163
|
+
|
|
161
164
|
# Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
|
|
162
165
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION = :inbound_real_time_payments_transfer_confirmation
|
|
163
166
|
|
data/lib/increase/models.rb
CHANGED
|
@@ -133,8 +133,12 @@ module Increase
|
|
|
133
133
|
|
|
134
134
|
CardDisputeListParams = Increase::Models::CardDisputeListParams
|
|
135
135
|
|
|
136
|
+
CardDisputeProvideProvisionalCreditParams = Increase::Models::CardDisputeProvideProvisionalCreditParams
|
|
137
|
+
|
|
136
138
|
CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
|
|
137
139
|
|
|
140
|
+
CardDisputeReverseProvisionalCreditParams = Increase::Models::CardDisputeReverseProvisionalCreditParams
|
|
141
|
+
|
|
138
142
|
CardDisputeSubmitUserSubmissionParams = Increase::Models::CardDisputeSubmitUserSubmissionParams
|
|
139
143
|
|
|
140
144
|
CardDisputeWithdrawParams = Increase::Models::CardDisputeWithdrawParams
|
|
@@ -12,8 +12,8 @@ module Increase
|
|
|
12
12
|
# of `card_settlement`.
|
|
13
13
|
#
|
|
14
14
|
# @param network [Symbol, Increase::Models::CardDisputeCreateParams::Network]
|
|
15
|
-
# The network of the disputed transaction. Details specific to the network
|
|
16
|
-
#
|
|
15
|
+
# The network of the disputed transaction. Details specific to the network can be
|
|
16
|
+
# provided under the sub-object with the same identifier as the network.
|
|
17
17
|
#
|
|
18
18
|
# @param amount [Integer]
|
|
19
19
|
# The monetary amount of the part of the transaction that is being disputed. This
|
|
@@ -22,15 +22,17 @@ module Increase
|
|
|
22
22
|
# the transaction.
|
|
23
23
|
#
|
|
24
24
|
# @param attachment_files [Array<Increase::Models::CardDisputeCreateParams::AttachmentFile>]
|
|
25
|
-
# The files to be attached to the initial dispute submission.
|
|
25
|
+
# The files to be attached to the initial dispute submission. Can only be provided
|
|
26
|
+
# along with the network-specific details.
|
|
26
27
|
#
|
|
27
28
|
# @param explanation [String]
|
|
28
29
|
# The free-form explanation provided to Increase to provide more context for the
|
|
29
|
-
# user submission. This field is not sent directly to the card networks.
|
|
30
|
+
# user submission. This field is not sent directly to the card networks. Can only
|
|
31
|
+
# be provided along with the network-specific details.
|
|
30
32
|
#
|
|
31
33
|
# @param visa [Increase::Models::CardDisputeCreateParams::Visa]
|
|
32
|
-
# The Visa-specific parameters for the
|
|
33
|
-
#
|
|
34
|
+
# The Visa-specific parameters for the initial User Submission. If omitted, a
|
|
35
|
+
# later User Submission will be required.
|
|
34
36
|
#
|
|
35
37
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
36
38
|
#
|
|
@@ -108,6 +110,48 @@ module Increase
|
|
|
108
110
|
)
|
|
109
111
|
end
|
|
110
112
|
|
|
113
|
+
# Credits the cardholder's Account for the Card Dispute amount, funded by your
|
|
114
|
+
# program's provisional credit Account.
|
|
115
|
+
#
|
|
116
|
+
# @overload provide_provisional_credit(card_dispute_id, request_options: {})
|
|
117
|
+
#
|
|
118
|
+
# @param card_dispute_id [String] The identifier of the Card Dispute to provide a provisional credit for.
|
|
119
|
+
#
|
|
120
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
121
|
+
#
|
|
122
|
+
# @return [Increase::Models::CardDispute]
|
|
123
|
+
#
|
|
124
|
+
# @see Increase::Models::CardDisputeProvideProvisionalCreditParams
|
|
125
|
+
def provide_provisional_credit(card_dispute_id, params = {})
|
|
126
|
+
@client.request(
|
|
127
|
+
method: :post,
|
|
128
|
+
path: ["card_disputes/%1$s/provide_provisional_credit", card_dispute_id],
|
|
129
|
+
model: Increase::CardDispute,
|
|
130
|
+
options: params[:request_options]
|
|
131
|
+
)
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
# Debits the cardholder's Account for the provisional credit and returns it to
|
|
135
|
+
# your program's provisional credit Account.
|
|
136
|
+
#
|
|
137
|
+
# @overload reverse_provisional_credit(card_dispute_id, request_options: {})
|
|
138
|
+
#
|
|
139
|
+
# @param card_dispute_id [String] The identifier of the Card Dispute to reverse the provisional credit for.
|
|
140
|
+
#
|
|
141
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
142
|
+
#
|
|
143
|
+
# @return [Increase::Models::CardDispute]
|
|
144
|
+
#
|
|
145
|
+
# @see Increase::Models::CardDisputeReverseProvisionalCreditParams
|
|
146
|
+
def reverse_provisional_credit(card_dispute_id, params = {})
|
|
147
|
+
@client.request(
|
|
148
|
+
method: :post,
|
|
149
|
+
path: ["card_disputes/%1$s/reverse_provisional_credit", card_dispute_id],
|
|
150
|
+
model: Increase::CardDispute,
|
|
151
|
+
options: params[:request_options]
|
|
152
|
+
)
|
|
153
|
+
end
|
|
154
|
+
|
|
111
155
|
# Submit a User Submission for a Card Dispute
|
|
112
156
|
#
|
|
113
157
|
# @overload submit_user_submission(card_dispute_id, network:, amount: nil, attachment_files: nil, explanation: nil, visa: nil, request_options: {})
|
|
@@ -11,7 +11,11 @@ module Increase
|
|
|
11
11
|
#
|
|
12
12
|
# @param account_statement_bai2 [Increase::Models::ExportCreateParams::AccountStatementBai2]
|
|
13
13
|
# Options for the created export. Required if `category` is equal to
|
|
14
|
-
# `account_statement_bai2`.
|
|
14
|
+
# `account_statement_bai2`. Each as-of date from `on_or_after_date` through
|
|
15
|
+
# `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
|
|
16
|
+
# group's as-of date is before the UTC date the Export was created, it has
|
|
17
|
+
# end-of-day balances. If it's the UTC date the Export was created, it has
|
|
18
|
+
# intraday balances as of the time the Export was created.
|
|
15
19
|
#
|
|
16
20
|
# @param account_statement_ofx [Increase::Models::ExportCreateParams::AccountStatementOfx]
|
|
17
21
|
# Options for the created export. Required if `category` is equal to
|
|
@@ -14,9 +14,9 @@ module Increase
|
|
|
14
14
|
# `transaction` if not provided.
|
|
15
15
|
#
|
|
16
16
|
# @param pending_transaction_id [String]
|
|
17
|
-
# The identifier of the Pending Transaction for the refund
|
|
18
|
-
# is provided, `transaction` must not be provided as a
|
|
19
|
-
#
|
|
17
|
+
# The identifier of the Pending Transaction for the refund or original credit
|
|
18
|
+
# authorization. If this is provided, `transaction` must not be provided as a
|
|
19
|
+
# refund with a refund authorization can not be linked to a regular transaction.
|
|
20
20
|
#
|
|
21
21
|
# @param transaction_id [String]
|
|
22
22
|
# The identifier for the Transaction to refund. The Transaction's source must have
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -101,7 +101,9 @@ require_relative "increase/models/card_details_token"
|
|
|
101
101
|
require_relative "increase/models/card_dispute"
|
|
102
102
|
require_relative "increase/models/card_dispute_create_params"
|
|
103
103
|
require_relative "increase/models/card_dispute_list_params"
|
|
104
|
+
require_relative "increase/models/card_dispute_provide_provisional_credit_params"
|
|
104
105
|
require_relative "increase/models/card_dispute_retrieve_params"
|
|
106
|
+
require_relative "increase/models/card_dispute_reverse_provisional_credit_params"
|
|
105
107
|
require_relative "increase/models/card_dispute_submit_user_submission_params"
|
|
106
108
|
require_relative "increase/models/card_dispute_withdraw_params"
|
|
107
109
|
require_relative "increase/models/card_iframe_url"
|
|
@@ -99,7 +99,7 @@ module Increase
|
|
|
99
99
|
attr_accessor :company_id
|
|
100
100
|
|
|
101
101
|
# The name by which the recipient knows you.
|
|
102
|
-
sig { returns(
|
|
102
|
+
sig { returns(String) }
|
|
103
103
|
attr_accessor :company_name
|
|
104
104
|
|
|
105
105
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -163,7 +163,7 @@ module Increase
|
|
|
163
163
|
|
|
164
164
|
# The name of the transfer recipient. This value is informational and not verified
|
|
165
165
|
# by the recipient's bank.
|
|
166
|
-
sig { returns(
|
|
166
|
+
sig { returns(String) }
|
|
167
167
|
attr_accessor :individual_name
|
|
168
168
|
|
|
169
169
|
# The transfer's network.
|
|
@@ -281,7 +281,7 @@ module Increase
|
|
|
281
281
|
company_discretionary_data: T.nilable(String),
|
|
282
282
|
company_entry_description: T.nilable(String),
|
|
283
283
|
company_id: String,
|
|
284
|
-
company_name:
|
|
284
|
+
company_name: String,
|
|
285
285
|
created_at: Time,
|
|
286
286
|
created_by: T.nilable(Increase::ACHTransfer::CreatedBy::OrHash),
|
|
287
287
|
currency: Increase::ACHTransfer::Currency::OrSymbol,
|
|
@@ -293,7 +293,7 @@ module Increase
|
|
|
293
293
|
inbound_funds_hold:
|
|
294
294
|
T.nilable(Increase::ACHTransfer::InboundFundsHold::OrHash),
|
|
295
295
|
individual_id: T.nilable(String),
|
|
296
|
-
individual_name:
|
|
296
|
+
individual_name: String,
|
|
297
297
|
network: Increase::ACHTransfer::Network::OrSymbol,
|
|
298
298
|
notifications_of_change:
|
|
299
299
|
T::Array[Increase::ACHTransfer::NotificationsOfChange::OrHash],
|
|
@@ -442,7 +442,7 @@ module Increase
|
|
|
442
442
|
company_discretionary_data: T.nilable(String),
|
|
443
443
|
company_entry_description: T.nilable(String),
|
|
444
444
|
company_id: String,
|
|
445
|
-
company_name:
|
|
445
|
+
company_name: String,
|
|
446
446
|
created_at: Time,
|
|
447
447
|
created_by: T.nilable(Increase::ACHTransfer::CreatedBy),
|
|
448
448
|
currency: Increase::ACHTransfer::Currency::TaggedSymbol,
|
|
@@ -454,7 +454,7 @@ module Increase
|
|
|
454
454
|
inbound_funds_hold:
|
|
455
455
|
T.nilable(Increase::ACHTransfer::InboundFundsHold),
|
|
456
456
|
individual_id: T.nilable(String),
|
|
457
|
-
individual_name:
|
|
457
|
+
individual_name: String,
|
|
458
458
|
network: Increase::ACHTransfer::Network::TaggedSymbol,
|
|
459
459
|
notifications_of_change:
|
|
460
460
|
T::Array[Increase::ACHTransfer::NotificationsOfChange],
|