Soap API v1.2


Reseller only method.

Request deletion of merchant account.


This method will flag a merchant for deletion. Once the deletion request is verified and approved by the gateway, the merchant account will be closed and the merchant will no longer be able to process transactions or log in to the Merchant Console.

The reason argument should include any details, such as contact request details, reason for deletion, etc. that may speed up the deletion request verification process.

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


boolean deleteMerchant ( ueSecurityToken Token, integer MerchantID, string Reason )


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
string Reason Any information relevant to the delete merchant account request. You may wish to include the following: contact request details, reason for deletion request, any other relevant information.

Return Value

boolean Returns confirmation of your request only if successful. If request fails, an exception will be thrown.



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

try { 
  $Reason='Testing Soap API';     
  $this->assertEquals($res->Zip, '12311'); 
catch (SoapFault $e) { 
  echo $client->__getLastRequest(); 
  echo $client->__getLastResponse(); 
  die("deleteMerchant failed: " .$e->getMessage()); 
developer/soap/methods/deletemerchant.txt · Last modified: 2009/07/06 10:57 by epouchak

Page Tools