Skip to main content
GET
/
features
List all features
curl --request GET \
  --url https://api-m.paypal.com/v1/commerce/billing/features \
  --header 'Authorization: Bearer <token>'
{
  "features": [
    {
      "code": "seats",
      "name": "Number of seats",
      "description": "Number of users allowed in the account",
      "privileges": [
        {
          "code": "max",
          "name": "Maximum seats",
          "value_type": "INTEGER"
        },
        {
          "code": "max_admins",
          "name": "Maximum admin users",
          "value_type": "INTEGER"
        }
      ],
      "created_at": "2025-01-28T10:00:00Z"
    },
    {
      "code": "api_access",
      "name": "API Access",
      "description": "Access to REST API endpoints",
      "privileges": [
        {
          "code": "rate_limit",
          "name": "API Rate Limit",
          "value_type": "INTEGER"
        },
        {
          "code": "endpoints",
          "name": "Available Endpoints",
          "value_type": "SELECT",
          "config": {
            "select_options": [
              "basic",
              "standard",
              "premium",
              "all"
            ]
          }
        }
      ],
      "created_at": "2025-01-28T11:00:00Z"
    },
    {
      "code": "sso",
      "name": "Single Sign-On",
      "description": "SSO authentication configuration",
      "privileges": [
        {
          "code": "enabled",
          "name": "SSO Enabled",
          "value_type": "BOOLEAN"
        },
        {
          "code": "provider",
          "name": "SSO Provider",
          "value_type": "SELECT",
          "config": {
            "select_options": [
              "google",
              "okta",
              "azure",
              "saml"
            ]
          }
        }
      ],
      "created_at": "2025-01-28T12:00:00Z"
    }
  ],
  "metadata": {
    "current_page": 1,
    "total_count": 3,
    "total_pages": 1
  }
}

Authorizations

Authorization
string
header
required

Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.

Query Parameters

per_page
integer

Number of records per page

page
integer

Page number

Response

Successfully retrieved the list of features with their complete configurations including all privileges

features
object[]
metadata
object
I