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

Get Transaction Receipt

Fetch the detailed breakdown of a processed transaction.

GET
/users/{id}/transactions/{transaction_id}

Path Parameters

idstring
transaction_idstring

Query Parameters

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/string?api-version=1.0"
{
  "transaction": {
    "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"
  }
}
{
  "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"
}