Skip to Content
Docs
API referenceManagement API

Billing features

GET /v1/billing/features

GET
/billing/features

billing.catalog.v1.FeatureService/ListFeatures (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Query Parameters

page?integer

Page number, from 1

limit?integer

Items per page, 1 to 100, default 25

Response Body

A list of Feature objects with pagination

application/json
  1. response
data?array<>
object?string
pagination?

Pagination is the page answered (api-route-review D9).

Example Request
curl -X GET 'https://api.us.pontive.com/v1/billing/features'
Example Response
{  "data": [    {      "id": "string",      "object": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}
POST
/billing/features

billing.catalog.v1.FeatureService/CreateFeature (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A Feature object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X POST 'https://api.us.pontive.com/v1/billing/features'
Example Response
{  "id": "string",  "object": "string"}
GET
/billing/features/{feature}

billing.catalog.v1.FeatureService/GetFeature (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

feature*string

The feature's feat_ id or its key (api-route-review D55)

Response Body

A Feature object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X GET 'https://api.us.pontive.com/v1/billing/features/string'
Example Response
{  "id": "string",  "object": "string"}
PATCH
/billing/features/{feature}

billing.catalog.v1.FeatureService/UpdateFeature (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

feature*string

The feature's feat_ id or its key (api-route-review D55)

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A Feature object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X PATCH 'https://api.us.pontive.com/v1/billing/features/string'
Example Response
{  "id": "string",  "object": "string"}
POST
/billing/features/{feature}/archive

billing.catalog.v1.FeatureService/ArchiveFeature (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

feature*string

The feature's feat_ id or its key (api-route-review D55)

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A Feature object

application/json
  1. response
id?string

ID is its prefixed id.

object?string

Object names the kind: customer, invoice, contract, …

Example Request
curl -X POST 'https://api.us.pontive.com/v1/billing/features/string/archive'
Example Response
{  "id": "string",  "object": "string"}