modern_treasury 0.27.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.
Files changed (207) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/README.md +4 -4
  4. data/lib/modern_treasury/client.rb +14 -0
  5. data/lib/modern_treasury/internal/transport/base_client.rb +5 -0
  6. data/lib/modern_treasury/models/bulk_request_create_params.rb +65 -190
  7. data/lib/modern_treasury/models/child_legal_entity.rb +121 -3
  8. data/lib/modern_treasury/models/child_legal_entity_create.rb +35 -1
  9. data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +38 -1
  10. data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -2
  11. data/lib/modern_treasury/models/counterparty_create_params.rb +38 -10
  12. data/lib/modern_treasury/models/currency.rb +0 -2
  13. data/lib/modern_treasury/models/document.rb +1 -73
  14. data/lib/modern_treasury/models/document_create_params.rb +11 -11
  15. data/lib/modern_treasury/models/document_list_params.rb +11 -11
  16. data/lib/modern_treasury/models/expected_payment.rb +2 -3
  17. data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
  18. data/lib/modern_treasury/models/expected_payment_list_params.rb +3 -12
  19. data/lib/modern_treasury/models/expected_payment_type.rb +1 -9
  20. data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
  21. data/lib/modern_treasury/models/external_account_create_params.rb +0 -9
  22. data/lib/modern_treasury/models/external_account_verify_params.rb +0 -7
  23. data/lib/modern_treasury/models/external_account_verify_response.rb +0 -7
  24. data/lib/modern_treasury/models/hold_list_params.rb +8 -11
  25. data/lib/modern_treasury/models/identification_create_request.rb +75 -0
  26. data/lib/modern_treasury/models/incoming_payment_detail.rb +3 -9
  27. data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +0 -2
  28. data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +3 -7
  29. data/lib/modern_treasury/models/internal_account.rb +12 -8
  30. data/lib/modern_treasury/models/internal_account_create_params.rb +35 -30
  31. data/lib/modern_treasury/models/internal_account_list_params.rb +0 -7
  32. data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +0 -7
  33. data/lib/modern_treasury/models/internal_accounts/balance_report.rb +15 -6
  34. data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +20 -11
  35. data/lib/modern_treasury/models/invoice.rb +6 -6
  36. data/lib/modern_treasury/models/invoice_create_params.rb +3 -4
  37. data/lib/modern_treasury/models/invoice_update_params.rb +3 -4
  38. data/lib/modern_treasury/models/ledger_balance.rb +22 -1
  39. data/lib/modern_treasury/models/ledger_entry.rb +10 -1
  40. data/lib/modern_treasury/models/ledger_entry_create_request.rb +19 -10
  41. data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +69 -10
  42. data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +10 -1
  43. data/lib/modern_treasury/models/legal_entity.rb +121 -3
  44. data/lib/modern_treasury/models/legal_entity_address_create_request.rb +14 -1
  45. data/lib/modern_treasury/models/legal_entity_association.rb +2 -3
  46. data/lib/modern_treasury/models/legal_entity_create_params.rb +34 -1
  47. data/lib/modern_treasury/models/legal_entity_update_params.rb +34 -1
  48. data/lib/modern_treasury/models/legal_entity_update_status_params.rb +46 -0
  49. data/lib/modern_treasury/models/payment_order.rb +6 -9
  50. data/lib/modern_treasury/models/payment_order_create_async_params.rb +4 -14
  51. data/lib/modern_treasury/models/payment_order_create_params.rb +15 -25
  52. data/lib/modern_treasury/models/payment_order_list_params.rb +0 -7
  53. data/lib/modern_treasury/models/payment_order_subtype.rb +2 -3
  54. data/lib/modern_treasury/models/payment_order_type.rb +2 -10
  55. data/lib/modern_treasury/models/payment_order_update_params.rb +4 -14
  56. data/lib/modern_treasury/models/payment_reference.rb +2 -4
  57. data/lib/modern_treasury/models/reconciliation_rule.rb +3 -12
  58. data/lib/modern_treasury/models/return_object.rb +8 -7
  59. data/lib/modern_treasury/models/routing_detail.rb +0 -9
  60. data/lib/modern_treasury/models/routing_detail_create_params.rb +0 -9
  61. data/lib/modern_treasury/models/routing_number_lookup_request.rb +0 -7
  62. data/lib/modern_treasury/models/third_party_verification.rb +2 -0
  63. data/lib/modern_treasury/models/transaction.rb +17 -15
  64. data/lib/modern_treasury/models/transaction_create_params.rb +23 -21
  65. data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +0 -2
  66. data/lib/modern_treasury/models/virtual_account_create_params.rb +0 -9
  67. data/lib/modern_treasury/models.rb +2 -0
  68. data/lib/modern_treasury/resources/bulk_requests.rb +1 -1
  69. data/lib/modern_treasury/resources/expected_payments.rb +3 -3
  70. data/lib/modern_treasury/resources/holds.rb +3 -3
  71. data/lib/modern_treasury/resources/incoming_payment_details.rb +1 -1
  72. data/lib/modern_treasury/resources/internal_accounts.rb +8 -6
  73. data/lib/modern_treasury/resources/invoices.rb +2 -2
  74. data/lib/modern_treasury/resources/legal_entities.rb +33 -2
  75. data/lib/modern_treasury/resources/payment_orders.rb +3 -3
  76. data/lib/modern_treasury/resources/transactions.rb +5 -3
  77. data/lib/modern_treasury/version.rb +1 -1
  78. data/lib/modern_treasury.rb +1 -0
  79. data/rbi/modern_treasury/models/bulk_request_create_params.rbi +104 -462
  80. data/rbi/modern_treasury/models/child_legal_entity.rbi +452 -5
  81. data/rbi/modern_treasury/models/child_legal_entity_create.rbi +68 -0
  82. data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +74 -0
  83. data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -10
  84. data/rbi/modern_treasury/models/counterparty_create_params.rbi +74 -45
  85. data/rbi/modern_treasury/models/currency.rbi +0 -2
  86. data/rbi/modern_treasury/models/document.rbi +0 -87
  87. data/rbi/modern_treasury/models/document_create_params.rbi +22 -22
  88. data/rbi/modern_treasury/models/document_list_params.rbi +22 -22
  89. data/rbi/modern_treasury/models/expected_payment.rbi +2 -4
  90. data/rbi/modern_treasury/models/expected_payment_create_params.rbi +2 -4
  91. data/rbi/modern_treasury/models/expected_payment_list_params.rbi +3 -41
  92. data/rbi/modern_treasury/models/expected_payment_type.rbi +1 -12
  93. data/rbi/modern_treasury/models/expected_payment_update_params.rbi +2 -4
  94. data/rbi/modern_treasury/models/external_account_create_params.rbi +0 -45
  95. data/rbi/modern_treasury/models/external_account_verify_params.rbi +0 -35
  96. data/rbi/modern_treasury/models/external_account_verify_response.rbi +0 -35
  97. data/rbi/modern_treasury/models/hold_list_params.rbi +8 -13
  98. data/rbi/modern_treasury/models/identification_create_request.rbi +375 -0
  99. data/rbi/modern_treasury/models/incoming_payment_detail.rbi +3 -26
  100. data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +0 -10
  101. data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +3 -16
  102. data/rbi/modern_treasury/models/internal_account.rbi +14 -35
  103. data/rbi/modern_treasury/models/internal_account_create_params.rbi +47 -59
  104. data/rbi/modern_treasury/models/internal_account_list_params.rbi +0 -35
  105. data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +0 -35
  106. data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +17 -7
  107. data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +31 -15
  108. data/rbi/modern_treasury/models/invoice.rbi +6 -6
  109. data/rbi/modern_treasury/models/invoice_create_params.rbi +4 -6
  110. data/rbi/modern_treasury/models/invoice_update_params.rbi +4 -6
  111. data/rbi/modern_treasury/models/ledger_balance.rbi +21 -3
  112. data/rbi/modern_treasury/models/ledger_entry.rbi +10 -0
  113. data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +26 -10
  114. data/rbi/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +89 -13
  115. data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +10 -0
  116. data/rbi/modern_treasury/models/legal_entity.rbi +451 -5
  117. data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +18 -3
  118. data/rbi/modern_treasury/models/legal_entity_association.rbi +2 -4
  119. data/rbi/modern_treasury/models/legal_entity_create_params.rbi +68 -0
  120. data/rbi/modern_treasury/models/legal_entity_update_params.rbi +68 -0
  121. data/rbi/modern_treasury/models/legal_entity_update_status_params.rbi +96 -0
  122. data/rbi/modern_treasury/models/payment_order.rbi +16 -28
  123. data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +6 -53
  124. data/rbi/modern_treasury/models/payment_order_create_params.rbi +28 -75
  125. data/rbi/modern_treasury/models/payment_order_list_params.rbi +0 -35
  126. data/rbi/modern_treasury/models/payment_order_subtype.rbi +3 -4
  127. data/rbi/modern_treasury/models/payment_order_type.rbi +2 -11
  128. data/rbi/modern_treasury/models/payment_order_update_params.rbi +6 -53
  129. data/rbi/modern_treasury/models/payment_reference.rbi +10 -20
  130. data/rbi/modern_treasury/models/reconciliation_rule.rbi +3 -29
  131. data/rbi/modern_treasury/models/return_object.rbi +19 -25
  132. data/rbi/modern_treasury/models/routing_detail.rbi +0 -42
  133. data/rbi/modern_treasury/models/routing_detail_create_params.rbi +0 -45
  134. data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +0 -35
  135. data/rbi/modern_treasury/models/third_party_verification.rbi +10 -0
  136. data/rbi/modern_treasury/models/transaction.rbi +24 -24
  137. data/rbi/modern_treasury/models/transaction_create_params.rbi +33 -52
  138. data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +0 -10
  139. data/rbi/modern_treasury/models/virtual_account_create_params.rbi +0 -45
  140. data/rbi/modern_treasury/models.rbi +3 -0
  141. data/rbi/modern_treasury/resources/bulk_requests.rbi +3 -2
  142. data/rbi/modern_treasury/resources/expected_payments.rbi +3 -6
  143. data/rbi/modern_treasury/resources/holds.rbi +3 -5
  144. data/rbi/modern_treasury/resources/incoming_payment_details.rbi +1 -2
  145. data/rbi/modern_treasury/resources/internal_accounts.rbi +15 -8
  146. data/rbi/modern_treasury/resources/invoices.rbi +4 -6
  147. data/rbi/modern_treasury/resources/legal_entities.rbi +31 -0
  148. data/rbi/modern_treasury/resources/payment_orders.rbi +9 -12
  149. data/rbi/modern_treasury/resources/transactions.rbi +11 -7
  150. data/sig/modern_treasury/models/bulk_request_create_params.rbs +45 -183
  151. data/sig/modern_treasury/models/child_legal_entity.rbs +179 -2
  152. data/sig/modern_treasury/models/child_legal_entity_create.rbs +21 -0
  153. data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +21 -0
  154. data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -4
  155. data/sig/modern_treasury/models/counterparty_create_params.rbs +21 -18
  156. data/sig/modern_treasury/models/currency.rbs +0 -4
  157. data/sig/modern_treasury/models/document.rbs +0 -57
  158. data/sig/modern_treasury/models/document_create_params.rbs +22 -22
  159. data/sig/modern_treasury/models/document_list_params.rbs +22 -22
  160. data/sig/modern_treasury/models/expected_payment_list_params.rbs +0 -14
  161. data/sig/modern_treasury/models/expected_payment_type.rbs +0 -14
  162. data/sig/modern_treasury/models/external_account_create_params.rbs +0 -18
  163. data/sig/modern_treasury/models/external_account_verify_params.rbs +0 -14
  164. data/sig/modern_treasury/models/external_account_verify_response.rbs +0 -14
  165. data/sig/modern_treasury/models/identification_create_request.rbs +150 -0
  166. data/sig/modern_treasury/models/incoming_payment_detail.rbs +0 -8
  167. data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +0 -4
  168. data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +0 -4
  169. data/sig/modern_treasury/models/internal_account.rbs +5 -14
  170. data/sig/modern_treasury/models/internal_account_create_params.rbs +20 -26
  171. data/sig/modern_treasury/models/internal_account_list_params.rbs +0 -14
  172. data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +0 -14
  173. data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +9 -4
  174. data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +17 -8
  175. data/sig/modern_treasury/models/ledger_balance.rbs +18 -3
  176. data/sig/modern_treasury/models/ledger_entry.rbs +5 -0
  177. data/sig/modern_treasury/models/ledger_entry_create_request.rbs +14 -5
  178. data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +42 -8
  179. data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +5 -0
  180. data/sig/modern_treasury/models/legal_entity.rbs +179 -2
  181. data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +10 -3
  182. data/sig/modern_treasury/models/legal_entity_create_params.rbs +21 -0
  183. data/sig/modern_treasury/models/legal_entity_update_params.rbs +21 -0
  184. data/sig/modern_treasury/models/legal_entity_update_status_params.rbs +43 -0
  185. data/sig/modern_treasury/models/payment_order.rbs +4 -8
  186. data/sig/modern_treasury/models/payment_order_create_async_params.rbs +0 -18
  187. data/sig/modern_treasury/models/payment_order_create_params.rbs +22 -40
  188. data/sig/modern_treasury/models/payment_order_list_params.rbs +0 -14
  189. data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -6
  190. data/sig/modern_treasury/models/payment_order_type.rbs +0 -14
  191. data/sig/modern_treasury/models/payment_order_update_params.rbs +0 -18
  192. data/sig/modern_treasury/models/payment_reference.rbs +4 -8
  193. data/sig/modern_treasury/models/reconciliation_rule.rbs +0 -14
  194. data/sig/modern_treasury/models/return_object.rbs +12 -10
  195. data/sig/modern_treasury/models/routing_detail.rbs +0 -18
  196. data/sig/modern_treasury/models/routing_detail_create_params.rbs +0 -18
  197. data/sig/modern_treasury/models/routing_number_lookup_request.rbs +0 -14
  198. data/sig/modern_treasury/models/third_party_verification.rbs +4 -1
  199. data/sig/modern_treasury/models/transaction.rbs +7 -16
  200. data/sig/modern_treasury/models/transaction_create_params.rbs +14 -19
  201. data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +0 -4
  202. data/sig/modern_treasury/models/virtual_account_create_params.rbs +0 -18
  203. data/sig/modern_treasury/models.rbs +2 -0
  204. data/sig/modern_treasury/resources/internal_accounts.rbs +3 -2
  205. data/sig/modern_treasury/resources/legal_entities.rbs +8 -0
  206. data/sig/modern_treasury/resources/transactions.rbs +2 -1
  207. metadata +5 -2
