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.
Files changed (134) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_number.rb +3 -3
  4. data/lib/increase/models/ach_transfer.rb +12 -12
  5. data/lib/increase/models/balance_lookup.rb +1 -1
  6. data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
  7. data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
  8. data/lib/increase/models/card_dispute.rb +9 -1
  9. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
  10. data/lib/increase/models/card_payment.rb +58 -58
  11. data/lib/increase/models/card_purchase_supplement.rb +9 -1
  12. data/lib/increase/models/card_token_capabilities.rb +2 -2
  13. data/lib/increase/models/check_deposit.rb +9 -9
  14. data/lib/increase/models/check_transfer.rb +2 -2
  15. data/lib/increase/models/check_transfer_create_params.rb +9 -4
  16. data/lib/increase/models/declined_transaction.rb +12 -9
  17. data/lib/increase/models/digital_wallet_token.rb +9 -1
  18. data/lib/increase/models/entity.rb +5 -5
  19. data/lib/increase/models/entity_create_params.rb +332 -29
  20. data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
  21. data/lib/increase/models/entity_update_params.rb +472 -15
  22. data/lib/increase/models/fednow_transfer.rb +115 -4
  23. data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
  24. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  25. data/lib/increase/models/inbound_check_deposit.rb +2 -2
  26. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  27. data/lib/increase/models/inbound_mail_item.rb +14 -1
  28. data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
  29. data/lib/increase/models/inbound_wire_transfer.rb +4 -4
  30. data/lib/increase/models/intrafi_exclusion.rb +4 -4
  31. data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
  32. data/lib/increase/models/pending_transaction.rb +13 -13
  33. data/lib/increase/models/pending_transaction_list_params.rb +4 -6
  34. data/lib/increase/models/physical_card.rb +9 -1
  35. data/lib/increase/models/real_time_decision.rb +18 -18
  36. data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
  37. data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
  38. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
  39. data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
  40. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
  41. data/lib/increase/models/simulations/program_create_params.rb +14 -3
  42. data/lib/increase/models/transaction.rb +141 -17
  43. data/lib/increase/models/transaction_list_params.rb +3 -0
  44. data/lib/increase/models/wire_drawdown_request.rb +12 -1
  45. data/lib/increase/models/wire_transfer_create_params.rb +2 -2
  46. data/lib/increase/resources/cards.rb +2 -2
  47. data/lib/increase/resources/check_transfers.rb +1 -1
  48. data/lib/increase/resources/entities.rb +10 -2
  49. data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
  50. data/lib/increase/resources/lockbox_recipients.rb +1 -1
  51. data/lib/increase/resources/simulations/card_authentications.rb +1 -1
  52. data/lib/increase/resources/simulations/card_disputes.rb +2 -2
  53. data/lib/increase/resources/simulations/interest_payments.rb +1 -1
  54. data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
  55. data/lib/increase/resources/simulations/physical_cards.rb +2 -2
  56. data/lib/increase/resources/simulations/programs.rb +6 -2
  57. data/lib/increase/resources/wire_transfers.rb +1 -1
  58. data/lib/increase/version.rb +1 -1
  59. data/rbi/increase/models/account_number.rbi +3 -3
  60. data/rbi/increase/models/ach_transfer.rbi +12 -12
  61. data/rbi/increase/models/balance_lookup.rbi +1 -1
  62. data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
  63. data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
  64. data/rbi/increase/models/card_dispute.rbi +8 -0
  65. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
  66. data/rbi/increase/models/card_payment.rbi +58 -58
  67. data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
  68. data/rbi/increase/models/card_token_capabilities.rbi +2 -2
  69. data/rbi/increase/models/check_deposit.rbi +9 -9
  70. data/rbi/increase/models/check_transfer.rbi +2 -2
  71. data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
  72. data/rbi/increase/models/declined_transaction.rbi +16 -9
  73. data/rbi/increase/models/digital_wallet_token.rbi +8 -0
  74. data/rbi/increase/models/entity.rbi +5 -5
  75. data/rbi/increase/models/entity_create_params.rbi +547 -28
  76. data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
  77. data/rbi/increase/models/entity_update_params.rbi +814 -14
  78. data/rbi/increase/models/fednow_transfer.rbi +213 -7
  79. data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
  80. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  81. data/rbi/increase/models/inbound_check_deposit.rbi +2 -2
  82. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  83. data/rbi/increase/models/inbound_mail_item.rbi +12 -0
  84. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
  85. data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
  86. data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
  87. data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
  88. data/rbi/increase/models/pending_transaction.rbi +13 -13
  89. data/rbi/increase/models/pending_transaction_list_params.rbi +4 -6
  90. data/rbi/increase/models/physical_card.rbi +8 -0
  91. data/rbi/increase/models/real_time_decision.rbi +18 -18
  92. data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
  93. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
  94. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
  95. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
  96. data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
  97. data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
  98. data/rbi/increase/models/transaction.rbi +260 -16
  99. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  100. data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
  101. data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
  102. data/rbi/increase/resources/cards.rbi +2 -2
  103. data/rbi/increase/resources/check_transfers.rbi +1 -1
  104. data/rbi/increase/resources/entities.rbi +10 -0
  105. data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
  106. data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
  107. data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
  108. data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
  109. data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
  110. data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
  111. data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
  112. data/rbi/increase/resources/simulations/programs.rbi +5 -1
  113. data/rbi/increase/resources/wire_transfers.rbi +1 -1
  114. data/sig/increase/models/card_dispute.rbs +5 -0
  115. data/sig/increase/models/card_purchase_supplement.rbs +5 -0
  116. data/sig/increase/models/declined_transaction.rbs +4 -0
  117. data/sig/increase/models/digital_wallet_token.rbs +5 -0
  118. data/sig/increase/models/entity.rbs +3 -3
  119. data/sig/increase/models/entity_create_params.rbs +232 -1
  120. data/sig/increase/models/entity_update_params.rbs +366 -0
  121. data/sig/increase/models/fednow_transfer.rbs +113 -4
  122. data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
  123. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  124. data/sig/increase/models/inbound_mail_item.rbs +5 -0
  125. data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
  126. data/sig/increase/models/physical_card.rbs +5 -0
  127. data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
  128. data/sig/increase/models/simulations/program_create_params.rbs +7 -0
  129. data/sig/increase/models/transaction.rbs +113 -0
  130. data/sig/increase/models/transaction_list_params.rbs +4 -0
  131. data/sig/increase/models/wire_drawdown_request.rbs +5 -0
  132. data/sig/increase/resources/entities.rbs +2 -0
  133. data/sig/increase/resources/simulations/programs.rbs +1 -0
  134. metadata +2 -2
