Billing API, REST: BillingAccount methods
Статья создана
Обновлена 26 мая 2023 г.
A set of methods for managing BillingAccount resources.
JSON Representation
{
"id": "string",
"name": "string",
"createdAt": "string",
"countryCode": "string",
"currency": "string",
"active": true,
"balance": "string"
}
Field | Description |
---|---|
id | string ID of the billing account. |
name | string Name of the billing account. |
createdAt | string (date-time) Creation timestamp. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
countryCode | string ISO 3166-1 alpha-2 country code of the billing account. |
currency | string Currency of the billing account. Can be one of the following:
|
active | boolean (boolean) Represents whether corresponding billable objects can be used or not. |
balance | string Current balance of the billing account. |
Methods
Method | Description |
---|---|
bindBillableObject | Binds billable object to the specified billing account. |
get | Returns the specified billing account. |
list | Retrieves the list of billing accounts available for current user. |
listAccessBindings | Lists access bindings for the specified billing account. |
listBillableObjectBindings | Retrieves the list of billable object bindings associated with the specified billing account. |
updateAccessBindings | Updates access bindings for the specified billing account. |