This is an old revision of the document!

Soap API v1.4


Reseller only method.

Retrieve details of a merchant's account.


This method pulls the account information for an active merchant.

Information accessible through this method includes merchant ID (assigned by the gateway), merchant company, contact person, address, email and telephone number.

See also addMerchantApplication, getMerchantApplicationStatus, updateMerchant, deleteMerchant, searchMerchants, getMerchantSummary


MerchantObject getMerchant ( ueSecurityToken Token, integer MerchantID )


Type Name Description
ueSecurityToken Token Reseller security token, used to identify reseller and validate request.
integer MerchantID Merchant ID number assigned by the gateway to an active merchant

Return Value

MerchantObject Returns merchant account information including: ID, Company, Contact, Address, Email, Phone, and Fax.



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

try { 
  $res=$client->getMerchant($restoken, $MerchantID); 
  $this->assertEquals($res->MerchID, $MerchantID); 
  $this->assertEquals($res->Zip, '12311'); 
catch (SoapFault $e) { 
  echo $client->__getLastRequest(); 
  echo $client->__getLastResponse(); 
  die("getMerchant failed: " .$e->getMessage()); 

Change History

Version Change
1.1 Method added prior to soap-1.1
developer/soap-1.4/methods/getmerchant.1280874398.txt.gz · Last modified: 2010/08/03 15:26 by irina

Page Tools