@@ -108,6 +108,14 @@ module Increase
108
108
  # @return [Increase::Models::FednowTransfer::Rejection, nil]
109
109
  required :rejection, -> { Increase::FednowTransfer::Rejection }, nil?: true
110
110
 
111
+ # @!attribute returns
112
+ # If the transfer is returned by the recipient's bank, this will contain details
113
+ # of each return. FedNow allows returning part of a transfer, so a transfer can be
114
+ # returned more than once.
115
+ #
116
+ # @return [Array<Increase::Models::FednowTransfer::Return>]
117
+ required :returns, -> { Increase::Internal::Type::ArrayOf[Increase::FednowTransfer::Return] }
118
+
111
119
  # @!attribute routing_number
112
120
  # The destination American Bankers' Association (ABA) Routing Transit Number
113
121
  # (RTN).
@@ -161,7 +169,7 @@ module Increase
161
169
  # @return [String]
162
170
  required :unstructured_remittance_information, String
163
171
 
164
- # @!method initialize(id:, account_id:, account_number:, acknowledgement:, amount:, created_at:, created_by:, creditor_address:, creditor_name:, currency:, debtor_address:, debtor_name:, external_account_id:, idempotency_key:, pending_transaction_id:, rejection:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
172
+ # @!method initialize(id:, account_id:, account_number:, acknowledgement:, amount:, created_at:, created_by:, creditor_address:, creditor_name:, currency:, debtor_address:, debtor_name:, external_account_id:, idempotency_key:, pending_transaction_id:, rejection:, returns:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
165
173
  # FedNow transfers move funds, within seconds, between your Increase account and
166
174
  # any other account supporting FedNow.
167
175
  #
@@ -214,6 +222,11 @@ module Increase
214
222
  # If the transfer is rejected by FedNow or the destination financial institution,
215
223
  # this will contain supplemental details.
216
224
  #
225
+ # @param returns [Array<Increase::Models::FednowTransfer::Return>]
226
+ # If the transfer is returned by the recipient's bank, this will contain details
227
+ # of each return. FedNow allows returning part of a transfer, so a transfer can be
228
+ # returned more than once.
229
+ #
217
230
  # @param routing_number [String]
218
231
  # The destination American Bankers' Association (ABA) Routing Transit Number
219
232
  # (RTN).
@@ -543,6 +556,104 @@ module Increase
543
556
  end
544
557
  end
545
558
 
