Transaction History

Transaction History

Field NameLenTypeReqVerComments
methodN/AAlp-NumYes1.0transactionHistory
fromEmailN/AAlp-NumYes1.0The email address used during login
accountIdN/ANum--1.0The ID of the account (optional, if ommited all balances are returned)
fromDateN/ADate--1.0Start date of the statement (yyyy-mm-dd)
toDateN/ADate--1.0End date of the statement (yyyy-mm-dd)
referenceN/AAlp-Num--1.0The internal payer's ID used to recognize the transaction
pageSizeN/ANum--1.0Number of results per page (optional, default = 10; if pageSize > 100 default = 100)
pageNumberN/ANum--1.0Which page to be returned (optional, default = 1)
keyN/AAlp-NumYes1.0MD5(sharedSecret + *accountId + fromDate + toDate +*reference + *pageSize + *pageNumber)
(*if optional variables are missing, they should be left out of the key construction)

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

Field NameLenTypeMdtVerComments
ResponseCodeN/AAlp-NumYes1.0The response code; 00 = Success;
ResponseDescriptionN/AAlp-NumYes1.0Human readable response
FeeN/ARealYes1.0Fee for the current transaction
ResultsN/ANumYes1.1Total of results
PageSizeN/ANumYes1.1Results per page
PageNumberN/ANumYes1.1Page Number
Transaction/ TransactionIdN/ANumYes1.0The unique ID of the transaction
Transaction/ TransactionTypeIdN/ANumYes1.0Type of the transaction (see Appendix B - Transaction Types)
Transaction/ TransactionDateN/ADateYes1.0The date of the transaction
Transaction/ AmountN/ARealYes1.0The amount of the transaction
Transaction/ Currency3AplYes1.0The Currency Code
Transaction/ DescriptionN/AAlp-NumYes1.0The description of the transaction
Transaction/ ReferenceN/AAlp-NumYes1.1The internal payer's ID used to recognize the transaction
BalanceN/ANumYes1.1The amount after transaction
Reversible1NumYes1.10 = not reversible
1 = reversible

Request Sample:

https://secure.paxum.com/payment/api/paymentAPI.php
POST
method=transactionHistory&email=[email protected]&account=21312434344&fromDate=2010-10-01&toDate=2010-10-31&pageSize=25&pageNumber=1&key=1060b7b46a3bd36b3a0d66e0127d0517

Response Sample

<?xml version="1.0"?>
<Response>
    <Environment>PRODUCTION</Environment>
    <Method>transactionHistory</Method>
    <ResponseCode>00</ResponseCode>
    <ResponseDescription>Approved or Completed Successfully</ResponseDescription >
    <Fee>0.00</Fee>
    <Results>50</Results>
    <PageSize>10</PageSize>
    <PageNumber>1</PageNumber>
    <Transactions>
    <Transaction>
    <TransactionId>6733321</TransactionId>
    <TransactionTypeId>16</TransactionTypeId>
    <TransactionDate>2010-10-17 14:33:20</TransactionDate>
    <Amount>150.00</Amount>
    <Currency>USD</Currency>
    <Description>POS Purchase Markham ON CA</Description>
    <Reference>100111</Reference>
    <Balance>1001.25</Balance>
    <Reversible>1</Reversible>
    </Transaction>
    ...
    </Transactions>
</Response>

Working Sample(s):

transactionHistory.php