@@ -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, interac, provxchange, rtp,sen,
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, interac, provxchange, rtp,sen, sep
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,8 +129,7 @@ module ModernTreasury
130
129
  # @return [Array<Symbol>]
131
130
  end
132
131
 
133
- # One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp,sen,
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
 
@@ -146,24 +144,17 @@ module ModernTreasury
146
144
  DK_NETS = :dk_nets
147
145
  EFT = :eft
148
146
  GB_FPS = :gb_fps
149
- HU_ICS = :hu_ics
150
- INTERAC = :interac
151
147
  MASAV = :masav
152
148
  MX_CCEN = :mx_ccen
153
149
  NEFT = :neft
154
150
  NICS = :nics
155
151
  NZ_BECS = :nz_becs
156
152
  PL_ELIXIR = :pl_elixir
157
- PROVXCHANGE = :provxchange
158
- RO_SENT = :ro_sent
159
153
  RTP = :rtp
160
154
  SE_BANKGIROT = :se_bankgirot
161
- SEN = :sen
162
155
  SEPA = :sepa
163
156
  SG_GIRO = :sg_giro
164
157
  SIC = :sic
165
- SIGNET = :signet
166
- SKNBI = :sknbi
167
158
  STABLECOIN = :stablecoin
168
159
  WIRE = :wire