559
+ class Return < Increase::Internal::Type::BaseModel
560
+ # @!attribute amount
561
+ # The returned amount in USD cents. This is always a positive number.
562
+ #
563
+ # @return [Integer]
564
+ required :amount, Integer
565
+
566
+ # @!attribute return_reason_additional_information
567
+ # Additional information about the return provided by the recipient's bank.
568
+ #
569
+ # @return [String, nil]
570
+ required :return_reason_additional_information, String, nil?: true
571
+
572
+ # @!attribute return_reason_code
573
+ # The reason the transfer was returned as provided by the recipient's bank.
574
+ #
575
+ # @return [Symbol, Increase::Models::FednowTransfer::Return::ReturnReasonCode]
576
+ required :return_reason_code, enum: -> { Increase::FednowTransfer::Return::ReturnReasonCode }
577
+
578
+ # @!attribute transfer_id
579
+ # The identifier of the FedNow Transfer that led to this Transaction.
580
+ #
581
+ # @return [String]
582
+ required :transfer_id, String
583
+
584
+ # @!method initialize(amount:, return_reason_additional_information:, return_reason_code:, transfer_id:)
585
+ # A FedNow Transfer Return is created when a FedNow Transfer sent from Increase is
586
+ # returned by the recipient's bank.
587
+ #
588
+ # @param amount [Integer] The returned amount in USD cents. This is always a positive number.
589
+ #
590
+ # @param return_reason_additional_information [String, nil]
591
+ # Additional information about the return provided by the recipient's bank.
592
+ #
593
+ # @param return_reason_code [Symbol, Increase::Models::FednowTransfer::Return::ReturnReasonCode]
594
+ # The reason the transfer was returned as provided by the recipient's bank.
595
+ #
596
+ # @param transfer_id [String] The identifier of the FedNow Transfer that led to this Transaction.
597
+
598
+ # The reason the transfer was returned as provided by the recipient's bank.
599
+ #
600
+ # @see Increase::Models::FednowTransfer::Return#return_reason_code
601
+ module ReturnReasonCode
602
+ extend Increase::Internal::Type::Enum
603
+
604
+ # The destination account is closed. Corresponds to the FedNow reason codes `AC04` and `AC07`.
605
+ ACCOUNT_CLOSED = :account_closed
606
+
607
+ # The destination account is currently blocked from receiving transactions. Corresponds to the FedNow reason code `AC06`.
608
+ ACCOUNT_BLOCKED = :account_blocked
609
+
610
+ # The recipient's bank was not a valid agent for this transfer. Corresponds to the FedNow reason codes `AC14` and `AGNT`.
611
+ INVALID_AGENT = :invalid_agent
612
+
613
+ # The destination account does not exist. Corresponds to the FedNow reason code `AC03`.
614
+ INVALID_CREDITOR_ACCOUNT_NUMBER = :invalid_creditor_account_number
615
+
616
+ # The destination account number was incorrect. Corresponds to the FedNow reason code `AC01`.
617
+ INCORRECT_ACCOUNT_NUMBER = :incorrect_account_number
618
+
619
+ # The destination account holder is deceased. Corresponds to the FedNow reason code `MD07`.
620
+ END_CUSTOMER_DECEASED = :end_customer_deceased
621
+
622
+ # The transfer was not permitted by the recipient's bank. Corresponds to the FedNow reason code `AG01`.
623
+ TRANSACTION_FORBIDDEN = :transaction_forbidden
624
+
625
+ # The transfer was returned for a regulatory reason at the recipient's bank. Corresponds to the FedNow reason code `RR04`.
626
+ REGULATORY_REASON = :regulatory_reason
627
+
628
+ # The transfer was reported as fraudulent. Corresponds to the FedNow reason code `FR01`.
629
+ FRAUD = :fraud
630
+
631
+ # The transfer duplicated another transfer. Corresponds to the FedNow reason codes `AM05` and `DUPL`.
632
+ DUPLICATION = :duplication
633
+
634
+ # The transfer amount was incorrect. Corresponds to the FedNow reason code `AM09`.
635
+ WRONG_AMOUNT = :wrong_amount
636
+
637
+ # The transfer was returned at the request of the recipient's customer. Corresponds to the FedNow reason code `CUST`.
638
+ REQUESTED_BY_CUSTOMER = :requested_by_customer
639
+
640
+ # The recipient's bank could not apply the funds. Corresponds to the FedNow reason code `RUTA`.
641
+ UNABLE_TO_APPLY = :unable_to_apply
642
+
643
+ # The recipient's bank did not specify a reason. Corresponds to the FedNow reason codes `MS02` and `MS03`.
644
+ NOT_SPECIFIED = :not_specified
645
+
646
+ # The reason is provided as narrative information in the additional information field. Corresponds to the FedNow reason code `NARR`.
647
+ NARRATIVE = :narrative
648
+
649
+ # The transfer was returned for some other reason.
650
+ OTHER = :other
651
+
652
+ # @!method self.values
653
+ # @return [Array<Symbol>]
654
+ end
655
+ end
656
+
546
657
  # The lifecycle status of the transfer.
547
658
  #
548
659
  # @see Increase::Models::FednowTransfer#status
@@ -558,9 +669,6 @@ module Increase
558
669
  # The transfer has been canceled.
559
670
  CANCELED = :canceled
560
671
 
561
- # The transfer has been rejected by Increase.
562
- REVIEWING_REJECTED = :reviewing_rejected
563
-
564
672
  # The transfer requires attention from an Increase operator.
565
673
  REQUIRES_ATTENTION = :requires_attention
566
674
 
@@ -576,6 +684,9 @@ module Increase
576
684
  # The transfer was rejected by the network or the recipient's bank.
