Question
In the parameters for the Get Transactions for Account API, how do the parameters max-amount
and min-amount
work?
Answer
As indicated in the documentation, the max-amount
and min-amount
parameters filter the returned transactions according to amount.
In Open Banking an incoming transaction is indicated with a positive amount, and an outgoing transaction is indicated with a negative amount.
The table below gives samples of the kind of amounts that would pass through the filter with the max-amount
and min-amount
settings shown.
min-amount |
max-amount |
Incoming /outgoing logic | Sample output |
Not specified | Not specified | All incoming and outgoing transactions | ...,1000, 50, 1, -1, -50, -1000,... |
0 | Not specified | All incoming transactions | 1, 50, 1000,… |
Not specified | 0 | All outgoing transactions | -1, -50, -1000, ... |
50 | Not specified | Incoming of amount 50 or above | 50,100,1000,… |
Not specified | -50 | Outgoing of absolute value 50 or above | -50, -100, -1000,... |
50 | 500 | Incoming between 50 and 500 | 50, 100, 400, 500 |
-500 | -50 | Outgoing of absolute value between 50 and 500 | -50, -100, -400, -500 |
See:
Comments
0 comments
Please sign in to leave a comment.