169
160
  ZENGIN = :zengin
@@ -2,8 +2,7 @@
2
2
 
3
3
  module ModernTreasury
4
4
  module Models
5
- # One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen,
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
 
@@ -18,24 +17,17 @@ module ModernTreasury
18
17
  DK_NETS = :dk_nets
19
18
  EFT = :eft
20
19
  GB_FPS = :gb_fps
21
- HU_ICS = :hu_ics
22
- INTERAC = :interac
23
20
  MASAV = :masav
24
21
  MX_CCEN = :mx_ccen
25
22
  NEFT = :neft
26
23
  NICS = :nics
27
24
  NZ_BECS = :nz_becs
28
25
  PL_ELIXIR = :pl_elixir
29
- PROVXCHANGE = :provxchange
30
- RO_SENT = :ro_sent
31
26
  RTP = :rtp
32
27
  SE_BANKGIROT = :se_bankgirot
33
- SEN = :sen
34
28
  SEPA = :sepa
35
29
  SG_GIRO = :sg_giro
36
30
  SIC = :sic
37
- SIGNET = :signet
38
- SKNBI = :sknbi
39
31
  STABLECOIN = :stablecoin
40
32
  WIRE = :wire
41
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, interac, provxchange, rtp, sen,
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, interac, provxchange, rtp, sen, se
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
@@ -251,24 +249,17 @@ module ModernTreasury
251
249
  DK_NETS = :dk_nets
