Get a statement document by its ID.

get/api/v2/admin/statements/{statementId}/document

Path Parameters

  • statementIdstringRequired
    The ID of the statement
    Min length: >= 1 characters

Query Parameters

  • asJSONboolean
    Whether to return the document as JSON

200 Response

data string required
The document data
Min length: >= 1 characters
fileType string required
The type of the document
Allowed values: csv pdf

400 Response

name string
Error code
context object required
Properties that apply to a specific error name
error string required
Human-readable error message
requestId string required
Client request id