Adds a file to the specified account request
Required scopes: accounts-manage
Path Parameters
- Type: stringFormat: uuididrequired
The unique identifier of the account request
Body·
- Type: string • base64filerequired
Base64-encoded content of the file. The file must be a PDF, JPEG, TIFF, PNG or BMP, and no larger than 15 MB (15,728,640 bytes) once decoded.
- Type: stringfile
Name max length:64required - Type: string | nulldocument
Description - Type: string | nulldocument
Type The type of document, for example one of the requiredDocuments types returned when the request was created.
Responses
- 401
Unauthorized
- 403
Forbidden
Request Example for post/v1/accounts/requests/{id}/files
curl https://stage-api.openmarkets.com.au/v1/accounts/requests/123e4567-e89b-12d3-a456-426614174000/files \
--request POST \
--header 'Content-Type: application/json' \
--data '{
"fileName": "broker-transfer-form.pdf",
"documentType": "StockTransferForm",
"documentDescription": "Signed stock transfer form",
"file": "JVBERi0xLjQKJeLjz9MKMyAwIG9iago8PC9UeXBlL1BhZ2U+PgplbmRvYmoK"
}'
{
"fileName": "broker-transfer-form.pdf",
"succeeded": true
}