252
250
  EFT = :eft
253
251
  GB_FPS = :gb_fps
254
- HU_ICS = :hu_ics
255
- INTERAC = :interac
256
252
  MASAV = :masav
257
253
  MX_CCEN = :mx_ccen
258
254
  NEFT = :neft
259
255
  NICS = :nics
260
256
  NZ_BECS = :nz_becs
261
257
  PL_ELIXIR = :pl_elixir
262
- PROVXCHANGE = :provxchange
263
- RO_SENT = :ro_sent
264
258
  RTP = :rtp
265
259
  SE_BANKGIROT = :se_bankgirot
266
- SEN = :sen
267
260
  SEPA = :sepa
268
261
  SG_GIRO = :sg_giro
269
262
  SIC = :sic
270
- SIGNET = :signet
271
- SKNBI = :sknbi
272
263
  STABLECOIN = :stablecoin
273
264
  WIRE = :wire
274
265
  ZENGIN = :zengin
@@ -79,24 +79,17 @@ module ModernTreasury
79
79
  DK_NETS = :dk_nets
80
80
  EFT = :eft
81
81
  GB_FPS = :gb_fps
82
- HU_ICS = :hu_ics
83
- INTERAC = :interac
84
82
  MASAV = :masav
85
83
  MX_CCEN = :mx_ccen
