online-custom-package-add-status
Updated: 2026-04-29 18:29:10
Query Whether Adding Online Custom Plans is Allowed
Interface URL
GET /pcs/v1/customer/online-custom-package/add-status
Interface Description
Queries whether the current customer is allowed to add online custom plans for live streaming and on-demand services.
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
liveUserId |
String |
Yes | Live streaming user ID, actually used as the customer unionId |
accountType |
String |
No | Account type, used to determine if it is a sub-account |
Notes:
- In the current implementation, this interface primarily uses
liveUserIdandaccountType. - The return value distinguishes between live streaming and on-demand dimensions.
- If any restriction is triggered, the corresponding return value will be
N.
Determination Rules
- Adding is not allowed when the feature switch is disabled.
- Adding is not allowed if a sub-account is logged into the backend.
- Adding is not allowed if the user is on the blacklist.
- Adding is not allowed if the account type is not a regular account.
- Adding is not allowed if the user is a trial user.
- If there are pending live streaming resources, adding a live streaming custom plan is not allowed.
- If there are pending on-demand resources, adding an on-demand custom plan is not allowed.
Response Structure
Return type: OnlineCustomPackageAddStatusVO
| Field | Type | Description |
|---|---|---|
liveAddEnabled |
String |
Whether adding a live streaming custom plan is allowed, Y/N |
vodAddEnabled |
String |
Whether adding an on-demand custom plan is allowed, Y/N |
