update payment method
update_payment_methodUpdate an existing payment method in QuickBooks Online (requires Id and the current SyncToken, as the last search or write returned it). Returns the saved record with its new SyncToken.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Fields to update. Must include Id and the current SyncToken (fetch the PaymentMethod first). Do not send government identifiers (SSN or tax IDs), birth dates or card-processing details. Manage those fields directly in QuickBooks. Updates are sparse by default: only the fields sent change, and a Line array sent replaces all lines. Send sparse: false for a full update, which clears every writable field left out. QuickBooks cannot delete a payment method; to retire one, update it with Active: false. | |
| company | No | Which connected QuickBooks company to use (name, realm id, or connection id). Optional when only one company is connected. |