Skip to main content
GET
/
v0
/
features
List
curl --request GET \
  --url https://api.paygentic.io/v0/features \
  --header 'Authorization: Bearer <token>'
{
  "object": "list",
  "data": [
    {
      "id": "feat_x1y2z3a4b5c6d7e8",
      "object": "feature",
      "key": "api-calls",
      "name": "API Calls",
      "type": "metered",
      "merchantId": "org_f9g0h1i2j3k4l5m6",
      "productId": "prod_a1b2c3d4e5f6g7h8",
      "metadata": {
        "unit": "requests"
      },
      "createdAt": "2024-01-08T12:00:00.000Z",
      "updatedAt": "2024-01-08T12:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 10,
    "offset": 0,
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

API key authentication

Query Parameters

productId
string
required

The product ID to filter features by Unique identifier for a product

key
string

Optional feature key to filter by. If provided, returns only the feature matching both productId and key

limit
integer
default:10

Number of features to return.

Required range: 1 <= x <= 100
offset
integer
default:0

Number of features to skip.

Required range: x >= 0

Response

List of features

object
enum<string>
required
Available options:
list
data
object[]
required
pagination
object
required