Introduction

Lemonway can send notifications for wallet or operations events.

Using the Dashboard, you can define a URL (along with a method and a content type) and/or an email address to which you wish to receive notifications.

The following methods are currently available:

MethodContent-type
POSTx-www-form-urlencoded
application/json
GETx-www-form-urlencoded
EmailNot applicable

In order to configure the notifications, please log on to the dashboard and follow these instructions here.

Simulate the reception of a notification sent by Lemonway's server
You can simulate this POST notification by using the Postman API client tool or a cURL request.

Sample cURL command for POST x-www-form-urlencoded format:

curl -X POST \
  http://localhost/notification_handler \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'cache-control: no-cache' \
  -d 'ExtId=jkdc&IntId=101&NotifCategory=37&NotifDate=2016-05-05T16%3A44%3A55.883&IdTransaction=210&Amount=10.00&Status=0'
<http://localhost/notification_handler>To be replaced with the address of the server receiving the notification
ExtId=jkdc&IntId=101&NotifCategory=37simulated body of the notification in URL encoded format (parameter1=value1¶meter2=value2¶meter3=value3), to be replaced with the parameters names and values specific to the simulated notification message
&NotifDate=2016-05-05T16%3A44%3A55.883&IdTransaction=210&Amount=10.00&Status=0