Managing exceptions

The exceptions of the web service method are returned to the merchant website as an XML Fault element.

E.g., an exception is returned when the format of the object attributes required for the execution of operations is incorrect.


Incorrect format of the e-mail address (@ missing) upon token creation.

The <soap:Fault> exception will contain the exception chain and its source.

<soap:Envelope xmlns:soap="">   
<env:Header xmlns:env=""/>   
	<soap:Value xmlns:ns1="">ns1:Sender</soap:Value>
	<soap:Text xml:lang="en"> Incorrect format of the email address</soap:Text>

This mechanism of exception management allows to identify and correct the data with incorrect format prior to executing an operation.