86
84
  NEFT = :neft
87
85
  NICS = :nics
88
86
  NZ_BECS = :nz_becs
89
87
  PL_ELIXIR = :pl_elixir
90
- PROVXCHANGE = :provxchange
91
- RO_SENT = :ro_sent
92
88
  RTP = :rtp
93
89
  SE_BANKGIROT = :se_bankgirot
94
- SEN = :sen
95
90
  SEPA = :sepa
96
91
  SG_GIRO = :sg_giro
97
92
  SIC = :sic
98
- SIGNET = :signet
99
- SKNBI = :sknbi
100
93
  STABLECOIN = :stablecoin
101
94
  WIRE = :wire
102
95
  ZENGIN = :zengin
@@ -117,24 +117,17 @@ module ModernTreasury
117
117
  DK_NETS = :dk_nets
118
118
  EFT = :eft
119
119
  GB_FPS = :gb_fps
120
- HU_ICS = :hu_ics
121
- INTERAC = :interac
122
120
  MASAV = :masav
123
121
  MX_CCEN = :mx_ccen
124
122
  NEFT = :neft
125
123
  NICS = :nics
126
124
  NZ_BECS = :nz_becs
127
125
  PL_ELIXIR = :pl_elixir
128
- PROVXCHANGE = :provxchange
129
- RO_SENT = :ro_sent
130
126
  RTP = :rtp
131
127
  SE_BANKGIROT = :se_bankgirot
132
- SEN = :sen
133
128
  SEPA = :sepa
134
129
  SG_GIRO = :sg_giro
135
130
  SIC = :sic
136
- SIGNET = :signet
137
- SKNBI = :sknbi
138
131
  STABLECOIN = :stablecoin
139
132
  WIRE = :wire
140
133
  ZENGIN = :zengin
@@ -26,21 +26,19 @@ module ModernTreasury
26
26
  optional :per_page, Integer
27
27
 
28
28
  # @!attribute status
29
- # Translation missing: en.openapi.descriptions.payment_order.query_params.status
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
- # Translation missing:
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
- # Translation missing:
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] Translation missing: en.openapi.descriptions.payment_order.query_params.status
56
+ # @param status [Symbol, ModernTreasury::Models::HoldListParams::Status, nil] Only return holds for a specific status.
59
57
  #
60
- # @param target_id [String, nil] Translation missing: en.openapi.descriptions.payment_order.query_params.target_i
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] Translation missing: en.openapi.descriptions.payment_order.query_params.target_t
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
- # Translation missing: en.openapi.descriptions.payment_order.query_params.status
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
- # Translation missing:
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
@@ -141,8 +141,7 @@ module ModernTreasury
141
141
  required :transaction_line_item_id, String, nil?: true
142
142
 
143
143
  # @!attribute type
144
- # One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or
145
- # `wire`.
144
+ # One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
146
145
  #
147
146
  # @return [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Type]
148
147
  required :type, enum: -> { ModernTreasury::IncomingPaymentDetail::Type }
@@ -257,7 +256,7 @@ module ModernTreasury
257
256
  #
258
257
  # @param transaction_line_item_id [String, nil] The ID of the reconciled Transaction Line Item or `null`.
259
258
  #
260
- # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Type] One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or `w
259
+ # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Type] One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
261
260
  #
262
261
  # @param updated_at [Time]
263
262
  #
@@ -320,8 +319,6 @@ module ModernTreasury
320
319
  DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
321
320
  GB_SORT_CODE = :gb_sort_code
322
321
  HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
323
- HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
324
- ID_SKNBI_CODE = :id_sknbi_code
325
322
  IL_BANK_CODE = :il_bank_code
326
323
  IN_IFSC = :in_ifsc
327
324
  JP_ZENGIN_CODE = :jp_zengin_code
@@ -367,8 +364,7 @@ module ModernTreasury
367
364
  # @return [Array<Symbol>]
368
365
  end
369
366
 
370
- # One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or
371
- # `wire`.
367
+ # One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
372
368
  #
373
369
  # @see ModernTreasury::Models::IncomingPaymentDetail#type
374
370
  module Type
@@ -380,12 +376,10 @@ module ModernTreasury
380
376
  BOOK = :book
381
377
  CHECK = :check
382
378
  EFT = :eft
