🚧 Work in Progress: This documentation is actively being developed and is subject to change.
API ReferenceReceipts

Initialize Receipt Upload

Creates a session for uploading a receipt and returns a URL for the frontend.

POST
/track/receipts/session

Query Parameters

api-versionstring

The API version, in the format 'major.minor'.

userIdstring
transactionId?string
amount?number
Formatdouble
merchantName?string
redirectUri?string
transactionTimestamp?string
Formatdate-time

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://loading/track/receipts/session?api-version=1.0" \  -H "Content-Type: application/json" \  -d '{    "userId": "string"  }'
{
  "redirectUrl": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "errors": {
    "property1": [
      "string"
    ],
    "property2": [
      "string"
    ]
  }
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}