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.
Files changed (216) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +71 -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/internal/util.rb +3 -1
  7. data/lib/modern_treasury/models/bulk_request_create_params.rb +65 -202
  8. data/lib/modern_treasury/models/child_legal_entity.rb +121 -3
  9. data/lib/modern_treasury/models/child_legal_entity_create.rb +35 -1
  10. data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +38 -1
  11. data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -2
  12. data/lib/modern_treasury/models/counterparty_create_params.rb +38 -14
  13. data/lib/modern_treasury/models/currency.rb +0 -3
  14. data/lib/modern_treasury/models/document.rb +1 -73
  15. data/lib/modern_treasury/models/document_create_params.rb +11 -11
  16. data/lib/modern_treasury/models/document_list_params.rb +11 -11
  17. data/lib/modern_treasury/models/expected_payment.rb +2 -3
  18. data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
  19. data/lib/modern_treasury/models/expected_payment_list_params.rb +3 -16
  20. data/lib/modern_treasury/models/expected_payment_type.rb +1 -13
  21. data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
  22. data/lib/modern_treasury/models/external_account_create_params.rb +0 -13
  23. data/lib/modern_treasury/models/external_account_verify_params.rb +0 -11
  24. data/lib/modern_treasury/models/external_account_verify_response.rb +0 -11
  25. data/lib/modern_treasury/models/hold_list_params.rb +8 -11
  26. data/lib/modern_treasury/models/identification_create_request.rb +75 -0
  27. data/lib/modern_treasury/models/incoming_payment_detail.rb +15 -14
  28. data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +11 -7
  29. data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +15 -12
  30. data/lib/modern_treasury/models/internal_account.rb +12 -12
  31. data/lib/modern_treasury/models/internal_account_create_params.rb +37 -33
  32. data/lib/modern_treasury/models/internal_account_list_params.rb +0 -11
  33. data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +0 -11
  34. data/lib/modern_treasury/models/internal_accounts/balance_report.rb +15 -6
  35. data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +20 -11
  36. data/lib/modern_treasury/models/invoice.rb +25 -1
  37. data/lib/modern_treasury/models/invoice_create_params.rb +3 -4
  38. data/lib/modern_treasury/models/invoice_update_params.rb +3 -4
  39. data/lib/modern_treasury/models/ledger_account_settlement_update_params.rb +10 -1
  40. data/lib/modern_treasury/models/ledger_balance.rb +22 -1
  41. data/lib/modern_treasury/models/ledger_entry.rb +10 -1
  42. data/lib/modern_treasury/models/ledger_entry_create_request.rb +19 -10
  43. data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +69 -10
  44. data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +10 -1
  45. data/lib/modern_treasury/models/legal_entity.rb +121 -3
  46. data/lib/modern_treasury/models/legal_entity_address_create_request.rb +14 -1
  47. data/lib/modern_treasury/models/legal_entity_association.rb +2 -3
  48. data/lib/modern_treasury/models/legal_entity_create_params.rb +34 -1
  49. data/lib/modern_treasury/models/legal_entity_update_params.rb +34 -1
  50. data/lib/modern_treasury/models/legal_entity_update_status_params.rb +46 -0
  51. data/lib/modern_treasury/models/payment_order.rb +9 -10
  52. data/lib/modern_treasury/models/payment_order_create_async_params.rb +4 -18
  53. data/lib/modern_treasury/models/payment_order_create_params.rb +15 -29
  54. data/lib/modern_treasury/models/payment_order_list_params.rb +0 -11
  55. data/lib/modern_treasury/models/payment_order_subtype.rb +2 -3
  56. data/lib/modern_treasury/models/payment_order_type.rb +2 -14
  57. data/lib/modern_treasury/models/payment_order_update_params.rb +4 -18
  58. data/lib/modern_treasury/models/payment_reference.rb +5 -5
  59. data/lib/modern_treasury/models/reconciliation_rule.rb +3 -16
  60. data/lib/modern_treasury/models/return_object.rb +11 -8
  61. data/lib/modern_treasury/models/routing_detail.rb +0 -13
  62. data/lib/modern_treasury/models/routing_detail_create_params.rb +0 -13
  63. data/lib/modern_treasury/models/routing_number_lookup_request.rb +0 -11
  64. data/lib/modern_treasury/models/third_party_verification.rb +2 -0
  65. data/lib/modern_treasury/models/transaction.rb +17 -20
  66. data/lib/modern_treasury/models/transaction_create_params.rb +23 -25
  67. data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +0 -2
  68. data/lib/modern_treasury/models/virtual_account_create_params.rb +0 -13
  69. data/lib/modern_treasury/models.rb +2 -0
  70. data/lib/modern_treasury/resources/bulk_requests.rb +1 -1
  71. data/lib/modern_treasury/resources/expected_payments.rb +3 -3
  72. data/lib/modern_treasury/resources/holds.rb +3 -3
  73. data/lib/modern_treasury/resources/incoming_payment_details.rb +7 -3
  74. data/lib/modern_treasury/resources/internal_accounts.rb +8 -6
  75. data/lib/modern_treasury/resources/invoices.rb +2 -2
  76. data/lib/modern_treasury/resources/ledger_account_settlements.rb +3 -1
  77. data/lib/modern_treasury/resources/legal_entities.rb +33 -2
  78. data/lib/modern_treasury/resources/payment_orders.rb +3 -3
  79. data/lib/modern_treasury/resources/transactions.rb +5 -3
  80. data/lib/modern_treasury/version.rb +1 -1
  81. data/lib/modern_treasury.rb +1 -0
  82. data/rbi/modern_treasury/models/bulk_request_create_params.rbi +104 -522
  83. data/rbi/modern_treasury/models/child_legal_entity.rbi +452 -5
  84. data/rbi/modern_treasury/models/child_legal_entity_create.rbi +68 -0
  85. data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +74 -0
  86. data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -10
  87. data/rbi/modern_treasury/models/counterparty_create_params.rbi +74 -65
  88. data/rbi/modern_treasury/models/currency.rbi +0 -3
  89. data/rbi/modern_treasury/models/document.rbi +0 -87
  90. data/rbi/modern_treasury/models/document_create_params.rbi +22 -22
  91. data/rbi/modern_treasury/models/document_list_params.rbi +22 -22
  92. data/rbi/modern_treasury/models/expected_payment.rbi +2 -4
  93. data/rbi/modern_treasury/models/expected_payment_create_params.rbi +2 -4
  94. data/rbi/modern_treasury/models/expected_payment_list_params.rbi +3 -61
  95. data/rbi/modern_treasury/models/expected_payment_type.rbi +1 -18
  96. data/rbi/modern_treasury/models/expected_payment_update_params.rbi +2 -4
  97. data/rbi/modern_treasury/models/external_account_create_params.rbi +0 -65
  98. data/rbi/modern_treasury/models/external_account_verify_params.rbi +0 -55
  99. data/rbi/modern_treasury/models/external_account_verify_response.rbi +0 -55
  100. data/rbi/modern_treasury/models/hold_list_params.rbi +8 -13
  101. data/rbi/modern_treasury/models/identification_create_request.rbi +375 -0
  102. data/rbi/modern_treasury/models/incoming_payment_detail.rbi +17 -43
  103. data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +12 -27
  104. data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +20 -33
  105. data/rbi/modern_treasury/models/internal_account.rbi +14 -55
  106. data/rbi/modern_treasury/models/internal_account_create_params.rbi +60 -77
  107. data/rbi/modern_treasury/models/internal_account_list_params.rbi +0 -55
  108. data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +0 -55
  109. data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +17 -7
  110. data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +31 -15
  111. data/rbi/modern_treasury/models/invoice.rbi +27 -3
  112. data/rbi/modern_treasury/models/invoice_create_params.rbi +4 -6
  113. data/rbi/modern_treasury/models/invoice_update_params.rbi +4 -6
  114. data/rbi/modern_treasury/models/ledger_account_settlement_update_params.rbi +10 -0
  115. data/rbi/modern_treasury/models/ledger_balance.rbi +21 -3
  116. data/rbi/modern_treasury/models/ledger_entry.rbi +10 -0
  117. data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +26 -10
  118. data/rbi/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +89 -13
  119. data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +10 -0
  120. data/rbi/modern_treasury/models/legal_entity.rbi +451 -5
  121. data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +18 -3
  122. data/rbi/modern_treasury/models/legal_entity_association.rbi +2 -4
  123. data/rbi/modern_treasury/models/legal_entity_create_params.rbi +68 -0
  124. data/rbi/modern_treasury/models/legal_entity_update_params.rbi +68 -0
  125. data/rbi/modern_treasury/models/legal_entity_update_status_params.rbi +96 -0
  126. data/rbi/modern_treasury/models/payment_order.rbi +30 -32
  127. data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +6 -73
  128. data/rbi/modern_treasury/models/payment_order_create_params.rbi +28 -95
  129. data/rbi/modern_treasury/models/payment_order_list_params.rbi +0 -55
  130. data/rbi/modern_treasury/models/payment_order_subtype.rbi +3 -4
  131. data/rbi/modern_treasury/models/payment_order_type.rbi +2 -16
  132. data/rbi/modern_treasury/models/payment_order_update_params.rbi +6 -73
  133. data/rbi/modern_treasury/models/payment_reference.rbi +24 -24
  134. data/rbi/modern_treasury/models/reconciliation_rule.rbi +3 -43
  135. data/rbi/modern_treasury/models/return_object.rbi +33 -29
  136. data/rbi/modern_treasury/models/routing_detail.rbi +0 -59
  137. data/rbi/modern_treasury/models/routing_detail_create_params.rbi +0 -65
  138. data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +0 -55
  139. data/rbi/modern_treasury/models/third_party_verification.rbi +10 -0
  140. data/rbi/modern_treasury/models/transaction.rbi +24 -35
  141. data/rbi/modern_treasury/models/transaction_create_params.rbi +33 -72
  142. data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +0 -10
  143. data/rbi/modern_treasury/models/virtual_account_create_params.rbi +0 -65
  144. data/rbi/modern_treasury/models.rbi +3 -0
  145. data/rbi/modern_treasury/resources/bulk_requests.rbi +3 -2
  146. data/rbi/modern_treasury/resources/expected_payments.rbi +3 -6
  147. data/rbi/modern_treasury/resources/holds.rbi +3 -5
  148. data/rbi/modern_treasury/resources/incoming_payment_details.rbi +10 -2
  149. data/rbi/modern_treasury/resources/internal_accounts.rbi +15 -8
  150. data/rbi/modern_treasury/resources/invoices.rbi +4 -6
  151. data/rbi/modern_treasury/resources/ledger_account_settlements.rbi +4 -0
  152. data/rbi/modern_treasury/resources/legal_entities.rbi +31 -0
  153. data/rbi/modern_treasury/resources/payment_orders.rbi +9 -12
  154. data/rbi/modern_treasury/resources/transactions.rbi +11 -7
  155. data/sig/modern_treasury/models/bulk_request_create_params.rbs +45 -207
  156. data/sig/modern_treasury/models/child_legal_entity.rbs +179 -2
  157. data/sig/modern_treasury/models/child_legal_entity_create.rbs +21 -0
  158. data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +21 -0
  159. data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -4
  160. data/sig/modern_treasury/models/counterparty_create_params.rbs +21 -26
  161. data/sig/modern_treasury/models/currency.rbs +0 -6
  162. data/sig/modern_treasury/models/document.rbs +0 -57
  163. data/sig/modern_treasury/models/document_create_params.rbs +22 -22
  164. data/sig/modern_treasury/models/document_list_params.rbs +22 -22
  165. data/sig/modern_treasury/models/expected_payment_list_params.rbs +0 -22
  166. data/sig/modern_treasury/models/expected_payment_type.rbs +0 -22
  167. data/sig/modern_treasury/models/external_account_create_params.rbs +0 -26
  168. data/sig/modern_treasury/models/external_account_verify_params.rbs +0 -22
  169. data/sig/modern_treasury/models/external_account_verify_response.rbs +0 -22
  170. data/sig/modern_treasury/models/identification_create_request.rbs +150 -0
  171. data/sig/modern_treasury/models/incoming_payment_detail.rbs +7 -16
  172. data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +7 -12
  173. data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +9 -12
  174. data/sig/modern_treasury/models/internal_account.rbs +5 -22
  175. data/sig/modern_treasury/models/internal_account_create_params.rbs +22 -33
  176. data/sig/modern_treasury/models/internal_account_list_params.rbs +0 -22
  177. data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +0 -22
  178. data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +9 -4
  179. data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +17 -8
  180. data/sig/modern_treasury/models/invoice.rbs +18 -3
  181. data/sig/modern_treasury/models/ledger_account_settlement_update_params.rbs +5 -0
  182. data/sig/modern_treasury/models/ledger_balance.rbs +18 -3
  183. data/sig/modern_treasury/models/ledger_entry.rbs +5 -0
  184. data/sig/modern_treasury/models/ledger_entry_create_request.rbs +14 -5
  185. data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +42 -8
  186. data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +5 -0
  187. data/sig/modern_treasury/models/legal_entity.rbs +179 -2
  188. data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +10 -3
  189. data/sig/modern_treasury/models/legal_entity_create_params.rbs +21 -0
  190. data/sig/modern_treasury/models/legal_entity_update_params.rbs +21 -0
  191. data/sig/modern_treasury/models/legal_entity_update_status_params.rbs +43 -0
  192. data/sig/modern_treasury/models/payment_order.rbs +10 -10
  193. data/sig/modern_treasury/models/payment_order_create_async_params.rbs +0 -26
  194. data/sig/modern_treasury/models/payment_order_create_params.rbs +22 -48
  195. data/sig/modern_treasury/models/payment_order_list_params.rbs +0 -22
  196. data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -6
  197. data/sig/modern_treasury/models/payment_order_type.rbs +0 -22
  198. data/sig/modern_treasury/models/payment_order_update_params.rbs +0 -26
  199. data/sig/modern_treasury/models/payment_reference.rbs +10 -10
  200. data/sig/modern_treasury/models/reconciliation_rule.rbs +0 -22
  201. data/sig/modern_treasury/models/return_object.rbs +18 -12
  202. data/sig/modern_treasury/models/routing_detail.rbs +0 -26
  203. data/sig/modern_treasury/models/routing_detail_create_params.rbs +0 -26
  204. data/sig/modern_treasury/models/routing_number_lookup_request.rbs +0 -22
  205. data/sig/modern_treasury/models/third_party_verification.rbs +4 -1
  206. data/sig/modern_treasury/models/transaction.rbs +7 -26
  207. data/sig/modern_treasury/models/transaction_create_params.rbs +14 -27
  208. data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +0 -4
  209. data/sig/modern_treasury/models/virtual_account_create_params.rbs +0 -26
  210. data/sig/modern_treasury/models.rbs +2 -0
  211. data/sig/modern_treasury/resources/incoming_payment_details.rbs +2 -0
  212. data/sig/modern_treasury/resources/internal_accounts.rbs +3 -2
  213. data/sig/modern_treasury/resources/ledger_account_settlements.rbs +1 -0
  214. data/sig/modern_treasury/resources/legal_entities.rbs +8 -0
  215. data/sig/modern_treasury/resources/transactions.rbs +2 -1
  216. metadata +5 -2
