import type * as Square from "../index"; /** * Published when a payment that is associated with an [invoice](entity:Invoice) is completed. * For more information about invoice payments, see [Pay an invoice](https://developer.squareup.com/docs/invoices-api/pay-refund-invoices#pay-invoice). */ export interface InvoicePaymentMadeEvent { /** The ID of the target merchant associated with the event. */ merchantId?: string | null; /** The type of event this represents, `"invoice.payment_made"`. */ 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.InvoicePaymentMadeEventData; }