Example Requests

These are sample payloads that can be used when creating an expected payment.

Expecting to be charged

The following request will indicate that you are expecting to be charged $10.

{
  "direction": "debit",
  "amount_lower_bound": 1000,
  "amount_upper_bound": 1000,
  "internal_account_id": "<Internal Account ID>"
}

Expecting to receive money

The following request will indicate that you're expecting to receive $200,000

{
  "direction": "credit",
  "amount_lower_bound": 20000000,
  "amount_upper_bound": 20000000,
  "internal_account_id": "<Internal Account ID>"
}

Using Ranges

The following request uses ranges to show that you're expecting to receive between $100-$110, somewhere on the dates 1/28/2019-1/30/2019. If a transaction doesn't match these criteria, it wouldn't be reconciled to the expected payment

{
  "direction": "credit",
  "amount_lower_bound": 10000,
  "amount_upper_bound": 11000,
  "internal_account_id": "<Internal Account ID>",
  "date_lower_bound": "2019-01-28",
  "date_upper_bound": "2019-01-29"
}