Webhook question

I am building a custom integration and basically if a member cancels their subscription will that get posted to the webhook?

At the moment I haven’t experimented with stripe yet but so far this is the post I see.

“member”: {
“current”: {
“id”: “5eab1090c050b4354a4e766f”,
“uuid”: “8d436244-c23f-433f-a94f-16ca806f3b8a”,
“email”: “stephen@silverswangroup.com”,
“name”: “Stephen Barnes”,
“note”: null,
“geolocation”: null,
“subscribed”: false,
“created_at”: “2020-04-30T17:53:20.000Z”,
“updated_at”: “2020-05-01T11:45:04.210Z”,
“labels”: ,
“avatar_image”: “https://gravatar.com/avatar/22318550d614efbc3f1c57a8bc730409?s=250&d=blank
“previous”: {
“note”: null,
“subscribed”: true,
“updated_at”: “2020-05-01T11:44:57.000Z”

I don’t see any reference to subscriptions only the newsletter.

Do you mean is there a webhook in Ghost for when a member is deleted? Because there is, member. deleted is here at the bottom of the webhook events list

Its more to get the status of a paid subscription. I guess its better that I just use stripe webhooks in my external application than ghost.

1 Like