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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +45 -0
- data/README.md +4 -4
- data/lib/modern_treasury/client.rb +14 -0
- data/lib/modern_treasury/internal/transport/base_client.rb +5 -0
- data/lib/modern_treasury/models/bulk_request_create_params.rb +65 -190
- data/lib/modern_treasury/models/child_legal_entity.rb +121 -3
- data/lib/modern_treasury/models/child_legal_entity_create.rb +35 -1
- data/lib/modern_treasury/models/connection_legal_entity_create_params.rb +38 -1
- data/lib/modern_treasury/models/counterparty_collect_account_params.rb +0 -2
- data/lib/modern_treasury/models/counterparty_create_params.rb +38 -10
- data/lib/modern_treasury/models/currency.rb +0 -2
- data/lib/modern_treasury/models/document.rb +1 -73
- data/lib/modern_treasury/models/document_create_params.rb +11 -11
- data/lib/modern_treasury/models/document_list_params.rb +11 -11
- data/lib/modern_treasury/models/expected_payment.rb +2 -3
- data/lib/modern_treasury/models/expected_payment_create_params.rb +2 -3
- data/lib/modern_treasury/models/expected_payment_list_params.rb +3 -12
- data/lib/modern_treasury/models/expected_payment_type.rb +1 -9
- data/lib/modern_treasury/models/expected_payment_update_params.rb +2 -3
- data/lib/modern_treasury/models/external_account_create_params.rb +0 -9
- data/lib/modern_treasury/models/external_account_verify_params.rb +0 -7
- data/lib/modern_treasury/models/external_account_verify_response.rb +0 -7
- data/lib/modern_treasury/models/hold_list_params.rb +8 -11
- data/lib/modern_treasury/models/identification_create_request.rb +75 -0
- data/lib/modern_treasury/models/incoming_payment_detail.rb +3 -9
- data/lib/modern_treasury/models/incoming_payment_detail_create_async_params.rb +0 -2
- data/lib/modern_treasury/models/incoming_payment_detail_list_params.rb +3 -7
- data/lib/modern_treasury/models/internal_account.rb +12 -8
- data/lib/modern_treasury/models/internal_account_create_params.rb +35 -30
- data/lib/modern_treasury/models/internal_account_list_params.rb +0 -7
- data/lib/modern_treasury/models/internal_account_update_account_capability_response.rb +0 -7
- data/lib/modern_treasury/models/internal_accounts/balance_report.rb +15 -6
- data/lib/modern_treasury/models/internal_accounts/balance_report_create_params.rb +20 -11
- data/lib/modern_treasury/models/invoice.rb +6 -6
- data/lib/modern_treasury/models/invoice_create_params.rb +3 -4
- data/lib/modern_treasury/models/invoice_update_params.rb +3 -4
- data/lib/modern_treasury/models/ledger_balance.rb +22 -1
- data/lib/modern_treasury/models/ledger_entry.rb +10 -1
- data/lib/modern_treasury/models/ledger_entry_create_request.rb +19 -10
- data/lib/modern_treasury/models/ledger_transaction_create_partial_post_params.rb +69 -10
- data/lib/modern_treasury/models/ledger_transactions/ledger_transaction_version.rb +10 -1
- data/lib/modern_treasury/models/legal_entity.rb +121 -3
- data/lib/modern_treasury/models/legal_entity_address_create_request.rb +14 -1
- data/lib/modern_treasury/models/legal_entity_association.rb +2 -3
- data/lib/modern_treasury/models/legal_entity_create_params.rb +34 -1
- data/lib/modern_treasury/models/legal_entity_update_params.rb +34 -1
- data/lib/modern_treasury/models/legal_entity_update_status_params.rb +46 -0
- data/lib/modern_treasury/models/payment_order.rb +6 -9
- data/lib/modern_treasury/models/payment_order_create_async_params.rb +4 -14
- data/lib/modern_treasury/models/payment_order_create_params.rb +15 -25
- data/lib/modern_treasury/models/payment_order_list_params.rb +0 -7
- data/lib/modern_treasury/models/payment_order_subtype.rb +2 -3
- data/lib/modern_treasury/models/payment_order_type.rb +2 -10
- data/lib/modern_treasury/models/payment_order_update_params.rb +4 -14
- data/lib/modern_treasury/models/payment_reference.rb +2 -4
- data/lib/modern_treasury/models/reconciliation_rule.rb +3 -12
- data/lib/modern_treasury/models/return_object.rb +8 -7
- data/lib/modern_treasury/models/routing_detail.rb +0 -9
- data/lib/modern_treasury/models/routing_detail_create_params.rb +0 -9
- data/lib/modern_treasury/models/routing_number_lookup_request.rb +0 -7
- data/lib/modern_treasury/models/third_party_verification.rb +2 -0
- data/lib/modern_treasury/models/transaction.rb +17 -15
- data/lib/modern_treasury/models/transaction_create_params.rb +23 -21
- data/lib/modern_treasury/models/validation_validate_routing_number_params.rb +0 -2
- data/lib/modern_treasury/models/virtual_account_create_params.rb +0 -9
- data/lib/modern_treasury/models.rb +2 -0
- data/lib/modern_treasury/resources/bulk_requests.rb +1 -1
- data/lib/modern_treasury/resources/expected_payments.rb +3 -3
- data/lib/modern_treasury/resources/holds.rb +3 -3
- data/lib/modern_treasury/resources/incoming_payment_details.rb +1 -1
- data/lib/modern_treasury/resources/internal_accounts.rb +8 -6
- data/lib/modern_treasury/resources/invoices.rb +2 -2
- data/lib/modern_treasury/resources/legal_entities.rb +33 -2
- data/lib/modern_treasury/resources/payment_orders.rb +3 -3
- data/lib/modern_treasury/resources/transactions.rb +5 -3
- data/lib/modern_treasury/version.rb +1 -1
- data/lib/modern_treasury.rb +1 -0
- data/rbi/modern_treasury/models/bulk_request_create_params.rbi +104 -462
- data/rbi/modern_treasury/models/child_legal_entity.rbi +452 -5
- data/rbi/modern_treasury/models/child_legal_entity_create.rbi +68 -0
- data/rbi/modern_treasury/models/connection_legal_entity_create_params.rbi +74 -0
- data/rbi/modern_treasury/models/counterparty_collect_account_params.rbi +0 -10
- data/rbi/modern_treasury/models/counterparty_create_params.rbi +74 -45
- data/rbi/modern_treasury/models/currency.rbi +0 -2
- data/rbi/modern_treasury/models/document.rbi +0 -87
- data/rbi/modern_treasury/models/document_create_params.rbi +22 -22
- data/rbi/modern_treasury/models/document_list_params.rbi +22 -22
- data/rbi/modern_treasury/models/expected_payment.rbi +2 -4
- data/rbi/modern_treasury/models/expected_payment_create_params.rbi +2 -4
- data/rbi/modern_treasury/models/expected_payment_list_params.rbi +3 -41
- data/rbi/modern_treasury/models/expected_payment_type.rbi +1 -12
- data/rbi/modern_treasury/models/expected_payment_update_params.rbi +2 -4
- data/rbi/modern_treasury/models/external_account_create_params.rbi +0 -45
- data/rbi/modern_treasury/models/external_account_verify_params.rbi +0 -35
- data/rbi/modern_treasury/models/external_account_verify_response.rbi +0 -35
- data/rbi/modern_treasury/models/hold_list_params.rbi +8 -13
- data/rbi/modern_treasury/models/identification_create_request.rbi +375 -0
- data/rbi/modern_treasury/models/incoming_payment_detail.rbi +3 -26
- data/rbi/modern_treasury/models/incoming_payment_detail_create_async_params.rbi +0 -10
- data/rbi/modern_treasury/models/incoming_payment_detail_list_params.rbi +3 -16
- data/rbi/modern_treasury/models/internal_account.rbi +14 -35
- data/rbi/modern_treasury/models/internal_account_create_params.rbi +47 -59
- data/rbi/modern_treasury/models/internal_account_list_params.rbi +0 -35
- data/rbi/modern_treasury/models/internal_account_update_account_capability_response.rbi +0 -35
- data/rbi/modern_treasury/models/internal_accounts/balance_report.rbi +17 -7
- data/rbi/modern_treasury/models/internal_accounts/balance_report_create_params.rbi +31 -15
- data/rbi/modern_treasury/models/invoice.rbi +6 -6
- data/rbi/modern_treasury/models/invoice_create_params.rbi +4 -6
- data/rbi/modern_treasury/models/invoice_update_params.rbi +4 -6
- data/rbi/modern_treasury/models/ledger_balance.rbi +21 -3
- data/rbi/modern_treasury/models/ledger_entry.rbi +10 -0
- data/rbi/modern_treasury/models/ledger_entry_create_request.rbi +26 -10
- data/rbi/modern_treasury/models/ledger_transaction_create_partial_post_params.rbi +89 -13
- data/rbi/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbi +10 -0
- data/rbi/modern_treasury/models/legal_entity.rbi +451 -5
- data/rbi/modern_treasury/models/legal_entity_address_create_request.rbi +18 -3
- data/rbi/modern_treasury/models/legal_entity_association.rbi +2 -4
- data/rbi/modern_treasury/models/legal_entity_create_params.rbi +68 -0
- data/rbi/modern_treasury/models/legal_entity_update_params.rbi +68 -0
- data/rbi/modern_treasury/models/legal_entity_update_status_params.rbi +96 -0
- data/rbi/modern_treasury/models/payment_order.rbi +16 -28
- data/rbi/modern_treasury/models/payment_order_create_async_params.rbi +6 -53
- data/rbi/modern_treasury/models/payment_order_create_params.rbi +28 -75
- data/rbi/modern_treasury/models/payment_order_list_params.rbi +0 -35
- data/rbi/modern_treasury/models/payment_order_subtype.rbi +3 -4
- data/rbi/modern_treasury/models/payment_order_type.rbi +2 -11
- data/rbi/modern_treasury/models/payment_order_update_params.rbi +6 -53
- data/rbi/modern_treasury/models/payment_reference.rbi +10 -20
- data/rbi/modern_treasury/models/reconciliation_rule.rbi +3 -29
- data/rbi/modern_treasury/models/return_object.rbi +19 -25
- data/rbi/modern_treasury/models/routing_detail.rbi +0 -42
- data/rbi/modern_treasury/models/routing_detail_create_params.rbi +0 -45
- data/rbi/modern_treasury/models/routing_number_lookup_request.rbi +0 -35
- data/rbi/modern_treasury/models/third_party_verification.rbi +10 -0
- data/rbi/modern_treasury/models/transaction.rbi +24 -24
- data/rbi/modern_treasury/models/transaction_create_params.rbi +33 -52
- data/rbi/modern_treasury/models/validation_validate_routing_number_params.rbi +0 -10
- data/rbi/modern_treasury/models/virtual_account_create_params.rbi +0 -45
- data/rbi/modern_treasury/models.rbi +3 -0
- data/rbi/modern_treasury/resources/bulk_requests.rbi +3 -2
- data/rbi/modern_treasury/resources/expected_payments.rbi +3 -6
- data/rbi/modern_treasury/resources/holds.rbi +3 -5
- data/rbi/modern_treasury/resources/incoming_payment_details.rbi +1 -2
- data/rbi/modern_treasury/resources/internal_accounts.rbi +15 -8
- data/rbi/modern_treasury/resources/invoices.rbi +4 -6
- data/rbi/modern_treasury/resources/legal_entities.rbi +31 -0
- data/rbi/modern_treasury/resources/payment_orders.rbi +9 -12
- data/rbi/modern_treasury/resources/transactions.rbi +11 -7
- data/sig/modern_treasury/models/bulk_request_create_params.rbs +45 -183
- data/sig/modern_treasury/models/child_legal_entity.rbs +179 -2
- data/sig/modern_treasury/models/child_legal_entity_create.rbs +21 -0
- data/sig/modern_treasury/models/connection_legal_entity_create_params.rbs +21 -0
- data/sig/modern_treasury/models/counterparty_collect_account_params.rbs +0 -4
- data/sig/modern_treasury/models/counterparty_create_params.rbs +21 -18
- data/sig/modern_treasury/models/currency.rbs +0 -4
- data/sig/modern_treasury/models/document.rbs +0 -57
- data/sig/modern_treasury/models/document_create_params.rbs +22 -22
- data/sig/modern_treasury/models/document_list_params.rbs +22 -22
- data/sig/modern_treasury/models/expected_payment_list_params.rbs +0 -14
- data/sig/modern_treasury/models/expected_payment_type.rbs +0 -14
- data/sig/modern_treasury/models/external_account_create_params.rbs +0 -18
- data/sig/modern_treasury/models/external_account_verify_params.rbs +0 -14
- data/sig/modern_treasury/models/external_account_verify_response.rbs +0 -14
- data/sig/modern_treasury/models/identification_create_request.rbs +150 -0
- data/sig/modern_treasury/models/incoming_payment_detail.rbs +0 -8
- data/sig/modern_treasury/models/incoming_payment_detail_create_async_params.rbs +0 -4
- data/sig/modern_treasury/models/incoming_payment_detail_list_params.rbs +0 -4
- data/sig/modern_treasury/models/internal_account.rbs +5 -14
- data/sig/modern_treasury/models/internal_account_create_params.rbs +20 -26
- data/sig/modern_treasury/models/internal_account_list_params.rbs +0 -14
- data/sig/modern_treasury/models/internal_account_update_account_capability_response.rbs +0 -14
- data/sig/modern_treasury/models/internal_accounts/balance_report.rbs +9 -4
- data/sig/modern_treasury/models/internal_accounts/balance_report_create_params.rbs +17 -8
- data/sig/modern_treasury/models/ledger_balance.rbs +18 -3
- data/sig/modern_treasury/models/ledger_entry.rbs +5 -0
- data/sig/modern_treasury/models/ledger_entry_create_request.rbs +14 -5
- data/sig/modern_treasury/models/ledger_transaction_create_partial_post_params.rbs +42 -8
- data/sig/modern_treasury/models/ledger_transactions/ledger_transaction_version.rbs +5 -0
- data/sig/modern_treasury/models/legal_entity.rbs +179 -2
- data/sig/modern_treasury/models/legal_entity_address_create_request.rbs +10 -3
- data/sig/modern_treasury/models/legal_entity_create_params.rbs +21 -0
- data/sig/modern_treasury/models/legal_entity_update_params.rbs +21 -0
- data/sig/modern_treasury/models/legal_entity_update_status_params.rbs +43 -0
- data/sig/modern_treasury/models/payment_order.rbs +4 -8
- data/sig/modern_treasury/models/payment_order_create_async_params.rbs +0 -18
- data/sig/modern_treasury/models/payment_order_create_params.rbs +22 -40
- data/sig/modern_treasury/models/payment_order_list_params.rbs +0 -14
- data/sig/modern_treasury/models/payment_order_subtype.rbs +4 -6
- data/sig/modern_treasury/models/payment_order_type.rbs +0 -14
- data/sig/modern_treasury/models/payment_order_update_params.rbs +0 -18
- data/sig/modern_treasury/models/payment_reference.rbs +4 -8
- data/sig/modern_treasury/models/reconciliation_rule.rbs +0 -14
- data/sig/modern_treasury/models/return_object.rbs +12 -10
- data/sig/modern_treasury/models/routing_detail.rbs +0 -18
- data/sig/modern_treasury/models/routing_detail_create_params.rbs +0 -18
- data/sig/modern_treasury/models/routing_number_lookup_request.rbs +0 -14
- data/sig/modern_treasury/models/third_party_verification.rbs +4 -1
- data/sig/modern_treasury/models/transaction.rbs +7 -16
- data/sig/modern_treasury/models/transaction_create_params.rbs +14 -19
- data/sig/modern_treasury/models/validation_validate_routing_number_params.rbs +0 -4
- data/sig/modern_treasury/models/virtual_account_create_params.rbs +0 -18
- data/sig/modern_treasury/models.rbs +2 -0
- data/sig/modern_treasury/resources/internal_accounts.rbs +3 -2
- data/sig/modern_treasury/resources/legal_entities.rbs +8 -0
- data/sig/modern_treasury/resources/transactions.rbs +2 -1
- metadata +5 -2
|
@@ -246,6 +246,12 @@ module ModernTreasury
|
|
|
246
246
|
# @return [String, nil]
|
|
247
247
|
required :suffix, String, nil?: true
|
|
248
248
|
|
|
249
|
+
# @!attribute terms_of_use
|
|
250
|
+
# Acceptance of terms of use by the legal entity.
|
|
251
|
+
#
|
|
252
|
+
# @return [ModernTreasury::Models::LegalEntity::TermsOfUse, nil]
|
|
253
|
+
required :terms_of_use, -> { ModernTreasury::LegalEntity::TermsOfUse }, nil?: true
|
|
254
|
+
|
|
249
255
|
# @!attribute third_party_verification
|
|
250
256
|
# @deprecated
|
|
251
257
|
#
|
|
@@ -293,7 +299,7 @@ module ModernTreasury
|
|
|
293
299
|
-> { ModernTreasury::Internal::Type::ArrayOf[ModernTreasury::LegalEntityAssociation] },
|
|
294
300
|
nil?: true
|
|
295
301
|
|
|
296
|
-
# @!method initialize(id:, addresses:, bank_settings:, business_description:, business_name:, citizenship_country:, compliance_details:, country_of_incorporation:, created_at:, date_formed:, date_of_birth:, discarded_at:, documents:, doing_business_as_names:, email:, expected_activity_volume:, external_id:, first_name:, identifications:, industry_classifications:, intended_use:, last_name:, legal_entity_type:, legal_structure:, listed_exchange:, live_mode:, metadata:, middle_name:, object:, operating_jurisdictions:, phone_numbers:, politically_exposed_person:, preferred_name:, prefix:, primary_social_media_sites:, regulators:, risk_rating:, service_provider_legal_entity_id:, status:, suffix:, third_party_verification:, third_party_verifications:, ticker_symbol:, updated_at:, wealth_and_employment_details:, website:, legal_entity_associations: nil)
|
|
302
|
+
# @!method initialize(id:, addresses:, bank_settings:, business_description:, business_name:, citizenship_country:, compliance_details:, country_of_incorporation:, created_at:, date_formed:, date_of_birth:, discarded_at:, documents:, doing_business_as_names:, email:, expected_activity_volume:, external_id:, first_name:, identifications:, industry_classifications:, intended_use:, last_name:, legal_entity_type:, legal_structure:, listed_exchange:, live_mode:, metadata:, middle_name:, object:, operating_jurisdictions:, phone_numbers:, politically_exposed_person:, preferred_name:, prefix:, primary_social_media_sites:, regulators:, risk_rating:, service_provider_legal_entity_id:, status:, suffix:, terms_of_use:, third_party_verification:, third_party_verifications:, ticker_symbol:, updated_at:, wealth_and_employment_details:, website:, legal_entity_associations: nil)
|
|
297
303
|
# Some parameter documentations has been truncated, see
|
|
298
304
|
# {ModernTreasury::Models::LegalEntity} for more details.
|
|
299
305
|
#
|
|
@@ -377,6 +383,8 @@ module ModernTreasury
|
|
|
377
383
|
#
|
|
378
384
|
# @param suffix [String, nil] An individual's suffix.
|
|
379
385
|
#
|
|
386
|
+
# @param terms_of_use [ModernTreasury::Models::LegalEntity::TermsOfUse, nil] Acceptance of terms of use by the legal entity.
|
|
387
|
+
#
|
|
380
388
|
# @param third_party_verification [ModernTreasury::Models::ThirdPartyVerification, nil] Deprecated. Use `third_party_verifications` instead.
|
|
381
389
|
#
|
|
382
390
|
# @param third_party_verifications [Array<ModernTreasury::Models::ThirdPartyVerification>] A list of third-party verifications run by external vendors.
|
|
@@ -454,6 +462,13 @@ module ModernTreasury
|
|
|
454
462
|
# @return [String, nil]
|
|
455
463
|
required :postal_code, String, nil?: true
|
|
456
464
|
|
|
465
|
+
# @!attribute primary
|
|
466
|
+
# Whether this address is the primary address for the legal entity. Optional; when
|
|
467
|
+
# omitted it is inferred from the address types.
|
|
468
|
+
#
|
|
469
|
+
# @return [Boolean, nil]
|
|
470
|
+
required :primary, ModernTreasury::Internal::Type::Boolean, nil?: true
|
|
471
|
+
|
|
457
472
|
# @!attribute region
|
|
458
473
|
# Region or State.
|
|
459
474
|
#
|
|
@@ -465,7 +480,7 @@ module ModernTreasury
|
|
|
465
480
|
# @return [Time]
|
|
466
481
|
required :updated_at, Time
|
|
467
482
|
|
|
468
|
-
# @!method initialize(id:, address_types:, country:, created_at:, discarded_at:, line1:, line2:, live_mode:, locality:, object:, postal_code:, region:, updated_at:)
|
|
483
|
+
# @!method initialize(id:, address_types:, country:, created_at:, discarded_at:, line1:, line2:, live_mode:, locality:, object:, postal_code:, primary:, region:, updated_at:)
|
|
469
484
|
# Some parameter documentations has been truncated, see
|
|
470
485
|
# {ModernTreasury::Models::LegalEntity::Address} for more details.
|
|
471
486
|
#
|
|
@@ -491,6 +506,8 @@ module ModernTreasury
|
|
|
491
506
|
#
|
|
492
507
|
# @param postal_code [String, nil] The postal code of the address.
|
|
493
508
|
#
|
|
509
|
+
# @param primary [Boolean, nil] Whether this address is the primary address for the legal entity. Optional; when
|
|
510
|
+
#
|
|
494
511
|
# @param region [String, nil] Region or State.
|
|
495
512
|
#
|
|
496
513
|
# @param updated_at [Time]
|
|
@@ -499,6 +516,7 @@ module ModernTreasury
|
|
|
499
516
|
extend ModernTreasury::Internal::Type::Enum
|
|
500
517
|
|
|
501
518
|
BUSINESS = :business
|
|
519
|
+
BUSINESS_PHYSICAL = :business_physical
|
|
502
520
|
BUSINESS_REGISTERED = :business_registered
|
|
503
521
|
MAILING = :mailing
|
|
504
522
|
OTHER = :other
|
|
@@ -608,27 +626,102 @@ module ModernTreasury
|
|
|
608
626
|
|
|
609
627
|
AR_CUIL = :ar_cuil
|
|
610
628
|
AR_CUIT = :ar_cuit
|
|
629
|
+
AT_ATIN = :at_atin
|
|
630
|
+
AT_VAT = :at_vat
|
|
631
|
+
AU_ABN = :au_abn
|
|
632
|
+
AU_TFN = :au_tfn
|
|
633
|
+
BE_ENT = :be_ent
|
|
634
|
+
BE_NRN = :be_nrn
|
|
611
635
|
BR_CNPJ = :br_cnpj
|
|
612
636
|
BR_CPF = :br_cpf
|
|
637
|
+
CA_BN = :ca_bn
|
|
613
638
|
CA_SIN = :ca_sin
|
|
639
|
+
CH_AHV = :ch_ahv
|
|
640
|
+
CH_UID = :ch_uid
|
|
614
641
|
CL_RUN = :cl_run
|
|
615
642
|
CL_RUT = :cl_rut
|
|
616
643
|
CO_CEDULAS = :co_cedulas
|
|
617
644
|
CO_NIT = :co_nit
|
|
645
|
+
CY_TIN = :cy_tin
|
|
646
|
+
CZ_ICO = :cz_ico
|
|
647
|
+
CZ_RC = :cz_rc
|
|
648
|
+
DE_STID = :de_stid
|
|
649
|
+
DE_STNR = :de_stnr
|
|
650
|
+
DE_VAT = :de_vat
|
|
651
|
+
DK_CPR = :dk_cpr
|
|
652
|
+
DK_CVR = :dk_cvr
|
|
618
653
|
DRIVERS_LICENSE = :drivers_license
|
|
654
|
+
EE_IK = :ee_ik
|
|
655
|
+
EE_RK = :ee_rk
|
|
656
|
+
ES_NIE = :es_nie
|
|
657
|
+
ES_NIF = :es_nif
|
|
658
|
+
FI_HETU = :fi_hetu
|
|
659
|
+
FI_YTJ = :fi_ytj
|
|
660
|
+
FR_NIF = :fr_nif
|
|
661
|
+
FR_SIREN = :fr_siren
|
|
662
|
+
FR_VAT = :fr_vat
|
|
663
|
+
GB_NINO = :gb_nino
|
|
664
|
+
GB_UTR = :gb_utr
|
|
665
|
+
GB_VAT = :gb_vat
|
|
666
|
+
GENERIC_INTERNATIONAL = :generic_international
|
|
667
|
+
GR_VAT = :gr_vat
|
|
619
668
|
HN_ID = :hn_id
|
|
620
669
|
HN_RTN = :hn_rtn
|
|
670
|
+
HR_OIB = :hr_oib
|
|
671
|
+
HU_ADJ = :hu_adj
|
|
672
|
+
HU_ANUM = :hu_anum
|
|
621
673
|
IE_PPS = :ie_pps
|
|
674
|
+
IE_TRN = :ie_trn
|
|
622
675
|
IN_LEI = :in_lei
|
|
676
|
+
IS_KNT = :is_knt
|
|
677
|
+
IT_CF = :it_cf
|
|
678
|
+
IT_PIVA = :it_piva
|
|
679
|
+
JP_HB = :jp_hb
|
|
680
|
+
JP_MN = :jp_mn
|
|
623
681
|
KR_BRN = :kr_brn
|
|
624
682
|
KR_CRN = :kr_crn
|
|
625
683
|
KR_RRN = :kr_rrn
|
|
684
|
+
LI_PEID = :li_peid
|
|
685
|
+
LT_AK = :lt_ak
|
|
686
|
+
LT_JAK = :lt_jak
|
|
687
|
+
LU_MTC = :lu_mtc
|
|
688
|
+
LU_VAT = :lu_vat
|
|
689
|
+
LV_PK = :lv_pk
|
|
690
|
+
LV_RN = :lv_rn
|
|
691
|
+
MT_TIN = :mt_tin
|
|
692
|
+
MT_VAT = :mt_vat
|
|
693
|
+
MX_CURP = :mx_curp
|
|
694
|
+
MX_INE = :mx_ine
|
|
695
|
+
MX_RFC = :mx_rfc
|
|
696
|
+
NATIONAL_ID = :national_id
|
|
697
|
+
NL_BSN = :nl_bsn
|
|
698
|
+
NL_BTW = :nl_btw
|
|
699
|
+
NL_RSIN = :nl_rsin
|
|
700
|
+
NO_FDN = :no_fdn
|
|
701
|
+
NO_MVA = :no_mva
|
|
702
|
+
NO_ORGNR = :no_orgnr
|
|
703
|
+
NZ_IRD = :nz_ird
|
|
626
704
|
PASSPORT = :passport
|
|
705
|
+
PL_NIP = :pl_nip
|
|
706
|
+
PL_PESEL = :pl_pesel
|
|
707
|
+
PT_NIF = :pt_nif
|
|
708
|
+
RO_CNP = :ro_cnp
|
|
709
|
+
RO_CUI = :ro_cui
|
|
627
710
|
SA_TIN = :sa_tin
|
|
628
711
|
SA_VAT = :sa_vat
|
|
712
|
+
SE_ORGNR = :se_orgnr
|
|
713
|
+
SE_PNMR = :se_pnmr
|
|
714
|
+
SG_FIN = :sg_fin
|
|
715
|
+
SG_NRIC = :sg_nric
|
|
716
|
+
SG_UEN = :sg_uen
|
|
717
|
+
SI_DAV = :si_dav
|
|
718
|
+
SI_TIN = :si_tin
|
|
719
|
+
SK_ICO = :sk_ico
|
|
720
|
+
SK_RC = :sk_rc
|
|
629
721
|
US_EIN = :us_ein
|
|
630
722
|
US_ITIN = :us_itin
|
|
631
723
|
US_SSN = :us_ssn
|
|
724
|
+
UY_RUT = :uy_rut
|
|
632
725
|
VN_TIN = :vn_tin
|
|
633
726
|
|
|
634
727
|
# @!method self.values
|
|
@@ -644,7 +737,6 @@ module ModernTreasury
|
|
|
644
737
|
|
|
645
738
|
BUSINESS = :business
|
|
646
739
|
INDIVIDUAL = :individual
|
|
647
|
-
JOINT = :joint
|
|
648
740
|
|
|
649
741
|
# @!method self.values
|
|
650
742
|
# @return [Array<Symbol>]
|
|
@@ -739,6 +831,32 @@ module ModernTreasury
|
|
|
739
831
|
# @!method self.values
|
|
740
832
|
# @return [Array<Symbol>]
|
|
741
833
|
end
|
|
834
|
+
|
|
835
|
+
# @see ModernTreasury::Models::LegalEntity#terms_of_use
|
|
836
|
+
class TermsOfUse < ModernTreasury::Internal::Type::BaseModel
|
|
837
|
+
# @!attribute accepted_at
|
|
838
|
+
# The ISO 8601 timestamp indicating when the terms of use were accepted.
|
|
839
|
+
#
|
|
840
|
+
# @return [Time, nil]
|
|
841
|
+
optional :accepted_at, Time
|
|
842
|
+
|
|
843
|
+
# @!attribute ip_address
|
|
844
|
+
# The IP address from which the terms of use were accepted. Supports both IPv4 and
|
|
845
|
+
# IPv6 formats.
|
|
846
|
+
#
|
|
847
|
+
# @return [String, nil]
|
|
848
|
+
optional :ip_address, String
|
|
849
|
+
|
|
850
|
+
# @!method initialize(accepted_at: nil, ip_address: nil)
|
|
851
|
+
# Some parameter documentations has been truncated, see
|
|
852
|
+
# {ModernTreasury::Models::LegalEntity::TermsOfUse} for more details.
|
|
853
|
+
#
|
|
854
|
+
# Acceptance of terms of use by the legal entity.
|
|
855
|
+
#
|
|
856
|
+
# @param accepted_at [Time] The ISO 8601 timestamp indicating when the terms of use were accepted.
|
|
857
|
+
#
|
|
858
|
+
# @param ip_address [String] The IP address from which the terms of use were accepted. Supports both IPv4 and
|
|
859
|
+
end
|
|
742
860
|
end
|
|
743
861
|
end
|
|
744
862
|
end
|
|
@@ -44,7 +44,17 @@ module ModernTreasury
|
|
|
44
44
|
# @return [String, nil]
|
|
45
45
|
optional :line2, String, nil?: true
|
|
46
46
|
|
|
47
|
-
# @!
|
|
47
|
+
# @!attribute primary
|
|
48
|
+
# Whether this address is the primary address for the legal entity. Optional; when
|
|
49
|
+
# omitted it is inferred from the address types.
|
|
50
|
+
#
|
|
51
|
+
# @return [Boolean, nil]
|
|
52
|
+
optional :primary, ModernTreasury::Internal::Type::Boolean, nil?: true
|
|
53
|
+
|
|
54
|
+
# @!method initialize(country:, line1:, locality:, postal_code:, region:, address_types: nil, line2: nil, primary: nil)
|
|
55
|
+
# Some parameter documentations has been truncated, see
|
|
56
|
+
# {ModernTreasury::Models::LegalEntityAddressCreateRequest} for more details.
|
|
57
|
+
#
|
|
48
58
|
# @param country [String, nil] Country code conforms to [ISO 3166-1 alpha-2]
|
|
49
59
|
#
|
|
50
60
|
# @param line1 [String, nil]
|
|
@@ -58,11 +68,14 @@ module ModernTreasury
|
|
|
58
68
|
# @param address_types [Array<Symbol, ModernTreasury::Models::LegalEntityAddressCreateRequest::AddressType>] The types of this address.
|
|
59
69
|
#
|
|
60
70
|
# @param line2 [String, nil]
|
|
71
|
+
#
|
|
72
|
+
# @param primary [Boolean, nil] Whether this address is the primary address for the legal entity. Optional; when
|
|
61
73
|
|
|
62
74
|
module AddressType
|
|
63
75
|
extend ModernTreasury::Internal::Type::Enum
|
|
64
76
|
|
|
65
77
|
BUSINESS = :business
|
|
78
|
+
BUSINESS_PHYSICAL = :business_physical
|
|
66
79
|
BUSINESS_REGISTERED = :business_registered
|
|
67
80
|
MAILING = :mailing
|
|
68
81
|
OTHER = :other
|
|
@@ -43,8 +43,7 @@ module ModernTreasury
|
|
|
43
43
|
required :ownership_percentage, Integer, nil?: true
|
|
44
44
|
|
|
45
45
|
# @!attribute parent_legal_entity_id
|
|
46
|
-
# The ID of the parent legal entity. This must be a business
|
|
47
|
-
# entity.
|
|
46
|
+
# The ID of the parent legal entity. This must be a business legal entity.
|
|
48
47
|
#
|
|
49
48
|
# @return [String]
|
|
50
49
|
required :parent_legal_entity_id, String
|
|
@@ -84,7 +83,7 @@ module ModernTreasury
|
|
|
84
83
|
#
|
|
85
84
|
# @param ownership_percentage [Integer, nil] The child entity's ownership percentage iff they are a beneficial owner.
|
|
86
85
|
#
|
|
87
|
-
# @param parent_legal_entity_id [String] The ID of the parent legal entity. This must be a business
|
|
86
|
+
# @param parent_legal_entity_id [String] The ID of the parent legal entity. This must be a business legal entity.
|
|
88
87
|
#
|
|
89
88
|
# @param relationship_types [Array<Symbol, ModernTreasury::Models::LegalEntityAssociation::RelationshipType>]
|
|
90
89
|
#
|
|
@@ -243,6 +243,12 @@ module ModernTreasury
|
|
|
243
243
|
# @return [String, nil]
|
|
244
244
|
optional :suffix, String, nil?: true
|
|
245
245
|
|
|
246
|
+
# @!attribute terms_of_use
|
|
247
|
+
# Acceptance of terms of use by the legal entity.
|
|
248
|
+
#
|
|
249
|
+
# @return [ModernTreasury::Models::LegalEntityCreateParams::TermsOfUse, nil]
|
|
250
|
+
optional :terms_of_use, -> { ModernTreasury::LegalEntityCreateParams::TermsOfUse }, nil?: true
|
|
251
|
+
|
|
246
252
|
# @!attribute third_party_verification
|
|
247
253
|
# @deprecated
|
|
248
254
|
#
|
|
@@ -277,7 +283,7 @@ module ModernTreasury
|
|
|
277
283
|
# @return [String, nil]
|
|
278
284
|
optional :website, String, nil?: true
|
|
279
285
|
|
|
280
|
-
# @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, service_provider_legal_entity_id: nil, suffix: nil, third_party_verification: nil, third_party_verifications: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
286
|
+
# @!method initialize(legal_entity_type:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, compliance_details: nil, connection_id: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, documents: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_entity_associations: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, service_provider_legal_entity_id: nil, suffix: nil, terms_of_use: nil, third_party_verification: nil, third_party_verifications: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
281
287
|
# Some parameter documentations has been truncated, see
|
|
282
288
|
# {ModernTreasury::Models::LegalEntityCreateParams} for more details.
|
|
283
289
|
#
|
|
@@ -353,6 +359,8 @@ module ModernTreasury
|
|
|
353
359
|
#
|
|
354
360
|
# @param suffix [String, nil] An individual's suffix.
|
|
355
361
|
#
|
|
362
|
+
# @param terms_of_use [ModernTreasury::Models::LegalEntityCreateParams::TermsOfUse, nil] Acceptance of terms of use by the legal entity.
|
|
363
|
+
#
|
|
356
364
|
# @param third_party_verification [ModernTreasury::Models::ThirdPartyVerification, nil] Deprecated. Use `third_party_verifications` instead.
|
|
357
365
|
#
|
|
358
366
|
# @param third_party_verifications [Array<ModernTreasury::Models::ThirdPartyVerification>] A list of third-party verifications run by external vendors.
|
|
@@ -490,6 +498,31 @@ module ModernTreasury
|
|
|
490
498
|
# @!method self.values
|
|
491
499
|
# @return [Array<Symbol>]
|
|
492
500
|
end
|
|
501
|
+
|
|
502
|
+
class TermsOfUse < ModernTreasury::Internal::Type::BaseModel
|
|
503
|
+
# @!attribute accepted_at
|
|
504
|
+
# The ISO 8601 timestamp indicating when the terms of use were accepted.
|
|
505
|
+
#
|
|
506
|
+
# @return [Time, nil]
|
|
507
|
+
optional :accepted_at, Time
|
|
508
|
+
|
|
509
|
+
# @!attribute ip_address
|
|
510
|
+
# The IP address from which the terms of use were accepted. Supports both IPv4 and
|
|
511
|
+
# IPv6 formats.
|
|
512
|
+
#
|
|
513
|
+
# @return [String, nil]
|
|
514
|
+
optional :ip_address, String
|
|
515
|
+
|
|
516
|
+
# @!method initialize(accepted_at: nil, ip_address: nil)
|
|
517
|
+
# Some parameter documentations has been truncated, see
|
|
518
|
+
# {ModernTreasury::Models::LegalEntityCreateParams::TermsOfUse} for more details.
|
|
519
|
+
#
|
|
520
|
+
# Acceptance of terms of use by the legal entity.
|
|
521
|
+
#
|
|
522
|
+
# @param accepted_at [Time] The ISO 8601 timestamp indicating when the terms of use were accepted.
|
|
523
|
+
#
|
|
524
|
+
# @param ip_address [String] The IP address from which the terms of use were accepted. Supports both IPv4 and
|
|
525
|
+
end
|
|
493
526
|
end
|
|
494
527
|
end
|
|
495
528
|
end
|
|
@@ -208,6 +208,12 @@ module ModernTreasury
|
|
|
208
208
|
# @return [String, nil]
|
|
209
209
|
optional :suffix, String, nil?: true
|
|
210
210
|
|
|
211
|
+
# @!attribute terms_of_use
|
|
212
|
+
# Acceptance of terms of use by the legal entity.
|
|
213
|
+
#
|
|
214
|
+
# @return [ModernTreasury::Models::LegalEntityUpdateParams::TermsOfUse, nil]
|
|
215
|
+
optional :terms_of_use, -> { ModernTreasury::LegalEntityUpdateParams::TermsOfUse }, nil?: true
|
|
216
|
+
|
|
211
217
|
# @!attribute third_party_verification
|
|
212
218
|
# @deprecated
|
|
213
219
|
#
|
|
@@ -242,7 +248,7 @@ module ModernTreasury
|
|
|
242
248
|
# @return [String, nil]
|
|
243
249
|
optional :website, String, nil?: true
|
|
244
250
|
|
|
245
|
-
# @!method initialize(id:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, service_provider_legal_entity_id: nil, suffix: nil, third_party_verification: nil, third_party_verifications: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
251
|
+
# @!method initialize(id:, addresses: nil, bank_settings: nil, business_description: nil, business_name: nil, citizenship_country: nil, country_of_incorporation: nil, date_formed: nil, date_of_birth: nil, doing_business_as_names: nil, email: nil, expected_activity_volume: nil, external_id: nil, first_name: nil, identifications: nil, industry_classifications: nil, intended_use: nil, last_name: nil, legal_structure: nil, listed_exchange: nil, metadata: nil, middle_name: nil, operating_jurisdictions: nil, phone_numbers: nil, politically_exposed_person: nil, preferred_name: nil, prefix: nil, primary_social_media_sites: nil, regulators: nil, risk_rating: nil, service_provider_legal_entity_id: nil, suffix: nil, terms_of_use: nil, third_party_verification: nil, third_party_verifications: nil, ticker_symbol: nil, wealth_and_employment_details: nil, website: nil, request_options: {})
|
|
246
252
|
# Some parameter documentations has been truncated, see
|
|
247
253
|
# {ModernTreasury::Models::LegalEntityUpdateParams} for more details.
|
|
248
254
|
#
|
|
@@ -310,6 +316,8 @@ module ModernTreasury
|
|
|
310
316
|
#
|
|
311
317
|
# @param suffix [String, nil] An individual's suffix.
|
|
312
318
|
#
|
|
319
|
+
# @param terms_of_use [ModernTreasury::Models::LegalEntityUpdateParams::TermsOfUse, nil] Acceptance of terms of use by the legal entity.
|
|
320
|
+
#
|
|
313
321
|
# @param third_party_verification [ModernTreasury::Models::ThirdPartyVerification, nil] Deprecated. Use `third_party_verifications` instead.
|
|
314
322
|
#
|
|
315
323
|
# @param third_party_verifications [Array<ModernTreasury::Models::ThirdPartyVerification>] A list of third-party verifications run by external vendors.
|
|
@@ -391,6 +399,31 @@ module ModernTreasury
|
|
|
391
399
|
# @!method self.values
|
|
392
400
|
# @return [Array<Symbol>]
|
|
393
401
|
end
|
|
402
|
+
|
|
403
|
+
class TermsOfUse < ModernTreasury::Internal::Type::BaseModel
|
|
404
|
+
# @!attribute accepted_at
|
|
405
|
+
# The ISO 8601 timestamp indicating when the terms of use were accepted.
|
|
406
|
+
#
|
|
407
|
+
# @return [Time, nil]
|
|
408
|
+
optional :accepted_at, Time
|
|
409
|
+
|
|
410
|
+
# @!attribute ip_address
|
|
411
|
+
# The IP address from which the terms of use were accepted. Supports both IPv4 and
|
|
412
|
+
# IPv6 formats.
|
|
413
|
+
#
|
|
414
|
+
# @return [String, nil]
|
|
415
|
+
optional :ip_address, String
|
|
416
|
+
|
|
417
|
+
# @!method initialize(accepted_at: nil, ip_address: nil)
|
|
418
|
+
# Some parameter documentations has been truncated, see
|
|
419
|
+
# {ModernTreasury::Models::LegalEntityUpdateParams::TermsOfUse} for more details.
|
|
420
|
+
#
|
|
421
|
+
# Acceptance of terms of use by the legal entity.
|
|
422
|
+
#
|
|
423
|
+
# @param accepted_at [Time] The ISO 8601 timestamp indicating when the terms of use were accepted.
|
|
424
|
+
#
|
|
425
|
+
# @param ip_address [String] The IP address from which the terms of use were accepted. Supports both IPv4 and
|
|
426
|
+
end
|
|
394
427
|
end
|
|
395
428
|
end
|
|
396
429
|
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module ModernTreasury
|
|
4
|
+
module Models
|
|
5
|
+
# @see ModernTreasury::Resources::LegalEntities#update_status
|
|
6
|
+
class LegalEntityUpdateStatusParams < ModernTreasury::Internal::Type::BaseModel
|
|
7
|
+
extend ModernTreasury::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include ModernTreasury::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
# @!attribute id
|
|
11
|
+
#
|
|
12
|
+
# @return [String]
|
|
13
|
+
required :id, String
|
|
14
|
+
|
|
15
|
+
# @!attribute status
|
|
16
|
+
# The target status for the legal entity. One of `active`, `suspended`, or
|
|
17
|
+
# `denied`. Valid transitions depend on the current status.
|
|
18
|
+
#
|
|
19
|
+
# @return [Symbol, ModernTreasury::Models::LegalEntityUpdateStatusParams::Status]
|
|
20
|
+
required :status, enum: -> { ModernTreasury::LegalEntityUpdateStatusParams::Status }
|
|
21
|
+
|
|
22
|
+
# @!method initialize(id:, status:, request_options: {})
|
|
23
|
+
# Some parameter documentations has been truncated, see
|
|
24
|
+
# {ModernTreasury::Models::LegalEntityUpdateStatusParams} for more details.
|
|
25
|
+
#
|
|
26
|
+
# @param id [String]
|
|
27
|
+
#
|
|
28
|
+
# @param status [Symbol, ModernTreasury::Models::LegalEntityUpdateStatusParams::Status] The target status for the legal entity. One of `active`, `suspended`, or `denied
|
|
29
|
+
#
|
|
30
|
+
# @param request_options [ModernTreasury::RequestOptions, Hash{Symbol=>Object}]
|
|
31
|
+
|
|
32
|
+
# The target status for the legal entity. One of `active`, `suspended`, or
|
|
33
|
+
# `denied`. Valid transitions depend on the current status.
|
|
34
|
+
module Status
|
|
35
|
+
extend ModernTreasury::Internal::Type::Enum
|
|
36
|
+
|
|
37
|
+
ACTIVE = :active
|
|
38
|
+
SUSPENDED = :suspended
|
|
39
|
+
DENIED = :denied
|
|
40
|
+
|
|
41
|
+
# @!method self.values
|
|
42
|
+
# @return [Array<Symbol>]
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -35,7 +35,7 @@ module ModernTreasury
|
|
|
35
35
|
|
|
36
36
|
# @!attribute amount
|
|
37
37
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
38
|
-
# 1000 (cents). For RTP, the maximum amount allowed by the network is $
|
|
38
|
+
# 1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
|
|
39
39
|
#
|
|
40
40
|
# @return [Integer]
|
|
41
41
|
required :amount, Integer
|
|
@@ -292,9 +292,8 @@ module ModernTreasury
|
|
|
292
292
|
required :transaction_ids, ModernTreasury::Internal::Type::ArrayOf[String]
|
|
293
293
|
|
|
294
294
|
# @!attribute type
|
|
295
|
-
# One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `
|
|
296
|
-
# `
|
|
297
|
-
# `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
|
|
295
|
+
# One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`,
|
|
296
|
+
# `bacs`, `au_becs`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `zengin`.
|
|
298
297
|
#
|
|
299
298
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderType]
|
|
300
299
|
required :type, enum: -> { ModernTreasury::PaymentOrderType }
|
|
@@ -447,7 +446,7 @@ module ModernTreasury
|
|
|
447
446
|
#
|
|
448
447
|
# @param transaction_ids [Array<String>] The IDs of all the transactions associated to this payment order. Usually, you w
|
|
449
448
|
#
|
|
450
|
-
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `
|
|
449
|
+
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`, `ba
|
|
451
450
|
#
|
|
452
451
|
# @param ultimate_originating_account [ModernTreasury::Models::VirtualAccount, ModernTreasury::Models::InternalAccount, nil] The account to which the originating of this payment should be attributed to. Ca
|
|
453
452
|
#
|
|
@@ -838,7 +837,6 @@ module ModernTreasury
|
|
|
838
837
|
GOLDMAN_SACHS_PAYMENT_REQUEST_ID = :goldman_sachs_payment_request_id
|
|
839
838
|
GOLDMAN_SACHS_REQUEST_ID = :goldman_sachs_request_id
|
|
840
839
|
GOLDMAN_SACHS_UNIQUE_PAYMENT_ID = :goldman_sachs_unique_payment_id
|
|
841
|
-
INTERAC_MESSAGE_ID = :interac_message_id
|
|
842
840
|
JPMC_CCN = :jpmc_ccn
|
|
843
841
|
JPMC_CLEARING_SYSTEM_REFERENCE = :jpmc_clearing_system_reference
|
|
844
842
|
JPMC_CUSTOMER_REFERENCE_ID = :jpmc_customer_reference_id
|
|
@@ -866,14 +864,13 @@ module ModernTreasury
|
|
|
866
864
|
PNC_TRANSACTION_REFERENCE_NUMBER = :pnc_transaction_reference_number
|
|
867
865
|
RBC_WIRE_REFERENCE_ID = :rbc_wire_reference_id
|
|
868
866
|
RTP_INSTRUCTION_ID = :rtp_instruction_id
|
|
869
|
-
SIGNET_API_REFERENCE_ID = :signet_api_reference_id
|
|
870
|
-
SIGNET_CONFIRMATION_ID = :signet_confirmation_id
|
|
871
|
-
SIGNET_REQUEST_ID = :signet_request_id
|
|
872
867
|
SILVERGATE_PAYMENT_ID = :silvergate_payment_id
|
|
873
868
|
SVB_END_TO_END_ID = :svb_end_to_end_id
|
|
874
869
|
SVB_PAYMENT_ID = :svb_payment_id
|
|
875
870
|
SWIFT_MIR = :swift_mir
|
|
876
871
|
SWIFT_UETR = :swift_uetr
|
|
872
|
+
TURNKEY_ACTIVITY_ID = :turnkey_activity_id
|
|
873
|
+
TURNKEY_SEND_TRANSACTION_STATUS_ID = :turnkey_send_transaction_status_id
|
|
877
874
|
UMB_PRODUCT_PARTNER_ACCOUNT_NUMBER = :umb_product_partner_account_number
|
|
878
875
|
USBANK_PAYMENT_APPLICATION_REFERENCE_ID = :usbank_payment_application_reference_id
|
|
879
876
|
USBANK_PAYMENT_ID = :usbank_payment_id
|
|
@@ -9,7 +9,7 @@ module ModernTreasury
|
|
|
9
9
|
|
|
10
10
|
# @!attribute amount
|
|
11
11
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
12
|
-
# 1000 (cents). For RTP, the maximum amount allowed by the network is $
|
|
12
|
+
# 1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
|
|
13
13
|
#
|
|
14
14
|
# @return [Integer]
|
|
15
15
|
required :amount, Integer
|
|
@@ -30,9 +30,8 @@ module ModernTreasury
|
|
|
30
30
|
required :originating_account_id, String
|
|
31
31
|
|
|
32
32
|
# @!attribute type
|
|
33
|
-
# One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `
|
|
34
|
-
# `
|
|
35
|
-
# `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
|
|
33
|
+
# One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`,
|
|
34
|
+
# `bacs`, `au_becs`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `zengin`.
|
|
36
35
|
#
|
|
37
36
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderType]
|
|
38
37
|
required :type, enum: -> { ModernTreasury::PaymentOrderType }
|
|
@@ -325,7 +324,7 @@ module ModernTreasury
|
|
|
325
324
|
#
|
|
326
325
|
# @param originating_account_id [String] The ID of one of your organization's internal accounts.
|
|
327
326
|
#
|
|
328
|
-
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `
|
|
327
|
+
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`, `ba
|
|
329
328
|
#
|
|
330
329
|
# @param accounting [ModernTreasury::Models::PaymentOrderCreateAsyncParams::Accounting]
|
|
331
330
|
#
|
|
@@ -752,8 +751,6 @@ module ModernTreasury
|
|
|
752
751
|
DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
|
|
753
752
|
GB_SORT_CODE = :gb_sort_code
|
|
754
753
|
HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
|
|
755
|
-
HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
|
|
756
|
-
ID_SKNBI_CODE = :id_sknbi_code
|
|
757
754
|
IL_BANK_CODE = :il_bank_code
|
|
758
755
|
IN_IFSC = :in_ifsc
|
|
759
756
|
JP_ZENGIN_CODE = :jp_zengin_code
|
|
@@ -785,24 +782,17 @@ module ModernTreasury
|
|
|
785
782
|
DK_NETS = :dk_nets
|
|
786
783
|
EFT = :eft
|
|
787
784
|
GB_FPS = :gb_fps
|
|
788
|
-
HU_ICS = :hu_ics
|
|
789
|
-
INTERAC = :interac
|
|
790
785
|
MASAV = :masav
|
|
791
786
|
MX_CCEN = :mx_ccen
|
|
792
787
|
NEFT = :neft
|
|
793
788
|
NICS = :nics
|
|
794
789
|
NZ_BECS = :nz_becs
|
|
795
790
|
PL_ELIXIR = :pl_elixir
|
|
796
|
-
PROVXCHANGE = :provxchange
|
|
797
|
-
RO_SENT = :ro_sent
|
|
798
791
|
RTP = :rtp
|
|
799
792
|
SE_BANKGIROT = :se_bankgirot
|
|
800
|
-
SEN = :sen
|
|
801
793
|
SEPA = :sepa
|
|
802
794
|
SG_GIRO = :sg_giro
|
|
803
795
|
SIC = :sic
|
|
804
|
-
SIGNET = :signet
|
|
805
|
-
SKNBI = :sknbi
|
|
806
796
|
STABLECOIN = :stablecoin
|
|
807
797
|
WIRE = :wire
|
|
808
798
|
ZENGIN = :zengin
|
|
@@ -9,7 +9,7 @@ module ModernTreasury
|
|
|
9
9
|
|
|
10
10
|
# @!attribute amount
|
|
11
11
|
# Value in specified currency's smallest unit. e.g. $10 would be represented as
|
|
12
|
-
# 1000 (cents). For RTP, the maximum amount allowed by the network is $
|
|
12
|
+
# 1000 (cents). For RTP, the maximum amount allowed by the network is $10,000,000.
|
|
13
13
|
#
|
|
14
14
|
# @return [Integer]
|
|
15
15
|
required :amount, Integer
|
|
@@ -30,9 +30,8 @@ module ModernTreasury
|
|
|
30
30
|
required :originating_account_id, String
|
|
31
31
|
|
|
32
32
|
# @!attribute type
|
|
33
|
-
# One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `
|
|
34
|
-
# `
|
|
35
|
-
# `nz_national_clearing_code`, `sic`, `signet`, `provexchange`, `zengin`.
|
|
33
|
+
# One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`,
|
|
34
|
+
# `bacs`, `au_becs`, `neft`, `nics`, `nz_national_clearing_code`, `sic`, `zengin`.
|
|
36
35
|
#
|
|
37
36
|
# @return [Symbol, ModernTreasury::Models::PaymentOrderType]
|
|
38
37
|
required :type, enum: -> { ModernTreasury::PaymentOrderType }
|
|
@@ -331,7 +330,7 @@ module ModernTreasury
|
|
|
331
330
|
#
|
|
332
331
|
# @param originating_account_id [String] The ID of one of your organization's internal accounts.
|
|
333
332
|
#
|
|
334
|
-
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `
|
|
333
|
+
# @param type [Symbol, ModernTreasury::Models::PaymentOrderType] One of `ach`, `se_bankgirot`, `eft`, `wire`, `check`, `book`, `rtp`, `sepa`, `ba
|
|
335
334
|
#
|
|
336
335
|
# @param accounting [ModernTreasury::Models::PaymentOrderCreateParams::Accounting]
|
|
337
336
|
#
|
|
@@ -504,17 +503,17 @@ module ModernTreasury
|
|
|
504
503
|
module DocumentableType
|
|
505
504
|
extend ModernTreasury::Internal::Type::Enum
|
|
506
505
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
506
|
+
CONNECTION = :connection
|
|
507
|
+
COUNTERPARTY = :counterparty
|
|
508
|
+
EXPECTED_PAYMENT = :expected_payment
|
|
509
|
+
EXTERNAL_ACCOUNT = :external_account
|
|
510
|
+
IDENTIFICATION = :identification
|
|
511
|
+
INCOMING_PAYMENT_DETAIL = :incoming_payment_detail
|
|
512
|
+
INTERNAL_ACCOUNT = :internal_account
|
|
513
|
+
LEGAL_ENTITY = :legal_entity
|
|
514
|
+
ORGANIZATION = :organization
|
|
515
|
+
PAYMENT_ORDER = :payment_order
|
|
516
|
+
TRANSACTION = :transaction
|
|
518
517
|
|
|
519
518
|
# @!method self.values
|
|
520
519
|
# @return [Array<Symbol>]
|
|
@@ -812,8 +811,6 @@ module ModernTreasury
|
|
|
812
811
|
DK_INTERBANK_CLEARING_CODE = :dk_interbank_clearing_code
|
|
813
812
|
GB_SORT_CODE = :gb_sort_code
|
|
814
813
|
HK_INTERBANK_CLEARING_CODE = :hk_interbank_clearing_code
|
|
815
|
-
HU_INTERBANK_CLEARING_CODE = :hu_interbank_clearing_code
|
|
816
|
-
ID_SKNBI_CODE = :id_sknbi_code
|
|
817
814
|
IL_BANK_CODE = :il_bank_code
|
|
818
815
|
IN_IFSC = :in_ifsc
|
|
819
816
|
JP_ZENGIN_CODE = :jp_zengin_code
|
|
@@ -845,24 +842,17 @@ module ModernTreasury
|
|
|
845
842
|
DK_NETS = :dk_nets
|
|
846
843
|
EFT = :eft
|
|
847
844
|
GB_FPS = :gb_fps
|
|
848
|
-
HU_ICS = :hu_ics
|
|
849
|
-
INTERAC = :interac
|
|
850
845
|
MASAV = :masav
|
|
851
846
|
MX_CCEN = :mx_ccen
|
|
852
847
|
NEFT = :neft
|
|
853
848
|
NICS = :nics
|
|
854
849
|
NZ_BECS = :nz_becs
|
|
855
850
|
PL_ELIXIR = :pl_elixir
|
|
856
|
-
PROVXCHANGE = :provxchange
|
|
857
|
-
RO_SENT = :ro_sent
|
|
858
851
|
RTP = :rtp
|
|
859
852
|
SE_BANKGIROT = :se_bankgirot
|
|
860
|
-
SEN = :sen
|
|
861
853
|
SEPA = :sepa
|
|
862
854
|
SG_GIRO = :sg_giro
|
|
863
855
|
SIC = :sic
|
|
864
|
-
SIGNET = :signet
|
|
865
|
-
SKNBI = :sknbi
|
|
866
856
|
STABLECOIN = :stablecoin
|
|
867
857
|
WIRE = :wire
|
|
868
858
|
ZENGIN = :zengin
|