Payment Refund
Last updated
Last updated
Initiates a refund for a specific transaction identified by the ptxid
parameter. This endpoint allows partial or full refunds based on the provided input. Ensure the transaction ID (ptxid
) corresponds to a valid transaction and has not been fully refunded previously.
/{ptxid}/refund
Parent txid of the transaction
sid of site
md5 hash of sid+timestamp+amount+currency+rcode e.g. md5('22'.'1234568995265421'.'17.00'.'USD'.'222b6c')
timestamp value used in the hash e.g. 1234568995265421
Specifies the amount to refund for the transaction. This parameter is required and must be a string representing a numeric value (e.g., "50.00"). Use this to process a partial refund by providing a specific amount or the full transaction amount for a complete refund.
Transaction currency, ISO 3 letter code (e.g., "USD")
Provides a reason for the refund. This parameter is optional and can include a brief message explaining the refund request (e.g., "Client Requested" or "Merchant Request").
url to which a postback should be sent
Specifies whether to send a notification email related to the transaction. Set to true
to enable email notifications or false
to disable them.