Querying the self-declaration
The self‑declaration node holds the customer's signed self‑declaration PDF. See the Self‑declaration concept.
All examples require a JWT — get one from the homepage first.
Fetch the signed self-declaration
query bankReportSelfDeclaration($id: UUID!) {
bankReportById(id: $id) {
id
selfDeclaration {
signedFile {
fileName
fileExtension
base64
}
}
}
}