# Voucherify.RewardPurchaseTransaction

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**programId** | **String** | Unique identifier of the loyalty program (format &#x60;lprg_...&#x60;). | [optional] 
**memberId** | **String** | Unique identifier of the program member (format &#x60;lmbr_...&#x60;). | [optional] 
**createdAt** | **Date** | Timestamp when the transaction was created (ISO 8601). | [optional] 
**updatedAt** | **Date** | Timestamp when the transaction was last updated (ISO 8601), or &#x60;null&#x60;. | [optional] 
**cardId** | **String** | Unique identifier of the loyalty card the points were spent from (format &#x60;lcrd_...&#x60;). | [optional] 
**id** | **String** | Unique reward transaction identifier (format &#x60;lrtx_...&#x60;). Absent for &#x60;DRY_RUN&#x60; (SIMULATED) transactions, which are never persisted. | [optional] 
**cardDefinitionId** | **String** | Unique identifier of the card definition for that card (format &#x60;lcdef_...&#x60;). &#x60;null&#x60; when none is stored. | [optional] 
**cardTransactionId** | **String** | Identifies of the underlying card transaction (format &#x60;lctx_...&#x60;). &#x60;null&#x60; for &#x60;DRY_RUN&#x60; (SIMULATED) transactions. | [optional] 
**rewardId** | **String** | Unique identifier of the purchased reward (format &#x60;lrew_...&#x60;). | [optional] 
**status** | **String** | Transaction status:  - &#x60;PENDING&#x60;: Created and awaiting processing.  - &#x60;PROCESSING&#x60;: Being processed.  - &#x60;APPROVED&#x60;: Completed successfully.  - &#x60;REJECTED&#x60;: Rejected (see &#x60;details.rejection&#x60;).  - &#x60;SIMULATED&#x60;: Dry-run result that is not persisted.  - &#x60;REFUNDED&#x60;: Purchase has been refunded. | [optional] 
**type** | **String** | Transaction type. | [optional] 
**details** | **Object** |  | [optional] 
**object** | **String** | Object type marker. Always &#x60;reward_transaction&#x60;. | [optional] [default to &#39;reward_transaction&#39;]



## Enum: StatusEnum


* `PENDING` (value: `"PENDING"`)

* `PROCESSING` (value: `"PROCESSING"`)

* `APPROVED` (value: `"APPROVED"`)

* `REJECTED` (value: `"REJECTED"`)

* `SIMULATED` (value: `"SIMULATED"`)

* `REFUNDED` (value: `"REFUNDED"`)





## Enum: TypeEnum


* `PURCHASE` (value: `"PURCHASE"`)

* `REFUND` (value: `"REFUND"`)





## Enum: ObjectEnum


* `reward_transaction` (value: `"reward_transaction"`)




