Input parameters
Parameter name | Description |
---|---|
shopName | Merchant shopname, provided by DIBS |
userName | API-Username, generated by merchant in DIBS Manager |
password | API-User password, generated by merchant in DIBS Manager |
verifyId | DIBS reference number |
method | cc.mp.evry for Masterpass Production. cc.mp.evry.test for Masterpass Sandbox (test). |
extra | Please refer to the description of the 'extra' parameter on the Web Service page. |
MAC | MAC should be included in the 'extra' parameter described above. The MAC is calculated with the following formula: verifyID&SecretKey& |
Output parameters
The output parameters of this service are the same as the ones from a regular authorize call. Please refer to the WebService page for more information.
Example
Below is an example of a request:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:v2="https://securedt.dibspayment.com/DTServerModuleService/v2"> <soap:Header/> <soap:Body> <v2:mpAuthorize> <v2:shopName>ShopName</v2:shopName> <v2:userName>API_User</v2:userName> <v2:password>Password</v2:password> <v2:verifyID>123456</v2:verifyID> <v2:method>cc.mp.evry</v2:method> <v2:extra>@amp;MAC=3420sdf509342f85032850342</v2:extra> </v2:mpAuthorize> </soap:Body> </soap:Envelope>
And the following is an example of a response:
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"> <soapenv:Body> <ns:mpAuthorizeResponse xmlns:ns="https://securedt.dibspayment.com/DTServerModuleService/v2"> <ns:return> <ns:aCSUrl xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerAddress xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerAuthCode/> <ns:acquirerAuthResponseCode/> <ns:acquirerCity xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerConsumerLimit xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerErrorDescription xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerFirstName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerLastName xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerMerchantLimit xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:acquirerZipCode xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:amount>100</ns:amount> <ns:errorMsg/> <ns:infoCode xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:infoDescription xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:pAReqMsg xsi:nil="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/> <ns:resultCode>100</ns:resultCode> <ns:resultText>verification_OK</ns:resultText> <ns:verifyID>123456</ns:verifyID> </ns:return> </ns:mpAuthorizeResponse> </soapenv:Body> </soapenv:Envelope>