577
685
  REJECTED = :rejected
578
686
 
687
+ # The transfer was returned by the recipient's bank.
688
+ RETURNED = :returned
689
+
579
690
  # @!method self.values
580
691
  # @return [Array<Symbol>]
581
692
  end
@@ -155,9 +155,6 @@ module Increase
155
155
  # The transfer has been canceled.
156
156
  CANCELED = :canceled
157
157
 
158
- # The transfer has been rejected by Increase.
159
- REVIEWING_REJECTED = :reviewing_rejected
160
-
161
158
  # The transfer requires attention from an Increase operator.
162
159
  REQUIRES_ATTENTION = :requires_attention
163
160
 
@@ -173,6 +170,9 @@ module Increase
173
170
  # The transfer was rejected by the network or the recipient's bank.
174
171
  REJECTED = :rejected
175
172
 
173
+ # The transfer was returned by the recipient's bank.
174
+ RETURNED = :returned
175
+
176
176
  # @!method self.values
177
177
  # @return [Array<Symbol>]
178
178
  end
@@ -117,7 +117,7 @@ module Increase
117
117
  required :originator_company_name, String
118
118
 
119
119
  # @!attribute originator_routing_number
120
- # The American Banking Association (ABA) routing number of the bank originating
120
+ # The American Bankers' Association (ABA) routing number of the bank originating
121
121
  # the transfer.
122
122
  #
123
123
  # @return [String]
@@ -229,7 +229,7 @@ module Increase
229
229
  # @param originator_company_name [String] The name of the company that initiated the transfer.
230
230
  #
231
231
  # @param originator_routing_number [String]
232
- # The American Banking Association (ABA) routing number of the bank originating
232
+ # The American Bankers' Association (ABA) routing number of the bank originating
233
233
  # the transfer.
234
234
  #
235
235
  # @param receiver_id_number [String, nil] The id of the receiver of the transfer.
@@ -60,7 +60,7 @@ module Increase
60
60
  # @!attribute bank_of_first_deposit_routing_number
61
61
  # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
62
62
  # bank depositing this check. In some rare cases, this is not transmitted via
63
- # Check21 and the value will be null.
63
+ # Check 21 and the value will be null.
64
64
  #
65
65
  # @return [String, nil]
66
66
  required :bank_of_first_deposit_routing_number, String, nil?: true
@@ -177,7 +177,7 @@ module Increase
177
177
  # @param bank_of_first_deposit_routing_number [String, nil]
178
178
  # The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
179
179
  # bank depositing this check. In some rare cases, this is not transmitted via
180
- # Check21 and the value will be null.
180
+ # Check 21 and the value will be null.
181
181
  #
182
182
  # @param check_number [String, nil] The check number printed on the check being deposited.
183
183
  #
@@ -257,6 +257,9 @@ module Increase
257
257
  # Your account is not enabled to receive FedNow transfers.
258
258
  FEDNOW_NOT_ENABLED = :fednow_not_enabled
259
259
 
260
+ # The transaction is not allowed per Increase's terms.
261
+ TRANSACTION_NOT_ALLOWED = :transaction_not_allowed
262
+
260
263
  # @!method self.values
261
264
  # @return [Array<Symbol>]
262
265
  end
@@ -10,6 +10,14 @@ module Increase
10
10
  # @return [String]
11
11
  required :id, String
12
12
 
13
+ # @!attribute account_id
14
+ # The identifier for the Account that checks in this mail item are deposited into.
15
+ # For mail items that could not be routed to a Lockbox Recipient, this will be
16
+ # null.
17
+ #
18
+ # @return [String, nil]
19
+ required :account_id, String, nil?: true
20
+
13
21
  # @!attribute checks
14
22
  # The checks in the mail item.
15
23
  #
@@ -67,7 +75,7 @@ module Increase
67
75
  # @return [Symbol, Increase::Models::InboundMailItem::Type]
68
76
  required :type, enum: -> { Increase::InboundMailItem::Type }
69
77
 
70
- # @!method initialize(id:, checks:, created_at:, file_id:, lockbox_address_id:, lockbox_recipient_id:, recipient_name:, rejection_reason:, status:, type:)
78
+ # @!method initialize(id:, account_id:, checks:, created_at:, file_id:, lockbox_address_id:, lockbox_recipient_id:, recipient_name:, rejection_reason:, status:, type:)
71
79
  # Inbound Mail Items represent pieces of physical mail delivered to a Lockbox
72
80
  # Address. Increase automatically deposits checks mailed to a Lockbox Recipient
73
81
  # into the recipient's Account. Checks that are not matched to a Lockbox Recipient
@@ -75,6 +83,11 @@ module Increase
75
83
  #
76
84
  # @param id [String] The Inbound Mail Item identifier.
77
85
  #
86
+ # @param account_id [String, nil]
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
+ #
78
91
  # @param checks [Array<Increase::Models::InboundMailItem::Check>] The checks in the mail item.
