# How to Sell Access to a Private GitHub Repo

DevFeed: [How to Sell Access to a Private GitHub Repo](<https://devfeed.tech/articles/how-to-sell-access-to-a-private-github-repo-10359.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/sell-github-repo-access/>)

Author: Ayush Agarwal

Published: 2026-03-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [GitHub](<https://devfeed.tech/topics/github.md>), [GitHub API](<https://devfeed.tech/topics/github-api.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [github](<https://devfeed.tech/tags/github.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [license-keys](<https://devfeed.tech/tags/license-keys.md>), [payment](<https://devfeed.tech/tags/payment.md>), [payments](<https://devfeed.tech/tags/payments.md>), [repo](<https://devfeed.tech/tags/repo.md>)

## AI overview

This guide explains how to sell access to a private GitHub repository using Dodo Payments license keys and the GitHub API. It describes an automated flow in which a successful payment triggers a webhook that invites the customer to the repository.

## Source excerpt

Learn how to sell access to a private GitHub repository using Dodo Payments license keys and the GitHub API to automate invitations on successful payment.