modern_treasury 0.26.0 → 0.28.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/CHANGELOG.md +71 -0
- data/README.md +4 -4
- data/lib/modern_treasury/client.rb +14 -0
- data/lib/modern_treasury/internal/transport/base_client.rb +5 -0
- data/lib/modern_treasury/internal/util.rb +3 -1
- data/lib/modern_treasury/models/bulk_request_create_params.rb +65 -202
- data/lib/modern_treasury/models/child_legal_entity.rb +121 -3
- data/lib/modern_treasury/models/child_legal_entity_create.rb +35 -1
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +38 -1
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -2
- data/lib/modern_treasury/models/counterparty_create_params.rb +38 -14
- data/lib/modern_treasury/models/currency.rb +0 -3
- data/lib/modern_treasury/models/document.rb +1 -73
- data/lib/modern_treasury/models/document_create_params.rb +11 -11
- data/lib/modern_treasury/models/document_list_params.rb +11 -11
- data/lib/modern_treasury/models/expected_payment.rb +2 -3
- data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
- data/lib/modern_treasury/models/expected_payment_list_params.rb +3 -16
- data/lib/modern_treasury/models/expected_payment_type.rb +1 -13
- data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
- data/lib/modern_treasury/models/external_account_create_params.rb +0 -13
- data/lib/modern_treasury/models/external_account_verify_params.rb +0 -11
- data/lib/modern_treasury/models/external_account_verify_response.rb +0 -11
- data/lib/modern_treasury/models/hold_list_params.rb +8 -11
- data/lib/modern_treasury/models/identification_create_request.rb +75 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +15 -14
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +11 -7
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +15 -12
- data/lib/modern_treasury/models/internal_account.rb +12 -12
- data/lib/modern_treasury/models/internal_account_create_params.rb +37 -33
- data/lib/modern_treasury/models/internal_account_list_params.rb +0 -11
- data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +0 -11
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +15 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +20 -11
- data/lib/modern_treasury/models/invoice.rb +25 -1
- data/lib/modern_treasury/models/invoice_create_params.rb +3 -4
- data/lib/modern_treasury/models/invoice_update_params.rb +3 -4
- data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +10 -1
- data/lib/modern_treasury/models/ledger_balance.rb +22 -1
- data/lib/modern_treasury/models/ledger_entry.rb +10 -1
- data/lib/modern_treasury/models/ledger_entry_create_request.rb +19 -10
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +69 -10
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +10 -1
- data/lib/modern_treasury/models/legal_entity.rb +121 -3
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +14 -1
- data/lib/modern_treasury/models/legal_entity_association.rb +2 -3
- data/lib/modern_treasury/models/legal_entity_create_params.rb +34 -1
- data/lib/modern_treasury/models/legal_entity_update_params.rb +34 -1
- data/lib/modern_treasury/models/legal_entity_update_status_params.rb +46 -0
- data/lib/modern_treasury/models/payment_order.rb +9 -10
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +4 -18
- data/lib/modern_treasury/models/payment_order_create_params.rb +15 -29
- data/lib/modern_treasury/models/payment_order_list_params.rb +0 -11
- data/lib/modern_treasury/models/payment_order_subtype.rb +2 -3
- data/lib/modern_treasury/models/payment_order_type.rb +2 -14
- data/lib/modern_treasury/models/payment_order_update_params.rb +4 -18
- data/lib/modern_treasury/models/payment_reference.rb +5 -5
- data/lib/modern_treasury/models/reconciliation_rule.rb +3 -16
- data/lib/modern_treasury/models/return_object.rb +11 -8
- data/lib/modern_treasury/models/routing_detail.rb +0 -13
- data/lib/modern_treasury/models/routing_detail_create_params.rb +0 -13
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +0 -11
- data/lib/modern_treasury/models/third_party_verification.rb +2 -0
- data/lib/modern_treasury/models/transaction.rb +17 -20
- data/lib/modern_treasury/models/transaction_create_params.rb +23 -25
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +0 -2
- data/lib/modern_treasury/models/virtual_account_create_params.rb +0 -13
- data/lib/modern_treasury/models.rb +2 -0
- data/lib/modern_treasury/resources/bulk_requests.rb +1 -1
- data/lib/modern_treasury/resources/expected_payments.rb +3 -3
- data/lib/modern_treasury/resources/holds.rb +3 -3
- data/lib/modern_treasury/resources/incoming_payment_details.rb +7 -3
- data/lib/modern_treasury/resources/internal_accounts.rb +8 -6
- data/lib/modern_treasury/resources/invoices.rb +2 -2
- data/lib/modern_treasury/resources/ledger_account_settlements.rb +3 -1
- data/lib/modern_treasury/resources/legal_entities.rb +33 -2
- data/lib/modern_treasury/resources/payment_orders.rb +3 -3
- data/lib/modern_treasury/resources/transactions.rb +5 -3
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +1 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +104 -522
- data/rbi/modern_treasury/models/child_legal_entity.rbi +452 -5
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +68 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +74 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -10
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +74 -65
- data/rbi/modern_treasury/models/currency.rbi +0 -3
- data/rbi/modern_treasury/models/document.rbi +0 -87
- data/rbi/modern_treasury/models/document_create_params.rbi +22 -22
- data/rbi/modern_treasury/models/document_list_params.rbi +22 -22
- data/rbi/modern_treasury/models/expected_payment.rbi +2 -4
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +2 -4
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +3 -61
- data/rbi/modern_treasury/models/expected_payment_type.rbi +1 -18
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +2 -4
- data/rbi/modern_treasury/models/external_account_create_params.rbi +0 -65
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +0 -55
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +0 -55
- data/rbi/modern_treasury/models/hold_list_params.rbi +8 -13
- data/rbi/modern_treasury/models/identification_create_request.rbi +375 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +17 -43
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +12 -27
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +20 -33
- data/rbi/modern_treasury/models/internal_account.rbi +14 -55
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +60 -77
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +0 -55
- data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +0 -55
- data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +17 -7
- data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +31 -15
- data/rbi/modern_treasury/models/invoice.rbi +27 -3
- data/rbi/modern_treasury/models/invoice_create_params.rbi +4 -6
- data/rbi/modern_treasury/models/invoice_update_params.rbi +4 -6
- data/rbi/modern_treasury/models/ledger_account_settlement_update_params.rbi +10 -0
- data/rbi/modern_treasury/models/ledger_balance.rbi +21 -3
- data/rbi/modern_treasury/models/ledger_entry.rbi +10 -0
- data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +26 -10
- data/rbi/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +89 -13
- data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +10 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +451 -5
- data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +18 -3
- data/rbi/modern_treasury/models/legal_entity_association.rbi +2 -4
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +68 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +68 -0
- data/rbi/modern_treasury/models/legal_entity_update_status_params.rbi +96 -0
- data/rbi/modern_treasury/models/payment_order.rbi +30 -32
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +6 -73
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +28 -95
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +0 -55
- data/rbi/modern_treasury/models/payment_order_subtype.rbi +3 -4
- data/rbi/modern_treasury/models/payment_order_type.rbi +2 -16
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +6 -73
- data/rbi/modern_treasury/models/payment_reference.rbi +24 -24
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +3 -43
- data/rbi/modern_treasury/models/return_object.rbi +33 -29
- data/rbi/modern_treasury/models/routing_detail.rbi +0 -59
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +0 -65
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +0 -55
- data/rbi/modern_treasury/models/third_party_verification.rbi +10 -0
- data/rbi/modern_treasury/models/transaction.rbi +24 -35
- data/rbi/modern_treasury/models/transaction_create_params.rbi +33 -72
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +0 -10
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +0 -65
- data/rbi/modern_treasury/models.rbi +3 -0
- data/rbi/modern_treasury/resources/bulk_requests.rbi +3 -2
- data/rbi/modern_treasury/resources/expected_payments.rbi +3 -6
- data/rbi/modern_treasury/resources/holds.rbi +3 -5
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +10 -2
- data/rbi/modern_treasury/resources/internal_accounts.rbi +15 -8
- data/rbi/modern_treasury/resources/invoices.rbi +4 -6
- data/rbi/modern_treasury/resources/ledger_account_settlements.rbi +4 -0
- data/rbi/modern_treasury/resources/legal_entities.rbi +31 -0
- data/rbi/modern_treasury/resources/payment_orders.rbi +9 -12
- data/rbi/modern_treasury/resources/transactions.rbi +11 -7
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +45 -207
- data/sig/modern_treasury/models/child_legal_entity.rbs +179 -2
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +21 -0
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +21 -0
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -4
- data/sig/modern_treasury/models/counterparty_create_params.rbs +21 -26
- data/sig/modern_treasury/models/currency.rbs +0 -6
- data/sig/modern_treasury/models/document.rbs +0 -57
- data/sig/modern_treasury/models/document_create_params.rbs +22 -22
- data/sig/modern_treasury/models/document_list_params.rbs +22 -22
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +0 -22
- data/sig/modern_treasury/models/expected_payment_type.rbs +0 -22
- data/sig/modern_treasury/models/external_account_create_params.rbs +0 -26
- data/sig/modern_treasury/models/external_account_verify_params.rbs +0 -22
- data/sig/modern_treasury/models/external_account_verify_response.rbs +0 -22
- data/sig/modern_treasury/models/identification_create_request.rbs +150 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +7 -16
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +7 -12
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +9 -12
- data/sig/modern_treasury/models/internal_account.rbs +5 -22
- data/sig/modern_treasury/models/internal_account_create_params.rbs +22 -33
- data/sig/modern_treasury/models/internal_account_list_params.rbs +0 -22
- data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +0 -22
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +9 -4
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +17 -8
- data/sig/modern_treasury/models/invoice.rbs +18 -3
- data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +5 -0
- data/sig/modern_treasury/models/ledger_balance.rbs +18 -3
- data/sig/modern_treasury/models/ledger_entry.rbs +5 -0
- data/sig/modern_treasury/models/ledger_entry_create_request.rbs +14 -5
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +42 -8
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +5 -0
- data/sig/modern_treasury/models/legal_entity.rbs +179 -2
- data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +10 -3
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +21 -0
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +21 -0
- data/sig/modern_treasury/models/legal_entity_update_status_params.rbs +43 -0
- data/sig/modern_treasury/models/payment_order.rbs +10 -10
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +0 -26
- data/sig/modern_treasury/models/payment_order_create_params.rbs +22 -48
- data/sig/modern_treasury/models/payment_order_list_params.rbs +0 -22
- data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -6
- data/sig/modern_treasury/models/payment_order_type.rbs +0 -22
- data/sig/modern_treasury/models/payment_order_update_params.rbs +0 -26
- data/sig/modern_treasury/models/payment_reference.rbs +10 -10
- data/sig/modern_treasury/models/reconciliation_rule.rbs +0 -22
- data/sig/modern_treasury/models/return_object.rbs +18 -12
- data/sig/modern_treasury/models/routing_detail.rbs +0 -26
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +0 -26
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +0 -22
- data/sig/modern_treasury/models/third_party_verification.rbs +4 -1
- data/sig/modern_treasury/models/transaction.rbs +7 -26
- data/sig/modern_treasury/models/transaction_create_params.rbs +14 -27
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +0 -4
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +0 -26
- data/sig/modern_treasury/models.rbs +2 -0
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +2 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +3 -2
- data/sig/modern_treasury/resources/ledger_account_settlements.rbs +1 -0
- data/sig/modern_treasury/resources/legal_entities.rbs +8 -0
- data/sig/modern_treasury/resources/transactions.rbs +2 -1
- metadata +5 -2
|
@@ -171,8 +171,7 @@ module ModernTreasury
|
|
|
171
171
|
optional :statement_descriptor, String, nil?: true
|
|
172
172
|
|
|
173
173
|
# @!attribute type
|
|
174
|
-
# One of: ach, au_becs, bacs, book, check, eft,
|
|
175
|
-
# sepa, signet, wire.
|
|
174
|
+
# One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
|
|
176
175
|
#
|
|
177
176
|
# @return [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil]
|
|
178
177
|
optional :type, enum: -> { ModernTreasury::ExpectedPaymentType }, nil?: true
|
|
@@ -227,7 +226,7 @@ module ModernTreasury
|
|
|
227
226
|
#
|
|
228
227
|
# @param statement_descriptor [String, nil] The statement description you expect to see on the transaction. For ACH payments
|
|
229
228
|
#
|
|
230
|
-
# @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft,
|
|
229
|
+
# @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
|
|
231
230
|
#
|
|
232
231
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
233
232
|
|
|
@@ -67,8 +67,7 @@ module ModernTreasury
|
|
|
67
67
|
optional :status, enum: -> { ModernTreasury::ExpectedPaymentListParams::Status }
|
|
68
68
|
|
|
69
69
|
# @!attribute type
|
|
70
|
-
# One of: ach, au_becs, bacs, book, check, eft,
|
|
71
|
-
# sepa, signet, wire
|
|
70
|
+
# One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire
|
|
72
71
|
#
|
|
73
72
|
# @return [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Type, nil]
|
|
74
73
|
optional :type, enum: -> { ModernTreasury::ExpectedPaymentListParams::Type }
|
|
@@ -109,7 +108,7 @@ module ModernTreasury
|
|
|
109
108
|
#
|
|
110
109
|
# @param status [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Status] One of unreconciled, reconciled, or archived.
|
|
111
110
|
#
|
|
112
|
-
# @param type [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Type] One of: ach, au_becs, bacs, book, check, eft,
|
|
111
|
+
# @param type [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Type] One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire
|
|
113
112
|
#
|
|
114
113
|
# @param updated_at_lower_bound [Time] Used to return expected payments updated after some datetime
|
|
115
114
|
#
|
|
@@ -130,15 +129,13 @@ module ModernTreasury
|
|
|
130
129
|
# @return [Array<Symbol>]
|
|
131
130
|
end
|
|
132
131
|
|
|
133
|
-
# One of: ach, au_becs, bacs, book, check, eft,
|
|
134
|
-
# sepa, signet, wire
|
|
132
|
+
# One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire
|
|
135
133
|
module Type
|
|
136
134
|
extend ModernTreasury::Internal::Type::Enum
|
|
137
135
|
|
|
138
136
|
ACH = :ach
|
|
139
137
|
AU_BECS = :au_becs
|
|
140
138
|
BACS = :bacs
|
|
141
|
-
BASE = :base
|
|
142
139
|
BOOK = :book
|
|
143
140
|
CARD = :card
|
|
144
141
|
CHATS = :chats
|
|
@@ -146,28 +143,18 @@ module ModernTreasury
|
|
|
146
143
|
CROSS_BORDER = :cross_border
|
|
147
144
|
DK_NETS = :dk_nets
|
|
148
145
|
EFT = :eft
|
|
149
|
-
ETHEREUM = :ethereum
|
|
150
146
|
GB_FPS = :gb_fps
|
|
151
|
-
HU_ICS = :hu_ics
|
|
152
|
-
INTERAC = :interac
|
|
153
147
|
MASAV = :masav
|
|
154
148
|
MX_CCEN = :mx_ccen
|
|
155
149
|
NEFT = :neft
|
|
156
150
|
NICS = :nics
|
|
157
151
|
NZ_BECS = :nz_becs
|
|
158
152
|
PL_ELIXIR = :pl_elixir
|
|
159
|
-
POLYGON = :polygon
|
|
160
|
-
PROVXCHANGE = :provxchange
|
|
161
|
-
RO_SENT = :ro_sent
|
|
162
153
|
RTP = :rtp
|
|
163
154
|
SE_BANKGIROT = :se_bankgirot
|
|
164
|
-
SEN = :sen
|
|
165
155
|
SEPA = :sepa
|
|
166
156
|
SG_GIRO = :sg_giro
|
|
167
157
|
SIC = :sic
|
|
168
|
-
SIGNET = :signet
|
|
169
|
-
SKNBI = :sknbi
|
|
170
|
-
SOLANA = :solana
|
|
171
158
|
STABLECOIN = :stablecoin
|
|
172
159
|
WIRE = :wire
|
|
173
160
|
ZENGIN = :zengin
|
|
@@ -2,15 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
module ModernTreasury
|
|
4
4
|
module Models
|
|
5
|
-
# One of: ach, au_becs, bacs, book, check, eft,
|
|
6
|
-
# sepa, signet, wire.
|
|
5
|
+
# One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
|
|
7
6
|
module ExpectedPaymentType
|
|
8
7
|
extend ModernTreasury::Internal::Type::Enum
|
|
9
8
|
|
|
10
9
|
ACH = :ach
|
|
11
10
|
AU_BECS = :au_becs
|
|
12
11
|
BACS = :bacs
|
|
13
|
-
BASE = :base
|
|
14
12
|
BOOK = :book
|
|
15
13
|
CARD = :card
|
|
16
14
|
CHATS = :chats
|
|
@@ -18,28 +16,18 @@ module ModernTreasury
|
|
|
18
16
|
CROSS_BORDER = :cross_border
|
|
19
17
|
DK_NETS = :dk_nets
|
|
20
18
|
EFT = :eft
|
|
21
|
-
ETHEREUM = :ethereum
|
|
22
19
|
GB_FPS = :gb_fps
|
|
23
|
-
HU_ICS = :hu_ics
|
|
24
|
-
INTERAC = :interac
|
|
25
20
|
MASAV = :masav
|
|
26
21
|
MX_CCEN = :mx_ccen
|
|
27
22
|
NEFT = :neft
|
|
28
23
|
NICS = :nics
|
|
29
24
|
NZ_BECS = :nz_becs
|
|
30
25
|
PL_ELIXIR = :pl_elixir
|
|
31
|
-
POLYGON = :polygon
|
|
32
|
-
PROVXCHANGE = :provxchange
|
|
33
|
-
RO_SENT = :ro_sent
|
|
34
26
|
RTP = :rtp
|
|
35
27
|
SE_BANKGIROT = :se_bankgirot
|
|
36
|
-
SEN = :sen
|
|
37
28
|
SEPA = :sepa
|
|
38
29
|
SG_GIRO = :sg_giro
|
|
39
30
|
SIC = :sic
|
|
40
|
-
SIGNET = :signet
|
|
41
|
-
SKNBI = :sknbi
|
|
42
|
-
SOLANA = :solana
|
|
43
31
|
STABLECOIN = :stablecoin
|
|
44
32
|
WIRE = :wire
|
|
45
33
|
ZENGIN = :zengin
|
|
@@ -159,8 +159,7 @@ module ModernTreasury
|
|
|
159
159
|
optional :status, enum: -> { ModernTreasury::ExpectedPaymentUpdateParams::Status }, nil?: true
|
|
160
160
|
|
|
161
161
|
# @!attribute type
|
|
162
|
-
# One of: ach, au_becs, bacs, book, check, eft,
|
|
163
|
-
# sepa, signet, wire.
|
|
162
|
+
# One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
|
|
164
163
|
#
|
|
165
164
|
# @return [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil]
|
|
166
165
|
optional :type, enum: -> { ModernTreasury::ExpectedPaymentType }, nil?: true
|
|
@@ -213,7 +212,7 @@ module ModernTreasury
|
|
|
213
212
|
#
|
|
214
213
|
# @param status [Symbol, ModernTreasury::Models::ExpectedPaymentUpdateParams::Status, nil] The Expected Payment's status can be updated from partially_reconciled to reconc
|
|
215
214
|
#
|
|
216
|
-
# @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft,
|
|
215
|
+
# @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
|
|
217
216
|
#
|
|
218
217
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
219
218
|
|
|
@@ -218,8 +218,6 @@ module ModernTreasury
|
|
|
218
218
|
DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
|
|
219
219
|
GB_SORT_CODE = :gb_sort_code
|
|
220
220
|
HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
|
|
221
|
-
HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
|
|
222
|
-
ID_SKNBI_CODE = :id_sknbi_code
|
|
223
221
|
IL_BANK_CODE = :il_bank_code
|
|
224
222
|
IN_IFSC = :in_ifsc
|
|
225
223
|
JP_ZENGIN_CODE = :jp_zengin_code
|
|
@@ -243,7 +241,6 @@ module ModernTreasury
|
|
|
243
241
|
ACH = :ach
|
|
244
242
|
AU_BECS = :au_becs
|
|
245
243
|
BACS = :bacs
|
|
246
|
-
BASE = :base
|
|
247
244
|
BOOK = :book
|
|
248
245
|
CARD = :card
|
|
249
246
|
CHATS = :chats
|
|
@@ -251,28 +248,18 @@ module ModernTreasury
|
|
|
251
248
|
CROSS_BORDER = :cross_border
|
|
252
249
|
DK_NETS = :dk_nets
|
|
253
250
|
EFT = :eft
|
|
254
|
-
ETHEREUM = :ethereum
|
|
255
251
|
GB_FPS = :gb_fps
|
|
256
|
-
HU_ICS = :hu_ics
|
|
257
|
-
INTERAC = :interac
|
|
258
252
|
MASAV = :masav
|
|
259
253
|
MX_CCEN = :mx_ccen
|
|
260
254
|
NEFT = :neft
|
|
261
255
|
NICS = :nics
|
|
262
256
|
NZ_BECS = :nz_becs
|
|
263
257
|
PL_ELIXIR = :pl_elixir
|
|
264
|
-
POLYGON = :polygon
|
|
265
|
-
PROVXCHANGE = :provxchange
|
|
266
|
-
RO_SENT = :ro_sent
|
|
267
258
|
RTP = :rtp
|
|
268
259
|
SE_BANKGIROT = :se_bankgirot
|
|
269
|
-
SEN = :sen
|
|
270
260
|
SEPA = :sepa
|
|
271
261
|
SG_GIRO = :sg_giro
|
|
272
262
|
SIC = :sic
|
|
273
|
-
SIGNET = :signet
|
|
274
|
-
SKNBI = :sknbi
|
|
275
|
-
SOLANA = :solana
|
|
276
263
|
STABLECOIN = :stablecoin
|
|
277
264
|
WIRE = :wire
|
|
278
265
|
ZENGIN = :zengin
|
|
@@ -71,7 +71,6 @@ module ModernTreasury
|
|
|
71
71
|
ACH = :ach
|
|
72
72
|
AU_BECS = :au_becs
|
|
73
73
|
BACS = :bacs
|
|
74
|
-
BASE = :base
|
|
75
74
|
BOOK = :book
|
|
76
75
|
CARD = :card
|
|
77
76
|
CHATS = :chats
|
|
@@ -79,28 +78,18 @@ module ModernTreasury
|
|
|
79
78
|
CROSS_BORDER = :cross_border
|
|
80
79
|
DK_NETS = :dk_nets
|
|
81
80
|
EFT = :eft
|
|
82
|
-
ETHEREUM = :ethereum
|
|
83
81
|
GB_FPS = :gb_fps
|
|
84
|
-
HU_ICS = :hu_ics
|
|
85
|
-
INTERAC = :interac
|
|
86
82
|
MASAV = :masav
|
|
87
83
|
MX_CCEN = :mx_ccen
|
|
88
84
|
NEFT = :neft
|
|
89
85
|
NICS = :nics
|
|
90
86
|
NZ_BECS = :nz_becs
|
|
91
87
|
PL_ELIXIR = :pl_elixir
|
|
92
|
-
POLYGON = :polygon
|
|
93
|
-
PROVXCHANGE = :provxchange
|
|
94
|
-
RO_SENT = :ro_sent
|
|
95
88
|
RTP = :rtp
|
|
96
89
|
SE_BANKGIROT = :se_bankgirot
|
|
97
|
-
SEN = :sen
|
|
98
90
|
SEPA = :sepa
|
|
99
91
|
SG_GIRO = :sg_giro
|
|
100
92
|
SIC = :sic
|
|
101
|
-
SIGNET = :signet
|
|
102
|
-
SKNBI = :sknbi
|
|
103
|
-
SOLANA = :solana
|
|
104
93
|
STABLECOIN = :stablecoin
|
|
105
94
|
WIRE = :wire
|
|
106
95
|
ZENGIN = :zengin
|
|
@@ -109,7 +109,6 @@ module ModernTreasury
|
|
|
109
109
|
ACH = :ach
|
|
110
110
|
AU_BECS = :au_becs
|
|
111
111
|
BACS = :bacs
|
|
112
|
-
BASE = :base
|
|
113
112
|
BOOK = :book
|
|
114
113
|
CARD = :card
|
|
115
114
|
CHATS = :chats
|
|
@@ -117,28 +116,18 @@ module ModernTreasury
|
|
|
117
116
|
CROSS_BORDER = :cross_border
|
|
118
117
|
DK_NETS = :dk_nets
|
|
119
118
|
EFT = :eft
|
|
120
|
-
ETHEREUM = :ethereum
|
|
121
119
|
GB_FPS = :gb_fps
|
|
122
|
-
HU_ICS = :hu_ics
|
|
123
|
-
INTERAC = :interac
|
|
124
120
|
MASAV = :masav
|
|
125
121
|
MX_CCEN = :mx_ccen
|
|
126
122
|
NEFT = :neft
|
|
127
123
|
NICS = :nics
|
|
128
124
|
NZ_BECS = :nz_becs
|
|
129
125
|
PL_ELIXIR = :pl_elixir
|
|
130
|
-
POLYGON = :polygon
|
|
131
|
-
PROVXCHANGE = :provxchange
|
|
132
|
-
RO_SENT = :ro_sent
|
|
133
126
|
RTP = :rtp
|
|
134
127
|
SE_BANKGIROT = :se_bankgirot
|
|
135
|
-
SEN = :sen
|
|
136
128
|
SEPA = :sepa
|
|
137
129
|
SG_GIRO = :sg_giro
|
|
138
130
|
SIC = :sic
|
|
139
|
-
SIGNET = :signet
|
|
140
|
-
SKNBI = :sknbi
|
|
141
|
-
SOLANA = :solana
|
|
142
131
|
STABLECOIN = :stablecoin
|
|
143
132
|
WIRE = :wire
|
|
144
133
|
ZENGIN = :zengin
|
|
@@ -26,21 +26,19 @@ module ModernTreasury
|
|
|
26
26
|
optional :per_page, Integer
|
|
27
27
|
|
|
28
28
|
# @!attribute status
|
|
29
|
-
#
|
|
29
|
+
# Only return holds for a specific status.
|
|
30
30
|
#
|
|
31
31
|
# @return [Symbol, ModernTreasury::Models::HoldListParams::Status, nil]
|
|
32
32
|
optional :status, enum: -> { ModernTreasury::HoldListParams::Status }, nil?: true
|
|
33
33
|
|
|
34
34
|
# @!attribute target_id
|
|
35
|
-
#
|
|
36
|
-
# en.openapi.descriptions.payment_order.query_params.target_id
|
|
35
|
+
# Only return holds for a specific target ID.
|
|
37
36
|
#
|
|
38
37
|
# @return [String, nil]
|
|
39
38
|
optional :target_id, String, nil?: true
|
|
40
39
|
|
|
41
40
|
# @!attribute target_type
|
|
42
|
-
#
|
|
43
|
-
# en.openapi.descriptions.payment_order.query_params.target_type
|
|
41
|
+
# Only return holds for a specific target type.
|
|
44
42
|
#
|
|
45
43
|
# @return [Symbol, ModernTreasury::Models::HoldListParams::TargetType, nil]
|
|
46
44
|
optional :target_type, enum: -> { ModernTreasury::HoldListParams::TargetType }, nil?: true
|
|
@@ -55,15 +53,15 @@ module ModernTreasury
|
|
|
55
53
|
#
|
|
56
54
|
# @param per_page [Integer]
|
|
57
55
|
#
|
|
58
|
-
# @param status [Symbol, ModernTreasury::Models::HoldListParams::Status, nil]
|
|
56
|
+
# @param status [Symbol, ModernTreasury::Models::HoldListParams::Status, nil] Only return holds for a specific status.
|
|
59
57
|
#
|
|
60
|
-
# @param target_id [String, nil]
|
|
58
|
+
# @param target_id [String, nil] Only return holds for a specific target ID.
|
|
61
59
|
#
|
|
62
|
-
# @param target_type [Symbol, ModernTreasury::Models::HoldListParams::TargetType, nil]
|
|
60
|
+
# @param target_type [Symbol, ModernTreasury::Models::HoldListParams::TargetType, nil] Only return holds for a specific target type.
|
|
63
61
|
#
|
|
64
62
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
65
63
|
|
|
66
|
-
#
|
|
64
|
+
# Only return holds for a specific status.
|
|
67
65
|
module Status
|
|
68
66
|
extend ModernTreasury::Internal::Type::Enum
|
|
69
67
|
|
|
@@ -74,8 +72,7 @@ module ModernTreasury
|
|
|
74
72
|
# @return [Array<Symbol>]
|
|
75
73
|
end
|
|
76
74
|
|
|
77
|
-
#
|
|
78
|
-
# en.openapi.descriptions.payment_order.query_params.target_type
|
|
75
|
+
# Only return holds for a specific target type.
|
|
79
76
|
module TargetType
|
|
80
77
|
extend ModernTreasury::Internal::Type::Enum
|
|
81
78
|
|
|
@@ -66,27 +66,102 @@ module ModernTreasury
|
|
|
66
66
|
|
|
67
67
|
AR_CUIL = :ar_cuil
|
|
68
68
|
AR_CUIT = :ar_cuit
|
|
69
|
+
AT_ATIN = :at_atin
|
|
70
|
+
AT_VAT = :at_vat
|
|
71
|
+
AU_ABN = :au_abn
|
|
72
|
+
AU_TFN = :au_tfn
|
|
73
|
+
BE_ENT = :be_ent
|
|
74
|
+
BE_NRN = :be_nrn
|
|
69
75
|
BR_CNPJ = :br_cnpj
|
|
70
76
|
BR_CPF = :br_cpf
|
|
77
|
+
CA_BN = :ca_bn
|
|
71
78
|
CA_SIN = :ca_sin
|
|
79
|
+
CH_AHV = :ch_ahv
|
|
80
|
+
CH_UID = :ch_uid
|
|
72
81
|
CL_RUN = :cl_run
|
|
73
82
|
CL_RUT = :cl_rut
|
|
74
83
|
CO_CEDULAS = :co_cedulas
|
|
75
84
|
CO_NIT = :co_nit
|
|
85
|
+
CY_TIN = :cy_tin
|
|
86
|
+
CZ_ICO = :cz_ico
|
|
87
|
+
CZ_RC = :cz_rc
|
|
88
|
+
DE_STID = :de_stid
|
|
89
|
+
DE_STNR = :de_stnr
|
|
90
|
+
DE_VAT = :de_vat
|
|
91
|
+
DK_CPR = :dk_cpr
|
|
92
|
+
DK_CVR = :dk_cvr
|
|
76
93
|
DRIVERS_LICENSE = :drivers_license
|
|
94
|
+
EE_IK = :ee_ik
|
|
95
|
+
EE_RK = :ee_rk
|
|
96
|
+
ES_NIE = :es_nie
|
|
97
|
+
ES_NIF = :es_nif
|
|
98
|
+
FI_HETU = :fi_hetu
|
|
99
|
+
FI_YTJ = :fi_ytj
|
|
100
|
+
FR_NIF = :fr_nif
|
|
101
|
+
FR_SIREN = :fr_siren
|
|
102
|
+
FR_VAT = :fr_vat
|
|
103
|
+
GB_NINO = :gb_nino
|
|
104
|
+
GB_UTR = :gb_utr
|
|
105
|
+
GB_VAT = :gb_vat
|
|
106
|
+
GENERIC_INTERNATIONAL = :generic_international
|
|
107
|
+
GR_VAT = :gr_vat
|
|
77
108
|
HN_ID = :hn_id
|
|
78
109
|
HN_RTN = :hn_rtn
|
|
110
|
+
HR_OIB = :hr_oib
|
|
111
|
+
HU_ADJ = :hu_adj
|
|
112
|
+
HU_ANUM = :hu_anum
|
|
79
113
|
IE_PPS = :ie_pps
|
|
114
|
+
IE_TRN = :ie_trn
|
|
80
115
|
IN_LEI = :in_lei
|
|
116
|
+
IS_KNT = :is_knt
|
|
117
|
+
IT_CF = :it_cf
|
|
118
|
+
IT_PIVA = :it_piva
|
|
119
|
+
JP_HB = :jp_hb
|
|
120
|
+
JP_MN = :jp_mn
|
|
81
121
|
KR_BRN = :kr_brn
|
|
82
122
|
KR_CRN = :kr_crn
|
|
83
123
|
KR_RRN = :kr_rrn
|
|
124
|
+
LI_PEID = :li_peid
|
|
125
|
+
LT_AK = :lt_ak
|
|
126
|
+
LT_JAK = :lt_jak
|
|
127
|
+
LU_MTC = :lu_mtc
|
|
128
|
+
LU_VAT = :lu_vat
|
|
129
|
+
LV_PK = :lv_pk
|
|
130
|
+
LV_RN = :lv_rn
|
|
131
|
+
MT_TIN = :mt_tin
|
|
132
|
+
MT_VAT = :mt_vat
|
|
133
|
+
MX_CURP = :mx_curp
|
|
134
|
+
MX_INE = :mx_ine
|
|
135
|
+
MX_RFC = :mx_rfc
|
|
136
|
+
NATIONAL_ID = :national_id
|
|
137
|
+
NL_BSN = :nl_bsn
|
|
138
|
+
NL_BTW = :nl_btw
|
|
139
|
+
NL_RSIN = :nl_rsin
|
|
140
|
+
NO_FDN = :no_fdn
|
|
141
|
+
NO_MVA = :no_mva
|
|
142
|
+
NO_ORGNR = :no_orgnr
|
|
143
|
+
NZ_IRD = :nz_ird
|
|
84
144
|
PASSPORT = :passport
|
|
145
|
+
PL_NIP = :pl_nip
|
|
146
|
+
PL_PESEL = :pl_pesel
|
|
147
|
+
PT_NIF = :pt_nif
|
|
148
|
+
RO_CNP = :ro_cnp
|
|
149
|
+
RO_CUI = :ro_cui
|
|
85
150
|
SA_TIN = :sa_tin
|
|
86
151
|
SA_VAT = :sa_vat
|
|
152
|
+
SE_ORGNR = :se_orgnr
|
|
153
|
+
SE_PNMR = :se_pnmr
|
|
154
|
+
SG_FIN = :sg_fin
|
|
155
|
+
SG_NRIC = :sg_nric
|
|
156
|
+
SG_UEN = :sg_uen
|
|
157
|
+
SI_DAV = :si_dav
|
|
158
|
+
SI_TIN = :si_tin
|
|
159
|
+
SK_ICO = :sk_ico
|
|
160
|
+
SK_RC = :sk_rc
|
|
87
161
|
US_EIN = :us_ein
|
|
88
162
|
US_ITIN = :us_itin
|
|
89
163
|
US_SSN = :us_ssn
|
|
164
|
+
UY_RUT = :uy_rut
|
|
90
165
|
VN_TIN = :vn_tin
|
|
91
166
|
|
|
92
167
|
# @!method self.values
|
|
@@ -120,6 +120,14 @@ module ModernTreasury
|
|
|
120
120
|
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Status]
|
|
121
121
|
required :status, enum: -> { ModernTreasury::IncomingPaymentDetail::Status }
|
|
122
122
|
|
|
123
|
+
# @!attribute subtype
|
|
124
|
+
# An additional layer of classification for the type of incoming payment detail.
|
|
125
|
+
# For example, a `type` of `stablecoin` may have a `subtype` of `ethereum` or
|
|
126
|
+
# `solana`.
|
|
127
|
+
#
|
|
128
|
+
# @return [String, nil]
|
|
129
|
+
required :subtype, String, nil?: true
|
|
130
|
+
|
|
123
131
|
# @!attribute transaction_id
|
|
124
132
|
# The ID of the reconciled Transaction or `null`.
|
|
125
133
|
#
|
|
@@ -133,8 +141,7 @@ module ModernTreasury
|
|
|
133
141
|
required :transaction_line_item_id, String, nil?: true
|
|
134
142
|
|
|
135
143
|
# @!attribute type
|
|
136
|
-
# One of: `ach`, `book`, `check`, `eft`, `
|
|
137
|
-
# `wire`.
|
|
144
|
+
# One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
|
|
138
145
|
#
|
|
139
146
|
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Type]
|
|
140
147
|
required :type, enum: -> { ModernTreasury::IncomingPaymentDetail::Type }
|
|
@@ -203,7 +210,7 @@ module ModernTreasury
|
|
|
203
210
|
# @return [String, nil]
|
|
204
211
|
optional :receiving_account_number_safe, String, nil?: true
|
|
205
212
|
|
|
206
|
-
# @!method initialize(id:, amount:, as_of_date:, created_at:, currency:, data:, direction:, internal_account_id:, ledger_transaction_id:, live_mode:, metadata:, object:, originating_account_number_safe:, originating_account_number_type:, originating_routing_number:, originating_routing_number_type:, reconciliation_status:, status:, transaction_id:, transaction_line_item_id:, type:, updated_at:, vendor_id:, virtual_account:, virtual_account_id:, originating_account_number: nil, originating_party_address: nil, originating_party_name: nil, originating_party_vendor_identifier: nil, receiving_account_number: nil, receiving_account_number_safe: nil)
|
|
213
|
+
# @!method initialize(id:, amount:, as_of_date:, created_at:, currency:, data:, direction:, internal_account_id:, ledger_transaction_id:, live_mode:, metadata:, object:, originating_account_number_safe:, originating_account_number_type:, originating_routing_number:, originating_routing_number_type:, reconciliation_status:, status:, subtype:, transaction_id:, transaction_line_item_id:, type:, updated_at:, vendor_id:, virtual_account:, virtual_account_id:, originating_account_number: nil, originating_party_address: nil, originating_party_name: nil, originating_party_vendor_identifier: nil, receiving_account_number: nil, receiving_account_number_safe: nil)
|
|
207
214
|
# Some parameter documentations has been truncated, see
|
|
208
215
|
# {ModernTreasury::Models::IncomingPaymentDetail} for more details.
|
|
209
216
|
#
|
|
@@ -243,11 +250,13 @@ module ModernTreasury
|
|
|
243
250
|
#
|
|
244
251
|
# @param status [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Status] The current status of the incoming payment order. One of `pending`, `completed`,
|
|
245
252
|
#
|
|
253
|
+
# @param subtype [String, nil] An additional layer of classification for the type of incoming payment detail. F
|
|
254
|
+
#
|
|
246
255
|
# @param transaction_id [String, nil] The ID of the reconciled Transaction or `null`.
|
|
247
256
|
#
|
|
248
257
|
# @param transaction_line_item_id [String, nil] The ID of the reconciled Transaction Line Item or `null`.
|
|
249
258
|
#
|
|
250
|
-
# @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Type] One of: `ach`, `book`, `check`, `eft`, `
|
|
259
|
+
# @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Type] One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
|
|
251
260
|
#
|
|
252
261
|
# @param updated_at [Time]
|
|
253
262
|
#
|
|
@@ -310,8 +319,6 @@ module ModernTreasury
|
|
|
310
319
|
DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
|
|
311
320
|
GB_SORT_CODE = :gb_sort_code
|
|
312
321
|
HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
|
|
313
|
-
HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
|
|
314
|
-
ID_SKNBI_CODE = :id_sknbi_code
|
|
315
322
|
IL_BANK_CODE = :il_bank_code
|
|
316
323
|
IN_IFSC = :in_ifsc
|
|
317
324
|
JP_ZENGIN_CODE = :jp_zengin_code
|
|
@@ -357,8 +364,7 @@ module ModernTreasury
|
|
|
357
364
|
# @return [Array<Symbol>]
|
|
358
365
|
end
|
|
359
366
|
|
|
360
|
-
# One of: `ach`, `book`, `check`, `eft`, `
|
|
361
|
-
# `wire`.
|
|
367
|
+
# One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
|
|
362
368
|
#
|
|
363
369
|
# @see ModernTreasury::Models::IncomingPaymentDetail#type
|
|
364
370
|
module Type
|
|
@@ -367,19 +373,14 @@ module ModernTreasury
|
|
|
367
373
|
ACH = :ach
|
|
368
374
|
AU_BECS = :au_becs
|
|
369
375
|
BACS = :bacs
|
|
370
|
-
BASE = :base
|
|
371
376
|
BOOK = :book
|
|
372
377
|
CHECK = :check
|
|
373
378
|
EFT = :eft
|
|
374
|
-
ETHEREUM = :ethereum
|
|
375
|
-
INTERAC = :interac
|
|
376
379
|
NEFT = :neft
|
|
377
380
|
NZ_BECS = :nz_becs
|
|
378
|
-
POLYGON = :polygon
|
|
379
381
|
RTP = :rtp
|
|
380
382
|
SEPA = :sepa
|
|
381
|
-
|
|
382
|
-
SOLANA = :solana
|
|
383
|
+
STABLECOIN = :stablecoin
|
|
383
384
|
WIRE = :wire
|
|
384
385
|
ZENGIN = :zengin
|
|
385
386
|
|
|
@@ -51,6 +51,13 @@ module ModernTreasury
|
|
|
51
51
|
# @return [String, nil]
|
|
52
52
|
optional :internal_account_id, String
|
|
53
53
|
|
|
54
|
+
# @!attribute subtype
|
|
55
|
+
# An additional layer of classification for the type of incoming payment detail,
|
|
56
|
+
# e.g. `ethereum` for a `stablecoin` type.
|
|
57
|
+
#
|
|
58
|
+
# @return [String, nil]
|
|
59
|
+
optional :subtype, String, nil?: true
|
|
60
|
+
|
|
54
61
|
# @!attribute type
|
|
55
62
|
# One of `ach`, `wire`, `check`.
|
|
56
63
|
#
|
|
@@ -64,7 +71,7 @@ module ModernTreasury
|
|
|
64
71
|
# @return [String, nil]
|
|
65
72
|
optional :virtual_account_id, String, nil?: true
|
|
66
73
|
|
|
67
|
-
# @!method initialize(amount: nil, as_of_date: nil, currency: nil, data: nil, description: nil, direction: nil, internal_account_id: nil, type: nil, virtual_account_id: nil, request_options: {})
|
|
74
|
+
# @!method initialize(amount: nil, as_of_date: nil, currency: nil, data: nil, description: nil, direction: nil, internal_account_id: nil, subtype: nil, type: nil, virtual_account_id: nil, request_options: {})
|
|
68
75
|
# Some parameter documentations has been truncated, see
|
|
69
76
|
# {ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams} for more
|
|
70
77
|
# details.
|
|
@@ -83,6 +90,8 @@ module ModernTreasury
|
|
|
83
90
|
#
|
|
84
91
|
# @param internal_account_id [String] The ID of one of your internal accounts.
|
|
85
92
|
#
|
|
93
|
+
# @param subtype [String, nil] An additional layer of classification for the type of incoming payment detail, e
|
|
94
|
+
#
|
|
86
95
|
# @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::Type] One of `ach`, `wire`, `check`.
|
|
87
96
|
#
|
|
88
97
|
# @param virtual_account_id [String, nil] An optional parameter to associate the incoming payment detail to a virtual acco
|
|
@@ -107,19 +116,14 @@ module ModernTreasury
|
|
|
107
116
|
ACH = :ach
|
|
108
117
|
AU_BECS = :au_becs
|
|
109
118
|
BACS = :bacs
|
|
110
|
-
BASE = :base
|
|
111
119
|
BOOK = :book
|
|
112
120
|
CHECK = :check
|
|
113
121
|
EFT = :eft
|
|
114
|
-
ETHEREUM = :ethereum
|
|
115
|
-
INTERAC = :interac
|
|
116
122
|
NEFT = :neft
|
|
117
123
|
NZ_BECS = :nz_becs
|
|
118
|
-
POLYGON = :polygon
|
|
119
124
|
RTP = :rtp
|
|
120
125
|
SEPA = :sepa
|
|
121
|
-
|
|
122
|
-
SOLANA = :solana
|
|
126
|
+
STABLECOIN = :stablecoin
|
|
123
127
|
WIRE = :wire
|
|
124
128
|
ZENGIN = :zengin
|
|
125
129
|
|
|
@@ -52,9 +52,16 @@ module ModernTreasury
|
|
|
52
52
|
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Status, nil]
|
|
53
53
|
optional :status, enum: -> { ModernTreasury::IncomingPaymentDetailListParams::Status }
|
|
54
54
|
|
|
55
|
+
# @!attribute subtype
|
|
56
|
+
# An additional layer of classification for the type of incoming payment detail.
|
|
57
|
+
# For example, a `type` of `stablecoin` may have a `subtype` of `ethereum` or
|
|
58
|
+
# `solana`.
|
|
59
|
+
#
|
|
60
|
+
# @return [String, nil]
|
|
61
|
+
optional :subtype, String
|
|
62
|
+
|
|
55
63
|
# @!attribute type
|
|
56
|
-
# One of: `ach`, `book`, `check`, `eft`, `
|
|
57
|
-
# `wire`.
|
|
64
|
+
# One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
|
|
58
65
|
#
|
|
59
66
|
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type, nil]
|
|
60
67
|
optional :type, enum: -> { ModernTreasury::IncomingPaymentDetailListParams::Type }
|
|
@@ -66,7 +73,7 @@ module ModernTreasury
|
|
|
66
73
|
# @return [String, nil]
|
|
67
74
|
optional :virtual_account_id, String
|
|
68
75
|
|
|
69
|
-
# @!method initialize(after_cursor: nil, as_of_date_end: nil, as_of_date_start: nil, direction: nil, metadata: nil, per_page: nil, status: nil, type: nil, virtual_account_id: nil, request_options: {})
|
|
76
|
+
# @!method initialize(after_cursor: nil, as_of_date_end: nil, as_of_date_start: nil, direction: nil, metadata: nil, per_page: nil, status: nil, subtype: nil, type: nil, virtual_account_id: nil, request_options: {})
|
|
70
77
|
# Some parameter documentations has been truncated, see
|
|
71
78
|
# {ModernTreasury::Models::IncomingPaymentDetailListParams} for more details.
|
|
72
79
|
#
|
|
@@ -84,7 +91,9 @@ module ModernTreasury
|
|
|
84
91
|
#
|
|
85
92
|
# @param status [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Status] The current status of the incoming payment order. One of `pending`, `completed`,
|
|
86
93
|
#
|
|
87
|
-
# @param
|
|
94
|
+
# @param subtype [String] An additional layer of classification for the type of incoming payment detail. F
|
|
95
|
+
#
|
|
96
|
+
# @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type] One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
|
|
88
97
|
#
|
|
89
98
|
# @param virtual_account_id [String] If the incoming payment detail is in a virtual account, the ID of the Virtual Ac
|
|
90
99
|
#
|
|
@@ -103,27 +112,21 @@ module ModernTreasury
|
|
|
103
112
|
# @return [Array<Symbol>]
|
|
104
113
|
end
|
|
105
114
|
|
|
106
|
-
# One of: `ach`, `book`, `check`, `eft`, `
|
|
107
|
-
# `wire`.
|
|
115
|
+
# One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
|
|
108
116
|
module Type
|
|
109
117
|
extend ModernTreasury::Internal::Type::Enum
|
|
110
118
|
|
|
111
119
|
ACH = :ach
|
|
112
120
|
AU_BECS = :au_becs
|
|
113
121
|
BACS = :bacs
|
|
114
|
-
BASE = :base
|
|
115
122
|
BOOK = :book
|
|
116
123
|
CHECK = :check
|
|
117
124
|
EFT = :eft
|
|
118
|
-
ETHEREUM = :ethereum
|
|
119
|
-
INTERAC = :interac
|
|
120
125
|
NEFT = :neft
|
|
121
126
|
NZ_BECS = :nz_becs
|
|
122
|
-
POLYGON = :polygon
|
|
123
127
|
RTP = :rtp
|
|
124
128
|
SEPA = :sepa
|
|
125
|
-
|
|
126
|
-
SOLANA = :solana
|
|
129
|
+
STABLECOIN = :stablecoin
|
|
127
130
|
WIRE = :wire
|
|
128
131
|
ZENGIN = :zengin
|
|
129
132
|
|