79
92
  #
80
93
  # @param created_at [Time]
@@ -10,6 +10,13 @@ module Increase
10
10
  # @return [String]
11
11
  required :id, String
12
12
 
13
+ # @!attribute account_id
14
+ # The Account from which the recipient of this request is being requested to send
15
+ # funds.
16
+ #
17
+ # @return [String]
18
+ required :account_id, String
19
+
13
20
  # @!attribute amount
14
21
  # The amount being requested in cents.
15
22
  #
@@ -139,13 +146,17 @@ module Increase
139
146
  # @return [String, nil]
140
147
  required :unstructured_remittance_information, String, nil?: true
141
148
 
142
- # @!method initialize(id:, amount:, created_at:, creditor_account_number:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, creditor_routing_number:, currency:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, end_to_end_identification:, input_message_accountability_data:, instruction_identification:, recipient_account_number_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
149
+ # @!method initialize(id:, account_id:, amount:, created_at:, creditor_account_number:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, creditor_routing_number:, currency:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, end_to_end_identification:, input_message_accountability_data:, instruction_identification:, recipient_account_number_id:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
143
150
  # Inbound wire drawdown requests are requests from someone else to send them a
144
151
  # wire. For more information, see our
145
152
  # [Wire Drawdown Requests documentation](/documentation/wire-drawdown-requests).
146
153
  #
147
154
  # @param id [String] The Wire drawdown request identifier.
148
155
  #
156
+ # @param account_id [String]
157
+ # The Account from which the recipient of this request is being requested to send
158
+ # funds.
159
+ #
149
160
  # @param amount [Integer] The amount being requested in cents.
150
161
  #
151
162
  # @param created_at [Time]
@@ -96,7 +96,7 @@ module Increase
96
96
  required :debtor_name, String, nil?: true
97
97
 
98
98
  # @!attribute debtor_routing_number
99
- # The American Banking Association (ABA) routing number of the sender.
99
+ # The American Bankers' Association (ABA) routing number of the sender.
100
100
  #
101
101
  # @return [String, nil]
102
102
  required :debtor_routing_number, String, nil?: true
@@ -122,7 +122,7 @@ module Increase
122
122
  required :input_message_accountability_data, String, nil?: true
123
123
 
124
124
  # @!attribute instructing_agent_routing_number
125
- # The American Banking Association (ABA) routing number of the bank that sent the
125
+ # The American Bankers' Association (ABA) routing number of the bank that sent the
126
126
  # wire.
127
127
  #
128
128
  # @return [String, nil]
@@ -217,7 +217,7 @@ module Increase
217
217
  # @param debtor_name [String, nil] A name set by the sender.
218
218
  #
219
219
  # @param debtor_routing_number [String, nil]
220
- # The American Banking Association (ABA) routing number of the sender.
220
+ # The American Bankers' Association (ABA) routing number of the sender.
221
221
  #
222
222
  # @param description [String] An Increase-constructed description of the transfer.
223
223
  #
@@ -230,7 +230,7 @@ module Increase
230
230
  # service and is helpful when debugging wires with the originating bank.
231
231
  #
232
232
  # @param instructing_agent_routing_number [String, nil]
233
- # The American Banking Association (ABA) routing number of the bank that sent the
233
+ # The American Bankers' Association (ABA) routing number of the bank that sent the
234
234
  # wire.
235
235
  #
236
236
  # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
@@ -30,7 +30,7 @@ module Increase
30
30
  required :entity_id, String
31
31
 
32
32
  # @!attribute excluded_at
33
- # When this was exclusion was confirmed by IntraFi.
33
+ # When this exclusion was confirmed by IntraFi.
34
34
  #
35
35
  # @return [Time, nil]
36
36
  required :excluded_at, Time, nil?: true
@@ -57,7 +57,7 @@ module Increase
57
57
  required :status, enum: -> { Increase::IntrafiExclusion::Status }
58
58
 
59
59
  # @!attribute submitted_at
60
- # When this was exclusion was submitted to IntraFi by Increase.
60
+ # When this exclusion was submitted to IntraFi by Increase.
61
61
  #
62
62
  # @return [Time, nil]
63
63
  required :submitted_at, Time, nil?: true
@@ -85,7 +85,7 @@ module Increase
85
85
  #
86
86
  # @param entity_id [String] The entity for which this institution is excluded.
87
87
  #
88
- # @param excluded_at [Time, nil] When this was exclusion was confirmed by IntraFi.
88
+ # @param excluded_at [Time, nil] When this exclusion was confirmed by IntraFi.
89
89
  #
90
90
  # @param fdic_certificate_number [String, nil]
91
91
  # The Federal Deposit Insurance Corporation's certificate number for the
@@ -98,7 +98,7 @@ module Increase
98
98
  #
99
99
  # @param status [Symbol, Increase::Models::IntrafiExclusion::Status] The status of the exclusion request.
100
100
  #
