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

Upload Receipt

Validates and uploads a receipt for a transaction.

POST
/track/receipts

Query Parameters

testBlobUri?string
api-versionstring

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

userIdstring
transactionIdstring
amountnumber
Formatdouble
Range0.01 <= value
merchantNamestring
receiptImagestring
transactionTimestampstring
Formatdate-time

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://loading/track/receipts?testBlobUri=string&api-version=1.0" \  -F userId="string" \  -F transactionId="string" \  -F amount="0.01" \  -F merchantName="string" \  -F receiptImage="string" \  -F transactionTimestamp="2019-08-24T14:15:22Z"
{
  "receiptID": "string",
  "message": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string"
}