Handling new purchases and free trials
When a customer purchases a paid plan, free trial, or the free version of your GitHub Marketplace app, you'll receive the marketplace_purchase
event webhook with the purchased
action, which kicks off the purchasing flow.