Billing API, REST: BillingAccount.get
Returns the specified billing account.
HTTP request
GET https://billing.api.il.nebius.cloud/billing/v1/billingAccounts/{id}
Path parameters
Parameter | Description |
---|---|
id | Required. ID of the billing account to return. To get the billing account ID, use list request. The maximum string length in characters is 50. |
Response
HTTP Code: 200 - OK
{
"id": "string",
"name": "string",
"createdAt": "string",
"countryCode": "string",
"currency": "string",
"active": true,
"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 | 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. |