Setting up GitHub Marketplace webhooks

A GitHub Marketplace application receives information about changes to a user's plan from the Marketplace purchase event webhook.

The marketplace_purchase webhook delivers a POST request any time a GitHub Marketplace customer purchases, cancels, or changes their plan.