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

Query

Here you can make see all your orders requests

Field Name Len Type Req Ver Comments
method N/A Alp-Num Yes 1.2 query
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 -- 1.2 The Authorization transaction ID(optional, if ommited all transactions are returned)
key N/A Alp-Num Yes 1.2 MD5(sharedSecret + merchantAccountId + transactionId)

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
Transactions/Transaction/TransactionId N/A Num Yes 1.2 The ID og the transaction
Transactions/Transaction/ReferenceId N/A Alp-Num Yes 1.2 Your internal identification
Transactions/Transaction/NameOnCard N/A Alp-Num Yes 1.2 Name On Card
Transactions/Transaction/CardNumber N/A Num Yes 1.2 Card Number
Transactions/Transaction/Address N/A Alp-Num Yes 1.2 Address
Transactions/Transaction/Amount N/A Num Yes 1.2 Amount
Transactions/Transaction/Currency N/A Alp Yes 1.2 Currency
Transactions/Transaction/TransactionDate N/A Alp-Num Yes 1.2 Transaction Date
Transactions/Transaction/StatusId N/A Num Yes 1.2 Transaction Status

Request Sample:

www.paxum.com/payment/api/paymentAPI.php
POST
method=query&fromEmail=payee%40domain.com&trasactionId=123456&key=43003c21814cbf5c8f3bcfabbca6a473
                

Response Sample

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>query</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
    <Transactions>
    <Transaction>
    <TransactionId>23646236</TransactionId>
    <ReferenceId>123</ReferenceId>
    <NameOnCard>John Smith</NameOnCard>
    <CardNumber>1234567890123456</CardNumber>
    <Address>Card billing address</Address>
    <Amount>10</Amount>
    <Currency>USD</Currency>
    <TransactionDate>2013-01-01</TransactionDate>
    <Status>23</Status>
    </Transaction>
    ...
    </Transactions>
</Response>
                

Working Sample(s):

query.php