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: string;
    timestamp?: string;
    type: string;
}

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: string

State of the Transaction.

timestamp?: string

Date and time (UTC) the Transaction took place.

type: string

Type of the Transaction. For example, Authorization.

Generated using TypeDoc