API referenceManagement API
Billing events
GET
billing.event.v1.EventService/ListEvents (32-billing-overview.md, API Surface, Events; billing-svc docs/questions.md, P32).
BearerAuthheader
Authorization<token>Access token as "Bearer "
limit?integerItems per page, 1 to 100, default 25
after?stringCursor: a next_cursor, to continue forward
before?stringCursor: a next_cursor, to read the page just before it
type?stringrepeated or comma separated
customer_id?stringA cust_ id
from?stringRFC 3339 time
to?stringRFC 3339 time
A list of Event objects, walked by cursor (api-route-review D41)
application/json- response
data?array<>next_cursor?stringobject?stringcurl -X GET 'https://api.us.pontive.com/v1/billing/events'Example Response
{ "data": [ { "id": "string", "object": "string" } ], "next_cursor": "string", "object": "string"}GET
billing.event.v1.EventService/GetEvent (32-billing-overview.md, API Surface, Events; billing-svc docs/questions.md, P32).
BearerAuthheader
Authorization<token>Access token as "Bearer "
event_id*stringid
A Event object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X GET 'https://api.us.pontive.com/v1/billing/events/string'Example Response
{ "id": "string", "object": "string"}