marketplace_subs
Overview
| Name | marketplace_subs |
| Type | Resource |
| Id | github.apps.marketplace_subs |
Fields
| Name | Datatype |
|---|---|
id | integer |
email | string |
login | string |
marketplace_pending_change | object |
marketplace_purchase | object |
organization_billing_email | string |
type | string |
url | string |
Methods
| Name | Accessible by | Required Params | Description |
|---|---|---|---|
get_subscription_plan_for_account | SELECT | account_id | Shows whether the user or organization account actively subscribes to a plan listed by the authenticated GitHub App. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. GitHub Apps must use a JWT to access this endpoint. OAuth apps must use basic authentication with their client ID and client secret to access this endpoint. |
list_accounts_for_plan | SELECT | plan_id | Returns user and organization accounts associated with the specified plan, including free plans. For per-seat pricing, you see the list of accounts that have purchased the plan, including the number of seats purchased. When someone submits a plan change that won't be processed until the end of their billing cycle, you will also see the upcoming pending change. GitHub Apps must use a JWT to access this endpoint. OAuth apps must use basic authentication with their client ID and client secret to access this endpoint. |