Features
Retrieve a feature
Retrieves complete details of a specific feature including all its privileges and configuration. Use this endpoint to inspect feature capabilities before creating entitlements or to display feature details in administrative interfaces.
get/features/{feature_code}
Request
- Base URLhttps://api-m.sandbox.paypal.com
- AuthOAuth 2Client credentialsToken URL/api/oauth-proxyScopesread, write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
feature_codestring required
The unique identifier code of the feature. This is the code that was specified when the feature was created.
Response
Successfully retrieved the feature with all its properties and privileges
Example response
{
"code": "USER-SEATS",
"name": "Number of seats",
"description": "Number of users allowed in the account",
"privileges": [
{
"code": "MAX-USERS",
"name": "Maximum seats",
"value_type": "INTEGER",
"config": {
"select_options": [
"google",
"okta",
"azure"
]
}
}
],
"created_at": "2023-10-01T12:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.