πŸ—“
Subscription Events
These webhook events wil help the partner to get real time updates on the application subscription.

Webhook Events

Event Name
Description
app.market.subscription.active
Send notification on successful activation of subscription
app.market.subscription.warning
Send notification 3 days day before the last date, where T is the duration of the plan in days
app.market.subscription.suspended
Send notification on completion of subscription
app.market.subscription.expired
Send notification on T+5 days of subscription where 5 days are GRACE PERIOD and T is tne duration of the plan in days
app.market.subscription.renew
Send notification on successfull renew of the same plan subscription 5 days before the last date
app.market.subscription.upgrade
Send notification on upgrade of subscription
app.market.subscription.refunded
Send notification on refund of subscription
app.market.application.install
Send notification on installation of application
app.market.application.uninstall
Send notification on uninstallation of application
​

Subscribe Webhook

We tried to make the webhook integration as simple as possible by enabling partners with the webhook management screen. All the above mentioned webhook events can be subscribed with the webhook management screen:
Webhook Management

Sample Webhook Request

Making it easy to integration with the partners system we have made a generic request data for all the webhook events. Meaning all the webhook events shares the same (below) request structure.
1
{
2
"app_id": 65,
3
"status": "active",
4
"end_date": "2021-11-11T19:36:36.000000Z",
5
"store_id": 12594,
6
"plan_name": "Super 30",
7
"plan_type": "Paid",
8
"store_url": "http://zid.store/abcd/",
9
"event_name": "app.market.subscription.active",
10
"start_date": "2021-10-13T19:36:36.000000Z",
11
"amount_paid": 1150,
12
"old_plan_name": null,
13
"merchant_email": "[email protected]",
14
"merchant_phone_no": "966501666607"
15
}
Copied!
Copy link
Contents