文档中心 > API类目 > 本地生活API

alibaba.alsc.crm.recharge.account.flowdetail.get (储值流水详细)

查询储值流水详细接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_query_recharge_account_flow_open_req QueryRechargeAccountFlowOpenReq 可选 入参
  • └ brand_id
  • String
  • 可选
  • 3724809629
  • 品牌ID(不能和outbrandid同时为空)
  • └ flow_id
  • String
  • 可选
  • 34543
  • 流水Id
  • └ out_brand_id
  • String
  • 可选
  • 2324
  • 外部品牌ID(不能和brandid同时为空)
  • └ outer_order_id
  • String
  • 可选
  • 124
  • 外部订单ID,和流水ID必传一

响应参数

名称 类型 示例值 描述
result CommonResult 接口结果
  • └ biz_success
  • Boolean
  • true
  • 成功状态
  • result
  • RechargeAccountFlowDetailOpenInfo
  • null
  • 业务数据
  • └ account_id
  • String
  • 1232423
  • 储值账户id
  • affected_property_list
  • RechargeAccountPropertyOpenInfo []
  • null
  • 操作储值资产信息列表
  • └ type
  • String
  • REAL
  • 账户类型
  • └ value
  • Number
  • 200
  • 账户值
  • after_property_list
  • RechargeAccountPropertyOpenInfo []
  • null
  • 操作后储值资产信息列表
  • └ type
  • String
  • GIFT
  • 账户类型
  • └ value
  • Number
  • 200
  • 账户值
  • before_property_list
  • RechargeAccountPropertyOpenInfo []
  • null
  • 操作前储值资产信息列表
  • └ type
  • String
  • TOTAL
  • 账户类型
  • └ value
  • Number
  • 200
  • 账户值
  • └ brand_id
  • String
  • 1231
  • 品牌Id
  • └ current_value
  • Number
  • 1231423
  • 交易后剩余总金额
  • └ flow_id
  • String
  • 4324123
  • 储值账户流水id
  • └ flow_type
  • String
  • IMPORT
  • 储值相关的交易类型
  • └ operator
  • String
  • 3424124
  • 操作人ID
  • └ operator_name
  • String
  • 小明
  • 操作人
  • └ order_src
  • Number
  • 2
  • 外部订单来源
  • └ order_time
  • Date
  • 2019-08-01 15:14:31
  • 交易时间
  • └ order_value
  • Number
  • -90
  • 交易总金额,增加为正数,减少为负数
  • └ outer_order_id
  • String
  • 12351234321234
  • 外部交易单号id
  • └ remark
  • String
  • 不能方不能比
  • 理由
  • └ shop_id
  • String
  • 142342
  • 交易门店ID
  • └ shop_name
  • String
  • 餐厅
  • 交易门店名称
  • └ card_id
  • String
  • 243
  • 卡ID
  • └ outer_pay_id
  • String
  • 2323
  • 原支付单号
  • └ ext_info
  • String
  • {"payModeId":"WX", "payModeName":"微信"}
  • 扩展信息
  • └ result_code
  • String
  • 0
  • 结果码
  • └ result_desc
  • String
  • 成功
  • 结果描述
  • └ result_view
  • String
  • ""
  • 错误结果显示

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlscCrmRechargeAccountFlowdetailGetRequest req = new AlibabaAlscCrmRechargeAccountFlowdetailGetRequest();
AlibabaAlscCrmRechargeAccountFlowdetailGetRequest.QueryRechargeAccountFlowOpenReq obj1 = new AlibabaAlscCrmRechargeAccountFlowdetailGetRequest.QueryRechargeAccountFlowOpenReq();
obj1.setBrandId("3724809629");
obj1.setFlowId("34543");
obj1.setOutBrandId("2324");
obj1.setOuterOrderId("124");
req.setParamQueryRechargeAccountFlowOpenReq(obj1);
AlibabaAlscCrmRechargeAccountFlowdetailGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alsc_crm_recharge_account_flowdetail_get_response>
    <result>
        <biz_success>true</biz_success>
        <result>
            <account_id>1232423</account_id>
            <affected_property_list>
                <recharge_account_property_open_info>
                    <type>REAL</type>
                    <value>200</value>
                </recharge_account_property_open_info>
            </affected_property_list>
            <after_property_list>
                <recharge_account_property_open_info>
                    <type>GIFT</type>
                    <value>200</value>
                </recharge_account_property_open_info>
            </after_property_list>
            <before_property_list>
                <recharge_account_property_open_info>
                    <type>TOTAL</type>
                    <value>200</value>
                </recharge_account_property_open_info>
            </before_property_list>
            <brand_id>1231</brand_id>
            <current_value>1231423</current_value>
            <flow_id>4324123</flow_id>
            <flow_type>IMPORT</flow_type>
            <operator>3424124</operator>
            <operator_name>小明</operator_name>
            <order_src>2</order_src>
            <order_time>2019-08-01 15:14:31</order_time>
            <order_value>-90</order_value>
            <outer_order_id>12351234321234</outer_order_id>
            <remark>不能方不能比</remark>
            <shop_id>142342</shop_id>
            <shop_name>餐厅</shop_name>
            <card_id>243</card_id>
            <outer_pay_id>2323</outer_pay_id>
            <ext_info>{&quot;payModeId&quot;:&quot;WX&quot;, &quot;payModeName&quot;:&quot;微信&quot;}</ext_info>
        </result>
        <result_code>0</result_code>
        <result_desc>成功</result_desc>
        <result_view>&quot;&quot;</result_view>
    </result>
</alibaba_alsc_crm_recharge_account_flowdetail_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部