383
- INTERAC = :interac
384
379
  NEFT = :neft
385
380
  NZ_BECS = :nz_becs
386
381
  RTP = :rtp
387
382
  SEPA = :sepa
388
- SIGNET = :signet
389
383
  STABLECOIN = :stablecoin
390
384
  WIRE = :wire
391
385
  ZENGIN = :zengin
@@ -119,12 +119,10 @@ module ModernTreasury
119
119
  BOOK = :book
120
120
  CHECK = :check
121
121
  EFT = :eft
122
- INTERAC = :interac
123
122
  NEFT = :neft
124
123
  NZ_BECS = :nz_becs
125
124
  RTP = :rtp
126
125
  SEPA = :sepa
127
- SIGNET = :signet
128
126
  STABLECOIN = :stablecoin
129
127
  WIRE = :wire
130
128
  ZENGIN = :zengin
@@ -61,8 +61,7 @@ module ModernTreasury
61
61
  optional :subtype, String
62
62
 
63
63
  # @!attribute type
64
- # One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or
65
- # `wire`.
64
+ # One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
66
65
  #
67
66
  # @return [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type, nil]
68
67
  optional :type, enum: -> { ModernTreasury::IncomingPaymentDetailListParams::Type }
@@ -94,7 +93,7 @@ module ModernTreasury
94
93
  #
95
94
  # @param subtype [String] An additional layer of classification for the type of incoming payment detail. F
96
95
  #
97
- # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type] One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or `w
96
+ # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type] One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
98
97
  #
99
98
  # @param virtual_account_id [String] If the incoming payment detail is in a virtual account, the ID of the Virtual Ac
100
99
  #
@@ -113,8 +112,7 @@ module ModernTreasury
113
112
  # @return [Array<Symbol>]
114
113
  end
115
114
 
116
- # One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or
117
- # `wire`.
115
+ # One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
118
116
  module Type
119
117
  extend ModernTreasury::Internal::Type::Enum
120
118
 
@@ -124,12 +122,10 @@ module ModernTreasury
124
122
  BOOK = :book
125
123
  CHECK = :check
126
124
  EFT = :eft
127
- INTERAC = :interac
128
125
  NEFT = :neft
129
126
  NZ_BECS = :nz_becs
130
127
  RTP = :rtp
131
128
  SEPA = :sepa
132
- SIGNET = :signet
133
129
  STABLECOIN = :stablecoin
134
130
  WIRE = :wire
135
131
  ZENGIN = :zengin
@@ -59,6 +59,15 @@ module ModernTreasury
59
59
  # @return [Symbol, ModernTreasury::Models::Currency]
60
60
  required :currency, enum: -> { ModernTreasury::Currency }
61
61
 
62
+ # @!attribute debitable
63
+ # Whether this account can receive ACH debits. Only applicable to accounts created
64
+ # under a Modern Treasury PSP connection, or `null` for Bring Your Own Bank
65
+ # accounts. Defaults to `false`. Configurable only on creation. Please reach out
66
+ # to your customer success manager to enable this capability for your connection.
67
+ #
68
+ # @return [Boolean, nil]
69
+ required :debitable, ModernTreasury::Internal::Type::Boolean, nil?: true
70
+
62
71
  # @!attribute external_id
63
72
  # An optional user-defined 180 character unique identifier.
64
73
  #
@@ -150,7 +159,7 @@ module ModernTreasury
150
159
  # @return [String, nil]
151
160
  required :vendor_id, String, nil?: true
152
161
 
153
- # @!method initialize(id:, account_capabilities:, account_details:, account_type:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, external_id:, ledger_account_id:, legal_entity_id:, live_mode:, metadata:, name:, object:, parent_account_id:, party_address:, party_name:, party_type:, routing_details:, status:, updated_at:, vendor_id:)
162
+ # @!method initialize(id:, account_capabilities:, account_details:, account_type:, connection:, contra_ledger_account_id:, counterparty_id:, created_at:, currency:, debitable:, external_id:, ledger_account_id:, legal_entity_id:, live_mode:, metadata:, name:, object:, parent_account_id:, party_address:, party_name:, party_type:, routing_details:, status:, updated_at:, vendor_id:)
154
163
  # Some parameter documentations has been truncated, see
155
164
  # {ModernTreasury::Models::InternalAccount} for more details.
156
165
  #
@@ -172,6 +181,8 @@ module ModernTreasury
172
181
  #
173
182
  # @param currency [Symbol, ModernTreasury::Models::Currency] The currency of the account.
174
183
  #
184
+ # @param debitable [Boolean, nil] Whether this account can receive ACH debits. Only applicable to accounts created
185
+ #
175
186
  # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
