DocumentUploadIntent

Schema #/components/schemas/DocumentUploadIntent of contract 1.0.0-draft.17.

  • kind stringrequired

    reconciliation_statement (CSV or XLSX bank statement, operator tenant with reconciliation.manage only) feeds POST /ops/reconciliation/statement-imports.

    One of: "kyb_company", "kyb_person_id", "kyb_proof_of_address", "kyb_ownership", "kyb_other", "attachment", "bulk_payments", "other", "reconciliation_statement"

  • fileName stringrequired

    Original file name (sanitised; never used in storage keys).

    min length 1 · max length 255

  • contentType stringrequired

    Must match the file name extension.

    One of: "application/pdf", "image/png", "image/jpeg", "text/csv", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"

  • size integerrequired

    Bytes (max 20 MiB).

    min 1 · max 20971520

  • sha256 stringrequired

    Lower-case hex SHA-256 of the file; signed into the upload URL and verified on completion.

    pattern ^[a-f0-9]{64}$