Files

Upload a file

Upload a file so that it can be attached to a payment link. Only PDFs smaller than 5 MB are supported.

For sample calls, see the public Postman collection.

post/api/attachments

Request

  • Base URL
    https://sandbox-l.ppay.io
  • URL
    https://sandbox-l.ppay.io/api/attachments
  • Auth
    HTTP bearer

Request body multipart/form-data

filestring binary

File content to be uploaded.

Response

File uploaded successfully.

fileIdstring uuid

A file ID that should be used in the files property on a create link call.

Changes

No recorded changes to this operation across all 1 revision of this API.