import type * as Square from "../index"; /** * Defines the response returned by [CreatePayment](api-endpoint:Payments-CreatePayment). * * If there are errors processing the request, the `payment` field might not be * present, or it might be present with a status of `FAILED`. */ export interface CreatePaymentResponse { /** Information about errors encountered during the request. */ errors?: Square.Error_[]; /** The newly created payment. */ payment?: Square.Payment; }