import type * as Square from "../index"; /** * Published when a [Payment](entity:Payment) is updated. * Typically the `payment.status`, or `card_details.status` fields are updated * as a payment is canceled, authorized, or completed. */ export interface PaymentUpdatedEvent { /** The ID of the target merchant associated with the event. */ merchantId?: string | null; /** The type of event this represents, `"payment.updated"`. */ type?: string | null; /** A unique ID for the event. */ eventId?: string | null; /** Timestamp of when the event was created, in RFC 3339 format. */ createdAt?: string; /** Data associated with the event. */ data?: Square.PaymentUpdatedEventData; }