@@ -104,7 +104,6 @@ module ModernTreasury
104
104
  ACH = :ach
105
105
  AU_BECS = :au_becs
106
106
  BACS = :bacs
107
- BASE = :base
108
107
  BOOK = :book
109
108
  CARD = :card
110
109
  CHATS = :chats
@@ -112,28 +111,18 @@ module ModernTreasury
112
111
  CROSS_BORDER = :cross_border
113
112
  DK_NETS = :dk_nets
114
113
  EFT = :eft
115
- ETHEREUM = :ethereum
116
114
  GB_FPS = :gb_fps
117
- HU_ICS = :hu_ics
118
- INTERAC = :interac
119
115
  MASAV = :masav
120
116
  MX_CCEN = :mx_ccen
121
117
  NEFT = :neft
122
118
  NICS = :nics
123
119
  NZ_BECS = :nz_becs
124
120
  PL_ELIXIR = :pl_elixir
125
- POLYGON = :polygon
126
- PROVXCHANGE = :provxchange
127
- RO_SENT = :ro_sent
128
121
  RTP = :rtp
129
122
  SE_BANKGIROT = :se_bankgirot
130
- SEN = :sen
131
123
  SEPA = :sepa
132
124
  SG_GIRO = :sg_giro
133
125
  SIC = :sic
