Billing packages
billing.catalog.v1.PackageService/ListPackages (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
status?stringstatus
public?booleanpublic
A list of Package 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/packages'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}billing.catalog.v1.PackageService/CreatePackage (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
X-Idempotency-Key?stringIdempotency key
A Package 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/packages'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/GetPackage (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
version?integerversion
A Package 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/packages/string'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/UpdatePackage (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
X-Idempotency-Key?stringIdempotency key
A Package 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/packages/string'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/ArchivePackage (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
X-Idempotency-Key?stringIdempotency key
A Package 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/packages/string/archive'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/DiscardPackageDraft (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
X-Idempotency-Key?stringIdempotency key
A Package 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/packages/string/discard-draft'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/PublishPackage (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
X-Idempotency-Key?stringIdempotency key
A Package 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/packages/string/publish'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/UnarchivePackage (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
X-Idempotency-Key?stringIdempotency key
A Package 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/packages/string/unarchive'{ "id": "string", "object": "string"}billing.catalog.v1.PackageService/ListPackageVersions (34-billing-catalog.md, API Surface).
BearerAuthAuthorization<token>Access token as "Bearer "
package*stringThe package's pkg_ id or its key (api-route-review D55)
page?integerPage number, from 1
limit?integerItems per page, 1 to 100, default 25
A list of Package 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/packages/string/versions'{ "data": [ { "id": "string", "object": "string" } ], "object": "string", "pagination": { "limit": 0, "page": 0, "total": 0, "total_pages": 0 }}