Soap API v1.2


Pull details of all transactions run for CustNum.


This method allows you to view all of the transactions completed for a particular customer.

This method requires the use of the CustNum, a unique customer number assigned by the gateway. If you have lost or cannot remember the customer's CustNum, use the searchCustomers method to find the correct CustNum.

See also runCustomerTransaction, enableCustomer, disableCustomer, deleteCustomer, searchCustomerID, getCustomer, searchCustomers, addCustomer, addCustomerPaymentMethod, deleteCustomerPaymentMethod, updateCustomer, quickUpdateCustomer


TransactionSearchResult getCustomerHistory ( ueSecurityToken Token, integer CustNum )


Type Name Description
ueSecurityToken Token Merchant security token: used to identify merchant and validate transaction.
integer CustNum A unique customer number assigned by the gateway.

Return Value

TransactionSearchResult Returns the results of the customer transaction history search.



For directions on how to set up the WSDL link, create “$token” and “$client”, go to PHP Soap How-to.

try { 
catch(SoapFault $e) { 
  echo $e->getMessage(); 
echo "\n\nRequest: " . $client->__getLastRequest(); 
echo "\n\nResponse: " . $client->__getLastResponse(); 


This example uses the USAePay Java library. For directions on how to install the library and create the token/client objects, go to either the Java JAX-RPC Howto or the Java JAX-WS Howto.

try {
  //Set CustNum to the Customer Number of customer you 
  //want to retrieve a transaction history from.
  BigInteger CustNum = new BigInteger;
  TransactionSearchResult CustHist = new TransactionSearchResult();
  CustHist = client.getCustomerHistory(token, CustNum);
} catch (Exception e) {
    System.out.println("Soap Exception: " + e.getMessage());
developer/soap/methods/getcustomerhistory.txt · Last modified: 2009/09/08 13:16 by charlie

Page Tools