question

Ajmal M A avatar image
Ajmal M A asked Miguel Deactivated edited

How to get Merchent information from Merchent code

I have an app on the clover store. Now i need to integrate web-hook to get the information about the merchant's that install/uninstall my app.

I successfully subscribed to the web-hook. In web-hook i got response like

{"appId":"J95Gsdas46S7BEWA","merchants":{"SND85564GM":[{"objectId":"A:J9546S7GHWA","type":"CREATE","ts":149888207876098}]}}

From this how i will get the merchant information like name, email id etc?

I am aware about the api GET /v3/merchants/{mId} but how i can generate access_token for this from the server side?

Please help me regarding this.

API TokenWebhooks
10 |2000

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

0 Answers

Welcome to the
Clover Developer Community