Skip to main content

marketplace_subs_stubbed

Overview

Namemarketplace_subs_stubbed
TypeResource
Idgithub.apps.marketplace_subs_stubbed

Fields

NameDatatype
idinteger
emailstring
loginstring
marketplace_pending_changeobject
marketplace_purchaseobject
organization_billing_emailstring
typestring
urlstring

Methods

NameAccessible byRequired ParamsDescription
get_subscription_plan_for_account_stubbedSELECTaccount_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_plan_stubbedSELECTplan_idReturns repository 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.