Resource: MembershipsLevel
A membershipsLevel resource identifies a pricing level managed by a YouTube creator for channel memberships. Users can become channel members by joining an available level to provide recurring monetary support and receive perks. This resource is available only for the channel-memberships-enabled YouTube channel that authorized the API request.
| JSON representation |
|---|
{ "kind": string, "etag": string, "id": string, "snippet": { "creatorChannelId": string, "levelDetails": { "displayName": string } } } |
| Fields | |
|---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
etag |
Etag of this resource. |
id |
The ID that YouTube assigns to uniquely identify the membership level. This value doesn't change even if the level's display name changes. |
snippet |
The |
snippet.creatorChannelId |
The YouTube channel ID of the creator that owns the pricing level. |
snippet.levelDetails |
Details about the pricing level. |
snippet.levelDetails.displayName |
The level's display name. |
Methods |
|
|---|---|
|
Returns the approved pricing levels offered by the channel that authorized the API request. |