Original publication date: June 2, 2020
Question:
For the endpoint GET /v1/dda/accounts/{accountNumber}/statements/{statementId}/documents/{documentId}, Swagger says that it returns a StatementDocumentInfo object, when the endpoint seems to actually return the encrypted PDF.
Answer:
There is a mismatch because Swagger has no way to represent that we return the raw data of the pdf.