Skip to Content
Docs
API referenceManagement API

Billing events

GET /v1/billing/events

GET
/billing/events

billing.event.v1.EventService/ListEvents (32-billing-overview.md, API Surface, Events; billing-svc docs/questions.md, P32).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Query Parameters

limit?integer

Items per page, 1 to 100, default 25

after?string

Cursor: a next_cursor, to continue forward

before?string

Cursor: a next_cursor, to read the page just before it

type?string

repeated or comma separated

customer_id?string

A cust_ id

from?string

RFC 3339 time

to?string

RFC 3339 time

Response Body

A list of Event objects, walked by cursor (api-route-review D41)

application/json
  1. response
data?array<>
next_cursor?string
object?string
Example Request
curl -X GET 'https://api.us.pontive.com/v1/billing/events'
Example Response
{  "data": [    {      "id": "string",      "object": "string"    }  ],  "next_cursor": "string",  "object": "string"}
GET
/billing/events/{event_id}

billing.event.v1.EventService/GetEvent (32-billing-overview.md, API Surface, Events; billing-svc docs/questions.md, P32).

Authorization

BearerAuth
headerAuthorization<token>

Access token as "Bearer "

Path Parameters

event_id*string

id

Response Body

A Event 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/events/string'
Example Response
{  "id": "string",  "object": "string"}