---
layout: default
title: transaction
nav:
group: Liquid Variables
---
# transaction
The transaction object has the following attributes:
{% table_of_contents %}
{% anchor_link "transaction.id", "transaction-id" %}
Returns the id of the transaction.
{% anchor_link "transaction.amount", "transaction-amount" %}
Returns the amount of the transaction. Use one of the money filters to return the value in a monetary format.
{% anchor_link "transaction.name", "transaction-name" %}
Returns the name of the transaction.
Input
Output
Returns the timestamp of when the transaction was created. Use the date filter to format the timestamp.
{% anchor_link "transaction.gateway", "transaction-gateway" %} Returns the name of the payment gateway used for the transaction.Input
Output