v1

latestOpenAPI 3.0.22026-07-2667277423.4 KB
Platform Model

File: Create

Creates a new file for the current merchant.

post/merchants/{merchant_id}/files

Path parameters

merchant_idstring required

A unique 25-character alphanumeric resource identifier.

Request body

paperstring required

Must be only one file.

Response

Creates a new file for its submerchant

idstring required

Unique identifier for this file.

resourcestring required

Resource type name, always "file".

filenamestring required

Original filename of the uploaded file.

sizeinteger required

File size in bytes.

mime_typestring required

MIME type of the uploaded file (e.g. "application/pdf").

created_atstring date-time required

Timestamp when the file was uploaded.

updated_atstring date-time required

Timestamp when the file record was last updated.