101
- # @param submitted_at [Time, nil] When this was exclusion was submitted to IntraFi by Increase.
101
+ # @param submitted_at [Time, nil] When this exclusion was submitted to IntraFi by Increase.
102
102
  #
103
103
  # @param type [Symbol, Increase::Models::IntrafiExclusion::Type]
104
104
  # A constant representing the object's type. For this resource it will always be
@@ -27,7 +27,7 @@ module Increase
27
27
  optional :description, String
28
28
 
29
29
  # @!attribute recipient_name
30
- # The name of the Lockbox Recipient
30
+ # The name of the Lockbox Recipient.
31
31
  #
32
32
  # @return [String, nil]
33
33
  optional :recipient_name, String
@@ -42,7 +42,7 @@ module Increase
42
42
  #
43
43
  # @param description [String] The description you choose for the Lockbox Recipient.
44
44
  #
45
- # @param recipient_name [String] The name of the Lockbox Recipient
45
+ # @param recipient_name [String] The name of the Lockbox Recipient.
46
46
  #
47
47
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
48
48
  end
@@ -768,9 +768,9 @@ module Increase
768
768
  required :actioner, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Actioner }
769
769
 
770
770
  # @!attribute additional_amounts
771
- # Additional amounts associated with the card authorization, such as ATM
772
- # surcharges fees. These are usually a subset of the `amount` field and are used
773
- # to provide more detailed information about the transaction.
771
+ # Additional amounts associated with the card authorization, such as ATM surcharge
772
+ # fees. These are usually a subset of the `amount` field and are used to provide
773
+ # more detailed information about the transaction.
774
774
  #
775
775
  # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts]
776
776
  required :additional_amounts,
@@ -811,8 +811,8 @@ module Increase
811
811
  required :direction, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Direction }
812
812
 
813
813
  # @!attribute expires_at
814
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
815
- # will expire and the pending transaction will be released.
814
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
815
+ # authorization will expire and the pending transaction will be released.
816
816
  #
817
817
  # @return [Time]
818
818
  required :expires_at, Time
@@ -983,9 +983,9 @@ module Increase
983
983
  # stand-in processing, or the user through a real-time decision.
984
984
  #
985
985
  # @param additional_amounts [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts]
986
- # Additional amounts associated with the card authorization, such as ATM
987
- # surcharges fees. These are usually a subset of the `amount` field and are used
988
- # to provide more detailed information about the transaction.
986
+ # Additional amounts associated with the card authorization, such as ATM surcharge
987
+ # fees. These are usually a subset of the `amount` field and are used to provide
988
+ # more detailed information about the transaction.
989
989
  #
990
990
  # @param amount [Integer]
991
991
  # The pending amount in the minor unit of the transaction's currency. For dollars,
@@ -1006,8 +1006,8 @@ module Increase
1006
1006
  # cardholder to the merchant or from the merchant to the cardholder.
1007
1007
  #
1008
1008
  # @param expires_at [Time]
1009
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
1010
- # will expire and the pending transaction will be released.
1009
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which this
1010
+ # authorization will expire and the pending transaction will be released.
1011
1011
  #
1012
1012
  # @param healthcare [Increase::Models::PendingTransaction::Source::CardAuthorization::Healthcare, nil]
1013
1013
  # The healthcare-related fields for this authorization. Only present for specific
@@ -1210,9 +1210,9 @@ module Increase
1210
1210
  nil?: true
1211
1211
 
1212
1212
  # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
1213
- # Additional amounts associated with the card authorization, such as ATM
1214
- # surcharges fees. These are usually a subset of the `amount` field and are used
1215
- # to provide more detailed information about the transaction.
1213
+ # Additional amounts associated with the card authorization, such as ATM surcharge
1214
+ # fees. These are usually a subset of the `amount` field and are used to provide
1215
+ # more detailed information about the transaction.
1216
1216
  #
1217
1217
  # @param clinic [Increase::Models::PendingTransaction::Source::CardAuthorization::AdditionalAmounts::Clinic, nil]
1218
1218
  # The part of this transaction amount that was for clinic-related services.
@@ -193,9 +193,8 @@ module Increase
193
193
  class Status < Increase::Internal::Type::BaseModel
194
194
  # @!attribute in_
195
195
  # Filter Pending Transactions for those with the specified status. By default only
196
- # Pending Transactions in with status `pending` will be returned. For GET
197
- # requests, this should be encoded as a comma-delimited string, such as
198
- # `?in=one,two,three`.
196
+ # Pending Transactions with status `pending` will be returned. For GET requests,
197
+ # this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
199
198
  #
200
199
  # @return [Array<Symbol, Increase::Models::PendingTransactionListParams::Status::In>, nil]
201
200
  optional :in_,
@@ -207,9 +206,8 @@ module Increase
207
206
  # @!method initialize(in_: nil)
208
207
  # @param in_ [Array<Symbol, Increase::Models::PendingTransactionListParams::Status::In>]
