modern_treasury 0.32.0 → 0.33.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 +32 -0
- data/README.md +1 -1
- data/lib/modern_treasury/client.rb +4 -0
- data/lib/modern_treasury/models/account_collection_flow.rb +2 -0
- data/lib/modern_treasury/models/account_detail.rb +0 -1
- data/lib/modern_treasury/models/account_detail_create_params.rb +0 -1
- data/lib/modern_treasury/models/bulk_request_create_params.rb +26 -5
- data/lib/modern_treasury/models/case_.rb +4 -2
- data/lib/modern_treasury/models/child_legal_entity.rb +2 -0
- data/lib/modern_treasury/models/child_legal_entity_create.rb +4 -0
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +4 -0
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -1
- data/lib/modern_treasury/models/counterparty_create_params.rb +6 -65
- data/lib/modern_treasury/models/currency.rb +1 -0
- data/lib/modern_treasury/models/embeddable_flow.rb +298 -0
- data/lib/modern_treasury/models/embeddable_flow_create_params.rb +219 -0
- data/lib/modern_treasury/models/embeddable_flow_list_params.rb +49 -0
- data/lib/modern_treasury/models/{hold_retrieve_params.rb → embeddable_flow_retrieve_params.rb} +2 -2
- data/lib/modern_treasury/models/embeddable_flow_update_params.rb +44 -0
- data/lib/modern_treasury/models/external_account_create_params.rb +1 -1
- data/lib/modern_treasury/models/external_account_type.rb +2 -5
- data/lib/modern_treasury/models/external_account_update_params.rb +2 -2
- data/lib/modern_treasury/models/identification.rb +19 -0
- data/lib/modern_treasury/models/identification_create_params.rb +21 -0
- data/lib/modern_treasury/models/identification_create_request.rb +21 -0
- data/lib/modern_treasury/models/identification_update_params.rb +19 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +14 -4
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +14 -11
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +4 -2
- data/lib/modern_treasury/models/internal_account.rb +186 -14
- data/lib/modern_treasury/models/internal_account_create_params.rb +36 -8
- data/lib/modern_treasury/models/internal_account_update_params.rb +35 -3
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +12 -4
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +12 -4
- data/lib/modern_treasury/models/legal_entity.rb +2 -0
- data/lib/modern_treasury/models/legal_entity_create_params.rb +4 -0
- data/lib/modern_treasury/models/legal_entity_update_params.rb +2 -0
- data/lib/modern_treasury/models/payment_action_list_params.rb +1 -0
- data/lib/modern_treasury/models/payment_order.rb +6 -0
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +13 -2
- data/lib/modern_treasury/models/payment_order_create_params.rb +21 -3
- data/lib/modern_treasury/models/payment_order_update_params.rb +13 -2
- data/lib/modern_treasury/models/payment_reference.rb +6 -0
- data/lib/modern_treasury/models/return_object.rb +6 -0
- data/lib/modern_treasury/models/routing_detail.rb +1 -0
- data/lib/modern_treasury/models/routing_detail_create_params.rb +1 -0
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +1 -0
- data/lib/modern_treasury/models/third_party_verification.rb +1 -0
- data/lib/modern_treasury/models/transaction_list_params.rb +1 -8
- data/lib/modern_treasury/models/transactions/transaction_line_item.rb +4 -4
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +1 -0
- data/lib/modern_treasury/models/virtual_account.rb +9 -1
- data/lib/modern_treasury/models/virtual_account_create_params.rb +11 -2
- data/lib/modern_treasury/models/virtual_account_update_params.rb +14 -1
- data/lib/modern_treasury/models.rb +10 -10
- data/lib/modern_treasury/resources/account_collection_flows.rb +2 -0
- data/lib/modern_treasury/resources/counterparties.rb +1 -5
- data/lib/modern_treasury/resources/embeddable_flows.rb +111 -0
- data/lib/modern_treasury/resources/external_accounts.rb +1 -1
- data/lib/modern_treasury/resources/holds.rb +0 -113
- data/lib/modern_treasury/resources/incoming_payment_details.rb +4 -4
- data/lib/modern_treasury/resources/internal_accounts.rb +11 -26
- data/lib/modern_treasury/resources/payment_flows.rb +2 -0
- data/lib/modern_treasury/resources/payment_orders.rb +9 -3
- data/lib/modern_treasury/resources/transactions.rb +1 -3
- data/lib/modern_treasury/resources/virtual_accounts.rb +9 -2
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +6 -9
- data/rbi/modern_treasury/client.rbi +3 -0
- data/rbi/modern_treasury/models/account_collection_flow.rbi +10 -0
- data/rbi/modern_treasury/models/account_detail.rbi +0 -5
- data/rbi/modern_treasury/models/account_detail_create_params.rbi +0 -5
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +38 -15
- data/rbi/modern_treasury/models/case_.rbi +20 -10
- data/rbi/modern_treasury/models/child_legal_entity.rbi +10 -0
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +20 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -5
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +25 -170
- data/rbi/modern_treasury/models/currency.rbi +1 -0
- data/rbi/modern_treasury/models/embeddable_flow.rbi +512 -0
- data/rbi/modern_treasury/models/embeddable_flow_create_params.rbi +531 -0
- data/rbi/modern_treasury/models/embeddable_flow_list_params.rbi +119 -0
- data/rbi/modern_treasury/models/{hold_retrieve_params.rbi → embeddable_flow_retrieve_params.rbi} +2 -2
- data/rbi/modern_treasury/models/{hold_update_params.rbi → embeddable_flow_update_params.rbi} +21 -21
- data/rbi/modern_treasury/models/external_account_create_params.rbi +5 -5
- data/rbi/modern_treasury/models/external_account_type.rbi +6 -15
- data/rbi/modern_treasury/models/external_account_update_params.rbi +7 -3
- data/rbi/modern_treasury/models/identification.rbi +41 -0
- data/rbi/modern_treasury/models/identification_create_params.rbi +105 -0
- data/rbi/modern_treasury/models/identification_create_request.rbi +105 -0
- data/rbi/modern_treasury/models/identification_update_params.rbi +95 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +26 -8
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +24 -28
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +13 -3
- data/rbi/modern_treasury/models/internal_account.rbi +310 -34
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +78 -29
- data/rbi/modern_treasury/models/internal_account_update_params.rbi +79 -3
- data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +32 -6
- data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +32 -6
- data/rbi/modern_treasury/models/legal_entity.rbi +10 -0
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +20 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +10 -0
- data/rbi/modern_treasury/models/payment_action_list_params.rbi +5 -0
- data/rbi/modern_treasury/models/payment_order.rbi +30 -0
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +19 -5
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +25 -5
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +19 -5
- data/rbi/modern_treasury/models/payment_reference.rbi +30 -0
- data/rbi/modern_treasury/models/return_object.rbi +30 -0
- data/rbi/modern_treasury/models/routing_detail.rbi +5 -0
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +5 -0
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +5 -0
- data/rbi/modern_treasury/models/third_party_verification.rbi +5 -0
- data/rbi/modern_treasury/models/transaction_list_params.rbi +0 -9
- data/rbi/modern_treasury/models/transactions/transaction_line_item.rbi +5 -5
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +5 -0
- data/rbi/modern_treasury/models/virtual_account.rbi +13 -0
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +18 -5
- data/rbi/modern_treasury/models/virtual_account_update_params.rbi +19 -0
- data/rbi/modern_treasury/models.rbi +13 -11
- data/rbi/modern_treasury/resources/counterparties.rbi +0 -8
- data/rbi/modern_treasury/resources/embeddable_flows.rbi +88 -0
- data/rbi/modern_treasury/resources/external_accounts.rbi +1 -1
- data/rbi/modern_treasury/resources/holds.rbi +0 -94
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +10 -7
- data/rbi/modern_treasury/resources/internal_accounts.rbi +30 -18
- data/rbi/modern_treasury/resources/payment_orders.rbi +18 -0
- data/rbi/modern_treasury/resources/transactions.rbi +0 -2
- data/rbi/modern_treasury/resources/virtual_accounts.rbi +9 -0
- data/sig/modern_treasury/client.rbs +2 -0
- data/sig/modern_treasury/models/account_collection_flow.rbs +3 -1
- data/sig/modern_treasury/models/account_detail.rbs +0 -2
- data/sig/modern_treasury/models/account_detail_create_params.rbs +0 -2
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +14 -6
- data/sig/modern_treasury/models/case_.rbs +10 -6
- data/sig/modern_treasury/models/child_legal_entity.rbs +4 -0
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +9 -1
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +9 -1
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -2
- data/sig/modern_treasury/models/counterparty_create_params.rbs +11 -64
- data/sig/modern_treasury/models/currency.rbs +2 -0
- data/sig/modern_treasury/models/embeddable_flow.rbs +270 -0
- data/sig/modern_treasury/models/embeddable_flow_create_params.rbs +219 -0
- data/sig/modern_treasury/models/embeddable_flow_list_params.rbs +61 -0
- data/sig/modern_treasury/models/{hold_retrieve_params.rbs → embeddable_flow_retrieve_params.rbs} +2 -2
- data/sig/modern_treasury/models/embeddable_flow_update_params.rbs +41 -0
- data/sig/modern_treasury/models/external_account_create_params.rbs +2 -2
- data/sig/modern_treasury/models/external_account_type.rbs +5 -11
- data/sig/modern_treasury/models/external_account_update_params.rbs +4 -8
- data/sig/modern_treasury/models/identification.rbs +38 -0
- data/sig/modern_treasury/models/identification_create_params.rbs +43 -1
- data/sig/modern_treasury/models/identification_create_request.rbs +43 -1
- data/sig/modern_treasury/models/identification_update_params.rbs +38 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +10 -3
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +5 -9
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +3 -1
- data/sig/modern_treasury/models/internal_account.rbs +143 -18
- data/sig/modern_treasury/models/internal_account_create_params.rbs +22 -11
- data/sig/modern_treasury/models/internal_account_update_params.rbs +24 -7
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +8 -0
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +8 -0
- data/sig/modern_treasury/models/legal_entity.rbs +4 -0
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +9 -1
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +4 -0
- data/sig/modern_treasury/models/payment_action_list_params.rbs +2 -1
- data/sig/modern_treasury/models/payment_order.rbs +12 -0
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +7 -2
- data/sig/modern_treasury/models/payment_order_create_params.rbs +12 -2
- data/sig/modern_treasury/models/payment_order_update_params.rbs +7 -2
- data/sig/modern_treasury/models/payment_reference.rbs +12 -0
- data/sig/modern_treasury/models/return_object.rbs +12 -0
- data/sig/modern_treasury/models/routing_detail.rbs +2 -0
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +2 -0
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +2 -0
- data/sig/modern_treasury/models/third_party_verification.rbs +9 -1
- data/sig/modern_treasury/models/transaction_list_params.rbs +0 -7
- data/sig/modern_treasury/models/transactions/transaction_line_item.rbs +4 -4
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +2 -0
- data/sig/modern_treasury/models/virtual_account.rbs +5 -0
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +11 -2
- data/sig/modern_treasury/models/virtual_account_update_params.rbs +6 -1
- data/sig/modern_treasury/models.rbs +10 -10
- data/sig/modern_treasury/resources/counterparties.rbs +0 -2
- data/sig/modern_treasury/resources/embeddable_flows.rbs +32 -0
- data/sig/modern_treasury/resources/external_accounts.rbs +1 -1
- data/sig/modern_treasury/resources/holds.rbs +0 -31
- data/sig/modern_treasury/resources/incoming_payment_details.rbs +1 -1
- data/sig/modern_treasury/resources/internal_accounts.rbs +5 -6
- data/sig/modern_treasury/resources/payment_orders.rbs +3 -0
- data/sig/modern_treasury/resources/transactions.rbs +0 -1
- data/sig/modern_treasury/resources/virtual_accounts.rbs +2 -0
- metadata +20 -29
- data/lib/modern_treasury/models/hold_create_params.rb +0 -74
- data/lib/modern_treasury/models/hold_create_response.rb +0 -143
- data/lib/modern_treasury/models/hold_list_params.rb +0 -86
- data/lib/modern_treasury/models/hold_list_response.rb +0 -143
- data/lib/modern_treasury/models/hold_retrieve_response.rb +0 -143
- data/lib/modern_treasury/models/hold_update_params.rb +0 -47
- data/lib/modern_treasury/models/hold_update_response.rb +0 -143
- data/lib/modern_treasury/models/internal_account_request_closure_params.rb +0 -20
- data/rbi/modern_treasury/models/hold_create_params.rbi +0 -125
- data/rbi/modern_treasury/models/hold_create_response.rbi +0 -232
- data/rbi/modern_treasury/models/hold_list_params.rbi +0 -145
- data/rbi/modern_treasury/models/hold_list_response.rbi +0 -225
- data/rbi/modern_treasury/models/hold_retrieve_response.rbi +0 -234
- data/rbi/modern_treasury/models/hold_update_response.rbi +0 -232
- data/rbi/modern_treasury/models/internal_account_request_closure_params.rbi +0 -38
- data/sig/modern_treasury/models/hold_create_params.rbs +0 -66
- data/sig/modern_treasury/models/hold_create_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_list_params.rbs +0 -76
- data/sig/modern_treasury/models/hold_list_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_retrieve_response.rbs +0 -108
- data/sig/modern_treasury/models/hold_update_params.rbs +0 -46
- data/sig/modern_treasury/models/hold_update_response.rbs +0 -108
- data/sig/modern_treasury/models/internal_account_request_closure_params.rbs +0 -23
|
@@ -125,6 +125,7 @@ module ModernTreasury
|
|
|
125
125
|
BH_CPR = :bh_cpr
|
|
126
126
|
BH_VAT = :bh_vat
|
|
127
127
|
BJ_IFU = :bj_ifu
|
|
128
|
+
BM_CRN = :bm_crn
|
|
128
129
|
BO_NIT = :bo_nit
|
|
129
130
|
BR_CNPJ = :br_cnpj
|
|
130
131
|
BR_CPF = :br_cpf
|
|
@@ -168,6 +169,7 @@ module ModernTreasury
|
|
|
168
169
|
FR_NIF = :fr_nif
|
|
169
170
|
FR_SIREN = :fr_siren
|
|
170
171
|
FR_VAT = :fr_vat
|
|
172
|
+
GA_NIF = :ga_nif
|
|
171
173
|
GB_NINO = :gb_nino
|
|
172
174
|
GB_UTR = :gb_utr
|
|
173
175
|
GB_VAT = :gb_vat
|
|
@@ -183,6 +185,7 @@ module ModernTreasury
|
|
|
183
185
|
GL_CPR = :gl_cpr
|
|
184
186
|
GL_GER = :gl_ger
|
|
185
187
|
GM_TIN = :gm_tin
|
|
188
|
+
GR_AFM = :gr_afm
|
|
186
189
|
GR_VAT = :gr_vat
|
|
187
190
|
GT_NIT = :gt_nit
|
|
188
191
|
HK_BRN = :hk_brn
|
|
@@ -216,12 +219,14 @@ module ModernTreasury
|
|
|
216
219
|
KR_CRN = :kr_crn
|
|
217
220
|
KR_RRN = :kr_rrn
|
|
218
221
|
KW_CID = :kw_cid
|
|
222
|
+
KY_CRN = :ky_crn
|
|
219
223
|
KZ_BIN = :kz_bin
|
|
220
224
|
KZ_IIN = :kz_iin
|
|
221
225
|
LA_TIN = :la_tin
|
|
222
226
|
LC_TIN = :lc_tin
|
|
223
227
|
LI_PEID = :li_peid
|
|
224
228
|
LK_TIN = :lk_tin
|
|
229
|
+
LR_TIN = :lr_tin
|
|
225
230
|
LS_TIN = :ls_tin
|
|
226
231
|
LT_AK = :lt_ak
|
|
227
232
|
LT_JAK = :lt_jak
|
|
@@ -229,11 +234,13 @@ module ModernTreasury
|
|
|
229
234
|
LU_VAT = :lu_vat
|
|
230
235
|
LV_PK = :lv_pk
|
|
231
236
|
LV_RN = :lv_rn
|
|
237
|
+
MA_ICE = :ma_ice
|
|
232
238
|
MD_IDNP = :md_idnp
|
|
233
239
|
ME_JMBG = :me_jmbg
|
|
234
240
|
ME_PIB = :me_pib
|
|
235
241
|
MG_NIF = :mg_nif
|
|
236
242
|
MH_SSN = :mh_ssn
|
|
243
|
+
ML_NIF = :ml_nif
|
|
237
244
|
MO_BIR = :mo_bir
|
|
238
245
|
MO_TIN_B = :mo_tin_b
|
|
239
246
|
MO_TIN_I = :mo_tin_i
|
|
@@ -241,6 +248,7 @@ module ModernTreasury
|
|
|
241
248
|
MT_TIN = :mt_tin
|
|
242
249
|
MT_VAT = :mt_vat
|
|
243
250
|
MU_TAN = :mu_tan
|
|
251
|
+
MV_TIN = :mv_tin
|
|
244
252
|
MW_TPIN = :mw_tpin
|
|
245
253
|
MX_CURP = :mx_curp
|
|
246
254
|
MX_INE = :mx_ine
|
|
@@ -251,6 +259,7 @@ module ModernTreasury
|
|
|
251
259
|
MZ_NUIT = :mz_nuit
|
|
252
260
|
NA_TIN = :na_tin
|
|
253
261
|
NATIONAL_ID = :national_id
|
|
262
|
+
NG_TIN = :ng_tin
|
|
254
263
|
NL_BSN = :nl_bsn
|
|
255
264
|
NL_BTW = :nl_btw
|
|
256
265
|
NL_RSIN = :nl_rsin
|
|
@@ -266,17 +275,23 @@ module ModernTreasury
|
|
|
266
275
|
PE_RUC = :pe_ruc
|
|
267
276
|
PG_TIN = :pg_tin
|
|
268
277
|
PH_TIN = :ph_tin
|
|
278
|
+
PK_CNIC = :pk_cnic
|
|
279
|
+
PK_NTN = :pk_ntn
|
|
269
280
|
PL_NIP = :pl_nip
|
|
270
281
|
PL_PESEL = :pl_pesel
|
|
271
282
|
PT_NIF = :pt_nif
|
|
272
283
|
PY_RUC = :py_ruc
|
|
284
|
+
QA_QFC_TIN = :qa_qfc_tin
|
|
273
285
|
QA_QID = :qa_qid
|
|
274
286
|
QA_TIN = :qa_tin
|
|
275
287
|
RO_CNP = :ro_cnp
|
|
276
288
|
RO_CUI = :ro_cui
|
|
289
|
+
RS_JMBG = :rs_jmbg
|
|
290
|
+
RS_PIB = :rs_pib
|
|
277
291
|
RW_TIN = :rw_tin
|
|
278
292
|
SA_TIN = :sa_tin
|
|
279
293
|
SA_VAT = :sa_vat
|
|
294
|
+
SC_TIN = :sc_tin
|
|
280
295
|
SE_ORGNR = :se_orgnr
|
|
281
296
|
SE_PNMR = :se_pnmr
|
|
282
297
|
SG_FIN = :sg_fin
|
|
@@ -288,6 +303,7 @@ module ModernTreasury
|
|
|
288
303
|
SK_RC = :sk_rc
|
|
289
304
|
SL_TIN = :sl_tin
|
|
290
305
|
SM_SSI = :sm_ssi
|
|
306
|
+
SN_NINEA = :sn_ninea
|
|
291
307
|
SZ_TIN = :sz_tin
|
|
292
308
|
TG_NIF = :tg_nif
|
|
293
309
|
TH_JID = :th_jid
|
|
@@ -305,7 +321,10 @@ module ModernTreasury
|
|
|
305
321
|
UY_RUT = :uy_rut
|
|
306
322
|
UZ_INN = :uz_inn
|
|
307
323
|
UZ_PIN = :uz_pin
|
|
324
|
+
VG_CRN = :vg_crn
|
|
325
|
+
VISA = :visa
|
|
308
326
|
VN_TIN = :vn_tin
|
|
327
|
+
XK_FN = :xk_fn
|
|
309
328
|
ZA_TRN = :za_trn
|
|
310
329
|
ZA_VAT = :za_vat
|
|
311
330
|
ZM_TPIN = :zm_tpin
|
|
@@ -102,6 +102,7 @@ module ModernTreasury
|
|
|
102
102
|
BH_CPR = :bh_cpr
|
|
103
103
|
BH_VAT = :bh_vat
|
|
104
104
|
BJ_IFU = :bj_ifu
|
|
105
|
+
BM_CRN = :bm_crn
|
|
105
106
|
BO_NIT = :bo_nit
|
|
106
107
|
BR_CNPJ = :br_cnpj
|
|
107
108
|
BR_CPF = :br_cpf
|
|
@@ -145,6 +146,7 @@ module ModernTreasury
|
|
|
145
146
|
FR_NIF = :fr_nif
|
|
146
147
|
FR_SIREN = :fr_siren
|
|
147
148
|
FR_VAT = :fr_vat
|
|
149
|
+
GA_NIF = :ga_nif
|
|
148
150
|
GB_NINO = :gb_nino
|
|
149
151
|
GB_UTR = :gb_utr
|
|
150
152
|
GB_VAT = :gb_vat
|
|
@@ -160,6 +162,7 @@ module ModernTreasury
|
|
|
160
162
|
GL_CPR = :gl_cpr
|
|
161
163
|
GL_GER = :gl_ger
|
|
162
164
|
GM_TIN = :gm_tin
|
|
165
|
+
GR_AFM = :gr_afm
|
|
163
166
|
GR_VAT = :gr_vat
|
|
164
167
|
GT_NIT = :gt_nit
|
|
165
168
|
HK_BRN = :hk_brn
|
|
@@ -193,12 +196,14 @@ module ModernTreasury
|
|
|
193
196
|
KR_CRN = :kr_crn
|
|
194
197
|
KR_RRN = :kr_rrn
|
|
195
198
|
KW_CID = :kw_cid
|
|
199
|
+
KY_CRN = :ky_crn
|
|
196
200
|
KZ_BIN = :kz_bin
|
|
197
201
|
KZ_IIN = :kz_iin
|
|
198
202
|
LA_TIN = :la_tin
|
|
199
203
|
LC_TIN = :lc_tin
|
|
200
204
|
LI_PEID = :li_peid
|
|
201
205
|
LK_TIN = :lk_tin
|
|
206
|
+
LR_TIN = :lr_tin
|
|
202
207
|
LS_TIN = :ls_tin
|
|
203
208
|
LT_AK = :lt_ak
|
|
204
209
|
LT_JAK = :lt_jak
|
|
@@ -206,11 +211,13 @@ module ModernTreasury
|
|
|
206
211
|
LU_VAT = :lu_vat
|
|
207
212
|
LV_PK = :lv_pk
|
|
208
213
|
LV_RN = :lv_rn
|
|
214
|
+
MA_ICE = :ma_ice
|
|
209
215
|
MD_IDNP = :md_idnp
|
|
210
216
|
ME_JMBG = :me_jmbg
|
|
211
217
|
ME_PIB = :me_pib
|
|
212
218
|
MG_NIF = :mg_nif
|
|
213
219
|
MH_SSN = :mh_ssn
|
|
220
|
+
ML_NIF = :ml_nif
|
|
214
221
|
MO_BIR = :mo_bir
|
|
215
222
|
MO_TIN_B = :mo_tin_b
|
|
216
223
|
MO_TIN_I = :mo_tin_i
|
|
@@ -218,6 +225,7 @@ module ModernTreasury
|
|
|
218
225
|
MT_TIN = :mt_tin
|
|
219
226
|
MT_VAT = :mt_vat
|
|
220
227
|
MU_TAN = :mu_tan
|
|
228
|
+
MV_TIN = :mv_tin
|
|
221
229
|
MW_TPIN = :mw_tpin
|
|
222
230
|
MX_CURP = :mx_curp
|
|
223
231
|
MX_INE = :mx_ine
|
|
@@ -228,6 +236,7 @@ module ModernTreasury
|
|
|
228
236
|
MZ_NUIT = :mz_nuit
|
|
229
237
|
NA_TIN = :na_tin
|
|
230
238
|
NATIONAL_ID = :national_id
|
|
239
|
+
NG_TIN = :ng_tin
|
|
231
240
|
NL_BSN = :nl_bsn
|
|
232
241
|
NL_BTW = :nl_btw
|
|
233
242
|
NL_RSIN = :nl_rsin
|
|
@@ -243,17 +252,23 @@ module ModernTreasury
|
|
|
243
252
|
PE_RUC = :pe_ruc
|
|
244
253
|
PG_TIN = :pg_tin
|
|
245
254
|
PH_TIN = :ph_tin
|
|
255
|
+
PK_CNIC = :pk_cnic
|
|
256
|
+
PK_NTN = :pk_ntn
|
|
246
257
|
PL_NIP = :pl_nip
|
|
247
258
|
PL_PESEL = :pl_pesel
|
|
248
259
|
PT_NIF = :pt_nif
|
|
249
260
|
PY_RUC = :py_ruc
|
|
261
|
+
QA_QFC_TIN = :qa_qfc_tin
|
|
250
262
|
QA_QID = :qa_qid
|
|
251
263
|
QA_TIN = :qa_tin
|
|
252
264
|
RO_CNP = :ro_cnp
|
|
253
265
|
RO_CUI = :ro_cui
|
|
266
|
+
RS_JMBG = :rs_jmbg
|
|
267
|
+
RS_PIB = :rs_pib
|
|
254
268
|
RW_TIN = :rw_tin
|
|
255
269
|
SA_TIN = :sa_tin
|
|
256
270
|
SA_VAT = :sa_vat
|
|
271
|
+
SC_TIN = :sc_tin
|
|
257
272
|
SE_ORGNR = :se_orgnr
|
|
258
273
|
SE_PNMR = :se_pnmr
|
|
259
274
|
SG_FIN = :sg_fin
|
|
@@ -265,6 +280,7 @@ module ModernTreasury
|
|
|
265
280
|
SK_RC = :sk_rc
|
|
266
281
|
SL_TIN = :sl_tin
|
|
267
282
|
SM_SSI = :sm_ssi
|
|
283
|
+
SN_NINEA = :sn_ninea
|
|
268
284
|
SZ_TIN = :sz_tin
|
|
269
285
|
TG_NIF = :tg_nif
|
|
270
286
|
TH_JID = :th_jid
|
|
@@ -282,7 +298,10 @@ module ModernTreasury
|
|
|
282
298
|
UY_RUT = :uy_rut
|
|
283
299
|
UZ_INN = :uz_inn
|
|
284
300
|
UZ_PIN = :uz_pin
|
|
301
|
+
VG_CRN = :vg_crn
|
|
302
|
+
VISA = :visa
|
|
285
303
|
VN_TIN = :vn_tin
|
|
304
|
+
XK_FN = :xk_fn
|
|
286
305
|
ZA_TRN = :za_trn
|
|
287
306
|
ZA_VAT = :za_vat
|
|
288
307
|
ZM_TPIN = :zm_tpin
|
|
@@ -323,12 +342,14 @@ module ModernTreasury
|
|
|
323
342
|
module DocumentType
|
|
324
343
|
extend ModernTreasury::Internal::Type::Enum
|
|
325
344
|
|
|
345
|
+
AGENT_AUTHORIZATION_LETTER = :agent_authorization_letter
|
|
326
346
|
ARTICLES_OF_INCORPORATION = :articles_of_incorporation
|
|
327
347
|
CERTIFICATE_OF_GOOD_STANDING = :certificate_of_good_standing
|
|
328
348
|
EIN_LETTER = :ein_letter
|
|
329
349
|
GENERIC = :generic
|
|
330
350
|
IDENTIFICATION_BACK = :identification_back
|
|
331
351
|
IDENTIFICATION_FRONT = :identification_front
|
|
352
|
+
LETTER_OF_ADMINISTRATION = :letter_of_administration
|
|
332
353
|
PROOF_OF_ADDRESS = :proof_of_address
|
|
333
354
|
|
|
334
355
|
# @!method self.values
|
|
@@ -90,6 +90,7 @@ module ModernTreasury
|
|
|
90
90
|
BH_CPR = :bh_cpr
|
|
91
91
|
BH_VAT = :bh_vat
|
|
92
92
|
BJ_IFU = :bj_ifu
|
|
93
|
+
BM_CRN = :bm_crn
|
|
93
94
|
BO_NIT = :bo_nit
|
|
94
95
|
BR_CNPJ = :br_cnpj
|
|
95
96
|
BR_CPF = :br_cpf
|
|
@@ -133,6 +134,7 @@ module ModernTreasury
|
|
|
133
134
|
FR_NIF = :fr_nif
|
|
134
135
|
FR_SIREN = :fr_siren
|
|
135
136
|
FR_VAT = :fr_vat
|
|
137
|
+
GA_NIF = :ga_nif
|
|
136
138
|
GB_NINO = :gb_nino
|
|
137
139
|
GB_UTR = :gb_utr
|
|
138
140
|
GB_VAT = :gb_vat
|
|
@@ -148,6 +150,7 @@ module ModernTreasury
|
|
|
148
150
|
GL_CPR = :gl_cpr
|
|
149
151
|
GL_GER = :gl_ger
|
|
150
152
|
GM_TIN = :gm_tin
|
|
153
|
+
GR_AFM = :gr_afm
|
|
151
154
|
GR_VAT = :gr_vat
|
|
152
155
|
GT_NIT = :gt_nit
|
|
153
156
|
HK_BRN = :hk_brn
|
|
@@ -181,12 +184,14 @@ module ModernTreasury
|
|
|
181
184
|
KR_CRN = :kr_crn
|
|
182
185
|
KR_RRN = :kr_rrn
|
|
183
186
|
KW_CID = :kw_cid
|
|
187
|
+
KY_CRN = :ky_crn
|
|
184
188
|
KZ_BIN = :kz_bin
|
|
185
189
|
KZ_IIN = :kz_iin
|
|
186
190
|
LA_TIN = :la_tin
|
|
187
191
|
LC_TIN = :lc_tin
|
|
188
192
|
LI_PEID = :li_peid
|
|
189
193
|
LK_TIN = :lk_tin
|
|
194
|
+
LR_TIN = :lr_tin
|
|
190
195
|
LS_TIN = :ls_tin
|
|
191
196
|
LT_AK = :lt_ak
|
|
192
197
|
LT_JAK = :lt_jak
|
|
@@ -194,11 +199,13 @@ module ModernTreasury
|
|
|
194
199
|
LU_VAT = :lu_vat
|
|
195
200
|
LV_PK = :lv_pk
|
|
196
201
|
LV_RN = :lv_rn
|
|
202
|
+
MA_ICE = :ma_ice
|
|
197
203
|
MD_IDNP = :md_idnp
|
|
198
204
|
ME_JMBG = :me_jmbg
|
|
199
205
|
ME_PIB = :me_pib
|
|
200
206
|
MG_NIF = :mg_nif
|
|
201
207
|
MH_SSN = :mh_ssn
|
|
208
|
+
ML_NIF = :ml_nif
|
|
202
209
|
MO_BIR = :mo_bir
|
|
203
210
|
MO_TIN_B = :mo_tin_b
|
|
204
211
|
MO_TIN_I = :mo_tin_i
|
|
@@ -206,6 +213,7 @@ module ModernTreasury
|
|
|
206
213
|
MT_TIN = :mt_tin
|
|
207
214
|
MT_VAT = :mt_vat
|
|
208
215
|
MU_TAN = :mu_tan
|
|
216
|
+
MV_TIN = :mv_tin
|
|
209
217
|
MW_TPIN = :mw_tpin
|
|
210
218
|
MX_CURP = :mx_curp
|
|
211
219
|
MX_INE = :mx_ine
|
|
@@ -216,6 +224,7 @@ module ModernTreasury
|
|
|
216
224
|
MZ_NUIT = :mz_nuit
|
|
217
225
|
NA_TIN = :na_tin
|
|
218
226
|
NATIONAL_ID = :national_id
|
|
227
|
+
NG_TIN = :ng_tin
|
|
219
228
|
NL_BSN = :nl_bsn
|
|
220
229
|
NL_BTW = :nl_btw
|
|
221
230
|
NL_RSIN = :nl_rsin
|
|
@@ -231,17 +240,23 @@ module ModernTreasury
|
|
|
231
240
|
PE_RUC = :pe_ruc
|
|
232
241
|
PG_TIN = :pg_tin
|
|
233
242
|
PH_TIN = :ph_tin
|
|
243
|
+
PK_CNIC = :pk_cnic
|
|
244
|
+
PK_NTN = :pk_ntn
|
|
234
245
|
PL_NIP = :pl_nip
|
|
235
246
|
PL_PESEL = :pl_pesel
|
|
236
247
|
PT_NIF = :pt_nif
|
|
237
248
|
PY_RUC = :py_ruc
|
|
249
|
+
QA_QFC_TIN = :qa_qfc_tin
|
|
238
250
|
QA_QID = :qa_qid
|
|
239
251
|
QA_TIN = :qa_tin
|
|
240
252
|
RO_CNP = :ro_cnp
|
|
241
253
|
RO_CUI = :ro_cui
|
|
254
|
+
RS_JMBG = :rs_jmbg
|
|
255
|
+
RS_PIB = :rs_pib
|
|
242
256
|
RW_TIN = :rw_tin
|
|
243
257
|
SA_TIN = :sa_tin
|
|
244
258
|
SA_VAT = :sa_vat
|
|
259
|
+
SC_TIN = :sc_tin
|
|
245
260
|
SE_ORGNR = :se_orgnr
|
|
246
261
|
SE_PNMR = :se_pnmr
|
|
247
262
|
SG_FIN = :sg_fin
|
|
@@ -253,6 +268,7 @@ module ModernTreasury
|
|
|
253
268
|
SK_RC = :sk_rc
|
|
254
269
|
SL_TIN = :sl_tin
|
|
255
270
|
SM_SSI = :sm_ssi
|
|
271
|
+
SN_NINEA = :sn_ninea
|
|
256
272
|
SZ_TIN = :sz_tin
|
|
257
273
|
TG_NIF = :tg_nif
|
|
258
274
|
TH_JID = :th_jid
|
|
@@ -270,7 +286,10 @@ module ModernTreasury
|
|
|
270
286
|
UY_RUT = :uy_rut
|
|
271
287
|
UZ_INN = :uz_inn
|
|
272
288
|
UZ_PIN = :uz_pin
|
|
289
|
+
VG_CRN = :vg_crn
|
|
290
|
+
VISA = :visa
|
|
273
291
|
VN_TIN = :vn_tin
|
|
292
|
+
XK_FN = :xk_fn
|
|
274
293
|
ZA_TRN = :za_trn
|
|
275
294
|
ZA_VAT = :za_vat
|
|
276
295
|
ZM_TPIN = :zm_tpin
|
|
@@ -311,12 +330,14 @@ module ModernTreasury
|
|
|
311
330
|
module DocumentType
|
|
312
331
|
extend ModernTreasury::Internal::Type::Enum
|
|
313
332
|
|
|
333
|
+
AGENT_AUTHORIZATION_LETTER = :agent_authorization_letter
|
|
314
334
|
ARTICLES_OF_INCORPORATION = :articles_of_incorporation
|
|
315
335
|
CERTIFICATE_OF_GOOD_STANDING = :certificate_of_good_standing
|
|
316
336
|
EIN_LETTER = :ein_letter
|
|
317
337
|
GENERIC = :generic
|
|
318
338
|
IDENTIFICATION_BACK = :identification_back
|
|
319
339
|
IDENTIFICATION_FRONT = :identification_front
|
|
340
|
+
LETTER_OF_ADMINISTRATION = :letter_of_administration
|
|
320
341
|
PROOF_OF_ADDRESS = :proof_of_address
|
|
321
342
|
|
|
322
343
|
# @!method self.values
|
|
@@ -92,6 +92,7 @@ module ModernTreasury
|
|
|
92
92
|
BH_CPR = :bh_cpr
|
|
93
93
|
BH_VAT = :bh_vat
|
|
94
94
|
BJ_IFU = :bj_ifu
|
|
95
|
+
BM_CRN = :bm_crn
|
|
95
96
|
BO_NIT = :bo_nit
|
|
96
97
|
BR_CNPJ = :br_cnpj
|
|
97
98
|
BR_CPF = :br_cpf
|
|
@@ -135,6 +136,7 @@ module ModernTreasury
|
|
|
135
136
|
FR_NIF = :fr_nif
|
|
136
137
|
FR_SIREN = :fr_siren
|
|
137
138
|
FR_VAT = :fr_vat
|
|
139
|
+
GA_NIF = :ga_nif
|
|
138
140
|
GB_NINO = :gb_nino
|
|
139
141
|
GB_UTR = :gb_utr
|
|
140
142
|
GB_VAT = :gb_vat
|
|
@@ -150,6 +152,7 @@ module ModernTreasury
|
|
|
150
152
|
GL_CPR = :gl_cpr
|
|
151
153
|
GL_GER = :gl_ger
|
|
152
154
|
GM_TIN = :gm_tin
|
|
155
|
+
GR_AFM = :gr_afm
|
|
153
156
|
GR_VAT = :gr_vat
|
|
154
157
|
GT_NIT = :gt_nit
|
|
155
158
|
HK_BRN = :hk_brn
|
|
@@ -183,12 +186,14 @@ module ModernTreasury
|
|
|
183
186
|
KR_CRN = :kr_crn
|
|
184
187
|
KR_RRN = :kr_rrn
|
|
185
188
|
KW_CID = :kw_cid
|
|
189
|
+
KY_CRN = :ky_crn
|
|
186
190
|
KZ_BIN = :kz_bin
|
|
187
191
|
KZ_IIN = :kz_iin
|
|
188
192
|
LA_TIN = :la_tin
|
|
189
193
|
LC_TIN = :lc_tin
|
|
190
194
|
LI_PEID = :li_peid
|
|
191
195
|
LK_TIN = :lk_tin
|
|
196
|
+
LR_TIN = :lr_tin
|
|
192
197
|
LS_TIN = :ls_tin
|
|
193
198
|
LT_AK = :lt_ak
|
|
194
199
|
LT_JAK = :lt_jak
|
|
@@ -196,11 +201,13 @@ module ModernTreasury
|
|
|
196
201
|
LU_VAT = :lu_vat
|
|
197
202
|
LV_PK = :lv_pk
|
|
198
203
|
LV_RN = :lv_rn
|
|
204
|
+
MA_ICE = :ma_ice
|
|
199
205
|
MD_IDNP = :md_idnp
|
|
200
206
|
ME_JMBG = :me_jmbg
|
|
201
207
|
ME_PIB = :me_pib
|
|
202
208
|
MG_NIF = :mg_nif
|
|
203
209
|
MH_SSN = :mh_ssn
|
|
210
|
+
ML_NIF = :ml_nif
|
|
204
211
|
MO_BIR = :mo_bir
|
|
205
212
|
MO_TIN_B = :mo_tin_b
|
|
206
213
|
MO_TIN_I = :mo_tin_i
|
|
@@ -208,6 +215,7 @@ module ModernTreasury
|
|
|
208
215
|
MT_TIN = :mt_tin
|
|
209
216
|
MT_VAT = :mt_vat
|
|
210
217
|
MU_TAN = :mu_tan
|
|
218
|
+
MV_TIN = :mv_tin
|
|
211
219
|
MW_TPIN = :mw_tpin
|
|
212
220
|
MX_CURP = :mx_curp
|
|
213
221
|
MX_INE = :mx_ine
|
|
@@ -218,6 +226,7 @@ module ModernTreasury
|
|
|
218
226
|
MZ_NUIT = :mz_nuit
|
|
219
227
|
NA_TIN = :na_tin
|
|
220
228
|
NATIONAL_ID = :national_id
|
|
229
|
+
NG_TIN = :ng_tin
|
|
221
230
|
NL_BSN = :nl_bsn
|
|
222
231
|
NL_BTW = :nl_btw
|
|
223
232
|
NL_RSIN = :nl_rsin
|
|
@@ -233,17 +242,23 @@ module ModernTreasury
|
|
|
233
242
|
PE_RUC = :pe_ruc
|
|
234
243
|
PG_TIN = :pg_tin
|
|
235
244
|
PH_TIN = :ph_tin
|
|
245
|
+
PK_CNIC = :pk_cnic
|
|
246
|
+
PK_NTN = :pk_ntn
|
|
236
247
|
PL_NIP = :pl_nip
|
|
237
248
|
PL_PESEL = :pl_pesel
|
|
238
249
|
PT_NIF = :pt_nif
|
|
239
250
|
PY_RUC = :py_ruc
|
|
251
|
+
QA_QFC_TIN = :qa_qfc_tin
|
|
240
252
|
QA_QID = :qa_qid
|
|
241
253
|
QA_TIN = :qa_tin
|
|
242
254
|
RO_CNP = :ro_cnp
|
|
243
255
|
RO_CUI = :ro_cui
|
|
256
|
+
RS_JMBG = :rs_jmbg
|
|
257
|
+
RS_PIB = :rs_pib
|
|
244
258
|
RW_TIN = :rw_tin
|
|
245
259
|
SA_TIN = :sa_tin
|
|
246
260
|
SA_VAT = :sa_vat
|
|
261
|
+
SC_TIN = :sc_tin
|
|
247
262
|
SE_ORGNR = :se_orgnr
|
|
248
263
|
SE_PNMR = :se_pnmr
|
|
249
264
|
SG_FIN = :sg_fin
|
|
@@ -255,6 +270,7 @@ module ModernTreasury
|
|
|
255
270
|
SK_RC = :sk_rc
|
|
256
271
|
SL_TIN = :sl_tin
|
|
257
272
|
SM_SSI = :sm_ssi
|
|
273
|
+
SN_NINEA = :sn_ninea
|
|
258
274
|
SZ_TIN = :sz_tin
|
|
259
275
|
TG_NIF = :tg_nif
|
|
260
276
|
TH_JID = :th_jid
|
|
@@ -272,7 +288,10 @@ module ModernTreasury
|
|
|
272
288
|
UY_RUT = :uy_rut
|
|
273
289
|
UZ_INN = :uz_inn
|
|
274
290
|
UZ_PIN = :uz_pin
|
|
291
|
+
VG_CRN = :vg_crn
|
|
292
|
+
VISA = :visa
|
|
275
293
|
VN_TIN = :vn_tin
|
|
294
|
+
XK_FN = :xk_fn
|
|
276
295
|
ZA_TRN = :za_trn
|
|
277
296
|
ZA_VAT = :za_vat
|
|
278
297
|
ZM_TPIN = :zm_tpin
|
|
@@ -45,6 +45,12 @@ module ModernTreasury
|
|
|
45
45
|
# @return [Symbol, ModernTreasury::Models::TransactionDirection]
|
|
46
46
|
required :direction, enum: -> { ModernTreasury::TransactionDirection }
|
|
47
47
|
|
|
48
|
+
# @!attribute failure_reason
|
|
49
|
+
# The reason the incoming payment detail failed, or `null`.
|
|
50
|
+
#
|
|
51
|
+
# @return [String, nil]
|
|
52
|
+
required :failure_reason, String, nil?: true
|
|
53
|
+
|
|
48
54
|
# @!attribute internal_account_id
|
|
49
55
|
# The ID of the Internal Account for the incoming payment detail. This is always
|
|
50
56
|
# present.
|
|
@@ -115,7 +121,7 @@ module ModernTreasury
|
|
|
115
121
|
|
|
116
122
|
# @!attribute status
|
|
117
123
|
# The current status of the incoming payment order. One of `pending`, `completed`,
|
|
118
|
-
# or `
|
|
124
|
+
# `returned`, `failed`, or `held`.
|
|
119
125
|
#
|
|
120
126
|
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetail::Status]
|
|
121
127
|
required :status, enum: -> { ModernTreasury::IncomingPaymentDetail::Status }
|
|
@@ -210,7 +216,7 @@ module ModernTreasury
|
|
|
210
216
|
# @return [String, nil]
|
|
211
217
|
optional :receiving_account_number_safe, String, nil?: true
|
|
212
218
|
|
|
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)
|
|
219
|
+
# @!method initialize(id:, amount:, as_of_date:, created_at:, currency:, data:, direction:, failure_reason:, 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)
|
|
214
220
|
# Some parameter documentations has been truncated, see
|
|
215
221
|
# {ModernTreasury::Models::IncomingPaymentDetail} for more details.
|
|
216
222
|
#
|
|
@@ -228,6 +234,8 @@ module ModernTreasury
|
|
|
228
234
|
#
|
|
229
235
|
# @param direction [Symbol, ModernTreasury::Models::TransactionDirection] One of `credit` or `debit`.
|
|
230
236
|
#
|
|
237
|
+
# @param failure_reason [String, nil] The reason the incoming payment detail failed, or `null`.
|
|
238
|
+
#
|
|
231
239
|
# @param internal_account_id [String] The ID of the Internal Account for the incoming payment detail. This is always p
|
|
232
240
|
#
|
|
233
241
|
# @param ledger_transaction_id [String, nil] The ID of the ledger transaction linked to the incoming payment detail or `null`
|
|
@@ -296,7 +304,6 @@ module ModernTreasury
|
|
|
296
304
|
ID_NUMBER = :id_number
|
|
297
305
|
NZ_NUMBER = :nz_number
|
|
298
306
|
OTHER = :other
|
|
299
|
-
PAN = :pan
|
|
300
307
|
POLYGON_ADDRESS = :polygon_address
|
|
301
308
|
SG_NUMBER = :sg_number
|
|
302
309
|
SOLANA_ADDRESS = :solana_address
|
|
@@ -330,6 +337,7 @@ module ModernTreasury
|
|
|
330
337
|
SE_BANKGIRO_CLEARING_CODE = :se_bankgiro_clearing_code
|
|
331
338
|
SG_INTERBANK_CLEARING_CODE = :sg_interbank_clearing_code
|
|
332
339
|
SWIFT = :swift
|
|
340
|
+
VASP = :vasp
|
|
333
341
|
ZA_NATIONAL_CLEARING_CODE = :za_national_clearing_code
|
|
334
342
|
|
|
335
343
|
# @!method self.values
|
|
@@ -351,13 +359,15 @@ module ModernTreasury
|
|
|
351
359
|
end
|
|
352
360
|
|
|
353
361
|
# The current status of the incoming payment order. One of `pending`, `completed`,
|
|
354
|
-
# or `
|
|
362
|
+
# `returned`, `failed`, or `held`.
|
|
355
363
|
#
|
|
356
364
|
# @see ModernTreasury::Models::IncomingPaymentDetail#status
|
|
357
365
|
module Status
|
|
358
366
|
extend ModernTreasury::Internal::Type::Enum
|
|
359
367
|
|
|
360
368
|
COMPLETED = :completed
|
|
369
|
+
FAILED = :failed
|
|
370
|
+
HELD = :held
|
|
361
371
|
PENDING = :pending
|
|
362
372
|
RETURNED = :returned
|
|
363
373
|
|
|
@@ -7,6 +7,12 @@ module ModernTreasury
|
|
|
7
7
|
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute type
|
|
11
|
+
# One of `ach`, `wire`, `check`.
|
|
12
|
+
#
|
|
13
|
+
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::Type]
|
|
14
|
+
required :type, enum: -> { ModernTreasury::IncomingPaymentDetailCreateAsyncParams::Type }
|
|
15
|
+
|
|
10
16
|
# @!attribute amount
|
|
11
17
|
# Value in specified currency's smallest unit. e.g. $10 would be represented
|
|
12
18
|
# as 1000.
|
|
@@ -28,7 +34,9 @@ module ModernTreasury
|
|
|
28
34
|
|
|
29
35
|
# @!attribute data
|
|
30
36
|
# An object passed through to the simulated IPD that could reflect what a vendor
|
|
31
|
-
# would pass.
|
|
37
|
+
# would pass. For `type: check` with `subtype: lockbox` (sandbox Modern Treasury
|
|
38
|
+
# payment accounts only), `data` must include `payor_name`, otherwise the request
|
|
39
|
+
# returns 422.
|
|
32
40
|
#
|
|
33
41
|
# @return [Object, nil]
|
|
34
42
|
optional :data, ModernTreasury::Internal::Type::Unknown, nil?: true
|
|
@@ -53,17 +61,12 @@ module ModernTreasury
|
|
|
53
61
|
|
|
54
62
|
# @!attribute subtype
|
|
55
63
|
# An additional layer of classification for the type of incoming payment detail,
|
|
56
|
-
# e.g. `ethereum` for a `stablecoin` type.
|
|
64
|
+
# e.g. `ethereum` for a `stablecoin` type. For `type: check`, `subtype: lockbox`
|
|
65
|
+
# simulates a lockbox check deposit.
|
|
57
66
|
#
|
|
58
67
|
# @return [String, nil]
|
|
59
68
|
optional :subtype, String, nil?: true
|
|
60
69
|
|
|
61
|
-
# @!attribute type
|
|
62
|
-
# One of `ach`, `wire`, `check`.
|
|
63
|
-
#
|
|
64
|
-
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::Type, nil]
|
|
65
|
-
optional :type, enum: -> { ModernTreasury::IncomingPaymentDetailCreateAsyncParams::Type }
|
|
66
|
-
|
|
67
70
|
# @!attribute virtual_account_id
|
|
68
71
|
# An optional parameter to associate the incoming payment detail to a virtual
|
|
69
72
|
# account.
|
|
@@ -71,11 +74,13 @@ module ModernTreasury
|
|
|
71
74
|
# @return [String, nil]
|
|
72
75
|
optional :virtual_account_id, String, nil?: true
|
|
73
76
|
|
|
74
|
-
# @!method initialize(amount: nil, as_of_date: nil, currency: nil, data: nil, description: nil, direction: nil, internal_account_id: nil, subtype: nil,
|
|
77
|
+
# @!method initialize(type:, amount: nil, as_of_date: nil, currency: nil, data: nil, description: nil, direction: nil, internal_account_id: nil, subtype: nil, virtual_account_id: nil, request_options: {})
|
|
75
78
|
# Some parameter documentations has been truncated, see
|
|
76
79
|
# {ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams} for more
|
|
77
80
|
# details.
|
|
78
81
|
#
|
|
82
|
+
# @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::Type] One of `ach`, `wire`, `check`.
|
|
83
|
+
#
|
|
79
84
|
# @param amount [Integer] Value in specified currency's smallest unit. e.g. $10 would be represented as 10
|
|
80
85
|
#
|
|
81
86
|
# @param as_of_date [Date, nil] Defaults to today.
|
|
@@ -92,8 +97,6 @@ module ModernTreasury
|
|
|
92
97
|
#
|
|
93
98
|
# @param subtype [String, nil] An additional layer of classification for the type of incoming payment detail, e
|
|
94
99
|
#
|
|
95
|
-
# @param type [Symbol, ModernTreasury::Models::IncomingPaymentDetailCreateAsyncParams::Type] One of `ach`, `wire`, `check`.
|
|
96
|
-
#
|
|
97
100
|
# @param virtual_account_id [String, nil] An optional parameter to associate the incoming payment detail to a virtual acco
|
|
98
101
|
#
|
|
99
102
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
@@ -47,7 +47,7 @@ module ModernTreasury
|
|
|
47
47
|
|
|
48
48
|
# @!attribute status
|
|
49
49
|
# The current status of the incoming payment order. One of `pending`, `completed`,
|
|
50
|
-
# or `
|
|
50
|
+
# `returned`, `failed`, or `held`.
|
|
51
51
|
#
|
|
52
52
|
# @return [Symbol, ModernTreasury::Models::IncomingPaymentDetailListParams::Status, nil]
|
|
53
53
|
optional :status, enum: -> { ModernTreasury::IncomingPaymentDetailListParams::Status }
|
|
@@ -100,11 +100,13 @@ module ModernTreasury
|
|
|
100
100
|
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
101
101
|
|
|
102
102
|
# The current status of the incoming payment order. One of `pending`, `completed`,
|
|
103
|
-
# or `
|
|
103
|
+
# `returned`, `failed`, or `held`.
|
|
104
104
|
module Status
|
|
105
105
|
extend ModernTreasury::Internal::Type::Enum
|
|
106
106
|
|
|
107
107
|
COMPLETED = :completed
|
|
108
|
+
FAILED = :failed
|
|
109
|
+
HELD = :held
|
|
108
110
|
PENDING = :pending
|
|
109
111
|
RETURNED = :returned
|
|
110
112
|
|