Transaction

  • A recent Transaction that may or may not be retro claimed for Loyalty.

    • claimed_by_enrollments
      Type: array integer[]

      For claimed transactions, the unique IDs of Enrollments that processed the claim.

    • claimed_by_member
      Type: object

      For claimed transactions, identifying information for the Sparkfly Member.

    • claimed_status
      Type: string enum

      Whether or not the transaction has been claimed by a Member with one or more Loyalty Enrollments.

      values
      • unclaimed
      • claimed
    • enrollment_claim_attempt_details
      Type: array object[] ยท Enrollment Claim Attempt Detail[]

      Results of this request's claim attempt for each of the claiming Member's Loyalty Enrollments.

      Enrollment claim attempt details show how an enrollment handled a retro claim request, including earned points and why the claim/points might have been rejected (e.g., already claimed, limits reached, inactive enrollment).

    • id
      Type: integer

      ID of the transaction record in Sparkfly's records.

Examples
{
  "id": 26,
  "permanent_transaction_id": 26,
  "claimed_status": "claimed",
  "claimed_by_member": {
    "id": 30,
    "identifier": "mem176210833"
  },
  "claimed_by_enrollments": [
    10
  ],
  "enrollment_claim_attempt_details": [
    {
      "enrollment_id": 10,
      "claimed": true,
      "points_earned": 75
    },
    {
      "enrollment_id": 11,
      "claimed": false,
      "message": "enrollment already claimed"
    }
  ]
}