获取计费账户列表
获取计费账户列表
Query Parameters
过滤条件
排序
分页大小
分页
- 200
- default
OK
Schema
- Array [
- ]
billing_accounts object[]
计费账户列表
计费账户ID create: not REQUIRED, if not assign id, give "" update: REQUIRED
计费账户标识
计费账户名
类型,默认、自定义 两种
父帐号 ID create: REQUIRED, if no parent, value is "" update: REQUIRED, can be updated
Possible values: [BA_UNSPECIFIED
, BA_ACTIVE
, BA_DISABLED
, BA_FROZEN
]
账户状态 create: REQUIRED, default value is BA_ACTIVE update: REQUIRED, can be updated
是否自动支付
是否自动使用代金券
是否允许欠费
是否允许被其它帐号管理,查看账单等
credit_line object required
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
threshold_balance object required
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
归属人ID
租户 ID
托管账户 账单将由托管账号支付,托管账户拥有管理权
支付密码
available_balance object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
available_credit_limit object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
frozen object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
货币代码
balance object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
是否关闭余额报警
threshold_balance2 object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
threshold_balance3 object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
arrears object
价格
货币代码, 参考ISO 4217
价格整数部分
价格小数部分
下一页页码token
总页数
{
"billing_accounts": [
{
"id": "string",
"name": "string",
"display_name": "string",
"type": "string",
"parent_id": "string",
"state": "BA_UNSPECIFIED",
"auto_pay": true,
"auto_voucher": true,
"allow_arrears": true,
"allow_managed": true,
"credit_line": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"threshold_balance": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"owner_id": "string",
"tenant_id": "string",
"escrow_account_id": "string",
"password_pay": "string",
"available_balance": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"available_credit_limit": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"available_voucher_number": 0,
"available_coupon_number": 0,
"creator": "string",
"updater": "string",
"create_time": "2024-11-04T06:28:48.796Z",
"update_time": "2024-11-04T06:28:48.796Z",
"frozen": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"currency_code": "string",
"balance": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"available_contract_number": 0,
"linked_subscription_number": 0,
"disable_threshold": true,
"threshold_balance2": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"threshold_balance3": {
"currency_code": "string",
"units": 0,
"nanos": 0
},
"arrears": {
"currency_code": "string",
"units": 0,
"nanos": 0
}
}
],
"next_page_token": "string",
"total_size": 0
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}