Receipts

Get receipt upload URLs

Upload each file with a PUT to its presignedUrl, then verify it.

POST
/api/v1/media/receipts/presigned-urls
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/media/receipts/presigned-urls" \  -H "Content-Type: application/json" \  -d '{    "files": [      {        "fileName": "taxi-receipt.png",        "fieldName": "receipt",        "contentType": "image/png"      }    ]  }'
[
  {
    "presignedUrl": "string",
    "fileName": "string",
    "fieldName": "string",
    "key": "string",
    "mediaId": "string",
    "expriesAt": "string"
  }
]
Empty
Empty
Empty

How is this guide?

Last updated on