134
- SIGNET = :signet
135
- SKNBI = :sknbi
136
- SOLANA = :solana
137
126
  STABLECOIN = :stablecoin
138
127
  WIRE = :wire
139
128
  ZENGIN = :zengin
@@ -159,8 +148,6 @@ module ModernTreasury
159
148
  DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
160
149
  GB_SORT_CODE = :gb_sort_code
161
150
  HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
162
- HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
163
- ID_SKNBI_CODE = :id_sknbi_code
164
151
  IL_BANK_CODE = :il_bank_code
165
152
  IN_IFSC = :in_ifsc
166
153
  JP_ZENGIN_CODE = :jp_zengin_code
@@ -78,8 +78,6 @@ module ModernTreasury
78
78
  DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
79
79
  GB_SORT_CODE = :gb_sort_code
80
80
  HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
81
- HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
82
- ID_SKNBI_CODE = :id_sknbi_code
83
81
  IL_BANK_CODE = :il_bank_code
84
82
  IN_IFSC = :in_ifsc
85
83
  JP_ZENGIN_CODE = :jp_zengin_code
@@ -104,7 +102,6 @@ module ModernTreasury
104
102
  ACH = :ach
105
103
  AU_BECS = :au_becs
106
104
  BACS = :bacs
107
- BASE = :base
108
105
  BOOK = :book
