Billing API, gRPC: BillingAccountService.Get
Статья создана
Обновлена 17 октября 2024 г.
Returns the specified billing account.
gRPC request
rpc Get (GetBillingAccountRequest) returns (BillingAccount)
GetBillingAccountRequest
{
"id": "string"
}
Field |
Description |
id |
string Required field. ID of the billing account to return. |
BillingAccount
{
"id": "string",
"name": "string",
"createdAt": "google.protobuf.Timestamp",
"countryCode": "string",
"currency": "string",
"active": "bool",
"balance": "string"
}
A BillingAccount resource. For more information, see BillingAccount.
Field |
Description |
id |
string ID of the billing account. |
name |
string Name of the billing account. |
createdAt |
Creation timestamp. |
countryCode |
string ISO 3166-1 alpha-2 country code of the billing account. |
currency |
string Currency of the billing account.
|
active |
bool Represents whether corresponding billable objects can be used or not. |
balance |
string Current balance of the billing account. |