# GitHub支持的付款方式

GitHub 支持的付款方式的参考资料详细说明。

## 按流量计费或基于使用情况的计费选项

> \[!NOTE]
> 预付信用卡/借记卡不接受为有效的付款方式。

按量计费支持的付款方式：

* 发票 – 仅适用于托管账户
* 信用卡 - 非托管帐户，或作为托管帐户的非经常性支付方式
* PayPal - 非托管帐户，或作为托管帐户的非经常性支付方式
* Azure订阅 ID - 不适用于个人帐户
* 自动化清算中心 (ACH) - 仅限托管帐户

具有批量许可证和按流量计费的帐户可以使用多种付款方式。

* 对于非托管帐户，可以使用信用卡或PayPal为批量许可证付费，并使用Azure订阅 ID 按流量计费。
* 对于托管帐户，可以通过发票支付批量许可证，并通过Azure订阅 ID 按流量计费。

Copilot独立帐户（传统上使用Azure订阅 ID）现在也可以通过信用卡支付。 有关详细信息，请联系你的 GitHub 代表。

## 不支持的Azure订阅类型

以下Azure订阅类型不能用作 GitHub 的付款方式：

| 配额 ID                         | 报价编号                                                                                                                                                                                   |
| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `FreeTrial_2014-09-01`        | MS-AZR-0044P                                                                                                                                                                           |
| `AzureForStudents_2018-01-01` | MS-AZR-0170P                                                                                                                                                                           |
| `DreamSpark_2015-02-01`       | MS-AZR-0144P                                                                                                                                                                           |
| `AzurePass_2014-09-01`        | MS-AZR-0120P、MS-AZR-0122P–MS-AZR-0125P、MS-AZR-0128P–MS-AZR-0130P                                                                                                                       |
| `PayAsYouGo_2014-09-01`       | MS-AZR-0001P、MS-AZR-0002P、MS-AZR-0003P、MS-AZR-0006P、MS-AZR-0008P、 MS-AZR-0010P、MS-AZR-0011P、MS-AZR-0018P、MS-AZR-0019P、MS-AZR-0030P、MS-AZR-0044P、MS-AZR-0046P、MS-AZR-0048P、MS-AZR-0050P |
| `MSDN_2014-09-01`             | MS-AZR-0029P、MS-AZR-0059P、MS-AZR-0062P、MS-AZR-0063P                                                                                                                                    |

## 基于使用情况的计费可用性

GitHub 为以下产品提供基于使用情况的计费。

* GitHub Actions，请参阅 [GitHub Actions计费](/zh/enterprise-cloud@latest/billing/concepts/product-billing/github-actions)
* GitHub Codespaces，请参阅 [GitHub Codespaces 计费](/zh/enterprise-cloud@latest/billing/concepts/product-billing/github-codespaces)
* GitHub Packages，请参阅 [GitHub程序包计费](/zh/enterprise-cloud@latest/billing/concepts/product-billing/github-packages)
* Git 大型文件存储，请参阅 [Git 大型文件存储计费](/zh/enterprise-cloud@latest/billing/concepts/product-billing/git-lfs)

此外，基于使用情况的计费可用于以下许可证：

* GitHub Enterprise，请参阅 [GitHub Enterprise 的计费](/zh/enterprise-cloud@latest/billing/concepts/enterprise-billing/billing-for-enterprises)
* GitHub Copilot，请参阅 [GitHub Copilot许可证](/zh/enterprise-cloud@latest/billing/concepts/product-billing/github-copilot-licenses)
* GitHub Advanced Security，请参阅 [GitHub Advanced Security 许可证计费](/zh/enterprise-cloud@latest/billing/concepts/product-billing/github-advanced-security)

有关控制支出的信息，请参阅“[设置预算以控制按流量计费的产品的支出](/zh/enterprise-cloud@latest/billing/how-tos/set-up-budgets)”。

> \[!NOTE]
> 目前，Azure不支持预付使用量用于基于使用情况的计费。