Adds a file to the specified account request

​

Required scopes: accounts-manage

Path Parameters

  • The unique identifier of the account request

Body·

  • 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.

  • The type of document, for example one of the requiredDocuments types returned when the request was created.

Responses

  • Unauthorized

  • 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
}