This website uses cookies to ensure you have the best experience. By continuing to use this site, you consent to our Cookie policy. You can disable cookies at any time, by changing your browser settings.
Accept and close

Refund Transaction

Refund Transaction

Field Name Len Type Req Ver Comments
method N/A Alp-Num Yes 1.0 refundTransaction
fromEmail N/A Alp-Num Yes 1.0 The email associated with the account from which the amount is deducted
transId N/A Num Yes 1.0 The ID of the transaction to be refunded
key N/A Alp-Num Yes 1.0 MD5(sharedSecret + transId)

This request is responded by a message with the following content:

Field Name Len Type Mdt Ver Comments
ResponseCode N/A Alp-Num Yes 1.0 The response code; 00 = Success;
ResponseDescription N/A Alp-Num Yes 1.0 Human readable response
Fee N/A Real Yes 1.0 Fee for the current transaction

Request Sample:

www.paxum.com/payment/api/paymentAPI.php
POST
method=refundTransaction&fromEmail=payee@domain.com&transId=67373&key=1060b7b46a3bd36b3a0d66e0127d0517
                

Response Sample :

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>refundTransaction</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
</Response>
                

Working Sample(s):

refundTransaction.php