@gradientedge/commercetools-utils
    Preparing search index...

    Interface Transaction

    Represents a financial transaction typically created as a result of a notification from the payment service.

    interface Transaction {
        amount: CentPrecisionMoney;
        custom?: CustomFields;
        id: string;
        interactionId?: string;
        state: TransactionState;
        timestamp?: string;
        type: TransactionType;
    }
    Index

    Properties

    Money value of the Transaction.

    custom?: CustomFields

    Custom Fields defined for the Transaction.

    id: string

    Unique identifier of the Transaction.

    interactionId?: string

    Identifier used by the interface that manages the Transaction (usually the PSP). If a matching interaction was logged in the interfaceInteractions array, the corresponding interaction can be found with this ID.

    State of the Transaction.

    timestamp?: string

    Date and time (UTC) the Transaction took place.

    Type of the Transaction. For example, Authorization.