The paymentServiceException
type represents an message returned from Payment Service v3 in case an error occurs.
Example:
<paymentServiceException xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<id>50f83699-07bb-4c22-8393-b1b3c5ec645f</id>
<errorCode>202</errorCode>
<errorMessage>Shop with ID 'XXXX' was not found for merchant with ID 'YYYY'.</errorMessage>
</paymentServiceException>
Fields:
field (type, required) | description |
---|---|
id (guid, required) | Unique Error ID |
errorCode (int, required) | The Error Code, e.g. 800. See Error Handling for a list of possible error codes. |
errorMessage (secureString, required) | Error Message |
XML Schema:
<s:element name="paymentServiceException">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="id" type="guid" />
<s:element minOccurs="1" maxOccurs="1" name="errorCode" type="s:int" />
<s:element minOccurs="1" maxOccurs="1" name="errorMessage" type="secureString" />
<s:element minOccurs="0" maxOccurs="1" name="additionalDetails" type="exceptionDetails"/>
</s:sequence>
</s:complexType>
</s:element>