interface Payment {
    amountAuthorized?: TypedMoney;
    amountPaid?: TypedMoney;
    amountPlanned: CentPrecisionMoney;
    amountRefunded?: TypedMoney;
    anonymousId?: string;
    authorizedUntil?: string;
    createdAt: string;
    createdBy?: CreatedBy;
    custom?: CustomFields;
    customer?: CustomerReference;
    externalId?: string;
    id: string;
    interfaceId?: string;
    interfaceInteractions: CustomFields[];
    key?: string;
    lastModifiedAt: string;
    lastModifiedBy?: LastModifiedBy;
    paymentMethodInfo: PaymentMethodInfo;
    paymentStatus: PaymentStatus;
    transactions: Transaction[];
    version: number;
}

Hierarchy

Properties

amountAuthorized?: TypedMoney

Deprecated because its value can be calculated from the total amounts saved in the Transactions.

amountPaid?: TypedMoney

Deprecated because its value can be calculated from the total amounts saved in the Transactions.

amountPlanned: CentPrecisionMoney

Money value the Payment intends to receive from the customer. The value typically matches the Cart or Order gross total.

amountRefunded?: TypedMoney

Deprecated because its value can be calculated from the total amounts saved in the Transactions.

anonymousId?: string

Anonymous session associated with the Payment.

authorizedUntil?: string

Deprecated because this field is of little practical value, as it is either not reliably known, or the authorization time is fixed for a PSP.

createdAt: string

Date and time (UTC) the Payment was initially created.

createdBy?: CreatedBy

Present on resources created after 1 February 2019 except for events not tracked.

custom?: CustomFields

Custom Fields for the Payment.

Reference to a Customer associated with the Payment.

externalId?: string

Additional identifier for external systems like Customer Relationship Management (CRM) or Enterprise Resource Planning (ERP).

id: string

Unique identifier of the Payment.

interfaceId?: string

Identifier used by the payment service that processes the Payment (for example, a PSP). The combination of interfaceId and the paymentInterface field on PaymentMethodInfo must be unique.

interfaceInteractions: CustomFields[]

Represents information exchange with the payment service, for example, a PSP. An interaction may be a request sent, or a response or notification received from the payment service.

key?: string

User-defined unique identifier of the Payment.

lastModifiedAt: string

Date and time (UTC) the Payment was last updated.

lastModifiedBy?: LastModifiedBy

Present on resources created after 1 February 2019 except for events not tracked.

paymentMethodInfo: PaymentMethodInfo

Information regarding the payment interface (for example, a PSP), and the specific payment method used.

paymentStatus: PaymentStatus

Current status of the Payment.

transactions: Transaction[]

Financial transactions of the Payment. Each Transaction has a TransactionType and a TransactionState.

version: number

Current version of the Payment.

Generated using TypeDoc