> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Resource: Transactions # Type: Loyalty Transaction Object # Link: https://dev.wix.com/docs/api-reference/crm/loyalty-program/accounts/transactions/loyalty-transaction-object.md ## Description: Loyalty transaction. ## Schema: ```json Type: Loyalty Transaction Object | type: LoyaltyTransaction Description: Loyalty transaction. - name: id | type: string | description: Transaction ID. - name: value | type: string | description: - name: accountId | type: string | description: Account ID. - name: createdDate | type: string | description: Date and time the transaction was created. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: amount | type: number | description: The number of points earned, adjusted, redeemed, or expired in the transaction. + `EARN`: Number of points earned by a customer taking an action. + `REDEEM`: The number of points redeemed by a customer for a reward. + `ADJUST`: The number of points adjusted to a customer's balance. + `REFUND`: The number of points refunded for a previously redeemed reward. + `EXPIRE`: The number of points that expired due to customer inactivity for a configured period. - name: transactionType | type: string | description: Type of transaction. enum: UNKNOWN, EARN, REDEEM, ADJUST, REFUND, EXPIRE, EARN_ATTEMPT - name: description | type: string | description: Transaction description. - name: idempotencyKey | type: string | description: Unique identifier, generated by the client. Used to recognize repeated attempts of the same request. Only present when manually adding points with [Earn Points](https://dev.wix.com/docs/rest/crm/loyalty-program/accounts/earn-points.md). ```