GetMerchantAccountStatus

Returns the status of a merchant account.

Description

Call the GetMerchantAccountStatus operation to query the status of a particular merchant account and to retrieve information if the account is active or inactive.

Request parameters

For more information about the request parameters that are required for all Amazon MWS operations, see Required request parameters in the Amazon MWS Developer Guide.

Parameter name Required Type Description
SellerId Yes String SellerId of the merchant who will render the Amazon Pay widgets.

Response elements

Element name Type Description
AccountStatus String Current status of the queried merchant account.

Possible values: ACTIVE and INACTIVE

Examples

Example query request for your own merchant account


POST /OffAmazonPayments/2013-01-01 HTTP/1.1
Content-Type: x-www-form-urlencoded
Host: mws.amazonservices.com
User-Agent: 

AWSAccessKeyId=0GS7553JW74RRM612K02EXAMPLE
&Action=GetMerchantAccountStatus
&SellerId=YOUR_SELLER_ID_HERE
&SignatureVersion=2
&Timestamp=2018-03-16T07%3A04%3A47Z
&Version=2013-01-01
&Signature=2RPzkOgQmDybUjk0dA54maCEXAMPLE
&SignatureMethod=HmacSHA256

Example query request on behalf of a merchant


POST /OffAmazonPayments/2013-01-01 HTTP/1.1
Content-Type: x-www-form-urlencoded
Host: mws.amazonservices.com
User-Agent: 

AWSAccessKeyId=0GS7553JW74RRM612K02EXAMPLE
&Action=GetMerchantAccountStatus
&SellerId=SELLER_ID_HERE
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
&SignatureVersion=2
&Timestamp=2018-03-16T07%3A04%3A47Z
&Version=2013-01-01
&Signature=2RPzkOgQmDybUjk0dA54maCEXAMPLE
&SignatureMethod=HmacSHA256
    

Note: The &SignatureMethod value of HmacSHA256 is case sensitive.

Example response

 
<GetMerchantAccountStatusResponse xmlns="http://mws.amazonservices.com/schema/OffAmazonPayments/2013-01-01">
  <GetMerchantAccountStatusResult>
    <AccountStatus>ACTIVE</AccountStatus>
  </GetMerchantAccountStatusResult>
  <ResponseMetadata>
    <RequestId>a249808b-f961-454a-8664-5b494462d1f2</RequestId>
  </ResponseMetadata>
</GetMerchantAccountStatusResponse>

See also