109
106
  CARD = :card
110
107
  CHATS = :chats
@@ -112,28 +109,18 @@ module ModernTreasury
112
109
  CROSS_BORDER = :cross_border
113
110
  DK_NETS = :dk_nets
114
111
  EFT = :eft
115
- ETHEREUM = :ethereum
116
112
  GB_FPS = :gb_fps
117
- HU_ICS = :hu_ics
118
- INTERAC = :interac
119
113
  MASAV = :masav
120
114
  MX_CCEN = :mx_ccen
121
115
  NEFT = :neft
122
116
  NICS = :nics
123
117
  NZ_BECS = :nz_becs
124
118
  PL_ELIXIR = :pl_elixir
125
- POLYGON = :polygon
126
- PROVXCHANGE = :provxchange
127
- RO_SENT = :ro_sent
128
119
  RTP = :rtp
129
120
  SE_BANKGIROT = :se_bankgirot
130
- SEN = :sen
131
121
  SEPA = :sepa
132
122
  SG_GIRO = :sg_giro
133
123
  SIC = :sic
134
- SIGNET = :signet
135
- SKNBI = :sknbi
136
- SOLANA = :solana
137
124
  STABLECOIN = :stablecoin
138
125
  WIRE = :wire
139
126
  ZENGIN = :zengin
@@ -92,7 +92,6 @@ module ModernTreasury
92
92
  ACH = :ach
93
93
  AU_BECS = :au_becs
94
94
  BACS = :bacs
95
- BASE = :base
96
95
  BOOK = :book
97
96
  CARD = :card
98
97
  CHATS = :chats
@@ -100,28 +99,18 @@ module ModernTreasury
100
99
  CROSS_BORDER = :cross_border
101
100
  DK_NETS = :dk_nets
102
101
  EFT = :eft
103
- ETHEREUM = :ethereum
104
102
  GB_FPS = :gb_fps
105
- HU_ICS = :hu_ics
106
- INTERAC = :interac
107
103
  MASAV = :masav
108
104
  MX_CCEN = :mx_ccen
109
105
  NEFT = :neft
110
106
  NICS = :nics
111
107
  NZ_BECS = :nz_becs
112
108
  PL_ELIXIR = :pl_elixir
113
- POLYGON = :polygon
114
- PROVXCHANGE = :provxchange
115
- RO_SENT = :ro_sent
116
109
  RTP = :rtp
117
110
  SE_BANKGIROT = :se_bankgirot
118
- SEN = :sen
119
111
  SEPA = :sepa
120
112
  SG_GIRO = :sg_giro
121
113
  SIC = :sic
122
- SIGNET = :signet
123
- SKNBI = :sknbi
124
- SOLANA = :solana
125
114
  STABLECOIN = :stablecoin
126
115
  WIRE = :wire
127
116
  ZENGIN = :zengin
@@ -82,6 +82,8 @@ module ModernTreasury
82
82
  PERSONA = :persona
83
83
  MIDDESK = :middesk
84
84
  ALLOY = :alloy
85
+ IDOLOGY = :idology
86
+ SOCURE = :socure
85
87
  SUMSUB = :sumsub
86
88
  VERIFF = :veriff
87
89
 
@@ -16,6 +16,13 @@ module ModernTreasury
16
16
  # @return [Integer]
17
17
  required :amount, Integer
18
18
 
19
+ # @!attribute amount_string
20
+ # The amount of the transaction as a string, preserving full precision for values
21
+ # that may exceed safe integer limits in some languages.
22
+ #
23
+ # @return [String]
24
+ required :amount_string, String
25
+
19
26
  # @!attribute as_of_date
20
27
  # The date on which the transaction occurred.
21
28
  #
@@ -112,7 +119,7 @@ module ModernTreasury
112
119
 
113
120
  # @!attribute type
114
121
  # The type of the transaction. Examples could be
115
- # `card, `ach`, `wire`, `check`, `rtp`, `book`, or `sen`.
122
+ # `card, `ach`, `wire`, `check`, `rtp`, or `book`.
116
123
  #
117
124
  # @return [Symbol, ModernTreasury::Models::Transaction::Type]
118
125
  required :type, enum: -> { ModernTreasury::Transaction::Type }
@@ -132,8 +139,8 @@ module ModernTreasury
132
139
  # @!attribute vendor_code_type
133
140
  # The type of `vendor_code` being reported. Can be one of `bai2`, `bankprov`,
134
141
  # `bnk_dev`, `cleartouch`, `currencycloud`, `cross_river`, `dc_bank`, `dwolla`,
135
- # `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `signet`, `silvergate`,
136
- # `swift`, `us_bank`, or others.
142
+ # `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `silvergate`, `swift`,
143
+ # `us_bank`, or others.
137
144
  #
138
145
  # @return [Symbol, ModernTreasury::Models::Transaction::VendorCodeType, nil]
139
146
  required :vendor_code_type, enum: -> { ModernTreasury::Transaction::VendorCodeType }, nil?: true
@@ -169,7 +176,7 @@ module ModernTreasury
169
176
  # @return [String, nil]
170
177
  optional :vendor_description, String, nil?: true
171
178
 
