Test Connections

How can we test the connection between your server and API? In case your application cannot connect to our API then you can make this test before trying to reach for our Support

Case Windows Server

On your Windows Server, run this command

curl -d "{\"p\":{}}" -H "Content-Type: application/json" -X POST
https://ws.lemonway.fr/mb/YOUR_COMPANY/prod/directkitjson2/Service.asmx/GetWalletDetails

💡 Note

You will have to use your directkitjson2 URL for this test.

If you got an reponse API like this:

{"d":{"__type":"WonderLib.GetWalletDetailsResult","WALLET":null,"E":{"Error":"","Code":"248","Msg":"Format IP incorrect","Prio":"2","INT_MSG":null}}}

then it is good, there is no problem with the communication between your Windows Server and our API.

Case Linux Server

The same method, except that the syntax of curl is a little different

curl -d '{"p":{}}' -H 'Content-Type: application/json' -X POST
https://ws.lemonway.fr/mb/YOUR_COMPANY/prod/directkitjson2/Service.asmx/GetWalletDetails

Do not forget to change the URL in case sandbox and put the right environment name