Developers / API / Void
Here you can void the authorization request

Void

Here you can void the authorization request

Field Name Len Type Req Ver Comments
method N/A Alp-Num Yes 1.2 void
fromEmail N/A Alp-Num Yes 1.2 The email associated with the account from which the authorize is made
merchantAccountId N/A Num Yes 1.2 Acquiring Merchant ID
transactionId N/A Num Yes 1.2 The Authorization transaction ID
referenceId N/A Alp-Num Yes 1.2 Your internal identification
key N/A Alp-Num Yes 1.2 MD5(sharedSecret + merchantAccountId + transactionId + referenceId + shippingCompany + shippingAwb)

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.2 The response code; 00 = Success;
ResponseDescription N/A Alp-Num Yes 1.2 Human readable response
Fee N/A Real Yes 1.2 Fee for the current transaction
TransactionId N/A Num Yes 1.2 The Authorization transaction ID
ReferenceId N/A Num Yes 1.2 Your internal identification
StatusId N/A Num Yes 1.2 Operation Status
2 = Active
4 = Canceled
23 = Pending
25 = Failed
37 = Authorized

Request Sample:

https://www.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