获取账户实时现金余额
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
top_service_context | TopServiceContext | 必须 | topServiceContext | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | TopResult | 结果体 | |
|
1 2 3 4 5 6 7 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); UniversalbpAccountGetBalanceRequest req = new UniversalbpAccountGetBalanceRequest(); UniversalbpAccountGetBalanceRequest.TopServiceContext obj1 = new UniversalbpAccountGetBalanceRequest.TopServiceContext(); obj1.setBizCode( "universalBP" ); req.setTopServiceContext(obj1); UniversalbpAccountGetBalanceResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 | < universalbp_account_get_balance_response > < result > < info > < ok >true</ ok > < message >参数错误</ message > < error_code >xxxxx</ error_code > </ info > < top_account_balance_v_o > < rt_cash_balance >999.99</ rt_cash_balance > </ top_account_balance_v_o > </ result > </ universalbp_account_get_balance_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|