question

lior avatar image
lior asked Mike M answered

Failed sent push notification

Hello, I am following this tuturial: https://github.com/clover/android-exa... I uploaded the app to the clover device, to the app market and when I am trying to send the post with the
https://www.clover.com/apiexplorer POST /v2/merchant/{mId}/apps/{appId}/notify { "notification": { "appEvent": "testnotification", "payload": "Up to 4k of data" } }

I got one of: Bad json unauthorized Logged out/ not logged in. Thank you!

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Mike M avatar image
Mike M answered

Can you please try using our v3 notifications API? Please note that keys "appEvent" and "payload" are now "event" and "data", respectively.

https://www.clover.com/api_docs#!/not...

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community