176
187
  #
177
188
  # @param ledger_account_id [String, nil] If the internal account links to a ledger account in Modern Treasury, the id of
@@ -296,24 +307,17 @@ module ModernTreasury
296
307
  DK_NETS = :dk_nets
297
308
  EFT = :eft
298
309
  GB_FPS = :gb_fps
299
- HU_ICS = :hu_ics
300
- INTERAC = :interac
301
310
  MASAV = :masav
302
311
  MX_CCEN = :mx_ccen
303
312
  NEFT = :neft
304
313
  NICS = :nics
305
314
  NZ_BECS = :nz_becs
306
315
  PL_ELIXIR = :pl_elixir
307
- PROVXCHANGE = :provxchange
308
- RO_SENT = :ro_sent
309
316
  RTP = :rtp
310
317
  SE_BANKGIROT = :se_bankgirot
311
- SEN = :sen
312
318
  SEPA = :sepa
313
319
  SG_GIRO = :sg_giro
314
320
  SIC = :sic
315
- SIGNET = :signet
316
- SKNBI = :sknbi
317
321
  STABLECOIN = :stablecoin
318
322
  WIRE = :wire
319
323
  ZENGIN = :zengin
@@ -7,15 +7,8 @@ module ModernTreasury
7
7
  extend ModernTreasury::Internal::Type::RequestParameters::Converter
8
8
  include ModernTreasury::Internal::Type::RequestParameters
9
9
 
10
- # @!attribute connection_id
11
- # The identifier of the financial institution the account belongs to.
12
- #
13
- # @return [String]
14
- required :connection_id, String
15
-
16
10
  # @!attribute currency
17
- # The currency of the internal account. Supports "USD" and "CAD" for fiat, and
18
- # "USDC", "USDG", and "PYUSD" for stablecoin accounts.
11
+ # The currency of the internal account. Supports fiat and stablecoin currencies.
19
12
  #
20
13
  # @return [Symbol, ModernTreasury::Models::InternalAccountCreateParams::Currency]
21
14
  required :currency, enum: -> { ModernTreasury::InternalAccountCreateParams::Currency }
@@ -26,12 +19,6 @@ module ModernTreasury
26
19
  # @return [String]
27
20
  required :name, String
28
21
 
29
- # @!attribute party_name
30
- # The legal name of the entity which owns the account.
31
- #
32
- # @return [String]
33
- required :party_name, String
34
-
35
22
  # @!attribute account_capabilities
36
23
  # An array of AccountCapability objects that list the originating abilities of the
37
24
  # internal account and any relevant information for them.
@@ -47,12 +34,29 @@ module ModernTreasury
47
34
  # @return [Symbol, ModernTreasury::Models::InternalAccountCreateParams::AccountType, nil]
48
35
  optional :account_type, enum: -> { ModernTreasury::InternalAccountCreateParams::AccountType }
49
36
 
37
+ # @!attribute connection_id
38
+ # The identifier of the financial institution the account belongs to. If not
39
+ # provided, defaults to the default connection, or the sole connection if only one
40
+ # exists.
41
+ #
42
+ # @return [String, nil]
43
+ optional :connection_id, String
44
+
50
45
  # @!attribute counterparty_id
51
46
  # The Counterparty associated to this account.
52
47
  #
53
48
  # @return [String, nil]
54
49
  optional :counterparty_id, String
55
50
 
51
+ # @!attribute debitable
52
+ # Whether this account can receive ACH debits. Only applicable to accounts created
53
+ # under a Modern Treasury PSP connection, or `null` for Bring Your Own Bank
54
+ # accounts. Defaults to `false`. Configurable only on creation. Please reach out
55
+ # to your customer success manager to enable this capability for your connection.
56
+ #
57
+ # @return [Boolean, nil]
58
+ optional :debitable, ModernTreasury::Internal::Type::Boolean, nil?: true
59
+
56
60
  # @!attribute external_id
57
61
  # An optional user-defined 180 character unique identifier.
58
62
  #
@@ -84,6 +88,12 @@ module ModernTreasury
84
88
  # @return [ModernTreasury::Models::InternalAccountCreateParams::PartyAddress, nil]
85
89
  optional :party_address, -> { ModernTreasury::InternalAccountCreateParams::PartyAddress }
86
90
 
91
+ # @!attribute party_name
92
+ # The legal name of the entity which owns the account.
93
+ #
94
+ # @return [String, nil]
95
+ optional :party_name, String, nil?: true
96
+
87
97
  # @!attribute vendor_attributes
88
98
  # A hash of vendor specific attributes that will be used when creating the account
89
99
  # at the vendor specified by the given connection.
