improved

API - Statements - 1.2.0

TL;DR - Statements filename field format improved.

Summary

This release brings a small improvement to the data model for statements, more documentation for which can be found below:

Improvements

Filename field

Previously, the filename field simply contained the uuid and extension, e.g:

2d4af70d-ebf3-4058-8acb-155203809a32.pdf

In order to improve the experience in a file download scenario, the filename field now contains a more contextual value based on the following format:

Statement_<merchantId>_<fromDate>_<toDate>_.<extension>

For example:

Statement_1234567_2022-09-01_2022-09-30.pdf

This avoids the need for API clients to do additional work formatting this in most cases.

Want a quick overview?