get
https://api.cloud.mbanq.com/v1/savings//documents
Use this API to retrieve the details of all documents linked to a specific savings account. This is typically used as the second step after generating an account statement to obtain the documentId needed to download the PDF.
Prerequisites
- Pass the
savingsAccountIdas a path parameter.
Example Request
GET /v1/savingsaccounts/{savingsAccountId}/documents
Filtering Results
Use the following query parameters to narrow down the documents returned:
| Parameter | Description |
|---|---|
type | Filter by document type. Supported values: statement, receipt, report, passport. |
name | Filter by document name (e.g., January 01st - July 17st). |
createdAtFrom | Return only documents created on or after this date. Format: yyyy-MM-dd HH:mm:ss. |
createdAtTo | Return only documents created on or before this date. Format: yyyy-MM-dd HH:mm:ss. |
What's Next?
Once you have the documentId from the response, use it to download the document file (e.g., the statement PDF).

