VoidPayment
Voids an existing payment transaction, retaining the record while reversing its financial effect.
Input
| Name | Type | Description |
| PaymentId | String | The unique identifier (Id) of the payment that you want to void. This Id tells QuickBooks Online which payment record should be marked as void, effectively canceling its financial impact without deleting it. |
| SyncToken | String | The version control token for the specified payment that is used to prevent conflicting updates. QuickBooks Online increments this sync token each time the payment is modified, and only the latest sync token is accepted when voiding the payment. |
Result Set Columns
| Name | Type | Description |
| Status | String | The execution status that is returned by the stored procedure after attempting to void the payment. This field indicates whether the void operation succeeded, failed, or returned a warning. |