{
  "generated_from": "hookdeck/webhook-registry",
  "registry_commit": "a24c8d9784c9e9fe937c63f76adbce108201378f",
  "registry_committed_at": "2026-11-19T08:56:09Z",
  "disclaimer": "Independent reference. Not affiliated with GitHub.",
  "vendor": "github",
  "event": "marketplace_purchase",
  "resource": "installation",
  "url": "https://hookdeck.com/webhooks/github/events#marketplace_purchase",
  "description": "GitHub Marketplace plan purchased, changed or cancelled",
  "trigger": null,
  "listed_in": "https://docs.github.com/en/webhooks/webhook-events-and-payloads",
  "confidence": "documented",
  "schema_source": "from GitHub docs (example)",
  "identified_by": "x-github-event header and action field in the body",
  "payload": {
    "provenance": "doc-example",
    "value_realism": "doc-example-values",
    "field_count": 66,
    "key_fields": [],
    "delivery": {
      "title": "From GitHub docs",
      "content_type": "application/json",
      "headers": []
    },
    "body": {
      "action": "changed",
      "effective_date": "2017-10-25T00:00:00+00:00",
      "sender": {
        "login": "username",
        "id": 3877742,
        "avatar_url": "https://avatars2.githubusercontent.com/u/3877742?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/username",
        "html_url": "https://github.com/username",
        "followers_url": "https://api.github.com/users/username/followers",
        "following_url": "https://api.github.com/users/username/following{/other_user}",
        "gists_url": "https://api.github.com/users/username/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/username/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/username/subscriptions",
        "organizations_url": "https://api.github.com/users/username/orgs",
        "repos_url": "https://api.github.com/users/username/repos",
        "events_url": "https://api.github.com/users/username/events{/privacy}",
        "received_events_url": "https://api.github.com/users/username/received_events",
        "type": "User",
        "site_admin": true,
        "email": "username@email.com"
      },
      "marketplace_purchase": {
        "account": {
          "type": "Organization",
          "id": 18404719,
          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
          "login": "username",
          "organization_billing_email": "username@email.com"
        },
        "billing_cycle": "monthly",
        "unit_count": 10,
        "on_free_trial": false,
        "free_trial_ends_on": null,
        "next_billing_date": "2017-11-05T00:00:00+00:00",
        "plan": {
          "id": 435,
          "name": "Basic Plan",
          "description": "Basic Plan",
          "monthly_price_in_cents": 1000,
          "yearly_price_in_cents": 10000,
          "price_model": "per-unit",
          "has_free_trial": true,
          "unit_name": "seat",
          "bullets": [
            "Is Basic",
            "Because Basic "
          ]
        }
      },
      "previous_marketplace_purchase": {
        "account": {
          "type": "Organization",
          "id": 18404719,
          "node_id": "MDQ6VXNlcjIxMDMxMDY3",
          "login": "username",
          "organization_billing_email": "username@email.com"
        },
        "billing_cycle": "monthly",
        "on_free_trial": false,
        "free_trial_ends_on": null,
        "unit_count": 1,
        "plan": {
          "id": 435,
          "name": "Basic Plan",
          "description": "Basic Plan",
          "monthly_price_in_cents": 1000,
          "yearly_price_in_cents": 10000,
          "price_model": "per-unit",
          "has_free_trial": true,
          "unit_name": "seat",
          "bullets": [
            "Is Basic",
            "Because Basic "
          ]
        }
      }
    }
  }
}