Skip to main content

Legal documents

The legal documents list (legalDocuments on bankReport) contains bank‑supplied PDFs that the customer signed as part of the report — things like jurisdiction‑specific declarations or general terms your bank requires for every package.

Module‑gated​

The legalDocuments field is only available when your bank has the hasLegalDocumentsModule feature enabled. If the field returns an authorization error, the module is off for your bank.

Shape​

Each entry exposes:

  • id
  • name — the document's display name (e.g. "Terms of Service", "GDPR consent").
  • signedFile — the signed PDF.

Where to query​

See Querying legal documents. There is no dedicated rejection flag for individual legal documents — if a signed legal document is unacceptable, reject the package via the closest matching component flag on rejectBankPackageById.