Skip to Content
Docs
API referenceManagement API

Billing rate cards

GET
/billing/rate-cards

billing.catalog.v1.RateCardService/ListRateCards (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 RateCard 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/rate-cards'
Example Response
{  "data": [    {      "id": "string",      "object": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}
POST
/billing/rate-cards

billing.catalog.v1.RateCardService/CreateRateCard (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 RateCard 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/rate-cards'
Example Response
{  "id": "string",  "object": "string"}
GET
/billing/rate-cards/{rate_card}

billing.catalog.v1.RateCardService/GetRateCard (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Response Body

A RateCard 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/rate-cards/string'
Example Response
{  "id": "string",  "object": "string"}
PATCH
/billing/rate-cards/{rate_card}

billing.catalog.v1.RateCardService/UpdateRateCard (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A RateCard 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/rate-cards/string'
Example Response
{  "id": "string",  "object": "string"}
POST
/billing/rate-cards/{rate_card}/archive

billing.catalog.v1.RateCardService/ArchiveRateCard (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A RateCard 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/rate-cards/string/archive'
Example Response
{  "id": "string",  "object": "string"}
PUT
/billing/rate-cards/{rate_card}/conversions

billing.catalog.v1.RateCardService/ReplaceConversions (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A RateCard 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 PUT 'https://api.us.pontive.com/v1/billing/rate-cards/string/conversions'
Example Response
{  "id": "string",  "object": "string"}
POST
/billing/rate-cards/{rate_card}/price/search

billing.catalog.v1.RateCardService/GetRateCardPrice (34-billing-catalog.md, API Surface). The RPC writes nothing and takes no idempotency key, so X-Idempotency-Key is not read.

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Response Body

A PriceQuote 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/rate-cards/string/price/search'
Example Response
{  "id": "string",  "object": "string"}
POST
/billing/rate-cards/{rate_card}/rates

billing.catalog.v1.RateCardService/CreateRates (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A list of Rate objects

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

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

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

billing.catalog.v1.RateCardService/ListRates (34-billing-catalog.md, API Surface). The RPC writes nothing and takes no idempotency key, so X-Idempotency-Key is not read.

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

Query Parameters

page?integer

Page number, from 1

limit?integer

Items per page, 1 to 100, default 25

Response Body

A list of Rate 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 POST 'https://api.us.pontive.com/v1/billing/rate-cards/string/rates/search'
Example Response
{  "data": [    {      "id": "string",      "object": "string"    }  ],  "object": "string",  "pagination": {    "limit": 0,    "page": 0,    "total": 0,    "total_pages": 0  }}
PATCH
/billing/rate-cards/{rate_card}/rates/{rate_id}

billing.catalog.v1.RateCardService/UpdateRate (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

rate_id*string

rate_id

Header Parameters

X-Idempotency-Key?string

Idempotency key

Response Body

A Rate 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/rate-cards/string/rates/string'
Example Response
{  "id": "string",  "object": "string"}
DELETE
/billing/rate-cards/{rate_card}/rates/{rate_id}

billing.catalog.v1.RateCardService/DeleteRate (34-billing-catalog.md, API Surface).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

rate_card*string

The rate card's rcard_ id or its key (api-route-review D55)

rate_id*string

rate_id

Response Body

No Content

Example Request
curl -X DELETE 'https://api.us.pontive.com/v1/billing/rate-cards/string/rates/string'
Example Response
Empty