developer:soap-1.2:methods:getmerchantapplicationstatus

Soap API v1.2

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 ( ueSecurityToken Token, integer ApplicationID )

Arguments

Type Name Description
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 PHP Soap How-to.

<?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()); 
 
} 
 
?> 
developer/soap-1.2/methods/getmerchantapplicationstatus.txt · Last modified: 2010/02/12 11:48 by hmcgowan

Page Tools