Void

Here you can void the authorization request

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.2void
fromEmailN/AAlp-NumYes1.2The email associated with the account from which the authorize is made
merchantAccountIdN/ANumYes1.2Acquiring Merchant ID
transactionIdN/ANumYes1.2The Authorization transaction ID
referenceIdN/AAlp-NumYes1.2Your internal identification
keyN/AAlp-NumYes1.2MD5(sharedSecret + merchantAccountId + transactionId + referenceId + shippingCompany + shippingAwb)

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

Field NameLenTypeMdtVerComments
ResponseCodeN/AAlp-NumYes1.2The response code; 00 = Success;
ResponseDescriptionN/AAlp-NumYes1.2Human readable response
FeeN/ARealYes1.2Fee for the current transaction
TransactionIdN/ANumYes1.2The Authorization transaction ID
ReferenceIdN/ANumYes1.2Your internal identification
StatusIdN/ANumYes1.2Operation Status
2 = Active
4 = Canceled
23 = Pending
25 = Failed
37 = Authorized

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=void&fromEmail=payee%40domain.com&trasactionId=123456&referenceId=225845&key=43003c21814cbf5c8f3bcfabbca6a473

Response Sample

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>void</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
    <TransactionId>23646236</TransactionId>
    <ReferenceId>225845</ReferenceId>
    <Status>23</Status>
</Response>

Working Sample(s):

void.php