Payment Refund
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.
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.
Lookup result
tid sent through with the transaction
Transaction id
Each Transaction has a unique id. The parent transaction is the transaction that groups all transaction together.
Has the value "OK" for a successful transaction, "EXC" for a failed transaction, "PEND" for a transaction in progress.
The state change txaction, e.g. "PAYMENT", "REFUND"
The amount of the transaction
The currency of the transaction
Merchant reference
your reference 1
your reference 2
your reference 3
your reference 4
This is a sha256 hash so the data can be verified. Generate sha256 hash of the string of sid;rcode;txid;status;amount;currency;txaction
unexpected error
Last updated
