Adjust refund
Authentication
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Get a $50 voucher to share your developer experience with Payroc. Contact us to register your interest.
Use this method to adjust a refund in an open batch.
To adjust a refund, you need its refundId. Our gateway returned the refundId in the response of the Refund Payment method or the Create Refund method.
Note: If you don’t have the refundId, use our List Refunds method to search for the refund.
You can adjust the following details of the refund:
Our gateway returns information about the adjusted refund, including:
If the refund is a referenced refund, our gateway also returns details about the payment that the refund is linked to.
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.
Array of operations that you can perform on the transaction.
capture
- Capture the payment.refund
- Refund the payment.fullyReverse
- Fully reverse the transaction.partiallyReverse
- Partially reverse the payment.incrementAuthorization
- Increase the amount of the authorization.adjustTip
- Adjust the tip post-payment.addSignature
- Add a signature to the payment.setAsReady
- Set the transaction’s status to ready
.setAsPending
- Set the transaction’s status to pending
.