Upload a file once with POST /files, then refer to it by id. JPEG, PNG, HEIC, WebP, PDF and MP4, up to 25 MB each.

Purposes

A file’s purpose decides who may upload it and where it can be used. A file can only be used by the customer who uploaded it, and only for its purpose. Unused files are deleted after 24 hours.

Upload

Use it

Checkout sessions also take files by URL (attachments: [{ url, name }], images: [{ url }]): KetaPay fetches and keeps a copy when the session is created, so the record of the deal can’t change later.