Notifications

🌟 NEW: Want a better viewing experience on a modern and easy to navigate site? Have a look at the same articles and APIs on our new centralized documentation portal 👉 here

Lemonway can send notifications for wallet or operations events. 

Using the Backoffice, 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:

Method

Content-type

POST

x-www-form-urlencoded

application/json

GETx-www-form-urlencoded

Email

Not applicable


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

Simulate the reception of a notification sent by Lemonway's server

You can simulate this POST notification by using 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=37
&NotifDate=2016-05-05T16%3A44%3A55.883
&IdTransaction=210&Amount=10.00&Status=0
simulated body of the notification in URL encoded format (parameter1=value1&parameter2=value2&parameter3=value3), to be replaced with the parameters names and values specific to the simulated notification message