Reverse refund
Changed onUse this method to cancel a refund in an open batch.
To cancel a refund, you need its refundId. Our gateway returned the refundId in the response of the Refund Payment or Create Refund method.
Note: If you don’t have the refundId, use our List Refunds method to search for the refund.
If your request is successful, the gateway removes the refund from the merchant’s open batch and no funds are returned to the cardholder’s account.
Request
- Base URLhttps://api.payroc.com/v1
- URLhttps://api.payroc.com/v1/refunds/{refundId}/reverse
- AuthHTTP bearer
Path parameters
Unique identifier that our gateway assigned to the refund.
Headers
Unique identifier that you generate for each request. You must use the UUID v4 format for the identifier. For more information about the idempotency key, go to Idempotency.
Response
Successful request. We voided the refund.
Changes
- breaking
the
//response property's maxLength was increased from100to255for the response status
- breaking
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
Bearerwas added to the API
- warning