@@ -91,24 +101,24 @@ module ModernTreasury
91
101
  # @return [Hash{Symbol=>String}, nil]
92
102
  optional :vendor_attributes, ModernTreasury::Internal::Type::HashOf[String]
93
103
 
94
- # @!method initialize(connection_id:, currency:, name:, party_name:, account_capabilities: nil, account_type: nil, counterparty_id: nil, external_id: nil, legal_entity_id: nil, metadata: nil, parent_account_id: nil, party_address: nil, vendor_attributes: nil, request_options: {})
104
+ # @!method initialize(currency:, name:, account_capabilities: nil, account_type: nil, connection_id: nil, counterparty_id: nil, debitable: nil, external_id: nil, legal_entity_id: nil, metadata: nil, parent_account_id: nil, party_address: nil, party_name: nil, vendor_attributes: nil, request_options: {})
95
105
  # Some parameter documentations has been truncated, see
96
106
  # {ModernTreasury::Models::InternalAccountCreateParams} for more details.
97
107
  #
98
- # @param connection_id [String] The identifier of the financial institution the account belongs to.
99
- #
100
- # @param currency [Symbol, ModernTreasury::Models::InternalAccountCreateParams::Currency] The currency of the internal account. Supports "USD" and "CAD" for fiat, and "US
108
+ # @param currency [Symbol, ModernTreasury::Models::InternalAccountCreateParams::Currency] The currency of the internal account. Supports fiat and stablecoin currencies.
101
109
  #
102
110
  # @param name [String] The nickname of the account.
103
111
  #
104
- # @param party_name [String] The legal name of the entity which owns the account.
105
- #
106
112
  # @param account_capabilities [Array<ModernTreasury::Models::InternalAccountCreateParams::AccountCapability>] An array of AccountCapability objects that list the originating abilities of the
107
113
  #
108
114
  # @param account_type [Symbol, ModernTreasury::Models::InternalAccountCreateParams::AccountType] The account type, used to provision the appropriate account at the financial ins
109
115
  #
116
+ # @param connection_id [String] The identifier of the financial institution the account belongs to. If not provi
117
+ #
110
118
  # @param counterparty_id [String] The Counterparty associated to this account.
111
119
  #
120
+ # @param debitable [Boolean, nil] Whether this account can receive ACH debits. Only applicable to accounts created
121
+ #
112
122
  # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
113
123
  #
114
124
  # @param legal_entity_id [String] The LegalEntity associated to this account.
@@ -119,20 +129,22 @@ module ModernTreasury
119
129
  #
120
130
  # @param party_address [ModernTreasury::Models::InternalAccountCreateParams::PartyAddress] The address associated with the owner or null.
121
131
  #
132
+ # @param party_name [String, nil] The legal name of the entity which owns the account.
133
+ #
122
134
  # @param vendor_attributes [Hash{Symbol=>String}] A hash of vendor specific attributes that will be used when creating the account
123
135
  #
124
136
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
125
137
 
126
- # The currency of the internal account. Supports "USD" and "CAD" for fiat, and
127
- # "USDC", "USDG", and "PYUSD" for stablecoin accounts.
138
+ # The currency of the internal account. Supports fiat and stablecoin currencies.
128
139
  module Currency
129
140
  extend ModernTreasury::Internal::Type::Enum
130
141
 
131
142
  USD = :USD
132
143
  CAD = :CAD
133
144
  USDC = :USDC
134
- USDG = :USDG
145
+ USDT = :USDT
135
146
  PYUSD = :PYUSD
147
+ USDG = :USDG
136
148
 
137
149
  # @!method self.values
138
150
  # @return [Array<Symbol>]
@@ -234,24 +246,17 @@ module ModernTreasury
234
246
  DK_NETS = :dk_nets
235
247
  EFT = :eft
236
248
  GB_FPS = :gb_fps
237
- HU_ICS = :hu_ics
238
- INTERAC = :interac
239
249
  MASAV = :masav
240
250
  MX_CCEN = :mx_ccen
241
251
  NEFT = :neft
242
252
  NICS = :nics
243
253
  NZ_BECS = :nz_becs
244
254
  PL_ELIXIR = :pl_elixir
245
- PROVXCHANGE = :provxchange
246
- RO_SENT = :ro_sent
247
255
  RTP = :rtp
248
256
  SE_BANKGIROT = :se_bankgirot
249
- SEN = :sen
250
257
  SEPA = :sepa
251
258
  SG_GIRO = :sg_giro
252
259
  SIC = :sic
253
- SIGNET = :signet
254
- SKNBI = :sknbi
255
260
  STABLECOIN = :stablecoin
256
261
  WIRE = :wire
257
262
  ZENGIN = :zengin