files

Converts all organization binary KYC fields to a map for SEP-9 submission.

Only fields with non-null values are included in the result. All keys are automatically prefixed with "organization." as required by SEP-9. These are typically document images submitted via multipart/form-data.

Return

Map of field keys (with "organization." prefix) to byte arrays for all non-null binary fields

Example:

val org = OrganizationKYCFields(
photoIncorporationDoc = loadImageBytes("incorporation.pdf"),
photoProofAddress = loadImageBytes("utility_bill.jpg")
)

val files = org.files()
// Result: {
// "organization.photo_incorporation_doc": ByteArray(...),
// "organization.photo_proof_address": ByteArray(...)
// }