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

List User Transactions

Fetch a list of all transaction receipts for a user.

GET
/users/{id}/transactions

Path Parameters

idstring

Query Parameters

pageSize?integer
Formatint32
page?integer
Formatint32
First?boolean
All?boolean
timeframe?string
api-versionstring

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

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://loading/users/string/transactions?pageSize=0&page=0&First=true&All=true&timeframe=string&api-version=1.0"
{
  "transactions": [
    {
      "id": "string",
      "userID": "string",
      "totalPoints": 0.1,
      "operation": 0,
      "transaction": {
        "brand": "string",
        "createdAt": "2019-08-24T14:15:22Z",
        "excludedItems": [
          {
            "externalId": "string",
            "name": "string",
            "cleanedName": "string",
            "qty": 0,
            "pricePerUnit": 0.1,
            "partnerType": 0,
            "bonusPoints": 0.1,
            "healthPoints": 0.1,
            "id": "string",
            "imageURL": "string",
            "totalPlanetPoints": 0.1,
            "totalCO2e": 0.1,
            "carbonImpactRating": 0,
            "healthImpactRating": 0,
            "carbonDataSource": "string",
            "matchedIngredientName": "string"
          }
        ],
        "externalTransactionID": "string",
        "items": [
          {
            "externalId": "string",
            "name": "string",
            "cleanedName": "string",
            "qty": 0,
            "pricePerUnit": 0.1,
            "partnerType": 0,
            "bonusPoints": 0.1,
            "healthPoints": 0.1,
            "id": "string",
            "imageURL": "string",
            "totalPlanetPoints": 0.1,
            "totalCO2e": 0.1,
            "carbonImpactRating": 0,
            "healthImpactRating": 0,
            "carbonDataSource": "string",
            "matchedIngredientName": "string"
          }
        ],
        "location": "string",
        "logo": "string",
        "partnerType": 0,
        "transactionSource": 0,
        "transactionID": "string",
        "timestamp": "2019-08-24T14:15:22Z",
        "totalAmount": 0.1,
        "totalBonusPoints": 0.1,
        "totalCO2e": 0.1,
        "totalGreenProducts": 0,
        "totalHealthPoints": 0.1,
        "totalPoints": 0.1,
        "updatedAt": "2019-08-24T14:15:22Z",
        "userID": "string"
      },
      "reward": {
        "id": "string",
        "name": "string",
        "voucherIdentifier": "string",
        "brand": "string",
        "category": "string",
        "code": "string",
        "description": "string",
        "imageUrl": "string",
        "logoUrl": "string",
        "location": "string",
        "offer": "string",
        "points": 0.1,
        "tier": 0,
        "terms": [
          "string"
        ],
        "validTill": "2019-08-24T14:15:22Z",
        "value": 0.1
      },
      "bonus": {
        "profileId": "string",
        "firstName": "string",
        "lastName": "string",
        "type": 0
      },
      "status": 0,
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ],
  "count": 0
}
{
  "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"
}