List features
Use a valid access token and make a GET call to the/v1/commerce/billing/features endpoint with optional query parameters.
On successful request processing, PayPal returns a paginated list of all configured features.
Query parameters
| Parameter name | Description |
|---|---|
pageinteger | Page number for pagination. Default is 1. |
per_pageinteger | Number of items per page. Default is 10, maximum is 100. |
Update feature details
Use a valid access token and make a PUT call to the/v1/commerce/billing/features/{feature_code} endpoint with the modified request parameters such as name, description, and privileges.
Path parameter: feature_code is the code you provided when you created the feature.
You cannot modify the feature code after creation. You can only update the name, description, and privileges.
For the exhaustive list of request and response parameter descriptions, see API reference.
Delete privilege
Use a valid access token and make a DELETE call to the/v1/commerce/billing/features/{feature_code}/privileges/{privilege_code} endpoint to remove a specific privilege from a feature.
Path parameters:
feature_codeis thecodeyou provided when you created the feature.privilege_codeis thecodeyou provided when you created the privilege.
Delete feature
Use a valid access token and make a DELETE call to the/v1/commerce/billing/features/{feature_code} endpoint to permanently delete a feature.
Path parameter: feature_code is the code you provided when you created the feature.