Skip to main content
The file service handles file uploads and management. Use it to upload documents (identity verification, dispute evidence, etc.), list uploaded files, retrieve file details, and delete files. File uploads use multipart form data via the SDK’s postMultipart() HTTP method.

Methods

Upload a file

The upload() method uses multipart form data. Pass a FormData object containing the file.

List files

Get a file

Delete a file

Response types

UploadResponse

ListResponse

An array of file objects with id, name, size, url, and created_at fields.

GetResponse

Same shape as UploadResponse.

DeleteResponse

Confirmation of file deletion.