> 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: Transaction Object # Link: https://dev.wix.com/docs/api-reference/business-solutions/gift-cards/transactions/transaction-object.md ## Description: A transaction represents a change to a gift card's balance, including redemptions, refunds, and initial value assignments. Transactions provide an audit trail of all gift card activity and cannot be modified once created. ## Schema: ```json Type: Transaction Object | type: Transaction Description: A transaction represents a change to a gift card's balance, including redemptions, refunds, and initial value assignments. Transactions provide an audit trail of all gift card activity and cannot be modified once created. - name: id | type: string | description: Transaction ID. - name: value | type: string | description: - name: createdDate | type: string | description: Date and time the transaction was created. - name: seconds | type: string | description: - name: nanos | type: number | description: - name: type | type: string | description: Type of transaction indicating the reason for the balance change. enum: REDEEM, VOID, INITIAL, PAYMENT_METHOD_REFUND, MANUAL - name: giftCardId | type: string | description: Gift card ID associated with this transaction. - name: amount | type: Amount | description: Monetary amount of the transaction. Positive values represent credits, negative values represent debits. - name: amount | type: string | description: Monetary amount in the specified currency as a decimal string. For example, `"10.50"` for $10.50, or `"100"` for $100.00. - name: formattedAmount | type: string | description: Amount formatted with currency symbol for display purposes. For example: `"$10.50"` or `"€25.00"`. - name: updatedBalance | type: Amount | description: Gift card balance after this transaction was applied. - name: operationType | type: string | description: Whether the transaction adds to or subtracts from the gift card balance. enum: ADD, SUBTRACT - name: orderInfo | type: OrderInfo | description: Order details when the transaction is related to an eCommerce purchase or refund. - name: orderId | type: string | description: Order ID associated with the gift card purchase. - name: orderNumber | type: string | description: Human-readable order number displayed to customers. For example, `"1001"`. ```