question

alrod894 avatar image
alrod894 asked David Marginian commented

Failed user payment notification

Hi, I was looking through the documentation and wasn't able to find anything for this in particular.


When the user uninstalls our app, our app receives a webhook telling us that the app has been deleted from the marketplace and then we handle that logic, but, is there any scenario where the recurring charge fails (inside clover's marketplace) and then Clover sends a warning or notification via Webhook or Rest api? I need to know If users are paying, but right now, the only way I can check If a user is paying or not is when I try to reach Clover's API and receive a 401 unauthorized.


Is this the only way to know If the app is up to date with its payments?

Thanks in advance

PaymentsApp Market
10 |2000 characters needed characters left characters exceeded

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

1 Answer

· Write an Answer
David Marginian avatar image
David Marginian answered David Marginian commented

You can use this endpoint: https://docs.clover.com/reference#appsgetmerchantbillinginfo-2, see the description of the "status" field in the response.

3 comments
10 |2000 characters needed characters left characters exceeded

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

Thanks! thats what I needed.
0 Likes 0 ·
What would happen If that specific endpoint returns a 401? means that the app has been uninstalled? @
0 Likes 0 ·
That is a good indication that the app has been uninstalled.
1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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