Test connection

Here 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

Notes: you will have to use your directkitjson2 URL for this test.


If you got an reponse API like this one

{"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