developer:soap-1.2:methods:getmerchantapplicationstatus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

developer:soap-1.2:methods:getmerchantapplicationstatus [2010/02/12 11:48] (current)
hmcgowan created
Line 1: Line 1:
 +<embed ..:​contents/>​====== getMerchantApplicationStatus ======
  
 +**Reseller only method.**
 +
 +Retrieve the status of a pending merchant application.
 +
 +===== Description =====
 +
 +
 +This method returns the status of a merchant application (added either via the reseller console or the [[addMerchantApplication]] method). The application ID that was obtained when adding the merchant application must be passed. ​
 +
 +Possible values for status include: ​
 +
 +  * **Pending** - Application pending review ​
 +  * **Under Review** - Application is in the process of being reviewed ​
 +  * **Waiting For Documents** - Additional documents needed ​
 +  * **Call Support** - Application on hold, call for details ​
 +  * **Declined** - Application was declined ​
 +  * **Approved** - Merchant activated ​
 +  * **Canceled** - Application canceled ​
 +
 +
 +See also [[addMerchantApplication]],​ [[getMerchant]],​ [[updateMerchant]],​ [[deleteMerchant]],​ [[searchMerchants]],​ [[getMerchantSummary]] ​
 +
 +===== Syntax =====
 +
 +string **getMerchantApplicationStatus** ( [[..:​objects:​ueSecurityToken]] Token, integer ApplicationID ) 
 +
 +
 +===== Arguments =====
 +
 +^Type    ^Name    ^Description ​   ^
 +|[[..:​objects:​ueSecurityToken]] |Token |Reseller security token, used to identify reseller and validate request.|
 +|integer |ApplicationID |The merchant application number assigned by the gateway. |
 +
 +
 +
 +===== Return Value =====
 +
 +|string |Returns merchant application status. Possible results include: pending, under review, waiting for documents, on hold, declined, activated, canceled. ​ |
 +
 +===== Examples =====
 +
 +==== PHP ====
 +
 +For directions on how to set up the WSDL link, create "​$token"​ and "​$client",​ go to [[..:​howto:​php|PHP Soap How-to]].
 +
 +<code php>
 +<?​php ​
 +
 +try { 
 +
 +  $ApplicationID=2; ​
 +
 +  $res=$client->​getMerchantApplicationStatus($restoken,​ $ApplicationID); ​
 +
 +  $this->​assertEquals($res->​MerchID,​ $ApplicationID); ​
 +
 +  $this->​assertEquals($res->​Zip,​ '​12311'​); ​
 +                         
 +
 +
 +catch (SoapFault $e) { 
 +
 +  echo $client->​__getLastRequest(); ​
 +  echo $client->​__getLastResponse(); ​
 +  die("​getMerchantApplicationStatus failed: " .$e->​getMessage()); ​
 +
 +
 +
 +?> 
 +</​code>​
developer/soap-1.2/methods/getmerchantapplicationstatus.txt ยท Last modified: 2010/02/12 11:48 by hmcgowan

Page Tools