getMerchantApplicationStatus

Reseller only method.

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 "$resclient", go to PHP Soap How-to.

    <?php

    try {

      $ApplicationID=2;

      $Status=$resclient->getMerchantApplicationStatus($restoken, $ApplicationID);

    }

    catch (SoapFault $e) {

      echo $client->__getLastRequest();
      echo $client->__getLastResponse();
      die("getMerchantApplicationStatus failed: " .$e->getMessage());

    }

    ?>

Java

    BigInteger apprefnum = new BigInteger("865");
    String appstatus;
    appstatus = client.getMerchantApplicationStatus(restoken, apprefnum);