Download a deposit statement

​

Requires accounts:read. Downloads the bank-generated PDF for a statement belonging to this deposit account. Unknown statement IDs, charge-account statements, and bank PDFs that are not yet available return 404. Send Accept: */* (or omit the header); a successful response is application/pdf and errors can be JSON. An explicit Accept: application/pdf currently fails content negotiation with 406, including in clients that choose that header automatically.

Path Parameters

  • Account identifier returned by List accounts.

  • Statement identifier returned by List account statements.

Responses

  • application/pdf
  • application/json
  • application/json
  • application/json
  • application/json
  • application/json
Request Example for get/accounts/{accountId}/statements/{statementId}
curl https://api.dev.trusspayments.com/fdx/v6/accounts/1dd3a4b0-4837-4e24-b83d-4f3a834d9320/statements/9df1185b-9cc7-4243-915c-9e52b017e5a7 \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
null