Billing grants
billing.ledger.v1.GrantService/ListAllowanceSchedules (36-credits-ledger.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
contract_id*stringid
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
A list of AllowanceSchedule 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/contracts/string/allowance-schedules'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}billing.ledger.v1.GrantService/ListGrants (36-credits-ledger.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
customer_id?stringA cust_ id
contract_id?stringA ctr_ id
status?stringstatus
kind?stringkind
unit?stringunit
A list of Grant 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/grants'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}billing.ledger.v1.GrantService/CreateGrant (36-credits-ledger.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
X-Idempotency-Key?stringIdempotency key
A Grant 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/grants'{ "id": "string", "object": "string"}billing.ledger.v1.GrantService/GetGrant (36-credits-ledger.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
grant_id*stringid
A Grant 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/grants/string'{ "id": "string", "object": "string"}billing.ledger.v1.GrantService/UpdateGrant (36-credits-ledger.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
grant_id*stringid
X-Idempotency-Key?stringIdempotency key
A Grant object
application/json- response
id?stringID is its prefixed id.
object?stringObject names the kind: customer, invoice, contract, …
curl -X PATCH 'https://api.us.pontive.com/v1/billing/grants/string'{ "id": "string", "object": "string"}billing.ledger.v1.GrantService/VoidGrant (36-credits-ledger.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
grant_id*stringid
X-Idempotency-Key?stringIdempotency key
The VoidGrantResponse fields
application/json- response
curl -X POST 'https://api.us.pontive.com/v1/billing/grants/string/void'{}