added

Filtering settlements by date

👍

New date filter for settlements

We are happy to announce that it is now possible to request settlements with a date range! Use these new query parameters - clearedFrom and clearedTo like so:

curl --request GET \
     --url 'https://public-api.demo.spendesk.com/v1/settlements?clearedFrom=2024-01-01&clearedTo=2024-01-31' \
     --header 'accept: application/json'

Clearing date is the date retained by Spendesk when processing various types of settlements.