Skip to navigation

Get account statements

Retrieve a paginated list of monthly statements for a specific account. Supports cursor-based pagination with limit, order, start_after, and end_before query parameters, as well as date range filtering with start and end parameters.

Authentication

AuthorizationBearer

Bearer token authentication for Mercury API.

Use your API token in the Authorization header: Authorization: Bearer TOKEN

Example: Authorization: Bearer secret-token:mercury_production_wma_24SCp4G81X3yHL4Wq8FgzuaP9ye3VKf2mgTDctXyRg5HY_yrucrem

Your Mercury API token should include the ‘secret-token:’ prefix. Tokens can be generated from your Mercury dashboard settings.

Path parameters

accountIdstringRequiredformat: "uuid"

Query parameters

limitlongOptional1-1000Defaults to 1000
orderenumOptionalDefaults to desc
Sort order. Can be 'asc' or 'desc'. Defaults to 'desc'
Allowed values:
start_afterstringOptionalformat: "uuid"
end_beforestringOptionalformat: "uuid"
startstringOptional
endstringOptional

Response

pageobject
statementslist of objects

Errors

400
Bad Request Error
404
Not Found Error