209
208
  # Filter Pending Transactions for those with the specified status. By default only
210
- # Pending Transactions in with status `pending` will be returned. For GET
211
- # requests, this should be encoded as a comma-delimited string, such as
212
- # `?in=one,two,three`.
209
+ # Pending Transactions with status `pending` will be returned. For GET requests,
210
+ # this should be encoded as a comma-delimited string, such as `?in=one,two,three`.
213
211
 
214
212
  module In
215
213
  extend Increase::Internal::Type::Enum
@@ -10,6 +10,12 @@ module Increase
10
10
  # @return [String]
11
11
  required :id, String
12
12
 
13
+ # @!attribute account_id
14
+ # The identifier for the Account this Physical Card belongs to.
15
+ #
16
+ # @return [String]
17
+ required :account_id, String
18
+
13
19
  # @!attribute card_id
14
20
  # The identifier for the Card this Physical Card represents.
15
21
  #
@@ -62,7 +68,7 @@ module Increase
62
68
  # @return [Symbol, Increase::Models::PhysicalCard::Type]
63
69
  required :type, enum: -> { Increase::PhysicalCard::Type }
64
70
 
65
- # @!method initialize(id:, card_id:, cardholder:, created_at:, idempotency_key:, physical_card_profile_id:, shipment:, status:, type:)
71
+ # @!method initialize(id:, account_id:, card_id:, cardholder:, created_at:, idempotency_key:, physical_card_profile_id:, shipment:, status:, type:)
66
72
  # Custom physical Visa cards that are shipped to your customers. The artwork is
67
73
  # configurable by a connected [Card Profile](/documentation/api#card-profiles).
68
74
  # The same Card can be used for multiple Physical Cards. Printing cards incurs a
@@ -71,6 +77,8 @@ module Increase
71
77
  #
72
78
  # @param id [String] The physical card identifier.
73
79
  #
80
+ # @param account_id [String] The identifier for the Account this Physical Card belongs to.
81
+ #
74
82
  # @param card_id [String] The identifier for the Card this Physical Card represents.
75
83
  #
76
84
  # @param cardholder [Increase::Models::PhysicalCard::Cardholder]
@@ -975,9 +975,9 @@ module Increase
975
975
  required :account_id, String
976
976
 
977
977
  # @!attribute additional_amounts
978
- # Additional amounts associated with the card authorization, such as ATM
979
- # surcharges fees. These are usually a subset of the `amount` field and are used
980
- # to provide more detailed information about the transaction.
978
+ # Additional amounts associated with the card authorization, such as ATM surcharge
979
+ # fees. These are usually a subset of the `amount` field and are used to provide
980
+ # more detailed information about the transaction.
981
981
  #
982
982
  # @return [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts]
983
983
  required :additional_amounts, -> { Increase::RealTimeDecision::CardAuthorization::AdditionalAmounts }
@@ -1187,9 +1187,9 @@ module Increase
1187
1187
  # @param account_id [String] The identifier of the Account the authorization will debit.
1188
1188
  #
1189
1189
  # @param additional_amounts [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts]
1190
- # Additional amounts associated with the card authorization, such as ATM
1191
- # surcharges fees. These are usually a subset of the `amount` field and are used
1192
- # to provide more detailed information about the transaction.
1190
+ # Additional amounts associated with the card authorization, such as ATM surcharge
1191
+ # fees. These are usually a subset of the `amount` field and are used to provide
1192
+ # more detailed information about the transaction.
1193
1193
  #
1194
1194
  # @param approval [Increase::Models::RealTimeDecision::CardAuthorization::Approval, nil]
1195
1195
  # Present if and only if `decision` is `approve`. Contains information related to
@@ -1379,9 +1379,9 @@ module Increase
1379
1379
  nil?: true
1380
1380
 
1381
1381
  # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
1382
- # Additional amounts associated with the card authorization, such as ATM
1383
- # surcharges fees. These are usually a subset of the `amount` field and are used
1384
- # to provide more detailed information about the transaction.
1382
+ # Additional amounts associated with the card authorization, such as ATM surcharge
1383
+ # fees. These are usually a subset of the `amount` field and are used to provide
1384
+ # more detailed information about the transaction.
1385
1385
  #
1386
1386
  # @param clinic [Increase::Models::RealTimeDecision::CardAuthorization::AdditionalAmounts::Clinic, nil]
1387
1387
  # The part of this transaction amount that was for clinic-related services.
@@ -2543,9 +2543,9 @@ module Increase
2543
2543
  required :account_id, String
2544
2544
 
2545
2545
  # @!attribute additional_amounts
2546
- # Additional amounts associated with the card authorization, such as ATM
2547
- # surcharges fees. These are usually a subset of the `amount` field and are used
2548
- # to provide more detailed information about the transaction.
2546
+ # Additional amounts associated with the card authorization, such as ATM surcharge
2547
+ # fees. These are usually a subset of the `amount` field and are used to provide
2548
+ # more detailed information about the transaction.
2549
2549
  #
