1. Home
  2. Corporate Node
  3. SOAP requests
  4. getMerchantData

getMerchantData

An operation getMerchantData retrieves seller`s current details: a public profile, an invoicing address, an account data and a logo.

Example SOAP request:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:getMerchantData>
  </ns:getMerchantData>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Example SOAP response:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
  xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
  xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema"
  xmlns:ns="ns1">
 <SOAP-ENV:Body  SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
  <ns:getMerchantDataResponse>
   <return>
    <publicProfileJson>{}</publicProfileJson>
    <invoiceDataJson>{}</invoiceDataJson>
    <financialAccountJson>{}</financialAccountJson>
    <logo></logo>
    <requestStatus>SUCCESS</requestStatus>
    <requestStatusDescription>Request succeeded.</requestStatusDescription>
   </return>
  </ns:getMerchantDataResponse>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

The operation does not require parameters.

Response parameters:

NameTypeDescription
financialAccountJsonstringJSON with the default account`s data
publicProfileJsonstringJSON with public profile data
invoiceDataJsonstringJSON with the default invoice data
logobase64Binaryseller`s logo
requestStatusDescriptionstringa description of the status
requestStatusstringthe status of the execution of the request

Possible errors:

ErrorDescription
ERR_VUI_NOT_LOGGEDINCNode is logged off
ERR_VUI_CANT_READCNode is not yet fully connected to the system
Was this article helpful to you? Yes No

How can we help?