GetFundAccountAvailableAmount - 查询资金账户可用金

更新时间:
复制 MD 格式

查询资金账户可用金

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

调试

授权信息

下表是API对应的授权信息,可以在RAM权限策略语句的Action元素中使用,用来给RAM用户或RAM角色授予调用此API的权限。具体说明如下:

  • 操作:是指具体的权限点。

  • 访问级别:是指每个操作的访问级别,取值为写入(Write)、读取(Read)或列出(List)。

  • 资源类型:是指操作中支持授权的资源类型。具体说明如下:

    • 对于必选的资源类型,用前面加 * 表示。

    • 对于不支持资源级授权的操作,用全部资源表示。

  • 条件关键字:是指云产品自身定义的条件关键字。

  • 关联操作:是指成功执行操作所需要的其他权限。操作者必须同时具备关联操作的权限,操作才能成功。

操作

访问级别

资源类型

条件关键字

关联操作

bss:DescribeBillingAccount

get

*全部资源

*

无 无

请求参数

名称

类型

必填

描述

示例值

FundAccountId

string

否

账户 Id,不传时默认使用当前账号拥有(owner)的账户 id。

12332112

返回参数

名称

类型

描述

示例值

object

BssApiPlainResult

Metadata

any

返回结构元数据

{}

RequestId

string

请求 id

F96A2D13-7509-5DF9-A60E-E7E3A3CB68E8

FundAccountId

string

账户 Id

12332112

FundAccountOwnerAccountId

string

账户归属人的账号 accountId

1344312434

FundAccountStatus

string

账户状态

valid

FundAccountType

string

资金账户类型 DIRECT_USER-阿里云直客账户; RESELLER_QUOTA-生态账户

REDIRECT_USER

AvailableAmount

string

可用额度

100

CashAmount

string

现金余额

50

NegativeBillAmount

string

负账单金额

0

CreditAmount

string

信控配额

100

AvailableCreditAmount

string

信控余额

50

CreditRefundAmount

string

信控退款余额

0

UnclearedAmount

string

未结清金额 (当前月未结清 + 历史月未结清)

50

CurrentMonthUnclearedAmount

string

当月未结清金额

20

HistoryMonthUnclearedAmount

string

历史月未结清金额

30

BankAcceptanceAmount

string

银承汇票额度

0

ExtendLedgerList

array<object>

扩展的账本列表

object

Currency

string

账本金额币种,比如:CNY/USD 等

CNY

LedgerName

string

账本名称

应付对冲账本

OriginalAmount

string

账本余额

50

QuotaAmount

string

生态终端客户配额

20

QuotaConsumedAmount

string

生态终端客户已消费额度

10

Currency

string

币种

CNY

OriginalCashAmountList

array<object>

原始现金账本列表(国际站用户可能存在多个币种的现金账本)

object

Amount

string

金额

10

Currency

string

币种

USD

CreditUser

boolean

是否开通信控

示例

正常返回示例

JSON格式

{
  "Metadata": "{}",
  "RequestId": "F96A2D13-7509-5DF9-A60E-E7E3A3CB68E8",
  "FundAccountId": "12332112",
  "FundAccountOwnerAccountId": "1344312434",
  "FundAccountStatus": "valid",
  "FundAccountType": "REDIRECT_USER",
  "AvailableAmount": "100",
  "CashAmount": "50",
  "NegativeBillAmount": "0",
  "CreditAmount": "100",
  "AvailableCreditAmount": "50",
  "CreditRefundAmount": "0",
  "UnclearedAmount": "50",
  "CurrentMonthUnclearedAmount": "20",
  "HistoryMonthUnclearedAmount": "30",
  "BankAcceptanceAmount": "0",
  "ExtendLedgerList": [
    {
      "Currency": "CNY",
      "LedgerName": "应付对冲账本",
      "OriginalAmount": "50"
    }
  ],
  "QuotaAmount": "20",
  "QuotaConsumedAmount": "10",
  "Currency": "CNY",
  "OriginalCashAmountList": [
    {
      "Amount": "10",
      "Currency": "USD"
    }
  ],
  "CreditUser": true
}

错误码

HTTP status code

错误码

错误信息

描述

400 RequestTimeout Request timed out. Please try again later. 请求超时,请稍后再试
400 AccountNoQueryPricePermission This page cannot be accessed because you do not have discount rights query permissions. Please contact the main account to go to the cost center for authorization. The permission point that needs authorization is queryprice. 由于您没有折扣查询权限,无法访问该页面。请联系主账号前往费用中心授权,需要授权的权限点为 queryprice
400 SubAccountNoQueryPricePermission This page cannot be accessed because you do not have discount rights query permissions. Contact the main account to go to the RAM console for authorization. The Action to be authorized is bss:QueryPrice. 由于您没有折扣查询权限,无法访问该页面。请联系主账号前往RAM控制台授权,需要授权的Action为 bss:QueryPrice
400 NoFundAccountPermission The caller does not have permission for the specified fund account. 当前登录账号没有权限操作指定账户。
400 NoPermission You are not authorized to perform this action. 您无权执行此操作。
400 InnerAccountNoQueryPricePermission In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group's cloud account. More questions please refer to the document. 因数据安全及合规要求,对集团上云账号金额信息权限管控,由此带来的不便敬请谅解。您可以通过HCRM/云间平台查看,详见:https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2。
400 InnerSubAccountNoQueryPricePermission In view of data security and compliance requirements, please understand the inconvenience caused to you by controlling the amount-related information and permissions of the group's cloud account. 因数据安全及合规要求,对集团上云账号金额信息权限管控,由此带来的不便敬请谅解。您可以通过HCRM/云间平台查看,详见:https://aliyuque.antfin.com/yunfei.xyf/kr0b8h/yvdm6izaeulmq8g2。

访问错误中心查看更多错误码。

变更历史

更多信息,参考变更详情。