Returns the active billing plan for the ORG or REGION. The active billing plan is a billing plan whose start_time has passed and end_time has not passed. If multiple satisfy that requirement, the newest one is considered active. If no plan is active, it indicates the ORG is using REGION defaults, or that the REGION has not been set up for billing yet. Required permissions: CUSTOMER_SUPPORT Errors:
grpc.Internal: An internal error occurred.
grpc.InvalidArgument: The request is invalid.
grpc.NotFound: There isn't an active billing plan.
grpc.PermissionDenied: Caller doesn't have the required permissions.
grpc.Unavailable: The operation is currently unavailable. Likely a transient issue with a downstream service.
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json
Example
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.cbf.tcn.com/services/billing/v1alpha1/getactivebillingplan' \
--header'Content-Type: application/json' \
--data-raw''