This endpoint cancels a refund that is in pending or processing status. Once a refund is completed, it cannot be cancelled.
Authentication
This endpoint requires a valid API key withrefunds:write
permissions.
Path Parameters
The unique identifier of the refund to cancel
Request Body
Reason for cancellation
Whether to notify customer of cancellation