172
- # @!method initialize(id:, amount:, as_of_date:, as_of_time:, as_of_timezone:, created_at:, currency:, custom_identifiers:, direction:, discarded_at:, foreign_exchange_rate:, internal_account_id:, live_mode:, metadata:, object:, posted:, reconciled:, type:, updated_at:, vendor_code:, vendor_code_type:, vendor_customer_id:, vendor_id:, details: nil, vendor_description: nil)
179
+ # @!method initialize(id:, amount:, amount_string:, as_of_date:, as_of_time:, as_of_timezone:, created_at:, currency:, custom_identifiers:, direction:, discarded_at:, foreign_exchange_rate:, internal_account_id:, live_mode:, metadata:, object:, posted:, reconciled:, type:, updated_at:, vendor_code:, vendor_code_type:, vendor_customer_id:, vendor_id:, details: nil, vendor_description: nil)
173
180
  # Some parameter documentations has been truncated, see
174
181
  # {ModernTreasury::Models::Transaction} for more details.
175
182
  #
@@ -177,6 +184,8 @@ module ModernTreasury
177
184
  #
178
185
  # @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
179
186
  #
187
+ # @param amount_string [String] The amount of the transaction as a string, preserving full precision for values
188
+ #
180
189
  # @param as_of_date [Date, nil] The date on which the transaction occurred.
181
190
  #
182
191
  # @param as_of_time [Time, nil] The time on which the transaction occurred. Depending on the granularity of the
@@ -224,7 +233,7 @@ module ModernTreasury
224
233
  # @param vendor_description [String, nil] The transaction detail text that often appears in on your bank statement and in
225
234
 
226
235
  # The type of the transaction. Examples could be
227
- # `card, `ach`, `wire`, `check`, `rtp`, `book`, or `sen`.
236
+ # `card, `ach`, `wire`, `check`, `rtp`, or `book`.
228
237
  #
229
238
  # @see ModernTreasury::Models::Transaction#type
230
239
  module Type
@@ -233,7 +242,6 @@ module ModernTreasury
233
242
  ACH = :ach
234
243
  AU_BECS = :au_becs
235
244
  BACS = :bacs
236
- BASE = :base
237
245
  BOOK = :book
238
246
  CARD = :card
239
247
  CHATS = :chats
@@ -241,28 +249,18 @@ module ModernTreasury
241
249
  CROSS_BORDER = :cross_border
242
250
  DK_NETS = :dk_nets
243
251
  EFT = :eft
244
- ETHEREUM = :ethereum
245
252
  GB_FPS = :gb_fps
246
- HU_ICS = :hu_ics
247
- INTERAC = :interac
248
253
  MASAV = :masav
249
254
  MX_CCEN = :mx_ccen
250
255
  NEFT = :neft
251
256
  NICS = :nics
252
257
  NZ_BECS = :nz_becs
253
258
  PL_ELIXIR = :pl_elixir
254
- POLYGON = :polygon
255
- PROVXCHANGE = :provxchange
256
- RO_SENT = :ro_sent
257
259
  RTP = :rtp
258
260
  SE_BANKGIROT = :se_bankgirot
259
- SEN = :sen
260
261
  SEPA = :sepa
261
262
  SG_GIRO = :sg_giro
262
263
  SIC = :sic
263
- SIGNET = :signet
264
- SKNBI = :sknbi
265
- SOLANA = :solana
266
264
  STABLECOIN = :stablecoin
267
265
  WIRE = :wire
268
266
  ZENGIN = :zengin
@@ -274,8 +272,8 @@ module ModernTreasury
274
272
 
275
273
  # The type of `vendor_code` being reported. Can be one of `bai2`, `bankprov`,
276
274
  # `bnk_dev`, `cleartouch`, `currencycloud`, `cross_river`, `dc_bank`, `dwolla`,
277
- # `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `signet`, `silvergate`,
278
- # `swift`, `us_bank`, or others.
275
+ # `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `silvergate`, `swift`,
276
+ # `us_bank`, or others.
279
277
  #
280
278
  # @see ModernTreasury::Models::Transaction#vendor_code_type
281
279
  module VendorCodeType
@@ -285,7 +283,6 @@ module ModernTreasury
285
283
  BANKING_CIRCLE = :banking_circle
286
284
  BANKPROV = :bankprov
287
285
  BNK_DEV = :bnk_dev
288
- BRALE = :brale
289
286
  CLEARTOUCH = :cleartouch
290
287
  COINBASE_PRIME = :coinbase_prime
291
288
  COLUMN = :column
@@ -303,9 +300,9 @@ module ModernTreasury
303
300
  PAXOS = :paxos
304
301
  PAYPAL = :paypal
305
302
  PNC = :pnc
306
- SIGNET = :signet
307
303
  SILVERGATE = :silvergate
308
304
  SWIFT = :swift
305
+ TURNKEY = :turnkey
309
306
  US_BANK = :us_bank
310
307
  USER = :user
311
308
  WESTERN_ALLIANCE = :western_alliance
@@ -7,13 +7,6 @@ module ModernTreasury
7
7
  extend ModernTreasury::Internal::Type::RequestParameters::Converter
8
8
  include ModernTreasury::Internal::Type::RequestParameters
9
9
 
10
- # @!attribute amount
11
- # Value in specified currency's smallest unit. e.g. $10 would be represented
12
- # as 1000.
13
- #
14
- # @return [Integer]
15
- required :amount, Integer
16
-
17
10
  # @!attribute as_of_date
18
11
  # The date on which the transaction occurred.
19
12
  #
@@ -42,12 +35,26 @@ module ModernTreasury
42
35
  # @!attribute vendor_code_type
43
36
  # The type of `vendor_code` being reported. Can be one of `bai2`, `bankprov`,
44
37
  # `bnk_dev`, `cleartouch`, `currencycloud`, `cross_river`, `dc_bank`, `dwolla`,
