List Expected Payments

Changed on
get/expected_payments

Request

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

Query parameters

after_cursorstring
per_pageinteger
statusstring

One of unreconciled, reconciled, or archived.

internal_account_idstring

Specify internal_account_id to see expected_payments for a specific account.

directionstring

One of credit, debit

typestring

One of the Payment Types from Payment Orders

counterparty_idstring

Specify counterparty_id to see expected_payments for a specific account.

external_idstring

Specify external_id to see expected_payments matching a specific identifier.

amountinteger

Specify an amount to see expected_payments whose upper and lower bounds contain the value.

You can also use gte (>=), lte (<=) or eq (=) to filter by amount. For example, to see expected_payments whose bounds include amounts greater than or equal to $100, use amount%5Bgte%5D=10000.

metadatastring

For example, if you want to query for records with metadata key Type and value Loan, the query would be metadata%5BType%5D=Loan. This encodes the query parameters.

created_at_lower_boundstring date-time

Filter expected payments created after the timestamp

created_at_upper_boundstring date-time

Filter expected payments created before the timestamp

updated_at_lower_boundstring date-time

Filter expected payments was last updated after the timestamp

updated_at_upper_boundstring date-time

Filter expected payments was last updated before the timestamp

Response

OK

Changes