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:
Name | Type | Description |
financialAccountJson | string | JSON with the default account`s data |
publicProfileJson | string | JSON with public profile data |
invoiceDataJson | string | JSON with the default invoice data |
logo | base64Binary | seller`s logo |
requestStatusDescription | string | a description of the status |
requestStatus | string | the status of the execution of the request |
Possible errors:
Error | Description |
ERR_VUI_NOT_LOGGEDIN | CNode is logged off |
ERR_VUI_CANT_READ | CNode is not yet fully connected to the system |