import type * as Square from "../../../../index"; /** * @example * { * paymentId: "payment_id", * payment: { * amountMoney: { * amount: BigInt("1000"), * currency: "USD" * }, * tipMoney: { * amount: BigInt("100"), * currency: "USD" * }, * versionToken: "ODhwVQ35xwlzRuoZEwKXucfu7583sPTzK48c5zoGd0g6o" * }, * idempotencyKey: "956f8b13-e4ec-45d6-85e8-d1d95ef0c5de" * } */ export interface UpdatePaymentRequest { /** The ID of the payment to update. */ paymentId: string; /** The updated `Payment` object. */ payment?: Square.Payment; /** * A unique string that identifies this `UpdatePayment` request. Keys can be any valid string * but must be unique for every `UpdatePayment` request. * * For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). */ idempotencyKey: string; }