2550
2550
  # @return [Increase::Models::RealTimeDecision::CardBalanceInquiry::AdditionalAmounts]
2551
2551
  required :additional_amounts, -> { Increase::RealTimeDecision::CardBalanceInquiry::AdditionalAmounts }
@@ -2674,9 +2674,9 @@ module Increase
2674
2674
  # @param account_id [String] The identifier of the Account the authorization will debit.
2675
2675
  #
2676
2676
  # @param additional_amounts [Increase::Models::RealTimeDecision::CardBalanceInquiry::AdditionalAmounts]
2677
- # Additional amounts associated with the card authorization, such as ATM
2678
- # surcharges fees. These are usually a subset of the `amount` field and are used
2679
- # to provide more detailed information about the transaction.
2677
+ # Additional amounts associated with the card authorization, such as ATM surcharge
2678
+ # fees. These are usually a subset of the `amount` field and are used to provide
2679
+ # more detailed information about the transaction.
2680
2680
  #
2681
2681
  # @param approval [Increase::Models::RealTimeDecision::CardBalanceInquiry::Approval, nil]
2682
2682
  # Present if and only if `decision` is `approve`. Contains information related to
@@ -2820,9 +2820,9 @@ module Increase
2820
2820
  nil?: true
2821
2821
 
2822
2822
  # @!method initialize(clinic:, dental:, original:, prescription:, surcharge:, total_cumulative:, total_healthcare:, transit:, unknown:, vision:)
2823
- # Additional amounts associated with the card authorization, such as ATM
2824
- # surcharges fees. These are usually a subset of the `amount` field and are used
2825
- # to provide more detailed information about the transaction.
2823
+ # Additional amounts associated with the card authorization, such as ATM surcharge
2824
+ # fees. These are usually a subset of the `amount` field and are used to provide
2825
+ # more detailed information about the transaction.
2826
2826
  #
2827
2827
  # @param clinic [Increase::Models::RealTimeDecision::CardBalanceInquiry::AdditionalAmounts::Clinic, nil]
2828
2828
  # The part of this transaction amount that was for clinic-related services.
@@ -48,7 +48,7 @@ module Increase
48
48
  optional :merchant_country, String
49
49
 
50
50
  # @!attribute merchant_name
51
- # The name of the merchant
51
+ # The name of the merchant.
52
52
  #
53
53
  # @return [String, nil]
54
54
  optional :merchant_name, String
@@ -78,7 +78,7 @@ module Increase
78
78
  #
79
79
  # @param merchant_country [String] The country the merchant resides in.
80
80
  #
81
- # @param merchant_name [String] The name of the merchant
81
+ # @param merchant_name [String] The name of the merchant.
82
82
  #
83
83
  # @param purchase_amount [Integer] The purchase amount in cents.
84
84
  #
@@ -22,8 +22,8 @@ module Increase
22
22
  required :network, enum: -> { Increase::Simulations::CardDisputeActionParams::Network }
23
23
 
24
24
  # @!attribute visa
25
- # The Visa-specific parameters for the taking action on the dispute. Required if
26
- # and only if `network` is `visa`.
25
+ # The Visa-specific parameters for taking action on the dispute. Required if and
26
+ # only if `network` is `visa`.
27
27
  #
28
28
  # @return [Increase::Models::Simulations::CardDisputeActionParams::Visa, nil]
29
29
  optional :visa, -> { Increase::Simulations::CardDisputeActionParams::Visa }
@@ -36,8 +36,8 @@ module Increase
36
36
  # under the sub-object with the same identifier as the network.
37
37
  #
38
38
  # @param visa [Increase::Models::Simulations::CardDisputeActionParams::Visa]
39
- # The Visa-specific parameters for the taking action on the dispute. Required if
40
- # and only if `network` is `visa`.
39
+ # The Visa-specific parameters for taking action on the dispute. Required if and
40
+ # only if `network` is `visa`.
41
41
  #
42
42
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
43
43
 
@@ -147,8 +147,8 @@ module Increase
147
147
  -> { Increase::Simulations::CardDisputeActionParams::Visa::TimeOutUserPrearbitration }
148
148
 
149
149
  # @!method initialize(action:, accept_chargeback: nil, accept_user_submission: nil, decline_user_prearbitration: nil, receive_merchant_prearbitration: nil, reject: nil, represent: nil, request_further_information: nil, time_out_chargeback: nil, time_out_merchant_prearbitration: nil, time_out_representment: nil, time_out_user_prearbitration: nil)
150
- # The Visa-specific parameters for the taking action on the dispute. Required if
151
- # and only if `network` is `visa`.
150
+ # The Visa-specific parameters for taking action on the dispute. Required if and
151
+ # only if `network` is `visa`.
152
152
  #
153
153
  # @param action [Symbol, Increase::Models::Simulations::CardDisputeActionParams::Visa::Action]
154
154
  # The action to take. Details specific to the action are required under the