Payment → Cancel
AI-generatedSummary
Cancel a payment by its UUID
Inputs
- cancelPaymentId (required) — UUID of the payment to cancel
Output shape
a single payment object (the API's cancellation response)
Returns the PayzCore API response confirming cancellation; errors are thrown and can be handled with continueOnFail
Examples
Example 1: Cancel a payment by its UUID
Set resource='payment', operation='cancel', cancelPaymentId to the payment's UUID; ensure PayzCoreApi credentials are configured.