Billing time machines
billing.timemachine.v1.TimeMachineService/ListTimeMachines (32-billing-overview.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
A list of TimeMachine objects with pagination
application/json- response
data?array<>object?stringpagination?Pagination is the page answered (api-route-review D9).
curl -X GET 'https://api.us.pontive.com/v1/billing/time-machines'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}billing.timemachine.v1.TimeMachineService/CreateTimeMachine (32-billing-overview.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
X-Idempotency-Key?stringIdempotency key
A TimeMachine object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X POST 'https://api.us.pontive.com/v1/billing/time-machines'{ "id": "string", "object": "string"}billing.timemachine.v1.TimeMachineService/GetTimeMachine (32-billing-overview.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
time_machine_id*stringid
A TimeMachine 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/time-machines/string'{ "id": "string", "object": "string"}billing.timemachine.v1.TimeMachineService/AdvanceTimeMachine (32-billing-overview.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
time_machine_id*stringid
X-Idempotency-Key?stringIdempotency key
A TimeMachine object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X POST 'https://api.us.pontive.com/v1/billing/time-machines/string/advance'{ "id": "string", "object": "string"}billing.timemachine.v1.TimeMachineService/AddTimeMachineCustomer (32-billing-overview.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
time_machine_id*stringid
X-Idempotency-Key?stringIdempotency key
A TimeMachine object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X POST 'https://api.us.pontive.com/v1/billing/time-machines/string/customers'{ "id": "string", "object": "string"}billing.timemachine.v1.TimeMachineService/EndTimeMachine (32-billing-overview.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
time_machine_id*stringid
X-Idempotency-Key?stringIdempotency key
A TimeMachine object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X POST 'https://api.us.pontive.com/v1/billing/time-machines/string/end'{ "id": "string", "object": "string"}