On the Marqeta platform, transactions are represented by the transaction object. Each transaction object has many attributes, including a type and state.
- The
type
field represents the transaction type, including authorizations, clearings, reversals, and more. A transaction's type does not change throughout its lifetime. For the complete list of types, see the Event Types page in the Core API Reference. - The
state
field represents the current status of the transaction. This is the only field that can change after the transaction object has been created. Each transaction type follows a different lifecycle of states. For more information, see About Transactions in Developer Guides.