Create Transaction

Create transactions in Modern Treasury to represent financial transactions from financial institutions (e.g., bank, payment processor), or 3rd party.

post/transactions

Request

  • Base URL
    https://app.moderntreasury.com/api
  • URL
    https://app.moderntreasury.com/api/transactions
  • Auth
    HTTP basic

Request body

internal_account_idstring required

The ID of one of your internal accounts

as_of_datestring date required

Format is YYYY-MM-DD. The date on which the transaction occurred.

directionstring required

One of credit, debit

amountinteger required
postedboolean required

If the transaction has posted to the account.

typestring

See Payment Orders for a list of possible payment types. This field is required if no vendor_code/vendor_code_type is provided

vendor_descriptionstring

The transaction detailed text that often contains unstructured remittance information, and appears in the statements or online portal. The specific format will vary by bank, payment processor, or other vendor.

vendor_codestring required

The code related to this transaction. For bank transactions, the bank provided code that determines the transaction type. This field is required if type is not provided

vendor_code_typestring required

The type of vendor_code being reported. This field is required if type is not provided

metadatastring json
custom_identifiersstring json

Matching data used in Reconciliation Rules to automatically reconcile this Transaction. See Defining your Reconciliation Rules. Up to 50 string key-value pairs allowed.

vendor_customer_idstring

An identifier given to this transaction by the bank, often null

Changes

No recorded changes to this operation across all 2 revisions of this API.