Skip to main content

marketplace_subs

Overview

Namemarketplace_subs
TypeResource
Idgithub.apps.marketplace_subs

Fields

NameDatatype
idinteger
loginstring
marketplace_pending_changeobject
marketplace_purchaseobject
organization_billing_emailstring
typestring
urlstring
emailstring

Methods

NameAccessible byRequired ParamsDescription
get_subscription_plan_for_accountSELECTaccount_idShows 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_planSELECTplan_idReturns 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.