increase 1.349.0 → 1.350.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_number.rb +3 -3
- data/lib/increase/models/ach_transfer.rb +12 -12
- data/lib/increase/models/balance_lookup.rb +1 -1
- data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
- data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
- data/lib/increase/models/card_dispute.rb +9 -1
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
- data/lib/increase/models/card_payment.rb +58 -58
- data/lib/increase/models/card_purchase_supplement.rb +9 -1
- data/lib/increase/models/card_token_capabilities.rb +2 -2
- data/lib/increase/models/check_deposit.rb +9 -9
- data/lib/increase/models/check_transfer.rb +2 -2
- data/lib/increase/models/check_transfer_create_params.rb +9 -4
- data/lib/increase/models/declined_transaction.rb +12 -9
- data/lib/increase/models/digital_wallet_token.rb +9 -1
- data/lib/increase/models/entity.rb +5 -5
- data/lib/increase/models/entity_create_params.rb +332 -29
- data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
- data/lib/increase/models/entity_update_params.rb +472 -15
- data/lib/increase/models/fednow_transfer.rb +115 -4
- data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
- data/lib/increase/models/inbound_ach_transfer.rb +2 -2
- data/lib/increase/models/inbound_check_deposit.rb +2 -2
- data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
- data/lib/increase/models/inbound_mail_item.rb +14 -1
- data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
- data/lib/increase/models/inbound_wire_transfer.rb +4 -4
- data/lib/increase/models/intrafi_exclusion.rb +4 -4
- data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
- data/lib/increase/models/pending_transaction.rb +13 -13
- data/lib/increase/models/pending_transaction_list_params.rb +4 -6
- data/lib/increase/models/physical_card.rb +9 -1
- data/lib/increase/models/real_time_decision.rb +18 -18
- data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
- data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
- data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
- data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
- data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
- data/lib/increase/models/simulations/program_create_params.rb +14 -3
- data/lib/increase/models/transaction.rb +141 -17
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models/wire_drawdown_request.rb +12 -1
- data/lib/increase/models/wire_transfer_create_params.rb +2 -2
- data/lib/increase/resources/cards.rb +2 -2
- data/lib/increase/resources/check_transfers.rb +1 -1
- data/lib/increase/resources/entities.rb +10 -2
- data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
- data/lib/increase/resources/lockbox_recipients.rb +1 -1
- data/lib/increase/resources/simulations/card_authentications.rb +1 -1
- data/lib/increase/resources/simulations/card_disputes.rb +2 -2
- data/lib/increase/resources/simulations/interest_payments.rb +1 -1
- data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
- data/lib/increase/resources/simulations/physical_cards.rb +2 -2
- data/lib/increase/resources/simulations/programs.rb +6 -2
- data/lib/increase/resources/wire_transfers.rb +1 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_number.rbi +3 -3
- data/rbi/increase/models/ach_transfer.rbi +12 -12
- data/rbi/increase/models/balance_lookup.rbi +1 -1
- data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
- data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
- data/rbi/increase/models/card_dispute.rbi +8 -0
- data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
- data/rbi/increase/models/card_payment.rbi +58 -58
- data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
- data/rbi/increase/models/card_token_capabilities.rbi +2 -2
- data/rbi/increase/models/check_deposit.rbi +9 -9
- data/rbi/increase/models/check_transfer.rbi +2 -2
- data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
- data/rbi/increase/models/declined_transaction.rbi +16 -9
- data/rbi/increase/models/digital_wallet_token.rbi +8 -0
- data/rbi/increase/models/entity.rbi +5 -5
- data/rbi/increase/models/entity_create_params.rbi +547 -28
- data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
- data/rbi/increase/models/entity_update_params.rbi +814 -14
- data/rbi/increase/models/fednow_transfer.rbi +213 -7
- data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
- data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
- data/rbi/increase/models/inbound_check_deposit.rbi +2 -2
- data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
- data/rbi/increase/models/inbound_mail_item.rbi +12 -0
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
- data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
- data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
- data/rbi/increase/models/pending_transaction.rbi +13 -13
- data/rbi/increase/models/pending_transaction_list_params.rbi +4 -6
- data/rbi/increase/models/physical_card.rbi +8 -0
- data/rbi/increase/models/real_time_decision.rbi +18 -18
- data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
- data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
- data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
- data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
- data/rbi/increase/models/transaction.rbi +260 -16
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
- data/rbi/increase/resources/cards.rbi +2 -2
- data/rbi/increase/resources/check_transfers.rbi +1 -1
- data/rbi/increase/resources/entities.rbi +10 -0
- data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
- data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
- data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
- data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
- data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
- data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
- data/rbi/increase/resources/simulations/programs.rbi +5 -1
- data/rbi/increase/resources/wire_transfers.rbi +1 -1
- data/sig/increase/models/card_dispute.rbs +5 -0
- data/sig/increase/models/card_purchase_supplement.rbs +5 -0
- data/sig/increase/models/declined_transaction.rbs +4 -0
- data/sig/increase/models/digital_wallet_token.rbs +5 -0
- data/sig/increase/models/entity.rbs +3 -3
- data/sig/increase/models/entity_create_params.rbs +232 -1
- data/sig/increase/models/entity_update_params.rbs +366 -0
- data/sig/increase/models/fednow_transfer.rbs +113 -4
- data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
- data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
- data/sig/increase/models/inbound_mail_item.rbs +5 -0
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
- data/sig/increase/models/physical_card.rbs +5 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
- data/sig/increase/models/simulations/program_create_params.rbs +7 -0
- data/sig/increase/models/transaction.rbs +113 -0
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models/wire_drawdown_request.rbs +5 -0
- data/sig/increase/resources/entities.rbs +2 -0
- data/sig/increase/resources/simulations/programs.rbs +1 -0
- metadata +2 -2
|
@@ -118,6 +118,12 @@ module Increase
|
|
|
118
118
|
end
|
|
119
119
|
attr_writer :rejection
|
|
120
120
|
|
|
121
|
+
# If the transfer is returned by the recipient's bank, this will contain details
|
|
122
|
+
# of each return. FedNow allows returning part of a transfer, so a transfer can be
|
|
123
|
+
# returned more than once.
|
|
124
|
+
sig { returns(T::Array[Increase::FednowTransfer::Return]) }
|
|
125
|
+
attr_accessor :returns
|
|
126
|
+
|
|
121
127
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
122
128
|
# (RTN).
|
|
123
129
|
sig { returns(String) }
|
|
@@ -185,6 +191,7 @@ module Increase
|
|
|
185
191
|
idempotency_key: T.nilable(String),
|
|
186
192
|
pending_transaction_id: T.nilable(String),
|
|
187
193
|
rejection: T.nilable(Increase::FednowTransfer::Rejection::OrHash),
|
|
194
|
+
returns: T::Array[Increase::FednowTransfer::Return::OrHash],
|
|
188
195
|
routing_number: String,
|
|
189
196
|
source_account_number_id: String,
|
|
190
197
|
status: Increase::FednowTransfer::Status::OrSymbol,
|
|
@@ -236,6 +243,10 @@ module Increase
|
|
|
236
243
|
# If the transfer is rejected by FedNow or the destination financial institution,
|
|
237
244
|
# this will contain supplemental details.
|
|
238
245
|
rejection:,
|
|
246
|
+
# If the transfer is returned by the recipient's bank, this will contain details
|
|
247
|
+
# of each return. FedNow allows returning part of a transfer, so a transfer can be
|
|
248
|
+
# returned more than once.
|
|
249
|
+
returns:,
|
|
239
250
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
240
251
|
# (RTN).
|
|
241
252
|
routing_number:,
|
|
@@ -281,6 +292,7 @@ module Increase
|
|
|
281
292
|
idempotency_key: T.nilable(String),
|
|
282
293
|
pending_transaction_id: T.nilable(String),
|
|
283
294
|
rejection: T.nilable(Increase::FednowTransfer::Rejection),
|
|
295
|
+
returns: T::Array[Increase::FednowTransfer::Return],
|
|
284
296
|
routing_number: String,
|
|
285
297
|
source_account_number_id: String,
|
|
286
298
|
status: Increase::FednowTransfer::Status::TaggedSymbol,
|
|
@@ -877,6 +889,203 @@ module Increase
|
|
|
877
889
|
end
|
|
878
890
|
end
|
|
879
891
|
|
|
892
|
+
class Return < Increase::Internal::Type::BaseModel
|
|
893
|
+
OrHash =
|
|
894
|
+
T.type_alias do
|
|
895
|
+
T.any(Increase::FednowTransfer::Return, Increase::Internal::AnyHash)
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
# The returned amount in USD cents. This is always a positive number.
|
|
899
|
+
sig { returns(Integer) }
|
|
900
|
+
attr_accessor :amount
|
|
901
|
+
|
|
902
|
+
# Additional information about the return provided by the recipient's bank.
|
|
903
|
+
sig { returns(T.nilable(String)) }
|
|
904
|
+
attr_accessor :return_reason_additional_information
|
|
905
|
+
|
|
906
|
+
# The reason the transfer was returned as provided by the recipient's bank.
|
|
907
|
+
sig do
|
|
908
|
+
returns(
|
|
909
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
910
|
+
)
|
|
911
|
+
end
|
|
912
|
+
attr_accessor :return_reason_code
|
|
913
|
+
|
|
914
|
+
# The identifier of the FedNow Transfer that led to this Transaction.
|
|
915
|
+
sig { returns(String) }
|
|
916
|
+
attr_accessor :transfer_id
|
|
917
|
+
|
|
918
|
+
# A FedNow Transfer Return is created when a FedNow Transfer sent from Increase is
|
|
919
|
+
# returned by the recipient's bank.
|
|
920
|
+
sig do
|
|
921
|
+
params(
|
|
922
|
+
amount: Integer,
|
|
923
|
+
return_reason_additional_information: T.nilable(String),
|
|
924
|
+
return_reason_code:
|
|
925
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::OrSymbol,
|
|
926
|
+
transfer_id: String
|
|
927
|
+
).returns(T.attached_class)
|
|
928
|
+
end
|
|
929
|
+
def self.new(
|
|
930
|
+
# The returned amount in USD cents. This is always a positive number.
|
|
931
|
+
amount:,
|
|
932
|
+
# Additional information about the return provided by the recipient's bank.
|
|
933
|
+
return_reason_additional_information:,
|
|
934
|
+
# The reason the transfer was returned as provided by the recipient's bank.
|
|
935
|
+
return_reason_code:,
|
|
936
|
+
# The identifier of the FedNow Transfer that led to this Transaction.
|
|
937
|
+
transfer_id:
|
|
938
|
+
)
|
|
939
|
+
end
|
|
940
|
+
|
|
941
|
+
sig do
|
|
942
|
+
override.returns(
|
|
943
|
+
{
|
|
944
|
+
amount: Integer,
|
|
945
|
+
return_reason_additional_information: T.nilable(String),
|
|
946
|
+
return_reason_code:
|
|
947
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol,
|
|
948
|
+
transfer_id: String
|
|
949
|
+
}
|
|
950
|
+
)
|
|
951
|
+
end
|
|
952
|
+
def to_hash
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
# The reason the transfer was returned as provided by the recipient's bank.
|
|
956
|
+
module ReturnReasonCode
|
|
957
|
+
extend Increase::Internal::Type::Enum
|
|
958
|
+
|
|
959
|
+
TaggedSymbol =
|
|
960
|
+
T.type_alias do
|
|
961
|
+
T.all(Symbol, Increase::FednowTransfer::Return::ReturnReasonCode)
|
|
962
|
+
end
|
|
963
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
964
|
+
|
|
965
|
+
# The destination account is closed. Corresponds to the FedNow reason codes `AC04` and `AC07`.
|
|
966
|
+
ACCOUNT_CLOSED =
|
|
967
|
+
T.let(
|
|
968
|
+
:account_closed,
|
|
969
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
970
|
+
)
|
|
971
|
+
|
|
972
|
+
# The destination account is currently blocked from receiving transactions. Corresponds to the FedNow reason code `AC06`.
|
|
973
|
+
ACCOUNT_BLOCKED =
|
|
974
|
+
T.let(
|
|
975
|
+
:account_blocked,
|
|
976
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
977
|
+
)
|
|
978
|
+
|
|
979
|
+
# The recipient's bank was not a valid agent for this transfer. Corresponds to the FedNow reason codes `AC14` and `AGNT`.
|
|
980
|
+
INVALID_AGENT =
|
|
981
|
+
T.let(
|
|
982
|
+
:invalid_agent,
|
|
983
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
984
|
+
)
|
|
985
|
+
|
|
986
|
+
# The destination account does not exist. Corresponds to the FedNow reason code `AC03`.
|
|
987
|
+
INVALID_CREDITOR_ACCOUNT_NUMBER =
|
|
988
|
+
T.let(
|
|
989
|
+
:invalid_creditor_account_number,
|
|
990
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
991
|
+
)
|
|
992
|
+
|
|
993
|
+
# The destination account number was incorrect. Corresponds to the FedNow reason code `AC01`.
|
|
994
|
+
INCORRECT_ACCOUNT_NUMBER =
|
|
995
|
+
T.let(
|
|
996
|
+
:incorrect_account_number,
|
|
997
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
998
|
+
)
|
|
999
|
+
|
|
1000
|
+
# The destination account holder is deceased. Corresponds to the FedNow reason code `MD07`.
|
|
1001
|
+
END_CUSTOMER_DECEASED =
|
|
1002
|
+
T.let(
|
|
1003
|
+
:end_customer_deceased,
|
|
1004
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1005
|
+
)
|
|
1006
|
+
|
|
1007
|
+
# The transfer was not permitted by the recipient's bank. Corresponds to the FedNow reason code `AG01`.
|
|
1008
|
+
TRANSACTION_FORBIDDEN =
|
|
1009
|
+
T.let(
|
|
1010
|
+
:transaction_forbidden,
|
|
1011
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
# The transfer was returned for a regulatory reason at the recipient's bank. Corresponds to the FedNow reason code `RR04`.
|
|
1015
|
+
REGULATORY_REASON =
|
|
1016
|
+
T.let(
|
|
1017
|
+
:regulatory_reason,
|
|
1018
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1019
|
+
)
|
|
1020
|
+
|
|
1021
|
+
# The transfer was reported as fraudulent. Corresponds to the FedNow reason code `FR01`.
|
|
1022
|
+
FRAUD =
|
|
1023
|
+
T.let(
|
|
1024
|
+
:fraud,
|
|
1025
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1026
|
+
)
|
|
1027
|
+
|
|
1028
|
+
# The transfer duplicated another transfer. Corresponds to the FedNow reason codes `AM05` and `DUPL`.
|
|
1029
|
+
DUPLICATION =
|
|
1030
|
+
T.let(
|
|
1031
|
+
:duplication,
|
|
1032
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1033
|
+
)
|
|
1034
|
+
|
|
1035
|
+
# The transfer amount was incorrect. Corresponds to the FedNow reason code `AM09`.
|
|
1036
|
+
WRONG_AMOUNT =
|
|
1037
|
+
T.let(
|
|
1038
|
+
:wrong_amount,
|
|
1039
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1040
|
+
)
|
|
1041
|
+
|
|
1042
|
+
# The transfer was returned at the request of the recipient's customer. Corresponds to the FedNow reason code `CUST`.
|
|
1043
|
+
REQUESTED_BY_CUSTOMER =
|
|
1044
|
+
T.let(
|
|
1045
|
+
:requested_by_customer,
|
|
1046
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1047
|
+
)
|
|
1048
|
+
|
|
1049
|
+
# The recipient's bank could not apply the funds. Corresponds to the FedNow reason code `RUTA`.
|
|
1050
|
+
UNABLE_TO_APPLY =
|
|
1051
|
+
T.let(
|
|
1052
|
+
:unable_to_apply,
|
|
1053
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
# The recipient's bank did not specify a reason. Corresponds to the FedNow reason codes `MS02` and `MS03`.
|
|
1057
|
+
NOT_SPECIFIED =
|
|
1058
|
+
T.let(
|
|
1059
|
+
:not_specified,
|
|
1060
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1061
|
+
)
|
|
1062
|
+
|
|
1063
|
+
# The reason is provided as narrative information in the additional information field. Corresponds to the FedNow reason code `NARR`.
|
|
1064
|
+
NARRATIVE =
|
|
1065
|
+
T.let(
|
|
1066
|
+
:narrative,
|
|
1067
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1068
|
+
)
|
|
1069
|
+
|
|
1070
|
+
# The transfer was returned for some other reason.
|
|
1071
|
+
OTHER =
|
|
1072
|
+
T.let(
|
|
1073
|
+
:other,
|
|
1074
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1075
|
+
)
|
|
1076
|
+
|
|
1077
|
+
sig do
|
|
1078
|
+
override.returns(
|
|
1079
|
+
T::Array[
|
|
1080
|
+
Increase::FednowTransfer::Return::ReturnReasonCode::TaggedSymbol
|
|
1081
|
+
]
|
|
1082
|
+
)
|
|
1083
|
+
end
|
|
1084
|
+
def self.values
|
|
1085
|
+
end
|
|
1086
|
+
end
|
|
1087
|
+
end
|
|
1088
|
+
|
|
880
1089
|
# The lifecycle status of the transfer.
|
|
881
1090
|
module Status
|
|
882
1091
|
extend Increase::Internal::Type::Enum
|
|
@@ -903,13 +1112,6 @@ module Increase
|
|
|
903
1112
|
CANCELED =
|
|
904
1113
|
T.let(:canceled, Increase::FednowTransfer::Status::TaggedSymbol)
|
|
905
1114
|
|
|
906
|
-
# The transfer has been rejected by Increase.
|
|
907
|
-
REVIEWING_REJECTED =
|
|
908
|
-
T.let(
|
|
909
|
-
:reviewing_rejected,
|
|
910
|
-
Increase::FednowTransfer::Status::TaggedSymbol
|
|
911
|
-
)
|
|
912
|
-
|
|
913
1115
|
# The transfer requires attention from an Increase operator.
|
|
914
1116
|
REQUIRES_ATTENTION =
|
|
915
1117
|
T.let(
|
|
@@ -939,6 +1141,10 @@ module Increase
|
|
|
939
1141
|
REJECTED =
|
|
940
1142
|
T.let(:rejected, Increase::FednowTransfer::Status::TaggedSymbol)
|
|
941
1143
|
|
|
1144
|
+
# The transfer was returned by the recipient's bank.
|
|
1145
|
+
RETURNED =
|
|
1146
|
+
T.let(:returned, Increase::FednowTransfer::Status::TaggedSymbol)
|
|
1147
|
+
|
|
942
1148
|
sig do
|
|
943
1149
|
override.returns(
|
|
944
1150
|
T::Array[Increase::FednowTransfer::Status::TaggedSymbol]
|
|
@@ -280,13 +280,6 @@ module Increase
|
|
|
280
280
|
Increase::FednowTransferListParams::Status::In::TaggedSymbol
|
|
281
281
|
)
|
|
282
282
|
|
|
283
|
-
# The transfer has been rejected by Increase.
|
|
284
|
-
REVIEWING_REJECTED =
|
|
285
|
-
T.let(
|
|
286
|
-
:reviewing_rejected,
|
|
287
|
-
Increase::FednowTransferListParams::Status::In::TaggedSymbol
|
|
288
|
-
)
|
|
289
|
-
|
|
290
283
|
# The transfer requires attention from an Increase operator.
|
|
291
284
|
REQUIRES_ATTENTION =
|
|
292
285
|
T.let(
|
|
@@ -322,6 +315,13 @@ module Increase
|
|
|
322
315
|
Increase::FednowTransferListParams::Status::In::TaggedSymbol
|
|
323
316
|
)
|
|
324
317
|
|
|
318
|
+
# The transfer was returned by the recipient's bank.
|
|
319
|
+
RETURNED =
|
|
320
|
+
T.let(
|
|
321
|
+
:returned,
|
|
322
|
+
Increase::FednowTransferListParams::Status::In::TaggedSymbol
|
|
323
|
+
)
|
|
324
|
+
|
|
325
325
|
sig do
|
|
326
326
|
override.returns(
|
|
327
327
|
T::Array[
|
|
@@ -130,7 +130,7 @@ module Increase
|
|
|
130
130
|
sig { returns(String) }
|
|
131
131
|
attr_accessor :originator_company_name
|
|
132
132
|
|
|
133
|
-
# The American
|
|
133
|
+
# The American Bankers' Association (ABA) routing number of the bank originating
|
|
134
134
|
# the transfer.
|
|
135
135
|
sig { returns(String) }
|
|
136
136
|
attr_accessor :originator_routing_number
|
|
@@ -274,7 +274,7 @@ module Increase
|
|
|
274
274
|
originator_company_id:,
|
|
275
275
|
# The name of the company that initiated the transfer.
|
|
276
276
|
originator_company_name:,
|
|
277
|
-
# The American
|
|
277
|
+
# The American Bankers' Association (ABA) routing number of the bank originating
|
|
278
278
|
# the transfer.
|
|
279
279
|
originator_routing_number:,
|
|
280
280
|
# The id of the receiver of the transfer.
|
|
@@ -47,7 +47,7 @@ module Increase
|
|
|
47
47
|
|
|
48
48
|
# The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
|
|
49
49
|
# bank depositing this check. In some rare cases, this is not transmitted via
|
|
50
|
-
#
|
|
50
|
+
# Check 21 and the value will be null.
|
|
51
51
|
sig { returns(T.nilable(String)) }
|
|
52
52
|
attr_accessor :bank_of_first_deposit_routing_number
|
|
53
53
|
|
|
@@ -172,7 +172,7 @@ module Increase
|
|
|
172
172
|
back_image_file_id:,
|
|
173
173
|
# The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
|
|
174
174
|
# bank depositing this check. In some rare cases, this is not transmitted via
|
|
175
|
-
#
|
|
175
|
+
# Check 21 and the value will be null.
|
|
176
176
|
bank_of_first_deposit_routing_number:,
|
|
177
177
|
# The check number printed on the check being deposited.
|
|
178
178
|
check_number:,
|
|
@@ -358,6 +358,13 @@ module Increase
|
|
|
358
358
|
Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
|
|
359
359
|
)
|
|
360
360
|
|
|
361
|
+
# The transaction is not allowed per Increase's terms.
|
|
362
|
+
TRANSACTION_NOT_ALLOWED =
|
|
363
|
+
T.let(
|
|
364
|
+
:transaction_not_allowed,
|
|
365
|
+
Increase::InboundFednowTransfer::Decline::Reason::TaggedSymbol
|
|
366
|
+
)
|
|
367
|
+
|
|
361
368
|
sig do
|
|
362
369
|
override.returns(
|
|
363
370
|
T::Array[
|
|
@@ -12,6 +12,12 @@ module Increase
|
|
|
12
12
|
sig { returns(String) }
|
|
13
13
|
attr_accessor :id
|
|
14
14
|
|
|
15
|
+
# The identifier for the Account that checks in this mail item are deposited into.
|
|
16
|
+
# For mail items that could not be routed to a Lockbox Recipient, this will be
|
|
17
|
+
# null.
|
|
18
|
+
sig { returns(T.nilable(String)) }
|
|
19
|
+
attr_accessor :account_id
|
|
20
|
+
|
|
15
21
|
# The checks in the mail item.
|
|
16
22
|
sig { returns(T::Array[Increase::InboundMailItem::Check]) }
|
|
17
23
|
attr_accessor :checks
|
|
@@ -62,6 +68,7 @@ module Increase
|
|
|
62
68
|
sig do
|
|
63
69
|
params(
|
|
64
70
|
id: String,
|
|
71
|
+
account_id: T.nilable(String),
|
|
65
72
|
checks: T::Array[Increase::InboundMailItem::Check::OrHash],
|
|
66
73
|
created_at: Time,
|
|
67
74
|
file_id: String,
|
|
@@ -77,6 +84,10 @@ module Increase
|
|
|
77
84
|
def self.new(
|
|
78
85
|
# The Inbound Mail Item identifier.
|
|
79
86
|
id:,
|
|
87
|
+
# The identifier for the Account that checks in this mail item are deposited into.
|
|
88
|
+
# For mail items that could not be routed to a Lockbox Recipient, this will be
|
|
89
|
+
# null.
|
|
90
|
+
account_id:,
|
|
80
91
|
# The checks in the mail item.
|
|
81
92
|
checks:,
|
|
82
93
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Inbound
|
|
@@ -105,6 +116,7 @@ module Increase
|
|
|
105
116
|
override.returns(
|
|
106
117
|
{
|
|
107
118
|
id: String,
|
|
119
|
+
account_id: T.nilable(String),
|
|
108
120
|
checks: T::Array[Increase::InboundMailItem::Check],
|
|
109
121
|
created_at: Time,
|
|
110
122
|
file_id: String,
|
|
@@ -15,6 +15,11 @@ module Increase
|
|
|
15
15
|
sig { returns(String) }
|
|
16
16
|
attr_accessor :id
|
|
17
17
|
|
|
18
|
+
# The Account from which the recipient of this request is being requested to send
|
|
19
|
+
# funds.
|
|
20
|
+
sig { returns(String) }
|
|
21
|
+
attr_accessor :account_id
|
|
22
|
+
|
|
18
23
|
# The amount being requested in cents.
|
|
19
24
|
sig { returns(Integer) }
|
|
20
25
|
attr_accessor :amount
|
|
@@ -110,6 +115,7 @@ module Increase
|
|
|
110
115
|
sig do
|
|
111
116
|
params(
|
|
112
117
|
id: String,
|
|
118
|
+
account_id: String,
|
|
113
119
|
amount: Integer,
|
|
114
120
|
created_at: Time,
|
|
115
121
|
creditor_account_number: String,
|
|
@@ -135,6 +141,9 @@ module Increase
|
|
|
135
141
|
def self.new(
|
|
136
142
|
# The Wire drawdown request identifier.
|
|
137
143
|
id:,
|
|
144
|
+
# The Account from which the recipient of this request is being requested to send
|
|
145
|
+
# funds.
|
|
146
|
+
account_id:,
|
|
138
147
|
# The amount being requested in cents.
|
|
139
148
|
amount:,
|
|
140
149
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -191,6 +200,7 @@ module Increase
|
|
|
191
200
|
override.returns(
|
|
192
201
|
{
|
|
193
202
|
id: String,
|
|
203
|
+
account_id: String,
|
|
194
204
|
amount: Integer,
|
|
195
205
|
created_at: Time,
|
|
196
206
|
creditor_account_number: String,
|
|
@@ -77,7 +77,7 @@ module Increase
|
|
|
77
77
|
sig { returns(T.nilable(String)) }
|
|
78
78
|
attr_accessor :debtor_name
|
|
79
79
|
|
|
80
|
-
# The American
|
|
80
|
+
# The American Bankers' Association (ABA) routing number of the sender.
|
|
81
81
|
sig { returns(T.nilable(String)) }
|
|
82
82
|
attr_accessor :debtor_routing_number
|
|
83
83
|
|
|
@@ -95,7 +95,7 @@ module Increase
|
|
|
95
95
|
sig { returns(T.nilable(String)) }
|
|
96
96
|
attr_accessor :input_message_accountability_data
|
|
97
97
|
|
|
98
|
-
# The American
|
|
98
|
+
# The American Bankers' Association (ABA) routing number of the bank that sent the
|
|
99
99
|
# wire.
|
|
100
100
|
sig { returns(T.nilable(String)) }
|
|
101
101
|
attr_accessor :instructing_agent_routing_number
|
|
@@ -209,7 +209,7 @@ module Increase
|
|
|
209
209
|
debtor_address_line3:,
|
|
210
210
|
# A name set by the sender.
|
|
211
211
|
debtor_name:,
|
|
212
|
-
# The American
|
|
212
|
+
# The American Bankers' Association (ABA) routing number of the sender.
|
|
213
213
|
debtor_routing_number:,
|
|
214
214
|
# An Increase-constructed description of the transfer.
|
|
215
215
|
description:,
|
|
@@ -219,7 +219,7 @@ module Increase
|
|
|
219
219
|
# abbreviated as IMAD. It is created when the wire is submitted to the Fedwire
|
|
220
220
|
# service and is helpful when debugging wires with the originating bank.
|
|
221
221
|
input_message_accountability_data:,
|
|
222
|
-
# The American
|
|
222
|
+
# The American Bankers' Association (ABA) routing number of the bank that sent the
|
|
223
223
|
# wire.
|
|
224
224
|
instructing_agent_routing_number:,
|
|
225
225
|
# The sending bank's identifier for the wire transfer.
|
|
@@ -25,7 +25,7 @@ module Increase
|
|
|
25
25
|
sig { returns(String) }
|
|
26
26
|
attr_accessor :entity_id
|
|
27
27
|
|
|
28
|
-
# When this
|
|
28
|
+
# When this exclusion was confirmed by IntraFi.
|
|
29
29
|
sig { returns(T.nilable(Time)) }
|
|
30
30
|
attr_accessor :excluded_at
|
|
31
31
|
|
|
@@ -44,7 +44,7 @@ module Increase
|
|
|
44
44
|
sig { returns(Increase::IntrafiExclusion::Status::TaggedSymbol) }
|
|
45
45
|
attr_accessor :status
|
|
46
46
|
|
|
47
|
-
# When this
|
|
47
|
+
# When this exclusion was submitted to IntraFi by Increase.
|
|
48
48
|
sig { returns(T.nilable(Time)) }
|
|
49
49
|
attr_accessor :submitted_at
|
|
50
50
|
|
|
@@ -81,7 +81,7 @@ module Increase
|
|
|
81
81
|
created_at:,
|
|
82
82
|
# The entity for which this institution is excluded.
|
|
83
83
|
entity_id:,
|
|
84
|
-
# When this
|
|
84
|
+
# When this exclusion was confirmed by IntraFi.
|
|
85
85
|
excluded_at:,
|
|
86
86
|
# The Federal Deposit Insurance Corporation's certificate number for the
|
|
87
87
|
# institution.
|
|
@@ -92,7 +92,7 @@ module Increase
|
|
|
92
92
|
idempotency_key:,
|
|
93
93
|
# The status of the exclusion request.
|
|
94
94
|
status:,
|
|
95
|
-
# When this
|
|
95
|
+
# When this exclusion was submitted to IntraFi by Increase.
|
|
96
96
|
submitted_at:,
|
|
97
97
|
# A constant representing the object's type. For this resource it will always be
|
|
98
98
|
# `intrafi_exclusion`.
|
|
@@ -30,7 +30,7 @@ module Increase
|
|
|
30
30
|
sig { params(description: String).void }
|
|
31
31
|
attr_writer :description
|
|
32
32
|
|
|
33
|
-
# The name of the Lockbox Recipient
|
|
33
|
+
# The name of the Lockbox Recipient.
|
|
34
34
|
sig { returns(T.nilable(String)) }
|
|
35
35
|
attr_reader :recipient_name
|
|
36
36
|
|
|
@@ -54,7 +54,7 @@ module Increase
|
|
|
54
54
|
lockbox_address_id:,
|
|
55
55
|
# The description you choose for the Lockbox Recipient.
|
|
56
56
|
description: nil,
|
|
57
|
-
# The name of the Lockbox Recipient
|
|
57
|
+
# The name of the Lockbox Recipient.
|
|
58
58
|
recipient_name: nil,
|
|
59
59
|
request_options: {}
|
|
60
60
|
)
|
|
@@ -1346,9 +1346,9 @@ module Increase
|
|
|
1346
1346
|
end
|
|
1347
1347
|
attr_accessor :actioner
|
|
1348
1348
|
|
|
1349
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
1350
|
-
#
|
|
1351
|
-
#
|
|
1349
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
1350
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
1351
|
+
# more detailed information about the transaction.
|
|
1352
1352
|
sig do
|
|
1353
1353
|
returns(
|
|
1354
1354
|
Increase::PendingTransaction::Source::CardAuthorization::AdditionalAmounts
|
|
@@ -1396,8 +1396,8 @@ module Increase
|
|
|
1396
1396
|
end
|
|
1397
1397
|
attr_accessor :direction
|
|
1398
1398
|
|
|
1399
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1400
|
-
# will expire and the pending transaction will be released.
|
|
1399
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
|
|
1400
|
+
# authorization will expire and the pending transaction will be released.
|
|
1401
1401
|
sig { returns(Time) }
|
|
1402
1402
|
attr_accessor :expires_at
|
|
1403
1403
|
|
|
@@ -1631,9 +1631,9 @@ module Increase
|
|
|
1631
1631
|
# Whether this authorization was approved by Increase, the card network through
|
|
1632
1632
|
# stand-in processing, or the user through a real-time decision.
|
|
1633
1633
|
actioner:,
|
|
1634
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
1635
|
-
#
|
|
1636
|
-
#
|
|
1634
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
1635
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
1636
|
+
# more detailed information about the transaction.
|
|
1637
1637
|
additional_amounts:,
|
|
1638
1638
|
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
|
1639
1639
|
# for example, this is cents.
|
|
@@ -1649,8 +1649,8 @@ module Increase
|
|
|
1649
1649
|
# The direction describes the direction the funds will move, either from the
|
|
1650
1650
|
# cardholder to the merchant or from the merchant to the cardholder.
|
|
1651
1651
|
direction:,
|
|
1652
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
1653
|
-
# will expire and the pending transaction will be released.
|
|
1652
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
|
|
1653
|
+
# authorization will expire and the pending transaction will be released.
|
|
1654
1654
|
expires_at:,
|
|
1655
1655
|
# The healthcare-related fields for this authorization. Only present for specific
|
|
1656
1656
|
# programs.
|
|
@@ -2025,9 +2025,9 @@ module Increase
|
|
|
2025
2025
|
end
|
|
2026
2026
|
attr_writer :vision
|
|
2027
2027
|
|
|
2028
|
-
# Additional amounts associated with the card authorization, such as ATM
|
|
2029
|
-
#
|
|
2030
|
-
#
|
|
2028
|
+
# Additional amounts associated with the card authorization, such as ATM surcharge
|
|
2029
|
+
# fees. These are usually a subset of the `amount` field and are used to provide
|
|
2030
|
+
# more detailed information about the transaction.
|
|
2031
2031
|
sig do
|
|
2032
2032
|
params(
|
|
2033
2033
|
clinic:
|
|
@@ -407,9 +407,8 @@ module Increase
|
|
|
407
407
|
end
|
|
408
408
|
|
|
409
409
|
# Filter Pending Transactions for those with the specified status. By default only
|
|
410
|
-
# Pending Transactions
|
|
411
|
-
#
|
|
412
|
-
# `?in=one,two,three`.
|
|
410
|
+
# Pending Transactions with status `pending` will be returned. For GET requests,
|
|
411
|
+
# this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
413
412
|
sig do
|
|
414
413
|
returns(
|
|
415
414
|
T.nilable(
|
|
@@ -441,9 +440,8 @@ module Increase
|
|
|
441
440
|
end
|
|
442
441
|
def self.new(
|
|
443
442
|
# Filter Pending Transactions for those with the specified status. By default only
|
|
444
|
-
# Pending Transactions
|
|
445
|
-
#
|
|
446
|
-
# `?in=one,two,three`.
|
|
443
|
+
# Pending Transactions with status `pending` will be returned. For GET requests,
|
|
444
|
+
# this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
|
|
447
445
|
in_: nil
|
|
448
446
|
)
|
|
449
447
|
end
|
|
@@ -12,6 +12,10 @@ module Increase
|
|
|
12
12
|
sig { returns(String) }
|
|
13
13
|
attr_accessor :id
|
|
14
14
|
|
|
15
|
+
# The identifier for the Account this Physical Card belongs to.
|
|
16
|
+
sig { returns(String) }
|
|
17
|
+
attr_accessor :account_id
|
|
18
|
+
|
|
15
19
|
# The identifier for the Card this Physical Card represents.
|
|
16
20
|
sig { returns(String) }
|
|
17
21
|
attr_accessor :card_id
|
|
@@ -64,6 +68,7 @@ module Increase
|
|
|
64
68
|
sig do
|
|
65
69
|
params(
|
|
66
70
|
id: String,
|
|
71
|
+
account_id: String,
|
|
67
72
|
card_id: String,
|
|
68
73
|
cardholder: Increase::PhysicalCard::Cardholder::OrHash,
|
|
69
74
|
created_at: Time,
|
|
@@ -77,6 +82,8 @@ module Increase
|
|
|
77
82
|
def self.new(
|
|
78
83
|
# The physical card identifier.
|
|
79
84
|
id:,
|
|
85
|
+
# The identifier for the Account this Physical Card belongs to.
|
|
86
|
+
account_id:,
|
|
80
87
|
# The identifier for the Card this Physical Card represents.
|
|
81
88
|
card_id:,
|
|
82
89
|
# Details about the cardholder, as it appears on the printed card.
|
|
@@ -104,6 +111,7 @@ module Increase
|
|
|
104
111
|
override.returns(
|
|
105
112
|
{
|
|
106
113
|
id: String,
|
|
114
|
+
account_id: String,
|
|
107
115
|
card_id: String,
|
|
108
116
|
cardholder: Increase::PhysicalCard::Cardholder,
|
|
109
117
|
created_at: Time,
|