/webhook
endpoint we’ve just added. Subscribe to the following events:
customer.created
customer.updated
customer.deleted
entitlements.updated
measurement.reported
subscription.created
subscription.updated
subscription.canceled
subscription.expired
subscription.trial_expired
postgraphile
middleware to our express app:
/graphiql
) and run queries like so:
checkAccess
function can be found here.