Skip to content

Sign a shipment file upload

Request

Returns a legacy signed upload URL for a proof-of-delivery file. After uploading, provide the returned file details in the file field when creating a self-fulfilled shipment.

Security
bearerAuth or basicAuth
Bodyapplication/jsonrequired

Request body for obtaining a signed URL for file upload.

filenamestringrequired

Original filename for the file to be uploaded.

Example:"proof_of_delivery.pdf"
filetypestringrequired

MIME type of the file.

Example:"application/pdf"
curl -i -X POST \
  https://docs.resolvepay.com/_mock/merchant-api/openapi/shipments/sign-upload \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "filename": "proof_of_delivery.pdf",
    "filetype": "application/pdf"
  }'

Responses

Legacy shipment file upload request.

Bodyapplication/json
urlstring, (uri)required
upload_urlstring, (uri)required
Response
{ "url": "http://example.com", "upload_url": "http://example.com" }