Skip to main content
inputUpdatePaymentCommandRequestInput

Fields

paymentId
ID!
required

The ID of the payment.

amount
Decimal

The new amount as a positive number with at most two decimals; a payout stays a payout.

paymentDate
DateTime

The new date of the payment.

paymentMethodId
ID

The new payment method.

externalTransactionId
String

The new transaction ID; null removes it.

note
String

The new note; null removes it.

isDownPayment
Boolean

Whether the payment is a down payment.

generalLedgerAccount
String

The new general ledger account; null removes it.

isExcludedFromAccountingExport
Boolean

Whether the payment is left out of the accounting export.

disableAutomaticWorkflows
Boolean

Whether to suppress the workflows this call would start because a sales order or a sales invoice becomes fully paid. Defaults to false when omitted.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.