45
- # `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `signet`, `silvergate`,
46
- # `swift`, `us_bank`, or others.
38
+ # `evolve`, `goldman_sachs`, `iso20022`, `jpmc`, `mx`, `silvergate`, `swift`,
39
+ # `us_bank`, or others.
47
40
  #
48
41
  # @return [String, nil]
49
42
  required :vendor_code_type, String, nil?: true
50
43
 
44
+ # @!attribute amount
45
+ # Value in specified currency's smallest unit. e.g. $10 would be represented
46
+ # as 1000.
47
+ #
48
+ # @return [Integer, nil]
49
+ optional :amount, Integer
50
+
51
+ # @!attribute amount_string
52
+ # The transaction amount as a string, preserving full precision for values that
53
+ # may exceed safe integer limits in some languages.
54
+ #
55
+ # @return [String, nil]
56
+ optional :amount_string, String
57
+
51
58
  # @!attribute metadata
52
59
  # Additional data represented as key-value pairs. Both the key and value must be
53
60
  # strings.
@@ -63,7 +70,7 @@ module ModernTreasury
63
70
 
64
71
  # @!attribute type
65
72
  # The type of the transaction. Examples could be
66
- # `card, `ach`, `wire`, `check`, `rtp`, `book`, or `sen`.
73
+ # `card, `ach`, `wire`, `check`, `rtp`, or `book`.
67
74
  #
68
75
  # @return [Symbol, ModernTreasury::Models::TransactionCreateParams::Type, nil]
69
76
  optional :type, enum: -> { ModernTreasury::TransactionCreateParams::Type }, nil?: true
@@ -81,12 +88,10 @@ module ModernTreasury
81
88
  # @return [String, nil]
82
89
  optional :vendor_description, String, nil?: true
83
90
 
84
- # @!method initialize(amount:, as_of_date:, direction:, internal_account_id:, vendor_code:, vendor_code_type:, metadata: nil, posted: nil, type: nil, vendor_customer_id: nil, vendor_description: nil, request_options: {})
91
+ # @!method initialize(as_of_date:, direction:, internal_account_id:, vendor_code:, vendor_code_type:, amount: nil, amount_string: nil, metadata: nil, posted: nil, type: nil, vendor_customer_id: nil, vendor_description: nil, request_options: {})
85
92
  # Some parameter documentations has been truncated, see
86
93
  # {ModernTreasury::Models::TransactionCreateParams} for more details.
87
94
  #
88
- # @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
89
- #
90
95
  # @param as_of_date [Date, nil] The date on which the transaction occurred.
91
96
  #
92
97
  # @param direction [String] Either `credit` or `debit`.
@@ -97,6 +102,10 @@ module ModernTreasury
97
102
  #
98
103
  # @param vendor_code_type [String, nil] The type of `vendor_code` being reported. Can be one of `bai2`, `bankprov`, `bnk
99
104
  #
105
+ # @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
106
+ #
107
+ # @param amount_string [String] The transaction amount as a string, preserving full precision for values that ma
108
+ #
100
109
  # @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
101
110
  #
102
111
  # @param posted [Boolean] This field will be `true` if the transaction has posted to the account.
@@ -110,14 +119,13 @@ module ModernTreasury
110
119
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
111
120
 
112
121
  # The type of the transaction. Examples could be
113
- # `card, `ach`, `wire`, `check`, `rtp`, `book`, or `sen`.
122
+ # `card, `ach`, `wire`, `check`, `rtp`, or `book`.
114
123
  module Type
115
124
  extend ModernTreasury::Internal::Type::Enum
116
125
 
117
126
  ACH = :ach
118
127
  AU_BECS = :au_becs
119
128
  BACS = :bacs
120
- BASE = :base
121
129
  BOOK = :book
122
130
  CARD = :card
123
131
  CHATS = :chats
@@ -125,28 +133,18 @@ module ModernTreasury
125
133
  CROSS_BORDER = :cross_border
126
134
  DK_NETS = :dk_nets
127
135
  EFT = :eft
128
- ETHEREUM = :ethereum
129
136
  GB_FPS = :gb_fps
130
- HU_ICS = :hu_ics
131
- INTERAC = :interac
132
137
  MASAV = :masav
133
138
  MX_CCEN = :mx_ccen
134
139
  NEFT = :neft
135
140
  NICS = :nics
136
141
  NZ_BECS = :nz_becs
137
142
  PL_ELIXIR = :pl_elixir
138
- POLYGON = :polygon
139
- PROVXCHANGE = :provxchange
140
- RO_SENT = :ro_sent
141
143
  RTP = :rtp
142
144
  SE_BANKGIROT = :se_bankgirot
143
- SEN = :sen
144
145
  SEPA = :sepa
145
146
  SG_GIRO = :sg_giro
146
147
  SIC = :sic
147
- SIGNET = :signet
148
- SKNBI = :sknbi
149
- SOLANA = :solana
150
148
  STABLECOIN = :stablecoin
151
149
  WIRE = :wire
152
150
  ZENGIN = :zengin
@@ -50,8 +50,6 @@ module ModernTreasury
50
50
  DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
51
51
  GB_SORT_CODE = :gb_sort_code
52
52
  HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
53
- HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
54
- ID_SKNBI_CODE = :id_sknbi_code
55
53
  IL_BANK_CODE = :il_bank_code
56
54
  IN_IFSC = :in_ifsc
57
55
  JP_ZENGIN_CODE = :jp_zengin_code
@@ -207,8 +207,6 @@ module ModernTreasury
207
207
  DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
208
208
  GB_SORT_CODE = :gb_sort_code
209
209
  HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
210
- HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
211
- ID_SKNBI_CODE = :id_sknbi_code
212
210
  IL_BANK_CODE = :il_bank_code
213
211
  IN_IFSC = :in_ifsc
214
212
  JP_ZENGIN_CODE = :jp_zengin_code
