Create Expected Payment [deprecating Aug 2024]

Changed on

This is the legacy API for creating Expected Payments, which will be deprecated by Aug 1, 2024. See the latest documentation here: https://docs.moderntreasury.com/platform/reference/create-expected-payment

post/expected_payments (legacy)

Request

  • Base URL
    https://app.moderntreasury.com/api
  • URL
    https://app.moderntreasury.com/api/expected_payments (legacy)
  • Auth
    HTTP basic

Request body

amount_upper_boundinteger required

Value in specified currency's smallest unit. e.g. $10 would be represented as 1000 (cents), and ¥10 would be represented as 10.

amount_lower_boundinteger required

Value in specified currency's smallest unit. e.g. $10 would be represented as 1000 (cents), and ¥10 would be represented as 10.

directionstring required
internal_account_idstring required
typestring
currencystring
date_upper_boundstring date

Format is YYYY-MM-DD. Default will fallback to date_lower_bound.

date_lower_boundstring date

Format is YYYY-MM-DD. Default will fallback to date_upper_bound

descriptionstring
statement_descriptorstring
metadatastring json
counterparty_idstring
remittance_informationstring

Changes