/voidPendingRefund request to cancel a refund before it is completed. Note that this is not a Terminal API request.
In your request to the /voidPendingRefund endpoint, you can refer to the original refund request using the tenderReference, or the pspReference. We recommend implementing based on the tenderReference, because this is generated for both offline and online in-person transactions.
Requirements
Cancel with tender reference
-
Make a POST /voidPendingRefund request, specifying:
-
In the
/voidPendingRefundresponse, note the following:pspReference: The PSP reference for this/voidPendingRefundrequest.
Cancel with PSP reference
Alternatively, if you have thepspReference of the original refund request, you can specify this in your /voidPendingRefund request:
-
Make a POST /voidPendingRefund request, specifying:
-
In the
/voidPendingRefundresponse, note the following:pspReference: The PSP reference for this/voidPendingRefundrequest.
Webhooks
After we process your request to cancel the refund, we send you a webhook with:eventCode: VOID_PENDING_REFUND.success: Indicates if the request to cancel the refund was successful.