@@ -235,7 +233,6 @@ module ModernTreasury
235
233
  ACH = :ach
236
234
  AU_BECS = :au_becs
237
235
  BACS = :bacs
238
- BASE = :base
239
236
  BOOK = :book
240
237
  CARD = :card
241
238
  CHATS = :chats
@@ -243,28 +240,18 @@ module ModernTreasury
243
240
  CROSS_BORDER = :cross_border
244
241
  DK_NETS = :dk_nets
245
242
  EFT = :eft
246
- ETHEREUM = :ethereum
247
243
  GB_FPS = :gb_fps
248
- HU_ICS = :hu_ics
249
- INTERAC = :interac
250
244
  MASAV = :masav
251
245
  MX_CCEN = :mx_ccen
252
246
  NEFT = :neft
253
247
  NICS = :nics
254
248
  NZ_BECS = :nz_becs
255
249
  PL_ELIXIR = :pl_elixir
256
- POLYGON = :polygon
257
- PROVXCHANGE = :provxchange
258
- RO_SENT = :ro_sent
259
250
  RTP = :rtp
260
251
  SE_BANKGIROT = :se_bankgirot
261
- SEN = :sen
262
252
  SEPA = :sepa
263
253
  SG_GIRO = :sg_giro
264
254
  SIC = :sic
265
- SIGNET = :signet
266
- SKNBI = :sknbi
267
- SOLANA = :solana
268
255
  STABLECOIN = :stablecoin
269
256
  WIRE = :wire
270
257
  ZENGIN = :zengin
@@ -378,6 +378,8 @@ module ModernTreasury
378
378
 
379
379
  LegalEntityUpdateParams = ModernTreasury::Models::LegalEntityUpdateParams
380
380
 
381
+ LegalEntityUpdateStatusParams = ModernTreasury::Models::LegalEntityUpdateStatusParams
382
+
381
383
  LegalEntityWealthEmploymentDetail = ModernTreasury::Models::LegalEntityWealthEmploymentDetail
382
384
 
383
385
  LineItem = ModernTreasury::Models::LineItem
@@ -14,7 +14,7 @@ module ModernTreasury
14
14
  #
15
15
  # @param resource_type [Symbol, ModernTreasury::Models::BulkRequestCreateParams::ResourceType] One of payment_order, expected_payment, or ledger_transaction.
16
16
  #
17
- # @param resources [Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentCreateRequest, ModernTreasury::Models::LedgerTransactionCreateRequest, ModernTreasury::Models::LedgerAccountCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ID, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerTransactionUpdateRequestWithID>] An array of objects where each object contains the input params for a single `ac
17
+ # @param resources [Array<ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderAsyncCreateRequest, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentCreateRequest, ModernTreasury::Models::LedgerTransactionCreateRequest, ModernTreasury::Models::LedgerAccountCreateRequest, Object, ModernTreasury::Models::BulkRequestCreateParams::Resource::ID, ModernTreasury::Models::BulkRequestCreateParams::Resource::PaymentOrderUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::ExpectedPaymentUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::TransactionUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerTransactionUpdateRequestWithID, ModernTreasury::Models::BulkRequestCreateParams::Resource::LedgerAccountUpdateRequestWithID>] An array of objects where each object contains the input params for a single `ac
18
18
  #
19
19
  # @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
20
20
  #
@@ -56,7 +56,7 @@ module ModernTreasury
56
56
  #
57
57
  # @param statement_descriptor [String, nil] The statement description you expect to see on the transaction. For ACH payments
58
58
  #
59
- # @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen, se
59
+ # @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
60
60
  #
61
61
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
62
62
  #
@@ -145,7 +145,7 @@ module ModernTreasury
145
145
  #
146
146
  # @param status [Symbol, ModernTreasury::Models::ExpectedPaymentUpdateParams::Status, nil] The Expected Payment's status can be updated from partially_reconciled to reconc
147
147
  #
148
- # @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp, sen, se
148
+ # @param type [Symbol, ModernTreasury::Models::ExpectedPaymentType, nil] One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire.
149
149
  #
150
150
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
151
151
  #
@@ -190,7 +190,7 @@ module ModernTreasury
190
190
  #
191
191
  # @param status [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Status] One of unreconciled, reconciled, or archived.
192
192
  #
193
- # @param type [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Type] One of: ach, au_becs, bacs, book, check, eft, interac, provxchange, rtp,sen, sep
193
+ # @param type [Symbol, ModernTreasury::Models::ExpectedPaymentListParams::Type] One of: ach, au_becs, bacs, book, check, eft, rtp, sepa, wire
194
194
  #
195
195
  # @param updated_at_lower_bound [Time] Used to return expected payments updated after some datetime
196
196
  #
@@ -92,11 +92,11 @@ module ModernTreasury
92
92
  #
93
93
  # @param per_page [Integer]
94
94
  #
95
- # @param status [Symbol, ModernTreasury::Models::HoldListParams::Status, nil] Translation missing: en.openapi.descriptions.payment_order.query_params.status
95
+ # @param status [Symbol, ModernTreasury::Models::HoldListParams::Status, nil] Only return holds for a specific status.
96
96
  #
97
- # @param target_id [String, nil] Translation missing: en.openapi.descriptions.payment_order.query_params.target_i
97
+ # @param target_id [String, nil] Only return holds for a specific target ID.
98
98
  #
99
- # @param target_type [Symbol, ModernTreasury::Models::HoldListParams::TargetType, nil] Translation missing: en.openapi.descriptions.payment_order.query_params.target_t
99
+ # @param target_type [Symbol, ModernTreasury::Models::HoldListParams::TargetType, nil] Only return holds for a specific target type.
100
100
  #
101
101
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
102
102
  #
@@ -55,7 +55,7 @@ module ModernTreasury
55
55
  #
56
56
  # Get a list of Incoming Payment Details.
57
57
  #
