PayNow

CreateMediaUploadRequestDto

Represents a request to start uploading a media file.

content_typestringRequired
The MIME type of the file. One of 'image/png', 'image/jpeg', 'image/webp', 'image/gif' or 'video/mp4'.
size_bytesintegerRequired
The size of the file in bytes, at most 20 MB (20971520 bytes).
Example
{
  "content_type": "image/png",
  "size_bytes": 524288
}