files

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

Only fields with non-null values are included in the result. These are typically document images submitted via multipart/form-data.

Return

Map of field keys to byte arrays for all non-null binary fields

Example:

val person = NaturalPersonKYCFields(
photoIdFront = loadImageBytes("passport_front.jpg"),
photoIdBack = loadImageBytes("passport_back.jpg")
)

val files = person.files()
// Result: {
// "photo_id_front": ByteArray(...),
// "photo_id_back": ByteArray(...)
// }