post https://penny-api-restricted-dev.alfredpay.io/api/v1/third-party-service/penny/customers//kyb//files/relate-person
This endpoint accepts multipart/form-data to upload a KYB file for a related person on a business submission.
Form fields:
- rawBody: (file) Binary file to upload (e.g. PDF, JPEG, PNG). Required.
- fileType: (string) Type of file being uploaded. Allowed values: docBack, docFront. Required.
Validation: The request must include the file under the 'rawBody' field and a valid 'fileType' that matches one of the allowed enum values for related-person files. Use this endpoint when uploading personal documents (front/back ID).
Example form-data fields:
- rawBody:
- fileType: docBack
