provider Statements GET /statements/{statementId}/pdf
@utdk/mercury /statements/{statementId}/pdf
Download account statement PDF
Downloads a PDF file for the specified account statement. The response includes a Content-Disposition header for proper file download handling. Returns binary PDF data.
statementId path required
string

Try it

Authentication
Configure credentials for Mercury API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getstatementpdf
GET/statements/{statementId}/pdf
Downloads a PDF file for the specified account statement. The response includes a Content-Disposition header for proper file download handling. Returns binary PDF data.

Parameters

required

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import mercury from '@utdk/mercury';

await mercury.getstatementpdf()