increase 1.347.0 → 1.349.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/increase/models/account_create_params.rb +15 -15
- data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +2 -2
- data/lib/increase/models/ach_transfer_create_params.rb +1 -24
- data/lib/increase/models/balance_lookup.rb +49 -1
- data/lib/increase/models/beneficial_owner_update_params.rb +9 -1
- data/lib/increase/models/card.rb +43 -1
- data/lib/increase/models/card_create_params.rb +42 -1
- data/lib/increase/models/card_dispute.rb +1 -1
- data/lib/increase/models/card_dispute_list_params.rb +1 -1
- data/lib/increase/models/card_payment.rb +18 -1
- data/lib/increase/models/check_transfer.rb +13 -1
- data/lib/increase/models/check_transfer_create_params.rb +25 -13
- data/lib/increase/models/entity.rb +315 -5
- data/lib/increase/models/entity_update_params.rb +754 -1
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/file.rb +7 -6
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +5 -2
- data/lib/increase/models/inbound_fednow_transfer.rb +18 -1
- data/lib/increase/models/pending_transaction.rb +25 -8
- data/lib/increase/models/pending_transaction_list_params.rb +1 -1
- data/lib/increase/models/physical_card_create_params.rb +6 -3
- data/lib/increase/models/real_time_decision.rb +18 -1
- data/lib/increase/models/real_time_payments_transfer.rb +30 -19
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +12 -1
- data/lib/increase/models/simulations/card_dispute_action_params.rb +30 -1
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -0
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +18 -18
- data/lib/increase/models/transaction.rb +5 -2
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_transfer_create_params.rb +100 -42
- data/lib/increase/resources/ach_prenotifications.rb +1 -1
- data/lib/increase/resources/ach_transfers.rb +1 -4
- data/lib/increase/resources/beneficial_owners.rb +3 -1
- data/lib/increase/resources/cards.rb +5 -1
- data/lib/increase/resources/physical_cards.rb +2 -1
- data/lib/increase/resources/real_time_payments_transfers.rb +5 -1
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_create_params.rbi +37 -21
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +2 -2
- data/rbi/increase/models/ach_transfer_create_params.rbi +0 -59
- data/rbi/increase/models/balance_lookup.rbi +48 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +11 -0
- data/rbi/increase/models/card.rbi +63 -0
- data/rbi/increase/models/card_create_params.rbi +65 -0
- data/rbi/increase/models/card_dispute.rbi +1 -1
- data/rbi/increase/models/card_dispute_list_params.rbi +1 -1
- data/rbi/increase/models/card_payment.rbi +16 -0
- data/rbi/increase/models/check_transfer.rbi +15 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +26 -12
- data/rbi/increase/models/entity.rbi +552 -3
- data/rbi/increase/models/entity_update_params.rbi +1326 -3
- data/rbi/increase/models/event.rbi +28 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/file.rbi +7 -6
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +4 -2
- data/rbi/increase/models/inbound_fednow_transfer.rbi +16 -0
- data/rbi/increase/models/pending_transaction.rbi +23 -7
- data/rbi/increase/models/pending_transaction_list_params.rbi +1 -1
- data/rbi/increase/models/physical_card_create_params.rbi +6 -3
- data/rbi/increase/models/real_time_decision.rbi +16 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +29 -18
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +15 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +60 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +7 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
- data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +18 -18
- data/rbi/increase/models/transaction.rbi +4 -2
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +146 -62
- data/rbi/increase/resources/ach_prenotifications.rbi +1 -1
- data/rbi/increase/resources/ach_transfers.rbi +0 -4
- data/rbi/increase/resources/beneficial_owners.rbi +3 -0
- data/rbi/increase/resources/cards.rbi +4 -0
- data/rbi/increase/resources/physical_cards.rbi +2 -1
- data/rbi/increase/resources/real_time_payments_transfers.rbi +4 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
- data/sig/increase/models/account_create_params.rbs +20 -12
- data/sig/increase/models/ach_transfer_create_params.rbs +1 -24
- data/sig/increase/models/balance_lookup.rbs +30 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +7 -0
- data/sig/increase/models/card.rbs +19 -0
- data/sig/increase/models/card_create_params.rbs +25 -0
- data/sig/increase/models/card_dispute.rbs +1 -1
- data/sig/increase/models/card_dispute_list_params.rbs +1 -1
- data/sig/increase/models/card_payment.rbs +5 -0
- data/sig/increase/models/check_transfer.rbs +9 -0
- data/sig/increase/models/check_transfer_create_params.rbs +7 -0
- data/sig/increase/models/entity.rbs +248 -5
- data/sig/increase/models/entity_update_params.rbs +585 -3
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +2 -2
- data/sig/increase/models/inbound_fednow_transfer.rbs +10 -0
- data/sig/increase/models/pending_transaction.rbs +6 -1
- data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
- data/sig/increase/models/real_time_decision.rbs +5 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +23 -18
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +23 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +4 -0
- data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
- data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +18 -18
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_transfer_create_params.rbs +78 -32
- data/sig/increase/resources/ach_transfers.rbs +0 -1
- data/sig/increase/resources/beneficial_owners.rbs +1 -0
- data/sig/increase/resources/cards.rbs +1 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -113,6 +113,11 @@ module Increase
|
|
|
113
113
|
sig { returns(T.nilable(String)) }
|
|
114
114
|
attr_accessor :idempotency_key
|
|
115
115
|
|
|
116
|
+
# The identifier of the Inbound Real-Time Payments Request for Payment this
|
|
117
|
+
# transfer was sent in response to, if any.
|
|
118
|
+
sig { returns(T.nilable(String)) }
|
|
119
|
+
attr_accessor :inbound_real_time_payments_request_for_payment_id
|
|
120
|
+
|
|
116
121
|
# The ID for the pending transaction representing the transfer. A pending
|
|
117
122
|
# transaction is created when the transfer
|
|
118
123
|
# [requires approval](https://increase.com/documentation/transfer-approvals#transfer-approvals)
|
|
@@ -206,6 +211,7 @@ module Increase
|
|
|
206
211
|
debtor_name: T.nilable(String),
|
|
207
212
|
external_account_id: T.nilable(String),
|
|
208
213
|
idempotency_key: T.nilable(String),
|
|
214
|
+
inbound_real_time_payments_request_for_payment_id: T.nilable(String),
|
|
209
215
|
pending_transaction_id: T.nilable(String),
|
|
210
216
|
rejection:
|
|
211
217
|
T.nilable(Increase::RealTimePaymentsTransfer::Rejection::OrHash),
|
|
@@ -259,6 +265,9 @@ module Increase
|
|
|
259
265
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
260
266
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
261
267
|
idempotency_key:,
|
|
268
|
+
# The identifier of the Inbound Real-Time Payments Request for Payment this
|
|
269
|
+
# transfer was sent in response to, if any.
|
|
270
|
+
inbound_real_time_payments_request_for_payment_id:,
|
|
262
271
|
# The ID for the pending transaction representing the transfer. A pending
|
|
263
272
|
# transaction is created when the transfer
|
|
264
273
|
# [requires approval](https://increase.com/documentation/transfer-approvals#transfer-approvals)
|
|
@@ -314,6 +323,8 @@ module Increase
|
|
|
314
323
|
debtor_name: T.nilable(String),
|
|
315
324
|
external_account_id: T.nilable(String),
|
|
316
325
|
idempotency_key: T.nilable(String),
|
|
326
|
+
inbound_real_time_payments_request_for_payment_id:
|
|
327
|
+
T.nilable(String),
|
|
317
328
|
pending_transaction_id: T.nilable(String),
|
|
318
329
|
rejection: T.nilable(Increase::RealTimePaymentsTransfer::Rejection),
|
|
319
330
|
routing_number: String,
|
|
@@ -805,42 +816,42 @@ module Increase
|
|
|
805
816
|
end
|
|
806
817
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
807
818
|
|
|
808
|
-
# The destination account is closed. Corresponds to the Real-Time Payments reason code
|
|
819
|
+
# The destination account is closed. Corresponds to the Real-Time Payments reason code "AC04".
|
|
809
820
|
ACCOUNT_CLOSED =
|
|
810
821
|
T.let(
|
|
811
822
|
:account_closed,
|
|
812
823
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
813
824
|
)
|
|
814
825
|
|
|
815
|
-
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code
|
|
826
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code "AC06".
|
|
816
827
|
ACCOUNT_BLOCKED =
|
|
817
828
|
T.let(
|
|
818
829
|
:account_blocked,
|
|
819
830
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
820
831
|
)
|
|
821
832
|
|
|
822
|
-
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code
|
|
833
|
+
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code "AC14".
|
|
823
834
|
INVALID_CREDITOR_ACCOUNT_TYPE =
|
|
824
835
|
T.let(
|
|
825
836
|
:invalid_creditor_account_type,
|
|
826
837
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
827
838
|
)
|
|
828
839
|
|
|
829
|
-
# The destination account does not exist. Corresponds to the Real-Time Payments reason code
|
|
840
|
+
# The destination account does not exist. Corresponds to the Real-Time Payments reason code "AC03".
|
|
830
841
|
INVALID_CREDITOR_ACCOUNT_NUMBER =
|
|
831
842
|
T.let(
|
|
832
843
|
:invalid_creditor_account_number,
|
|
833
844
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
834
845
|
)
|
|
835
846
|
|
|
836
|
-
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code
|
|
847
|
+
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code "RC04".
|
|
837
848
|
INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER =
|
|
838
849
|
T.let(
|
|
839
850
|
:invalid_creditor_financial_institution_identifier,
|
|
840
851
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
841
852
|
)
|
|
842
853
|
|
|
843
|
-
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code
|
|
854
|
+
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code "MD07".
|
|
844
855
|
END_CUSTOMER_DECEASED =
|
|
845
856
|
T.let(
|
|
846
857
|
:end_customer_deceased,
|
|
@@ -854,84 +865,84 @@ module Increase
|
|
|
854
865
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
855
866
|
)
|
|
856
867
|
|
|
857
|
-
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code
|
|
868
|
+
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code "AG01".
|
|
858
869
|
TRANSACTION_FORBIDDEN =
|
|
859
870
|
T.let(
|
|
860
871
|
:transaction_forbidden,
|
|
861
872
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
862
873
|
)
|
|
863
874
|
|
|
864
|
-
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code
|
|
875
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "AG03".
|
|
865
876
|
TRANSACTION_TYPE_NOT_SUPPORTED =
|
|
866
877
|
T.let(
|
|
867
878
|
:transaction_type_not_supported,
|
|
868
879
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
869
880
|
)
|
|
870
881
|
|
|
871
|
-
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code
|
|
882
|
+
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code "AM09".
|
|
872
883
|
UNEXPECTED_AMOUNT =
|
|
873
884
|
T.let(
|
|
874
885
|
:unexpected_amount,
|
|
875
886
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
876
887
|
)
|
|
877
888
|
|
|
878
|
-
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code
|
|
889
|
+
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code "AM14".
|
|
879
890
|
AMOUNT_EXCEEDS_BANK_LIMITS =
|
|
880
891
|
T.let(
|
|
881
892
|
:amount_exceeds_bank_limits,
|
|
882
893
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
883
894
|
)
|
|
884
895
|
|
|
885
|
-
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code
|
|
896
|
+
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE04".
|
|
886
897
|
INVALID_CREDITOR_ADDRESS =
|
|
887
898
|
T.let(
|
|
888
899
|
:invalid_creditor_address,
|
|
889
900
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
890
901
|
)
|
|
891
902
|
|
|
892
|
-
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code
|
|
903
|
+
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code "BE06".
|
|
893
904
|
UNKNOWN_END_CUSTOMER =
|
|
894
905
|
T.let(
|
|
895
906
|
:unknown_end_customer,
|
|
896
907
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
897
908
|
)
|
|
898
909
|
|
|
899
|
-
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code
|
|
910
|
+
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE07".
|
|
900
911
|
INVALID_DEBTOR_ADDRESS =
|
|
901
912
|
T.let(
|
|
902
913
|
:invalid_debtor_address,
|
|
903
914
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
904
915
|
)
|
|
905
916
|
|
|
906
|
-
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code
|
|
917
|
+
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code "DS24".
|
|
907
918
|
TIMEOUT =
|
|
908
919
|
T.let(
|
|
909
920
|
:timeout,
|
|
910
921
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
911
922
|
)
|
|
912
923
|
|
|
913
|
-
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code
|
|
924
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "NOAT".
|
|
914
925
|
UNSUPPORTED_MESSAGE_FOR_RECIPIENT =
|
|
915
926
|
T.let(
|
|
916
927
|
:unsupported_message_for_recipient,
|
|
917
928
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
918
929
|
)
|
|
919
930
|
|
|
920
|
-
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code
|
|
931
|
+
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code "9912".
|
|
921
932
|
RECIPIENT_CONNECTION_NOT_AVAILABLE =
|
|
922
933
|
T.let(
|
|
923
934
|
:recipient_connection_not_available,
|
|
924
935
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
925
936
|
)
|
|
926
937
|
|
|
927
|
-
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code
|
|
938
|
+
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code "9948".
|
|
928
939
|
REAL_TIME_PAYMENTS_SUSPENDED =
|
|
929
940
|
T.let(
|
|
930
941
|
:real_time_payments_suspended,
|
|
931
942
|
Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode::TaggedSymbol
|
|
932
943
|
)
|
|
933
944
|
|
|
934
|
-
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code
|
|
945
|
+
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code "9910".
|
|
935
946
|
INSTRUCTED_AGENT_SIGNED_OFF =
|
|
936
947
|
T.let(
|
|
937
948
|
:instructed_agent_signed_off,
|
|
@@ -54,6 +54,16 @@ module Increase
|
|
|
54
54
|
sig { params(external_account_id: String).void }
|
|
55
55
|
attr_writer :external_account_id
|
|
56
56
|
|
|
57
|
+
# The ID of an Inbound Real-Time Payments Request for Payment in response to which
|
|
58
|
+
# this transfer is being sent.
|
|
59
|
+
sig { returns(T.nilable(String)) }
|
|
60
|
+
attr_reader :inbound_real_time_payments_request_for_payment_id
|
|
61
|
+
|
|
62
|
+
sig do
|
|
63
|
+
params(inbound_real_time_payments_request_for_payment_id: String).void
|
|
64
|
+
end
|
|
65
|
+
attr_writer :inbound_real_time_payments_request_for_payment_id
|
|
66
|
+
|
|
57
67
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
58
68
|
sig { returns(T.nilable(T::Boolean)) }
|
|
59
69
|
attr_reader :require_approval
|
|
@@ -94,6 +104,7 @@ module Increase
|
|
|
94
104
|
account_number: String,
|
|
95
105
|
debtor_name: String,
|
|
96
106
|
external_account_id: String,
|
|
107
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
97
108
|
require_approval: T::Boolean,
|
|
98
109
|
routing_number: String,
|
|
99
110
|
ultimate_creditor_name: String,
|
|
@@ -119,6 +130,9 @@ module Increase
|
|
|
119
130
|
# The ID of an External Account to initiate a transfer to. If this parameter is
|
|
120
131
|
# provided, `account_number` and `routing_number` must be absent.
|
|
121
132
|
external_account_id: nil,
|
|
133
|
+
# The ID of an Inbound Real-Time Payments Request for Payment in response to which
|
|
134
|
+
# this transfer is being sent.
|
|
135
|
+
inbound_real_time_payments_request_for_payment_id: nil,
|
|
122
136
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
123
137
|
require_approval: nil,
|
|
124
138
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
@@ -144,6 +158,7 @@ module Increase
|
|
|
144
158
|
account_number: String,
|
|
145
159
|
debtor_name: String,
|
|
146
160
|
external_account_id: String,
|
|
161
|
+
inbound_real_time_payments_request_for_payment_id: String,
|
|
147
162
|
require_approval: T::Boolean,
|
|
148
163
|
routing_number: String,
|
|
149
164
|
ultimate_creditor_name: String,
|
|
@@ -206,6 +206,25 @@ module Increase
|
|
|
206
206
|
end
|
|
207
207
|
attr_writer :receive_merchant_prearbitration
|
|
208
208
|
|
|
209
|
+
# The parameters for rejecting the dispute. Required if and only if `action` is
|
|
210
|
+
# `reject`.
|
|
211
|
+
sig do
|
|
212
|
+
returns(
|
|
213
|
+
T.nilable(
|
|
214
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Reject
|
|
215
|
+
)
|
|
216
|
+
)
|
|
217
|
+
end
|
|
218
|
+
attr_reader :reject
|
|
219
|
+
|
|
220
|
+
sig do
|
|
221
|
+
params(
|
|
222
|
+
reject:
|
|
223
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Reject::OrHash
|
|
224
|
+
).void
|
|
225
|
+
end
|
|
226
|
+
attr_writer :reject
|
|
227
|
+
|
|
209
228
|
# The parameters for re-presenting the dispute. Required if and only if `action`
|
|
210
229
|
# is `represent`.
|
|
211
230
|
sig do
|
|
@@ -334,6 +353,8 @@ module Increase
|
|
|
334
353
|
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration::OrHash,
|
|
335
354
|
receive_merchant_prearbitration:
|
|
336
355
|
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration::OrHash,
|
|
356
|
+
reject:
|
|
357
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Reject::OrHash,
|
|
337
358
|
represent:
|
|
338
359
|
Increase::Simulations::CardDisputeActionParams::Visa::Represent::OrHash,
|
|
339
360
|
request_further_information:
|
|
@@ -364,6 +385,9 @@ module Increase
|
|
|
364
385
|
# The parameters for receiving the prearbitration. Required if and only if
|
|
365
386
|
# `action` is `receive_merchant_prearbitration`.
|
|
366
387
|
receive_merchant_prearbitration: nil,
|
|
388
|
+
# The parameters for rejecting the dispute. Required if and only if `action` is
|
|
389
|
+
# `reject`.
|
|
390
|
+
reject: nil,
|
|
367
391
|
# The parameters for re-presenting the dispute. Required if and only if `action`
|
|
368
392
|
# is `represent`.
|
|
369
393
|
represent: nil,
|
|
@@ -398,6 +422,8 @@ module Increase
|
|
|
398
422
|
Increase::Simulations::CardDisputeActionParams::Visa::DeclineUserPrearbitration,
|
|
399
423
|
receive_merchant_prearbitration:
|
|
400
424
|
Increase::Simulations::CardDisputeActionParams::Visa::ReceiveMerchantPrearbitration,
|
|
425
|
+
reject:
|
|
426
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Reject,
|
|
401
427
|
represent:
|
|
402
428
|
Increase::Simulations::CardDisputeActionParams::Visa::Represent,
|
|
403
429
|
request_further_information:
|
|
@@ -458,6 +484,13 @@ module Increase
|
|
|
458
484
|
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
|
459
485
|
)
|
|
460
486
|
|
|
487
|
+
# Simulate the dispute being rejected before it is submitted to the network. This will move the dispute to a `rejected` state.
|
|
488
|
+
REJECT =
|
|
489
|
+
T.let(
|
|
490
|
+
:reject,
|
|
491
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Action::TaggedSymbol
|
|
492
|
+
)
|
|
493
|
+
|
|
461
494
|
# Simulate the merchant re-presenting the dispute. This will move the dispute to a `user_submission_required` state.
|
|
462
495
|
REPRESENT =
|
|
463
496
|
T.let(
|
|
@@ -591,6 +624,33 @@ module Increase
|
|
|
591
624
|
end
|
|
592
625
|
end
|
|
593
626
|
|
|
627
|
+
class Reject < Increase::Internal::Type::BaseModel
|
|
628
|
+
OrHash =
|
|
629
|
+
T.type_alias do
|
|
630
|
+
T.any(
|
|
631
|
+
Increase::Simulations::CardDisputeActionParams::Visa::Reject,
|
|
632
|
+
Increase::Internal::AnyHash
|
|
633
|
+
)
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
# The explanation for rejecting the dispute.
|
|
637
|
+
sig { returns(String) }
|
|
638
|
+
attr_accessor :explanation
|
|
639
|
+
|
|
640
|
+
# The parameters for rejecting the dispute. Required if and only if `action` is
|
|
641
|
+
# `reject`.
|
|
642
|
+
sig { params(explanation: String).returns(T.attached_class) }
|
|
643
|
+
def self.new(
|
|
644
|
+
# The explanation for rejecting the dispute.
|
|
645
|
+
explanation:
|
|
646
|
+
)
|
|
647
|
+
end
|
|
648
|
+
|
|
649
|
+
sig { override.returns({ explanation: String }) }
|
|
650
|
+
def to_hash
|
|
651
|
+
end
|
|
652
|
+
end
|
|
653
|
+
|
|
594
654
|
class Represent < Increase::Internal::Type::BaseModel
|
|
595
655
|
OrHash =
|
|
596
656
|
T.type_alias do
|
|
@@ -130,6 +130,13 @@ module Increase
|
|
|
130
130
|
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
131
131
|
)
|
|
132
132
|
|
|
133
|
+
# The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity.natural_person.identification).
|
|
134
|
+
ENTITY_IDENTITY =
|
|
135
|
+
T.let(
|
|
136
|
+
:entity_identity,
|
|
137
|
+
Increase::Simulations::EntityUpdateValidationParams::Issue::Category::TaggedSymbol
|
|
138
|
+
)
|
|
139
|
+
|
|
133
140
|
# A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
|
|
134
141
|
BENEFICIAL_OWNER_IDENTITY =
|
|
135
142
|
T.let(
|
|
@@ -19,7 +19,10 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :inbound_check_deposit_id
|
|
21
21
|
|
|
22
|
-
# The adjustment amount in cents.
|
|
22
|
+
# The adjustment amount in cents. A positive amount means that the funds are being
|
|
23
|
+
# returned to you by the other bank and is a credit to your account, as happens
|
|
24
|
+
# for a `wrong_payee_credit`. A negative amount is a debit to your account, as
|
|
25
|
+
# happens for a `late_return`. Defaults to the amount of the Inbound Check
|
|
23
26
|
# Deposit.
|
|
24
27
|
sig { returns(T.nilable(Integer)) }
|
|
25
28
|
attr_reader :amount
|
|
@@ -57,7 +60,10 @@ module Increase
|
|
|
57
60
|
def self.new(
|
|
58
61
|
# The identifier of the Inbound Check Deposit to adjust.
|
|
59
62
|
inbound_check_deposit_id:,
|
|
60
|
-
# The adjustment amount in cents.
|
|
63
|
+
# The adjustment amount in cents. A positive amount means that the funds are being
|
|
64
|
+
# returned to you by the other bank and is a credit to your account, as happens
|
|
65
|
+
# for a `wrong_payee_credit`. A negative amount is a debit to your account, as
|
|
66
|
+
# happens for a `late_return`. Defaults to the amount of the Inbound Check
|
|
61
67
|
# Deposit.
|
|
62
68
|
amount: nil,
|
|
63
69
|
# The reason for the adjustment. Defaults to `wrong_payee_credit`.
|
|
@@ -107,27 +113,6 @@ module Increase
|
|
|
107
113
|
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
108
114
|
)
|
|
109
115
|
|
|
110
|
-
# The check was deposited with a different amount than what was written on the check.
|
|
111
|
-
ADJUSTED_AMOUNT =
|
|
112
|
-
T.let(
|
|
113
|
-
:adjusted_amount,
|
|
114
|
-
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
115
|
-
)
|
|
116
|
-
|
|
117
|
-
# The recipient was not able to process the check. This usually happens for e.g., low quality images.
|
|
118
|
-
NON_CONFORMING_ITEM =
|
|
119
|
-
T.let(
|
|
120
|
-
:non_conforming_item,
|
|
121
|
-
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
122
|
-
)
|
|
123
|
-
|
|
124
|
-
# The check has already been deposited elsewhere and so this is a duplicate.
|
|
125
|
-
PAID =
|
|
126
|
-
T.let(
|
|
127
|
-
:paid,
|
|
128
|
-
Increase::Simulations::InboundCheckDepositAdjustmentParams::Reason::TaggedSymbol
|
|
129
|
-
)
|
|
130
|
-
|
|
131
116
|
sig do
|
|
132
117
|
override.returns(
|
|
133
118
|
T::Array[
|
|
@@ -121,42 +121,42 @@ module Increase
|
|
|
121
121
|
end
|
|
122
122
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
123
123
|
|
|
124
|
-
# The destination account is closed. Corresponds to the Real-Time Payments reason code
|
|
124
|
+
# The destination account is closed. Corresponds to the Real-Time Payments reason code "AC04".
|
|
125
125
|
ACCOUNT_CLOSED =
|
|
126
126
|
T.let(
|
|
127
127
|
:account_closed,
|
|
128
128
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
129
129
|
)
|
|
130
130
|
|
|
131
|
-
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code
|
|
131
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the Real-Time Payments reason code "AC06".
|
|
132
132
|
ACCOUNT_BLOCKED =
|
|
133
133
|
T.let(
|
|
134
134
|
:account_blocked,
|
|
135
135
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
136
136
|
)
|
|
137
137
|
|
|
138
|
-
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code
|
|
138
|
+
# The destination account is ineligible to receive Real-Time Payments transfers. Corresponds to the Real-Time Payments reason code "AC14".
|
|
139
139
|
INVALID_CREDITOR_ACCOUNT_TYPE =
|
|
140
140
|
T.let(
|
|
141
141
|
:invalid_creditor_account_type,
|
|
142
142
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
143
143
|
)
|
|
144
144
|
|
|
145
|
-
# The destination account does not exist. Corresponds to the Real-Time Payments reason code
|
|
145
|
+
# The destination account does not exist. Corresponds to the Real-Time Payments reason code "AC03".
|
|
146
146
|
INVALID_CREDITOR_ACCOUNT_NUMBER =
|
|
147
147
|
T.let(
|
|
148
148
|
:invalid_creditor_account_number,
|
|
149
149
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
150
150
|
)
|
|
151
151
|
|
|
152
|
-
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code
|
|
152
|
+
# The destination routing number is invalid. Corresponds to the Real-Time Payments reason code "RC04".
|
|
153
153
|
INVALID_CREDITOR_FINANCIAL_INSTITUTION_IDENTIFIER =
|
|
154
154
|
T.let(
|
|
155
155
|
:invalid_creditor_financial_institution_identifier,
|
|
156
156
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
157
157
|
)
|
|
158
158
|
|
|
159
|
-
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code
|
|
159
|
+
# The destination account holder is deceased. Corresponds to the Real-Time Payments reason code "MD07".
|
|
160
160
|
END_CUSTOMER_DECEASED =
|
|
161
161
|
T.let(
|
|
162
162
|
:end_customer_deceased,
|
|
@@ -170,84 +170,84 @@ module Increase
|
|
|
170
170
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
171
171
|
)
|
|
172
172
|
|
|
173
|
-
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code
|
|
173
|
+
# Real-Time Payments transfers are not allowed to the destination account. Corresponds to the Real-Time Payments reason code "AG01".
|
|
174
174
|
TRANSACTION_FORBIDDEN =
|
|
175
175
|
T.let(
|
|
176
176
|
:transaction_forbidden,
|
|
177
177
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
178
178
|
)
|
|
179
179
|
|
|
180
|
-
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code
|
|
180
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "AG03".
|
|
181
181
|
TRANSACTION_TYPE_NOT_SUPPORTED =
|
|
182
182
|
T.let(
|
|
183
183
|
:transaction_type_not_supported,
|
|
184
184
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
185
185
|
)
|
|
186
186
|
|
|
187
|
-
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code
|
|
187
|
+
# The amount of the transfer is different than expected by the recipient. Corresponds to the Real-Time Payments reason code "AM09".
|
|
188
188
|
UNEXPECTED_AMOUNT =
|
|
189
189
|
T.let(
|
|
190
190
|
:unexpected_amount,
|
|
191
191
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
192
192
|
)
|
|
193
193
|
|
|
194
|
-
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code
|
|
194
|
+
# The amount is higher than the recipient is authorized to send or receive. Corresponds to the Real-Time Payments reason code "AM14".
|
|
195
195
|
AMOUNT_EXCEEDS_BANK_LIMITS =
|
|
196
196
|
T.let(
|
|
197
197
|
:amount_exceeds_bank_limits,
|
|
198
198
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
199
199
|
)
|
|
200
200
|
|
|
201
|
-
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code
|
|
201
|
+
# The creditor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE04".
|
|
202
202
|
INVALID_CREDITOR_ADDRESS =
|
|
203
203
|
T.let(
|
|
204
204
|
:invalid_creditor_address,
|
|
205
205
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
206
206
|
)
|
|
207
207
|
|
|
208
|
-
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code
|
|
208
|
+
# The specified creditor is unknown. Corresponds to the Real-Time Payments reason code "BE06".
|
|
209
209
|
UNKNOWN_END_CUSTOMER =
|
|
210
210
|
T.let(
|
|
211
211
|
:unknown_end_customer,
|
|
212
212
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
213
213
|
)
|
|
214
214
|
|
|
215
|
-
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code
|
|
215
|
+
# The debtor's address is required, but missing or invalid. Corresponds to the Real-Time Payments reason code "BE07".
|
|
216
216
|
INVALID_DEBTOR_ADDRESS =
|
|
217
217
|
T.let(
|
|
218
218
|
:invalid_debtor_address,
|
|
219
219
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
220
220
|
)
|
|
221
221
|
|
|
222
|
-
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code
|
|
222
|
+
# There was a timeout processing the transfer. Corresponds to the Real-Time Payments reason code "DS24".
|
|
223
223
|
TIMEOUT =
|
|
224
224
|
T.let(
|
|
225
225
|
:timeout,
|
|
226
226
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
227
227
|
)
|
|
228
228
|
|
|
229
|
-
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code
|
|
229
|
+
# Real-Time Payments transfers are not enabled for the destination account. Corresponds to the Real-Time Payments reason code "NOAT".
|
|
230
230
|
UNSUPPORTED_MESSAGE_FOR_RECIPIENT =
|
|
231
231
|
T.let(
|
|
232
232
|
:unsupported_message_for_recipient,
|
|
233
233
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
234
234
|
)
|
|
235
235
|
|
|
236
|
-
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code
|
|
236
|
+
# The destination financial institution is currently not connected to Real-Time Payments. Corresponds to the Real-Time Payments reason code "9912".
|
|
237
237
|
RECIPIENT_CONNECTION_NOT_AVAILABLE =
|
|
238
238
|
T.let(
|
|
239
239
|
:recipient_connection_not_available,
|
|
240
240
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
241
241
|
)
|
|
242
242
|
|
|
243
|
-
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code
|
|
243
|
+
# Real-Time Payments is currently unavailable. Corresponds to the Real-Time Payments reason code "9948".
|
|
244
244
|
REAL_TIME_PAYMENTS_SUSPENDED =
|
|
245
245
|
T.let(
|
|
246
246
|
:real_time_payments_suspended,
|
|
247
247
|
Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode::TaggedSymbol
|
|
248
248
|
)
|
|
249
249
|
|
|
250
|
-
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code
|
|
250
|
+
# The destination financial institution is currently signed off of Real-Time Payments. Corresponds to the Real-Time Payments reason code "9910".
|
|
251
251
|
INSTRUCTED_AGENT_SIGNED_OFF =
|
|
252
252
|
T.let(
|
|
253
253
|
:instructed_agent_signed_off,
|
|
@@ -12808,7 +12808,8 @@ module Increase
|
|
|
12808
12808
|
sig { returns(String) }
|
|
12809
12809
|
attr_accessor :adjusted_transaction_id
|
|
12810
12810
|
|
|
12811
|
-
# The amount of the check adjustment.
|
|
12811
|
+
# The amount of the check adjustment in USD cents. A positive amount is a credit
|
|
12812
|
+
# to your account and a negative amount is a debit.
|
|
12812
12813
|
sig { returns(Integer) }
|
|
12813
12814
|
attr_accessor :amount
|
|
12814
12815
|
|
|
@@ -12835,7 +12836,8 @@ module Increase
|
|
|
12835
12836
|
def self.new(
|
|
12836
12837
|
# The ID of the transaction that was adjusted.
|
|
12837
12838
|
adjusted_transaction_id:,
|
|
12838
|
-
# The amount of the check adjustment.
|
|
12839
|
+
# The amount of the check adjustment in USD cents. A positive amount is a credit
|
|
12840
|
+
# to your account and a negative amount is a debit.
|
|
12839
12841
|
amount:,
|
|
12840
12842
|
# The reason for the adjustment.
|
|
12841
12843
|
reason:
|
|
@@ -629,6 +629,13 @@ module Increase
|
|
|
629
629
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
630
630
|
)
|
|
631
631
|
|
|
632
|
+
# Occurs whenever a Loan Obligation is created.
|
|
633
|
+
LOAN_OBLIGATION_CREATED =
|
|
634
|
+
T.let(
|
|
635
|
+
:"loan_obligation.created",
|
|
636
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
637
|
+
)
|
|
638
|
+
|
|
632
639
|
# Occurs whenever a Loan Offer is created.
|
|
633
640
|
LOAN_OFFER_CREATED =
|
|
634
641
|
T.let(
|
|
@@ -664,6 +671,20 @@ module Increase
|
|
|
664
671
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
665
672
|
)
|
|
666
673
|
|
|
674
|
+
# Occurs whenever a Lockbox Address is created.
|
|
675
|
+
LOCKBOX_ADDRESS_CREATED =
|
|
676
|
+
T.let(
|
|
677
|
+
:"lockbox_address.created",
|
|
678
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
679
|
+
)
|
|
680
|
+
|
|
681
|
+
# Occurs whenever a Lockbox Address is updated.
|
|
682
|
+
LOCKBOX_ADDRESS_UPDATED =
|
|
683
|
+
T.let(
|
|
684
|
+
:"lockbox_address.updated",
|
|
685
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
686
|
+
)
|
|
687
|
+
|
|
667
688
|
# Occurs whenever an OAuth Connection is created.
|
|
668
689
|
OAUTH_CONNECTION_CREATED =
|
|
669
690
|
T.let(
|
|
@@ -762,6 +783,13 @@ module Increase
|
|
|
762
783
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
763
784
|
)
|
|
764
785
|
|
|
786
|
+
# Occurs whenever a Plaid Processor Token is created.
|
|
787
|
+
PLAID_PROCESSOR_TOKEN_CREATED =
|
|
788
|
+
T.let(
|
|
789
|
+
:"plaid_processor_token.created",
|
|
790
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
791
|
+
)
|
|
792
|
+
|
|
765
793
|
# Occurs whenever a Checkbook is created.
|
|
766
794
|
CHECKBOOK_CREATED =
|
|
767
795
|
T.let(
|