58
- # @overload list(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: {})
58
+ # @overload list(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: {})
59
59
  #
60
60
  # @param after_cursor [String, nil]
61
61
  #
@@ -71,7 +71,9 @@ module ModernTreasury
71
71
  #
72
72
  # @param status [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Status] The current status of the incoming payment order. One of `pending`, `completed`,
73
73
  #
74
- # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type] One of: `ach`, `book`, `check`, `eft`, `interac`, `rtp`, `sepa`, `signet`, or `w
74
+ # @param subtype [String] An additional layer of classification for the type of incoming payment detail. F
75
+ #
76
+ # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Type] One of: `ach`, `book`, `check`, `eft`, `rtp`, `sepa`, or `wire`.
75
77
  #
76
78
  # @param virtual_account_id [String] If the incoming payment detail is in a virtual account, the ID of the Virtual Ac
77
79
  #
@@ -99,7 +101,7 @@ module ModernTreasury
99
101
  #
100
102
  # Simulate Incoming Payment Detail
101
103
  #
102
- # @overload create_async(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: {})
104
+ # @overload create_async(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: {})
103
105
  #
104
106
  # @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
105
107
  #
@@ -115,6 +117,8 @@ module ModernTreasury
115
117
  #
116
118
  # @param internal_account_id [String] The ID of one of your internal accounts.
117
119
  #
120
+ # @param subtype [String, nil] An additional layer of classification for the type of incoming payment detail, e
121
+ #
118
122
  # @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::Type] One of `ach`, `wire`, `check`.
119
123
  #
120
124
  # @param virtual_account_id [String, nil] An optional parameter to associate the incoming payment detail to a virtual acco
@@ -11,22 +11,22 @@ module ModernTreasury
11
11
  #
12
12
  # create internal account
13
13
  #
14
- # @overload create(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: {})
14
+ # @overload create(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: {})
15
15
  #
16
- # @param connection_id [String] The identifier of the financial institution the account belongs to.
17
- #
18
- # @param currency [Symbol, ModernTreasury::Models::InternalAccountCreateParams::Currency] Either "USD" or "CAD". Internal accounts created at Increase only supports "USD"
16
+ # @param currency [Symbol, ModernTreasury::Models::InternalAccountCreateParams::Currency] The currency of the internal account. Supports fiat and stablecoin currencies.
19
17
  #
20
18
  # @param name [String] The nickname of the account.
21
19
  #
22
- # @param party_name [String] The legal name of the entity which owns the account.
23
- #
24
20
  # @param account_capabilities [Array<ModernTreasury::Models::InternalAccountCreateParams::AccountCapability>] An array of AccountCapability objects that list the originating abilities of the
25
21
  #
26
22
  # @param account_type [Symbol, ModernTreasury::Models::InternalAccountCreateParams::AccountType] The account type, used to provision the appropriate account at the financial ins
27
23
  #
24
+ # @param connection_id [String] The identifier of the financial institution the account belongs to. If not provi
25
+ #
28
26
  # @param counterparty_id [String] The Counterparty associated to this account.
29
27
  #
28
+ # @param debitable [Boolean, nil] Whether this account can receive ACH debits. Only applicable to accounts created
29
+ #
30
30
  # @param external_id [String, nil] An optional user-defined 180 character unique identifier.
31
31
  #
32
32
  # @param legal_entity_id [String] The LegalEntity associated to this account.
@@ -37,6 +37,8 @@ module ModernTreasury
37
37
  #
38
38
  # @param party_address [ModernTreasury::Models::InternalAccountCreateParams::PartyAddress] The address associated with the owner or null.
39
39
  #
40
+ # @param party_name [String, nil] The legal name of the entity which owns the account.
41
+ #
40
42
  # @param vendor_attributes [Hash{Symbol=>String}] A hash of vendor specific attributes that will be used when creating the account
41
43
  #
42
44
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -49,7 +49,7 @@ module ModernTreasury
49
49
  #
50
50
  # @param payment_method [Symbol, ModernTreasury::Models::InvoiceCreateParams::PaymentMethod] The method by which the invoice can be paid. `ui` will show the embedded payment
51
51
  #
52
- # @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
52
+ # @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`, `ba
53
53
  #
54
54
  # @param receiving_account_id [String] The receiving account ID. Can be an `external_account`.
55
55
  #
@@ -140,7 +140,7 @@ module ModernTreasury
140
140
  #
141
141
  # @param payment_method [Symbol, ModernTreasury::Models::InvoiceUpdateParams::PaymentMethod] The method by which the invoice can be paid. `ui` will show the embedded payment
142
142
  #
143
- # @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `sen`, `book`, `rtp`, `sep
143
+ # @param payment_type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`, `ba
144
144
  #
145
145
  # @param receiving_account_id [String] The receiving account ID. Can be an `external_account`.
146
146
  #
@@ -70,7 +70,7 @@ module ModernTreasury
70
70
  #
71
71
  # Update the details of a ledger account settlement.
72
72
  #
73
- # @overload update(id, description: nil, metadata: nil, status: nil, request_options: {})
73
+ # @overload update(id, description: nil, metadata: nil, skip_settlement_ledger_transaction: nil, status: nil, request_options: {})
74
74
  #
75
75
  # @param id [String] id
76
76
  #
@@ -78,6 +78,8 @@ module ModernTreasury
78
78
  #
79
79
  # @param metadata [Hash{Symbol=>String}] Additional data represented as key-value pairs. Both the key and value must be s
80
80
  #
81
+ # @param skip_settlement_ledger_transaction [Boolean, nil] It is set to `false` by default. It should be set to `true` when migrating exist
82
+ #
81
83
  # @param status [Symbol, ModernTreasury::Models::LedgerAccountSettlementUpdateParams::Status] To post a pending ledger account settlement, use `posted`. To archive a pending
82
84
  #
83
85
  # @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}, nil]